Tile Saving

This commit is contained in:
AlgorithmX2
2014-01-30 18:50:11 -06:00
parent 08e232ec63
commit ac365b28c6
7 changed files with 31 additions and 2 deletions
@@ -78,6 +78,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
te.onChangeInventory( this, slot, InvOperation.decrStackSize, ns, null );
}
onInventoryChanged();
return ns;
}
@@ -122,6 +123,8 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
}
te.onChangeInventory( this, slot, InvOperation.setInventorySlotContents, removed, added );
onInventoryChanged();
}
}
+2
View File
@@ -6,6 +6,8 @@ import net.minecraft.item.ItemStack;
public interface IAEAppEngInventory
{
void saveChanges();
void onChangeInventory(IInventory inv, int slot, InvOperation mc, ItemStack removedStack, ItemStack newStack);
}