Commit Graph
282 Commits
Author SHA1 Message Date
Alexdoru c8ee847e1a quick fix : Private field may be 'final' 2023-01-26 01:19:02 +01:00
Alexdoru c4fa3cbbfe spotless 2023-01-26 00:55:34 +01:00
Alexdoru 3d6226e7b4 quick fix : Statement with empty body 2023-01-26 00:41:47 +01:00
Alexdoru b878eb159d quick fix : Can be replaced with single 'Map.getOrDefault' method call 2023-01-26 00:06:37 +01:00
Alexdoru ca065782a1 quick fix : Unnecessary 'return' statement 2023-01-26 00:04:48 +01:00
Alexdoru a78589188e quick fix : Too weak variable type leads to unnecessary cast 2023-01-26 00:01:59 +01:00
Alexdoru 144d336f5e quick fix : Redundant type cast 2023-01-25 23:57:49 +01:00
Alexdoru e2f185ad35 quick fix : Redundant Collection operation 2023-01-25 23:56:41 +01:00
Alexdoru 94688e0389 quick fix : Multiple occurrences of the same expression 2023-01-25 23:49:09 +01:00
Alexdoru 8806f3540a quick fix : Manual min/max calculation 2023-01-25 23:44:30 +01:00
Alexdoru 106f238698 quick fix : Duplicate branches in 'switch' 2023-01-25 23:36:51 +01:00
Alexdoru efd18b873e quick fix : Condition is covered by further condition 2023-01-25 23:27:18 +01:00
Alexdoru d0c3b57e22 quick fix : Redundant 'if' statement 2023-01-25 23:11:58 +01:00
Alexdoru ce3ee201a3 quick fix : Minimum 'switch' branches 2023-01-25 23:03:02 +01:00
Alexdoru 06c95eeb39 quick fix : Access static member via instance reference 2023-01-25 23:02:19 +01:00
Alexdoru 6a88c6a5e1 quick fix : 'if' statement with identical branches 2023-01-25 22:53:06 +01:00
Alexdoru a2295f380e quick fix : Redundant local variable 2023-01-25 22:43:06 +01:00
Alexdoru 92418806c1 quick fix : Empty 'try' block 2023-01-25 22:39:22 +01:00
Alexdoru 8b4f56b7fd quick fix : Renamed catch block parameter to ignored 2023-01-25 22:39:21 +01:00
Alexdoru 4dc089061c quick fix : Explicit type can be replaced with <> 2023-01-25 22:37:16 +01:00
Alexdoru 66ba36d6a0 quick fix : 'while' loop replaceable with enhanced 'for' loop 2023-01-25 22:36:52 +01:00
Alexdoru 91f0707078 quick fix : Unnecessary boxing / unboxing 2023-01-25 22:02:09 +01:00
Alexdoru 44d9b01f8f quick fix : Wrapper type may be primitive 2023-01-25 21:55:29 +01:00
Alexdoru af0ae53c80 quick fix : Unnecessary semicolon 2023-01-25 21:09:33 +01:00
Alexdoru 00117a7596 quick fix : C-style array declaration 2023-01-25 21:05:22 +01: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
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
Anton f824cc1651 Ore dict everything 2015-07-11 11:26:21 +03:00