mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
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
This commit is contained in:
1 parent
18bfeaff32
commit
39be06c23b
571 files changed
+25959
-28223
No files matched your search
@@ -1,15 +1,13 @@
|
||||
package tconstruct.plugins.nei;
|
||||
|
||||
import tconstruct.tools.gui.CraftingStationGui;
|
||||
import codechicken.nei.api.API;
|
||||
import codechicken.nei.api.IConfigureNEI;
|
||||
import tconstruct.tools.gui.CraftingStationGui;
|
||||
|
||||
public class NEITConstructConfig implements IConfigureNEI
|
||||
{
|
||||
public class NEITConstructConfig implements IConfigureNEI {
|
||||
|
||||
@Override
|
||||
public void loadConfig ()
|
||||
{
|
||||
public void loadConfig() {
|
||||
API.registerGuiOverlay(CraftingStationGui.class, "crafting", new CraftingStationStackPositioner());
|
||||
API.registerGuiOverlayHandler(CraftingStationGui.class, new CraftingStationOverlayHandler(), "crafting");
|
||||
|
||||
@@ -24,21 +22,17 @@ public class NEITConstructConfig implements IConfigureNEI
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName ()
|
||||
{
|
||||
public String getName() {
|
||||
return "TConstruct";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getVersion ()
|
||||
{
|
||||
public String getVersion() {
|
||||
return "${version}";
|
||||
}
|
||||
|
||||
private static void registerHandler (RecipeHandlerBase handler)
|
||||
{
|
||||
private static void registerHandler(RecipeHandlerBase handler) {
|
||||
API.registerRecipeHandler(handler);
|
||||
API.registerUsageHandler(handler);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user