Advertisement
HalestormXV

Untitled

Aug 27th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.75 KB | None | 0 0
  1. package halestormxv.eAngelus.slots;
  2.  
  3. import halestormxv.eAngelus.tileentity.TileEntityDualFurnace;
  4. import net.minecraft.inventory.Slot;
  5. import net.minecraft.inventory.IInventory;
  6. import net.minecraft.item.ItemStack;
  7.  
  8. /**
  9.  * Created by Blaze on 8/27/2017.
  10.  */
  11. public class SlotDualFurnaceFuel extends Slot
  12. {
  13.  
  14.     public SlotDualFurnaceFuel(IInventory inventoryIn, int index, int xPosition, int yPosition)
  15.     {
  16.         super(inventoryIn, index, xPosition, yPosition);
  17.     }
  18.  
  19.     @Override
  20.     public boolean isItemValid(ItemStack itemStack)
  21.     {
  22.         return TileEntityDualFurnace.isItemFuel(itemStack);
  23.     }
  24.  
  25.     @Override
  26.     public int getItemStackLimit(ItemStack stack)
  27.     {
  28.         return super.getItemStackLimit(stack);
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement