Commit Graph
283 Commits
Author SHA1 Message Date
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 <sborovetchi@estatim.com>
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
Jason Mitchell 8123c7618b Update hideItemPanelSlot to account for the bookmark panel on NEI-GTNH 2021-04-10 20:21:31 -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
Jason Mitchell 842b339a25 Add a null check to avoid what looks like a battlesign related crash 2018-03-11 10:19:11 -07:00
Dream-Master 5b2865b555 possible fix of 1.5.1.0 Wither skull drop #1833 2017-08-31 22:28:34 +02:00
Technus 7a49754f3b Working fix 2017-03-22 00:04:27 +01:00
Technus 70d1b12e18 Revert "Probable solution"
This reverts commit de0edc7d36.
2017-03-21 23:49:30 +01:00
Technus 88fb8f0f3f Revert "Attempt2"
This reverts commit c1fbbded90.
2017-03-21 23:49:22 +01:00
Technus db8264fbf2 Revert "Attempt3"
This reverts commit 324835a3f1.
2017-03-21 23:49:11 +01:00
Daniel 324835a3f1 Attempt3 2017-03-21 23:10:50 +01:00
Daniel c1fbbded90 Attempt2 2017-03-21 23:03:03 +01:00
Daniel de0edc7d36 Probable solution 2017-03-20 08:16:41 +01:00
UndeadZeratul cd5a3ddae6 Refactor pattern costs to allow being overridden
By default the values will still remain the same, but if someone else wants to adjust these values, they can.
2015-12-22 13:07:32 -06:00
Bernhard Bonigl 50441d79c1 Prevent non-patterns being pumped into the patternchest.
Partially fixes #1684, but duping patterns is not a big deal.
2015-08-07 21:18:35 +02:00
Bernhard Bonigl 9522da6889 NEI ? now works with crafting stations with chest and also pulls items out of the chest 2015-08-07 20:43:22 +02:00