public ItemChestChanger(int id, ChestChangerType type) { super(id); setMaxStackSize(1); this.type = type; setIconIndex(type.ordinal()); setItemName(type.itemName); }
public int getTargetChestOrdinal(int sourceOrdinal) { return type.getTarget(); }