private static final int RATIO = 10000;
private final ItemSlot[] slots = new ItemSlot[11];
public RockCrusherPlugin() {
slots[0] = new ItemSlot(4, 11, 16, 16);
for (int y = 0; y < 3; y++) {
for (int x = 0; x < 3; x++) {
slots[1 + y * 3 + x] = new FloatChanceSlot(24 + x * 18, 3 + y * 18, 16, 16, true).setSlotType(SlotType.OUTPUT_SLOT);
}
}
slots[10] = new ItemSlot(4, 34, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
}