Lyfts
a5bec6c22b
cleanup after enabling modern & generic. Primarily changing raw lists to their correct type, changing to pattern variable & enhanced switch and removing unused/unreachable code + ancient comments.
2024-05-16 18:51:58 +02:00
Martin Robertz
47a5b9391a
sa+wci
2023-09-24 22:57:55 +02:00
69bb974420
Use compileOnlyApi for CoFH ( #84 )
...
* Use compileOnlyApi for CoFH
* spotlessApply (#85 )
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 08:07:18 +02:00
Alexdoru and OneEyeMaker
50bd690204
Revert signature changes of public methods that caused crashes ( #74 )
...
* restore previous public method signature to prevent crash
* don't register the event if vanilla config
* revert signature changes
* Restore original calculation logic
---------
Co-authored-by: OneEyeMaker <[email protected] >
2023-02-13 16:34:38 +01:00
unix-supremacist and Alex Ponebshek
3e2ba6ac16
adding the config options from the tinkered constructor fork ( #73 )
...
* config option for invulnerability of dropped tools and base EntityItem despawn time
* config option to drop life canisters on death
* Added config option for dagger damage multiplier when thrown, default = 3x
* emulate vanilla behavior by default
---------
Co-authored-by: Alex Ponebshek <[email protected] >
2023-02-12 08:37:14 +01:00
Jason Mitchell
84c2239244
[ci skip] spotlessApply with the new settings
2023-01-28 18:04:28 -08:00
Alexdoru
2b6b01314d
quick fix : Unused assignment
2023-01-28 18:02:41 -08:00
Alexdoru
ae363450b1
quick fix : Private field may be 'final'
2023-01-28 18:02:41 -08:00
Alexdoru
983ca22d97
spotless
2023-01-28 18:02:41 -08:00
Alexdoru
fbccf4e087
quick fix : Statement with empty body
2023-01-28 18:02:41 -08:00
Alexdoru
2d13e6185e
quick fix : Redundant type cast
2023-01-28 18:02:41 -08:00
Alexdoru
f384a4fe28
quick fix : Redundant 'if' statement
2023-01-28 18:02:41 -08:00
Alexdoru
fc54dde7ce
quick fix : 'if' statement with identical branches
2023-01-28 18:02:41 -08:00
Alexdoru
7abe2f5182
quick fix : 'while' loop replaceable with enhanced 'for' loop
2023-01-28 18:02:41 -08: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