Commit Graph
141 Commits
Author SHA1 Message Date
boubou19 7a565178a4 Speeding up TabRegistry event registration 2025-07-17 12:52:27 +02:00
boubou19 6aacbb0387 Speeding up ArmorControls event registration 2025-07-17 12:50:12 +02:00
boubou19 9c84c1e253 Speeding up TPlayerHandler event registration 2025-07-17 12:41:30 +02:00
__felix__ 73e959955b fix colored health bar not showing if disableAllRecipes is enabled (#174) 2025-05-04 10:04:38 +02:00
__felix__andMaya e43aa471d1 Add "Disable All Recipes" config option (#169)
Co-authored-by: Maya <[email protected]>
2025-04-21 04:57:34 +00:00
e292d4cad9 Allow Traveller's Glove & Belt to be properly enchanted in the Infusion Altar with Transparency (#127)
* Add configuration option to hide Traveller's gear accessories from displaying on player model

* Make Translucency I and II enchantments from WG work properly with traveler's accessories (must enchant from book for now)

* Update src/main/java/tconstruct/armor/ArmorProxyClient.java

Co-authored-by: Alexander Anishin <[email protected]>

* Implement suggested style changes

* spotless fix

* Implement fix from adventure backpacks mod to allow glove and belt to be infused properly with the WG enchants

---------

Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Alexander Anishin <[email protected]>
2024-10-10 11:06:29 +02:00
3ffa69d254 Allow hiding of Traveller's Gear accessories (gloves and belt) through config option and Translucency enchant (#125)
* Add configuration option to hide Traveller's gear accessories from displaying on player model

* Make Translucency I and II enchantments from WG work properly with traveler's accessories (must enchant from book for now)

* Update src/main/java/tconstruct/armor/ArmorProxyClient.java

Co-authored-by: Alexander Anishin <[email protected]>

* Implement suggested style changes

* spotless fix

---------

Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Alexander Anishin <[email protected]>
2024-10-10 09:06:21 +02:00
JakubandMartin Robertz 305ecbe6c8 Add KingSlime NEI drops as IMobInforProvider (-0.8s from first pack load) (#122)
* Add KingSlime drops provider (-0.8s)

* Fix

* Update dependencies.gradle

* Update dependencies.gradle

* update

---------

Co-authored-by: Martin Robertz <[email protected]>
2024-08-27 09:54:53 +02:00
63df442eb3 Add config option for the colored heart renderer (#118)
* HeartRenderCFG

* Minor nits, bump deps

* don't register heart renderer at all if config is off

* avoid double negation in the setting name

---------

Co-authored-by: ah-OOG-ah <[email protected]>
Co-authored-by: Alexdoru <[email protected]>
2024-05-21 20:53:56 +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
Jason Mitchell 84430a2887 Thread Safe (#112) 2024-03-10 20:11:36 +01: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
Alexdoru 098783fa1e Fix health bar renderer (#97)
* delete unused locals

* add some code that has been forgotten when copying and overriding the vanilla renderHealth method

* create dedicated class HealthBarRenderer extending Gui to stop copy-pasting certain vanilla methods

* fix renegeration hearts moving when the game is paused

* only bind tinkers hearts textures if it's actually going to draw tinkers' hearts

* stop drawing vanilla hearts when they are hidden by tinkers' heart being drawn on top

* fix tinker's half heart not moving with regeneration

* fix drawing all tinkers' hearts on top of each others, and now only draw the top most hearts

* add comment to help with debugging
2023-09-24 19:31:03 +02:00
Alexdoru abc424b02d fix health bar shaking like crazy when the player has regeneration (#96) 2023-09-13 16:15:31 +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
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
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
Alexdoru 531e33765e cache some Loader.isModLoaded calls (#72) 2023-02-08 21:11:39 +01:00
Jason Mitchell 84c2239244 [ci skip] spotlessApply with the new settings 2023-01-28 18:04:28 -08:00
Alexdoru 301119323f exit RenderGameOverlayEvent earlier 2023-01-28 18:02:41 -08:00
Alexdoru e16bed0ee1 use the ScaledResolution of the event instead of creating a new one 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 ae363450b1 quick fix : Private field may be 'final' 2023-01-28 18:02:41 -08:00
Alexdoru b1c2569992 quick fix : Access static member via instance reference 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 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 14f970318b quick fix : Redundant String operation 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 f384a4fe28 quick fix : Redundant 'if' statement 2023-01-28 18:02:41 -08:00
Alexdoru 28b094ea1a quick fix : Minimum 'switch' branches 2023-01-28 18:02:41 -08:00
Alexdoru 2f47fd5545 quick fix : Redundant 'throws' clause 2023-01-28 18:02:41 -08:00
Alexdoru 04c7d32b53 quick fix : 'static' method declared 'final' 2023-01-28 18:02:41 -08:00
Alexdoru d44b7ece32 quick fix : Redundant local variable 2023-01-28 18:02:41 -08:00
Alexdoru 3a2b50acd5 quick fix : Renamed catch block parameter to ignored 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 2312e2f4c9 quick fix : Integer multiplication or shift implicitly cast to long 2023-01-28 18:02:41 -08:00
Alexdoru b84b6e58bf quick fix : Unnecessary semicolon 2023-01-28 18:02:41 -08:00
Alexdoru 7a908c2bf5 condition is always false and Hodgepodge already cancels crosshair render 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
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
Ugachaga fec73ec498 SoulBound support for additional TC slots
(Travellers Belt and such)
2017-03-08 12:17:48 +07:00
Ugachaga 0f08fd1112 Added forbidden dimension config 2017-02-08 17:05:04 +07:00