Commit Graph
55 Commits
Author SHA1 Message Date
bbf0b811cc fix: allows lumber axe to chop down trees with horizontal sections (#224)
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: EnderProyects <[email protected]>
Co-authored-by: Guillaume Mercier <[email protected]>
2026-04-05 20:01:32 +02: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 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 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 2d13e6185e quick fix : Redundant type cast 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
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 a7d3f47f14 Followup to fix all the remaining parameters not set by 075b769db2 2015-02-22 12:08:25 +01:00
Bernhard Bonigl 570edc802e AOE tools now behave like normal tools while sneaking. 2014-09-23 17:54:56 +02:00
Bernhard Bonigl 619bfdb1f1 Adjust tools to new blockbreak code stuff. Yay for proper calls. 2014-09-17 15:32:51 +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 f6e6798f8d Fire blockbreak event 2014-09-02 17:02:03 +02:00
Bernhard Bonigl 568ed09982 Localize tool names 2014-09-01 23:52:04 +02:00
mDiyo 5b56d5e392 Buff redstone mod, refactor broad tools to match
Cherry-picked from 34a4c8c80f969cafd696b41d963c2a041347d4cd

Conflicts:
	src/main/java/tconstruct/common/TProxyCommon.java
	src/main/java/tconstruct/items/tools/Excavator.java
	src/main/java/tconstruct/items/tools/Hammer.java
	src/main/java/tconstruct/items/tools/LumberAxe.java
	src/main/java/tconstruct/library/tools/HarvestTool.java
	src/main/java/tconstruct/modifiers/tools/ModLapis.java
	src/main/java/tconstruct/modifiers/tools/ModRedstone.java
	src/main/java/tconstruct/tools/gui/ToolStationGui.java
2014-08-28 01:27:39 -07:00
61352151511 0849154e4e Tackle TODO's 2014-08-04 20:08:01 -03:00
61352151511 223098bd0c Remove Unused Imports 2014-08-04 19:29:38 -03:00
jodamm e70dcda57e * fix for #527 Lumber Axe destroys indestructible blocks
* fix for Excavator and Hammer behaving wrong under water
2014-08-02 21:17:49 +02:00
unknown e9822db594 unified use of block / localBlock like it is in Hammer.
block harvesting is in own method in HarvestTool except the scythe.
fix for some blocks drop nothing or not breaking at all.
fix for dropping exp with silktouch.
2014-07-31 21:32:12 +02:00
Glassmaker d76117d559 Adds dropping experiance when breaking blocks, example Coal and Lappis 2014-07-28 00:39:37 +03:00
Alexander Behrhof ea634c139f Reverting "Fix some block breaking problems". 2014-07-21 15:07:16 -04:00
mDiyo 145f7b9724 Fix merge conflicts 2014-06-30 09:22:30 -08:00
blue42u b16b79a823 Fix some block breaking problems.
- Bibliocraft locks are respected.
- Fixes Thaumcraft node drops.
- Fixes strange auto-smelt drops sometimes.
- Probably fixes sync issues somewhere.
2014-06-14 09:31:39 -05:00
mDiyo e2f0558b6f Reorganize folders for modules 2014-06-04 21:44:48 -08:00
Progwml6 cc2aeb82e0 remove battle gear 2 compat as its impossible to support mods w/ constantly changing API's 2014-03-06 02:08:35 -05:00
Alexander 3d866316a7 Doing some code cleanup. 2014-02-17 00:31:43 -05: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
Alexander fffe2800bd Fix the errors that were left, I commeneted our some code in SmelteryLogic for right now, Also changed the way ArrowEntity Sends the ChangeGameState 2014-02-03 10:02:49 -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 8ae89ba70e some moar fixes 2014-02-01 15:17:30 -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 7d462321b5 moar fixes 2014-01-28 22:43:08 -05:00
Progwml6 d914004bde fixed several tools 2014-01-16 03:57:21 -05:00
Progwml6 fa7a77a179 fixed most of the clientside rendering code 2014-01-16 01:36:18 -05:00
Progwml6 f88464fdd6 more fixing 2014-01-11 02:59:17 -05:00
Progwml6 d911af378f more 1.7 work, attempts at figuring out log4j2 2014-01-10 17:03:06 -05:00
Progwml6 fb04e8eb08 more fixes 2014-01-09 04:08:38 -05:00
Progwml6 f7a86a7377 fix TE x,y,z coord stuff 2014-01-08 21:59:48 -05:00