Basics of the farming block starting to work (wheat, potatoes, carrots + nether wart)

This commit is contained in:
CrazyPants committed 2014-05-01 22:33:34 +08:00
1 parent 0513f492e8
commit 7dcd024c18
20 files changed
+670 -233

No files matched your search

@@ -86,7 +86,7 @@ public abstract class AbstractMachineContainer extends Container {
//Check from inv->input then inv->upgrade then inv->hotbar or hotbar->inv
if(slotIndex >= startPlayerSlot) {
if(!mergeItemStack(origStack, slotDef.getMinInputSlot(), slotDef.getMaxInputSlot() + 1, false)) {
if(slotDef.getNumOutputSlots() > 0 && !mergeItemStack(origStack, slotDef.getMinUpgradeSlot(), slotDef.getMaxUpgradeSlot() + 1, false)) {
if(slotDef.getNumUpgradeSlots() > 0 && !mergeItemStack(origStack, slotDef.getMinUpgradeSlot(), slotDef.getMaxUpgradeSlot() + 1, false)) {
if(slotIndex <= endPlayerSlot) {
if(!mergeItemStack(origStack, startHotBarSlot, endHotBarSlot, false)) {
return null;