Skip to content

Commit 5f1cc7b

Browse files
committed
feat: input configurator now works with the Garden Cloche from Cultivation
1 parent c40198d commit 5f1cc7b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/me/voper/slimeframe/implementation/items/tools/InputConfigurator.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public class InputConfigurator extends SimpleSlimefunItem<ItemUseHandler> {
4949

5050
private static final String SIMULATION_CHAMBER_ID = "MOB_SIMULATION_CHAMBER";
5151
private static final List<String> IE_QUARRIES = new ArrayList<>(List.of("BASIC_QUARRY", "ADVANCED_QUARRY", "VOID_QUARRY", "INFINITY_QUARRY"));
52+
private static final String CULTIVATION_GARDEN_ID = "CLT_GARDEN_CLOCHE";
5253

5354
public InputConfigurator(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) {
5455
super(itemGroup, item, recipeType, recipe);
@@ -77,7 +78,6 @@ public ItemUseHandler getItemHandler() {
7778
} else {
7879
p.sendMessage(item.getItemName() + ChatColor.RED + " has no input slots");
7980
}
80-
// }
8181
}
8282
}
8383
}
@@ -105,6 +105,10 @@ private int[] getInputSlots(SlimefunItem item, DirtyChestMenu inventory) {
105105
return new int[]{37};
106106
}
107107

108+
if (item.getId().equals(CULTIVATION_GARDEN_ID)) {
109+
return new int[]{20};
110+
}
111+
108112
if (IE_QUARRIES.contains(item.getId())) {
109113
return new int[]{49};
110114
}

0 commit comments

Comments
 (0)