Commit Graph
416 Commits
Author SHA1 Message Date
Pierre ZhangandMaya 65ae295b8f Improve localization for tools (#151)
Co-authored-by: Maya <[email protected]>
2025-02-15 06:33:02 +00:00
Yannick Marcotte-Gourde 0696b0fdfe Allow overriding AluminumBrass as the metal pattern material (#147) 2025-01-21 16:18:00 -06:00
Ilya Yurchenko 79228c1c7b fix crash in AlloyMix.java (#141) 2024-12-27 12:18:01 -06:00
Nova 012e6fe2cd Ammo reinforced modifier support (#140) 2024-12-21 10:28:08 -06:00
Wilhelm Schusterandgithub-actions[bot] a7e02d584a Fix NPE making gold casts while they are disabled (#132)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-10 20:10:52 +01:00
AlexanderC 1a97bff6ef Implementation of AoE Blacklist for Tinker's Construct Tools (#121)
* Implement AoE exclusion list for Tinkers' Construct tools

- Created AoEExclusionList class in tconstruct.library.util package
- Added config file loading for tool-specific block exclusions
- Modified AOEHarvestTool class to check exclusions before breaking blocks
- Updated Hammer class to use new exclusion system
- Added debug logging for troubleshooting

This change allows users to specify blocks that should not be broken by the AoE effect of tools like the Hammer, while still allowing the targeted block to be broken.

* Implement AoE exclusion list for Tinkers' Construct tools

- Created AoEExclusionList class in tconstruct.library.util package
- Added config file loading for tool-specific block exclusions
- Modified AOEHarvestTool class to check exclusions before breaking blocks
- Updated Hammer class to use new exclusion system
- Added debug logging for troubleshooting

This change allows users to specify blocks that should not be broken by the AoE effect of tools like the Hammer, while still allowing the targeted block to be broken.

* Update README.md

* Removed/Commented debug.

* Gradle Clean

* Removed missed debug message
Added example formatting for config file.
Inlined Variable

* Added the license back, oops

* Removed redundant variable

* Brought back toolName, used proper getAOEToolName variable, intended for caching the name instead of calling the method later on.

Changed function call to simply toolName in relation to this.

* Removed now redundant if statements.

* Spotless Apply

* Changed to use Set<String> instead of Map<String>, and other appropriate changes made so other parts still work properly
& SpotlesApply

* Reinstated original README

* Changed to include metadata (optionally) in the blacklist.

* Changed to include metadata (optionally) in the blacklist.

* Removed bad import.

* .
2024-07-30 19:18:21 +07:00
Caedis c2c2f14596 Convert to threadsafe molten metal list (#120)
* Convert to threadsafe molten metal list

* back to foreach

* wrap in sync bloc
2024-07-10 14:06:07 -05:00
Lyfts c5d7770253 deobfParams 2024-05-16 18:51:58 +02:00
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
AlexdoruandMartin Robertz d696ad50c3 use updated battlegear2 api (#99)
* use updated battlegear2 api

* Update dependencies.gradle

---------

Co-authored-by: Martin Robertz <[email protected]>
2023-10-14 20:38:39 +02:00
Martin Robertz 3ef4a5e259 sa 2023-09-25 00:17:50 +02:00
Martin Robertz 8500181322 missing imports 2023-09-25 00:17:10 +02:00
Martin Robertz 265fc8cc15 missing imports 2023-09-25 00:12:38 +02:00
Martin Robertz 47a5b9391a sa+wci 2023-09-24 22:57:55 +02:00
Quetz4l f7c6a9ecaf slimeBoots and slimeSling (#93)
* slimeBoots and slimeSling

* changed items directories and some code
* slime sling now with durability (100)
* boots now reduce bounce instead of increasing it
* added vanilla recipes

* fix slimeSling and Slime Boots
* removed debug logs
* Reduced bounce distance to 20 blocks (up or away)
* small fixes
* structural recovery as was
* add 100 durability to slime sling and slime boots
* bs
2023-09-09 19:42:05 +02:00
Quetz4l 0519eee1d9 tinker's + ofanix (#92)
* tinker's + ofanix
tinker's tools can place cobblestone with ztones ofanix

* fix ofanix
* declaring a global variable instead of a local one for ofanix
2023-09-08 17:46:18 +02:00
DrParadox7 1bb6fed60a Fixes broken TiC Armor not being repairable (#91)
This is because it was given the break tag while erroneously setting all its damage to 0.
2023-07-15 10:25:41 +02:00
miozuneGitHub GTNH Actionsgithub-actions[bot]
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
AlexdoruandOneEyeMaker 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-supremacistandAlex 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 95d58be867 spotless 2023-01-28 18:02:41 -08:00
Alexdoru 36f63a7690 quick fix : Raw use of parameterized class 2023-01-28 18:02:41 -08:00
Alexdoru 83f54f1e97 quick fixes : enhanced for loop 2023-01-28 18:02:41 -08:00
Alexdoru 2b6b01314d quick fix : Unused assignment 2023-01-28 18:02:41 -08:00
Alexdoru 6bf15fdfe3 quick fix : Redundant type cast 2023-01-28 18:02:41 -08:00
Alexdoru cdc7dcf5d0 quick fix : optimize imports 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 3f0854baeb delete unused float[65536] array in SlimeBounceHandler 2023-01-28 18:02:41 -08:00
Alexdoru 3d1489401c quick fix : Collections.sort() can be replaced with List.sort() 2023-01-28 18:02:41 -08:00
Alexdoru 67c8b53cf1 quick fix : Unnecessary 'continue' statement 2023-01-28 18:02:41 -08:00
Alexdoru a7bc4185c7 quick fix : 'StringBuilder' can be replaced with 'String' 2023-01-28 18:02:41 -08:00
Alexdoru 2d13e6185e quick fix : Redundant type cast 2023-01-28 18:02:41 -08:00
Alexdoru b34eec4dea quick fix : Redundant Collection operation 2023-01-28 18:02:41 -08:00
Alexdoru 14f970318b quick fix : Redundant String operation 2023-01-28 18:02:41 -08:00
Alexdoru f446ea280f quick fix : Condition is covered by further condition 2023-01-28 18:02:41 -08:00
Alexdoru 9cfd723ea3 quick fix : Raw use of parameterized class 2023-01-28 18:02:41 -08:00
Alexdoru f384a4fe28 quick fix : Redundant 'if' statement 2023-01-28 18:02:41 -08:00
Alexdoru 350177b5c9 quick fix : Access static member via instance reference 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 d44b7ece32 quick fix : Redundant local variable 2023-01-28 18:02:41 -08:00
Alexdoru 60f7add07f quick fix : Explicit type can be replaced with <> 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
Alexdoru f677a4c5b7 quick fix : Wrapper type may be primitive 2023-01-28 18:02:41 -08:00
Alexdoru 8e1425203e quick fix : Bulk operation can be used instead of iteration 2023-01-28 18:02:41 -08:00
Alexdoru f9c44ee3e5 quick fix : Unnecessary interface modifier 2023-01-28 18:02:41 -08:00
Alexdoru ab8c7869a9 quick fix : Unnecessary enum modifier 2023-01-28 18:02:41 -08:00
Alexdoru b28b754ea9 quick fix : Inner class may be 'static' 2023-01-28 18:02:41 -08:00