Commit Graph
53 Commits
Author SHA1 Message Date
Alexdoru d0c3b57e22 quick fix : Redundant 'if' statement 2023-01-25 23:11:58 +01:00
Alexdoru 6a88c6a5e1 quick fix : 'if' statement with identical branches 2023-01-25 22:53:06 +01:00
Alexdoru 66ba36d6a0 quick fix : 'while' loop replaceable with enhanced 'for' loop 2023-01-25 22:36:52 +01:00
DrParadox7 7ff7f25f73 Mod Friendly Piercing (Rapier, Arrow & Bolts) (#60)
* Mod Friendly piercing

Piercing damage converted to bonus damage equivalent to victim's armor protection (capped at diamond armor).

This prevents rapiers from bypassing immunities.

* Run SpotlessApply

* Delete commented out code
2022-12-27 09:11:45 +01:00
Raven Szewczyk 39be06c23b Fix JABBA-related issues with crafting station slots (#54)
* Fix shift-merging tools voiding items

fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392>

* Change 0-sized ItemStacks into null stacks in crafting station attached slots

Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425>

* Update buildscript

* spotlessApply
2022-09-22 20:51:23 +02:00
Arseny Spiridonov 6bd68f13b1 Fixed a lot of NPE's and few duplication glitches
(cherry-pick from other fork)
2020-09-22 23:52:53 +07:00
Bernhard Bonigl ba18f02e94 Fix possible NPE when calculating knockback.
Closes #1731
2015-08-19 17:56:17 +02:00
Bernhard Bonigl a544071e0e Fix killing blows not giving lifesteal #1436 2015-03-02 15:54:30 +01:00
Bernhard Bonigl f634389c9f Only play pickup sound for actual players (drying rack, oreberries, etc) #1315 2015-02-22 17:52:22 +01:00
Bernhard Bonigl 3cd211e9f4 Fix reinforced tools not repairing with moss 2015-02-07 08:59:57 +01:00
Bernhard Bonigl 2812f80173 Move reinforced-calculations to the damage-dealing function from the hitting-stuff function #1367 2015-01-30 15:59:23 +01:00
Bernhard Bonigl 9d89ecd4b7 Fix a null check in damage-calculations #1355 2015-01-21 10:24:24 +01:00
Bernhard Bonigl d408caba71 Change necrotic modifier to only heal on actually alive mobs. This prevents lifesteal from test dummies and similar things. 2015-01-05 00:16:57 +01:00
Bernhard Bonigl 8c34b3ea71 Fix drying racks/oreberries etc. not syncing inventory on pickup 2014-12-30 10:58:48 +01:00
Bernhard Bonigl 6ea64191e1 Merge branch 'master' into experimental 2014-11-25 21:45:57 +01:00
Bernhard Bonigl e1101fa412 Fix inventory desync when activating drying rack/basin/oreberry 2014-11-25 21:45:37 +01:00
Bernhard Bonigl aa328792f7 Change AbilityHelper.spawnEntityAtPlayer to automatically put items into inventories by default (prevents lag-dupe) and also play sound if it got picked up. 2014-11-25 21:42:41 +01:00
Bernhard Bonigl 9a3120573e Generalize damage and knockback calculations 2014-11-08 15:13:59 +01:00
Bernhard Bonigl 00c24208d5 Generalize handling of fiery stuff on tools 2014-11-08 14:34:16 +01:00
Bernhard Bonigl e6469587fe Move DualHarvest speed calc also into AbilityHelper 2014-10-28 17:56:09 +01:00
Bernhard Bonigl 57c3158ef4 Reduce increased flux cost per block mined, and fix a derp with the charging. 2014-10-24 11:52:39 +02:00
Bernhard Bonigl 2aa42a5b8a Debugstuff :I 2014-10-24 11:37:03 +02:00
Bernhard Bonigl edf30d3a5c Flux modified tools now charge properly with the charge rate if CoFHCore is present. WITHOUT breaking blockbreak process. This also fixes moss-repair resetting. 2014-10-24 11:20:28 +02:00
Bernhard Bonigl 263efb8b11 Fix division through 0 and remove some testing code 2014-09-20 14:55:46 +02:00
Bernhard Bonigl 25261243b0 Change the damage display stuff to use NBT instead of the internal damage stuff, so we can make setItemDamage compatible with the NBT durability we use. 2014-09-20 14:09:59 +02:00
Arthur Uzulin 80efde613a The return of achievements
- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
2014-09-09 18:30:15 +10:00
Bernhard Bonigl 2dd426f1d7 Unify tool speed calculation in one accessible place, instead of having the same code floating around 3 times. 2014-08-28 14:29:12 +02:00
Bernhard Bonigl 3a377b62c2 Prevent hotbar-energy-sucking for unchargeable (potato) batteries 2014-08-08 13:02:49 +02:00
Bernhard Bonigl 00f4544e9e Reimplement mDiyos all-your-energy-belongs-to-us fix for charging flux-tools. Flux-tools eat all the energy in the hotbar now. 2014-08-08 12:28:21 +02:00
Bernhard Bonigl e10c5d2770 Fix Mattock using vanilla damageItem. Caused Mattock to vanish on breaking. 2014-08-07 21:09:07 +02:00
mDiyo ac50689102 Multibugfix 2014-07-06 22:59:44 -08:00
Alexander Behrhof caf084edca Updating to 1.7.10_pre4 2014-06-25 21:01:20 -04:00
Alexander Behrhof 1278298d7c Changing getAABBPool().getAABB( -> getBoundingBox( 2014-06-08 14:37:02 -04:00
Progwml6 66a4ece284 port in everything from 1.6 but labotimizetools(will do that later this weekend) 2014-03-15 07:11:06 -04:00
Alexander 5d4e38c0cb Upload my Code Changes/Format/imports 2014-02-16 14:23:50 -05:00
Alexander 2a2f84ee88 Format code again + organize imports 2014-02-05 10:28:54 -05:00
Progwml6 ffaea7d4b7 run repo through formatter 2014-02-05 09:11:06 -05:00
Progwml6 b8cf7cdc5e run through remap script 2014-02-05 08:28:53 -05:00
Progwml6 a8c1f32650 less than 100 to go 2014-02-02 12:06:48 -05:00
Progwml6 f936434c71 getting super close 2014-02-02 11:35:00 -05:00
Progwml6 7c0fc5ed4a getting really close 2014-02-01 15:43:24 -05:00
Progwml6 bb98f77de4 moar fixy thingies 2014-01-30 20:34:22 -05:00
Progwml6 f3bcb13815 under 1k finally 2014-01-29 00:41:17 -05:00
Progwml6 fa7a77a179 fixed most of the clientside rendering code 2014-01-16 01:36:18 -05:00
Progwml6 dfcc6e9d89 some fixes 2014-01-15 02:17:20 -05:00
Progwml6 9814eadaea bunch more random stuff fixed 2014-01-07 15:07:07 -05:00
Progwml6 f52b2f6f08 moar fixes 2014-01-07 13:50:35 -05:00
Progwml6 c5426eb992 more fixes 2014-01-01 08:47:10 -05:00
Progwml6 7d8f58ea88 get rid of moar errors 2013-12-31 11:58:36 -05:00
Progwml6 3744f8a886 te compat fixes/tweaks 2013-12-06 19:24:05 -05:00