Commit Graph
1474 Commits
Author SHA1 Message Date
Martin Robertz 8bb6f7b0e2 fix wci+deps 2023-09-25 00:43:14 +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
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 46dabb9f90 fix slime boots (#95)
* onItemRightClick() endlessly created the boots on the client side
2023-09-13 14:29:49 +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
miozune 5c2320953b Fix lumberaxe chain break not validating held item (#89) 2023-06-21 08:49:05 +02:00
chochem eb13403370 Fix tracks properly (#90)
* Revert "remove smeltery rail melting recipe (#88)"

This reverts commit 99f1e0bc8c.

* do it properly with dreamcraft check

* update BS
2023-06-21 08:13:19 +02:00
Veniamin FeafanovandDotJason 99f1e0bc8c remove smeltery rail melting recipe (#88)
Co-authored-by: DotJason <SOleg413@mail.ru>
2023-05-28 13:35:44 +02:00
Dennis f019c7d845 fix crash when opening stencil table with cast (#87)
added guards before setActiveButton
2023-05-22 06:59:36 +02:00
Dennis 8c4d534f6f fix smeltery acceleration and comparator output (#86) 2023-05-19 19:07:52 +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
Dennis 770a609f7a fix smeltery tps lag by clearing drain array before structure check (#82) 2023-05-02 21:50:49 +02:00
StrangeMan1580andMartin Robertz 27c41beeff Replace some hard-coded tooltips with translatable text (#79)
* Make some tooltips translatable

* Make some tooltips translatable

* Ooops. Now fixed

* Make Slimesling tooltip translatable

* Make Slime Boots tooltips translatable

* Make "Creative" word in tooltip translatable

It still obfuscated

* update bs+sa

---------

Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-04-23 18:31:40 +02:00
EthryanGitHub GTNH Actionsgithub-actions[bot]
c0e365b99c Fix: Adding Tooltips to Modifier Items (#77)
* Adding Tooltips to Modifier Items

* spotlessApply (#78)

Co-authored-by: GitHub GTNH Actions <>

* Remove unnecessary block

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-10 19:47:12 +01: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 <oneeyemaker@gmail.com>
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 <alexbobp@gmail.com>
2023-02-12 08:37:14 +01:00
Alexdoru 531e33765e cache some Loader.isModLoaded calls (#72) 2023-02-08 21:11:39 +01:00
Ethryan 131cdd6e6b Readd recipe for reinforcement (#71)
Uses steel in a casting table
2023-02-02 19:25:30 +01:00
Raven Szewczyk 4be977b728 Fix faucets not working, this logic was removed in Alexdoru's refactor (#70)
* Fix faucets not working, this logic was removed in Alexdoru's refactor

* Update dependencies
2023-02-01 17:52:21 +01:00
a9154bfed5 Backported the Reinforcement Modifier item from 1.12.2 (#68)
* Backported

* spotlessApply (#69)

Co-authored-by: GitHub GTNH Actions <>

* Fixed the book.

* Remove the recipe

It's added in GTNH-Core

* Change Icon

* Fix branch merge

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jason Mitchell <mitchej+github@gmail.com>
2023-01-30 19:42:38 +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 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 c370ce93d5 iterate over Map.entrySet() rather than Map.keyset() and use get() on each iteration 2023-01-28 18:02:41 -08:00
Alexdoru 83f54f1e97 quick fixes : enhanced for loop 2023-01-28 18:02:41 -08:00
Alexdoru 59f3b5b72a spotless 2023-01-28 18:02:41 -08:00
Alexdoru d12e70dd52 quick fix : Constant conditions & exceptions 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 7e0c202772 quick fix : Redundant array creation for calling varargs method 2023-01-28 18:02:41 -08:00
Alexdoru 01655b93c8 quick fix : Duplicate branches in 'switch' 2023-01-28 18:02:41 -08:00
Alexdoru 0657a754e2 quick fix : Simplifiable conditional expression 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 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 abda4a244b potential bug ? ItemSTack was used instead of LandmineStack 2023-01-28 18:02:41 -08:00
Alexdoru 544f51e532 quick fix : String comparison using '==', instead of 'equals()' 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 98f3da6131 stop calling EnvironmentChecks and remove dead code in EnvironmentChecks 2023-01-28 18:02:41 -08:00
Alexdoru dba65e38dd quick fix : Can be replaced with single 'Map.getOrDefault' method call 2023-01-28 18:02:41 -08:00