Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.limplungs.invcalc.containers;
- import net.minecraft.entity.player.EntityPlayer;
- import net.minecraft.entity.player.InventoryPlayer;
- import net.minecraft.inventory.Container;
- import net.minecraft.inventory.Slot;
- public class ContainerCalculatorBasic extends Container
- {
- public ContainerCalculatorBasic(InventoryPlayer inventory)
- {
- for (int i = 0; i < 9; i++)
- {
- this.addSlotToContainer(new Slot(inventory, i, 125 + 20 * i, 221));
- }
- }
- @Override
- public boolean canInteractWith(EntityPlayer player)
- {
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement