Commit Graph
297 Commits
Author SHA1 Message Date
Martin Robertz 47a5b9391a sa+wci 2023-09-24 22:57:55 +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
Dennis f019c7d845 fix crash when opening stencil table with cast (#87)
added guards before setActiveButton
2023-05-22 06:59:36 +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
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 <[email protected]>
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 <[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
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 <[email protected]>
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 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 59f3b5b72a spotless 2023-01-28 18:02:41 -08:00
Alexdoru 2b6b01314d quick fix : Unused assignment 2023-01-28 18:02:41 -08:00
Alexdoru 0657a754e2 quick fix : Simplifiable conditional expression 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 dba65e38dd quick fix : Can be replaced with single 'Map.getOrDefault' method call 2023-01-28 18:02:41 -08:00
Alexdoru bbaba41d83 quick fix : Unnecessary 'return' statement 2023-01-28 18:02:41 -08:00
Alexdoru 379d0cb168 quick fix : Too weak variable type leads to unnecessary cast 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 aa1b25c8e5 quick fix : Multiple occurrences of the same expression 2023-01-28 18:02:41 -08:00
Alexdoru 173eab9a0e quick fix : Manual min/max calculation 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 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 25522dae75 quick fix : Empty 'try' block 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 7abe2f5182 quick fix : 'while' loop replaceable with enhanced 'for' loop 2023-01-28 18:02:41 -08:00
Alexdoru d6b69264b9 quick fix : Unnecessary boxing / unboxing 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 b84b6e58bf quick fix : Unnecessary semicolon 2023-01-28 18:02:41 -08:00
Alexdoru 825643a7c4 quick fix : C-style array declaration 2023-01-28 18:02:41 -08:00
DrParadox7 85e690c6b7 Misc Additions (#62)
* Fix Tinker Addons

Fixed clay cast taking over the registry name of standard casts
Added missing resources for molten quartz item (used by Iguana Tinker Tweaks)

* Prevent casting recipes of invalid clay casts

* Seared Channel

* Blank Clay Cast

* Enhance readability
2022-12-29 19:50:06 +01: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
Raven Szewczyk 4836bc270c Fix broken scrolling of large inventories in the crafting station 2022-06-18 09:53:14 -07:00
Jakub Szewczyk e9cacb5e37 Make crafting stations slots use ISidedInventory/IInventory validation logic (#48)
* Update buildscript

* Update dependencies

* Make crafting stations slots use ISidedInventory/IInventory validation logic

* Fix handling of inventories with inaccessible slots
2022-05-14 11:22:11 +02:00
Serghei Borovetchi 9e2c7e7641 fix-crafting-station-height 2022-02-19 10:04:49 -08:00
Jason Mitchell d3118ac5d8 Yay boolean logic errors (#39) 2022-01-27 08:27:15 +01:00
Jason Mitchell 171d1b3f25 Fix clicking on inventory slots (#37)
* Fix clicking on inventory slots.

* resort to hacks

* one more hack
2022-01-09 18:46:27 -08:00
Jason Mitchell 1c46541223 CraftingStation side chest now work with any IInventory with a configurable blacklist. (#35)
* CraftingStation side chest now work with any IInventory with a configurable blacklist.

* Check ISidedInventory and accessible slots.  Still needs some work for shift clicking.

* Backport shift click behavior and some helper functions

* Fix NEI overlap, and tinker's tool station integration

* Fix NEI shift clicking by redoing math
2022-01-06 10:24:28 +01:00
slprimeandSerghei Borovetchi 1c305ff293 Stencil Table and NEI overlap (#36)
Co-authored-by: Serghei Borovetchi <[email protected]>
2022-01-03 14:17:26 -08:00
Chavalit P dee071050e Fix Tool Station and Tool Forge button not respect the resource domain setting
Before the fix, Tool Station and Tool Forge buttons always use the image file from "tinker" resource domain (It's from the repair button resource domain). This prevents ability to use images added by other mods.

This fix makes said GUI respect the resource domain setting of the buttons.
2021-08-25 22:26:49 +07:00