Advertisement
Guest User

ContainerCalculatorBasic

a guest
Jan 3rd, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. package com.limplungs.invcalc.containers;
  2.  
  3. import net.minecraft.entity.player.EntityPlayer;
  4. import net.minecraft.entity.player.InventoryPlayer;
  5. import net.minecraft.inventory.Container;
  6. import net.minecraft.inventory.Slot;
  7.  
  8. public class ContainerCalculatorBasic extends Container
  9. {
  10.  
  11. public ContainerCalculatorBasic(InventoryPlayer inventory)
  12. {
  13. for (int i = 0; i < 9; i++)
  14. {
  15. this.addSlotToContainer(new Slot(inventory, i, 125 + 20 * i, 221));
  16. }
  17. }
  18.  
  19. @Override
  20. public boolean canInteractWith(EntityPlayer player)
  21. {
  22. return true;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement