Commit Graph
28 Commits
Author SHA1 Message Date
Jason Mitchell 84c2239244 [ci skip] spotlessApply with the new settings 2023-01-28 18:04:28 -08:00
Alexdoru 2b6b01314d quick fix : Unused assignment 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
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 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
Jason Mitchell 8123c7618b Update hideItemPanelSlot to account for the bookmark panel on NEI-GTNH 2021-04-10 20:21:31 -07:00
Bernhard Bonigl 864f9be156 Fix dupe with crafting station #1509 2015-04-02 19:14:51 +02:00
Bernhard Bonigl 159b772f5a Clean up GUI stuff for tools! \o/ 2014-10-28 17:56:29 +01:00
Bernhard Bonigl 5495722194 Pull tool info stuff out from toolstation/craftingstation gui and unify in helper class 2014-10-28 15:45:13 +01:00
Qowyn d92b0add32 Support for NEI crafting overlay in crafting station with attached chest. 2014-10-05 22:05:48 +02:00
Qowyn 2ab8f69de8 underp CraftingStationGui with chest(s) attached 2014-09-25 13:26:05 +02:00
Qowyn 11039c9f2d Make CraftingStationGui show material info too, display default text for all other items. Cache information like the part builder does. 2014-09-24 18:08:22 +02:00
Qowyn fab22bd432 Adaptive NEI Visibility based on screen size + crash prevention for default NEI layout.
Conflicts:
	src/main/java/tconstruct/tools/gui/CraftingStationGui.java
2014-09-24 16:17:58 +02:00
Bernhard Bonigl 16fd95d3a2 Tinker Table displays stats of tool in center slot 2014-09-24 11:55:59 +02:00
Bernhard Bonigl 1d4ca5c453 Port ToolStation armor/accessory display stuff to CraftingStation (oh god this is a mess. do it properly in 1.8) 2014-09-24 11:46:25 +02:00
Qowyn 7240573e3a NEI Support for PartCrafterGui and CraftingStationGui 2014-09-24 02:15:56 +02:00
Arthur Uzulin 80efde613a The return of achievements
- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
2014-09-09 18:30:15 +10:00
Bernhard Bonigl 568ed09982 Localize tool names 2014-09-01 23:52:04 +02:00
Bernhard Bonigl 6e9dea9bd8 Localization cleanup/fixes 2014-09-01 22:19:43 +02:00
Bernhard Bonigl 2dd426f1d7 Unify tool speed calculation in one accessible place, instead of having the same code floating around 3 times. 2014-08-28 14:29:12 +02:00
Bernhard Bonigl 7ca3acad88 Fix speed calc in GUI from #934
Unmerged 1.6.4 commit: Multiple bugfixes #927
2014-08-28 14:29:08 +02:00
mDiyo 5b56d5e392 Buff redstone mod, refactor broad tools to match
Cherry-picked from 34a4c8c80f969cafd696b41d963c2a041347d4cd

Conflicts:
	src/main/java/tconstruct/common/TProxyCommon.java
	src/main/java/tconstruct/items/tools/Excavator.java
	src/main/java/tconstruct/items/tools/Hammer.java
	src/main/java/tconstruct/items/tools/LumberAxe.java
	src/main/java/tconstruct/library/tools/HarvestTool.java
	src/main/java/tconstruct/modifiers/tools/ModLapis.java
	src/main/java/tconstruct/modifiers/tools/ModRedstone.java
	src/main/java/tconstruct/tools/gui/ToolStationGui.java
2014-08-28 01:27:39 -07:00
Glassmaker ea12d67f9c Fixed items dropping while clicking chest inventory in crafting station/tinkers table, and display order for large chests, closes #698 2014-07-14 23:56:41 +03:00
squeek d719885de7 Fixed some inconsistencies in how damage/speed of tools is calculated in GUIs
* Fixed damage not being calculated properly in Crafting Stations
 * Fixed Crafting Stations stonebound speed calculations (they were using a different algorithm)
 * Fixed typo that made GUIs show the primary mining speed of dual harvest twice
 * Fixed Stonebound damage bonus/loss always being truncated to an int in GUIs

Conflicts:
	src/main/java/tconstruct/tools/gui/CraftingStationGui.java
	src/main/java/tconstruct/tools/gui/ToolStationGui.java
2014-07-06 23:53:35 -07:00
mDiyo 2629e241cd Finish updating slot logic for Tool Stations, fix dupe bugs 2014-07-05 21:08:58 -08:00