Commit Graph
127 Commits
Author SHA1 Message Date
YannickMG bcd0948f2a Allow Scythe to harvest IC2 crops 2025-03-30 23:04:46 -04:00
HoleFish 607ba24101 expand range (#126) 2024-10-09 19:38:34 +02: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
Martin Robertz 3ef4a5e259 sa 2023-09-25 00:17:50 +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
miozune 5c2320953b Fix lumberaxe chain break not validating held item (#89) 2023-06-21 08:49:05 +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
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 cdc7dcf5d0 quick fix : optimize imports 2023-01-28 18:02:41 -08:00
Alexdoru 983ca22d97 spotless 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 114fce2770 quick fix : Duplicate branches in 'switch' 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 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
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 50cd4115c2 Fixed few issues:
- https://github.com/SlimeKnights/TinkersConstruct/issues/3593
- https://github.com/SlimeKnights/TinkersConstruct/issues/2760
- https://github.com/SlimeKnights/TinkersConstruct/issues/1795
- Potion effect from Battleaxe can be added only by server
2020-09-23 20:03:53 +07:00
Jason Mitchell 381aa5f659 Maybe fix lumber axe error 2019-12-09 20:41:16 -08:00
Jason Mitchell d536b1077e Whoops, left this out. 2018-01-01 10:24:53 -08:00
Jason Mitchell d748363176 Backport lumberaxe tree chop task from later versions 2017-12-22 10:34:32 -08:00
Austin Fuller df0259793e Fixed Lumber Axe Exploit
This exploit: http://youtu.be/4KW0AwXb1zk
2015-06-19 00:29:45 -05:00
Bernhard Bonigl 1a5232f5ed Mattocks work on melons now #1499 2015-04-02 19:25:08 +02:00
Bernhard Bonigl a7d3f47f14 Followup to fix all the remaining parameters not set by 075b769db2 2015-02-22 12:08:25 +01:00
Bernhard Bonigl ea8f1fe0c0 Zelda Sword Skills support for weapons. Somebody test this in detail. 2015-01-30 19:28:56 +01:00
Bernhard Bonigl a05badab0c Fix scythe checking wrong blocks for drops when using silktouch #1307 2015-01-04 19:19:41 +01:00
Bernhard Bonigl f5f84afa76 Localize bane of pigs, infiminer 2015-01-02 15:44:32 +01:00
Bernhard Bonigl 58db702878 Clean up Glass Arrows a bit #1296 2015-01-02 13:11:08 +01:00
Ryan Liptak 0d388bef52 Fix unsafe getCompoundTag call in PotionLauncher.getItemUseAction
* See squeek502/AppleCore#9
2014-12-29 22:10:09 -08:00
Bernhard Bonigl 347ada6f5f Rudimentary Battlegear support (tinker weapons can be equipped like regular weapons) 2014-12-23 14:36:07 +01:00
Bernhard Bonigl dbc446636f Rework dagger into a projectileBase entity! 2014-10-22 23:42:08 +02:00
Bernhard Bonigl 11fcf21eb6 More arrow tags and display fixes 2014-10-19 16:23:01 +02:00
Bernhard Bonigl f31e41447c Merge branch 'master' into weaponry
Conflicts:
	src/main/java/tconstruct/items/tools/Arrow.java
	src/main/java/tconstruct/tools/TinkerTools.java
2014-10-19 14:12:50 +02:00
Bernhard Bonigl dec1cb4218 Fix arrows with minimal textures crashing. #1101 2014-10-19 14:03:24 +02:00
Bernhard Bonigl 6adeb21d7c Merge branch 'master' into weaponry 2014-10-06 11:19:06 +02:00
Bernhard Bonigl 5933333f99 Prevent fiery NPEs with minimal texture bows when natura/tc is not present #1055 2014-10-06 09:28:25 +02:00
Bernhard Bonigl ef0ae6141a Fix animated icon textures and deprecate old tinkers stuff 2014-10-05 23:14:32 +02:00
Bernhard Bonigl e7666e031b Take all the shortbow and arrow stuff out of the Tools module, and try to keep backwards compatibility >_> 2014-10-05 22:20:30 +02:00
Bernhard Bonigl f78d8af170 Add a hook for the default color and use it for arrow fletchlings and bowstrings 2014-09-30 19:45:37 +02:00
Bernhard Bonigl 15d2cbeae7 Make chisels pop out of the crafting grid if they break 2014-09-29 09:11:15 +02:00
Bernhard Bonigl 5ff0c3d58b Fix modifiers on bows rendering with minimal stuff and bla 2014-09-26 18:06:50 +02:00
Bernhard Bonigl a36559b99f Fix bows not using colorable stuff. HRRNGh they are so annoying. 2014-09-26 17:53:14 +02:00
Bernhard Bonigl 570edc802e AOE tools now behave like normal tools while sneaking. 2014-09-23 17:54:56 +02:00
Bernhard Bonigl 2dec0ad97f Fix hammer rendering with dynamic coloring 2014-09-22 15:51:25 +02:00