Class ItemSlot

java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
info.u_team.u_team_core.menu.ItemSlot

public class ItemSlot extends net.minecraftforge.items.SlotItemHandler
  • Field Summary

    Fields inherited from class net.minecraft.world.inventory.Slot

    container, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemSlot(net.minecraftforge.items.IItemHandler itemHandler, int slot, int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initialize(net.minecraft.world.item.ItemStack stack)
     
    void
     

    Methods inherited from class net.minecraftforge.items.SlotItemHandler

    getItem, getItemHandler, getMaxStackSize, getMaxStackSize, mayPickup, mayPlace, onQuickCraft, remove, set

    Methods inherited from class net.minecraft.world.inventory.Slot

    allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, tryRemove

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ItemSlot

      public ItemSlot(net.minecraftforge.items.IItemHandler itemHandler, int slot, int x, int y)
  • Method Details

    • setChanged

      public void setChanged()
      Overrides:
      setChanged in class net.minecraft.world.inventory.Slot
    • initialize

      public void initialize(net.minecraft.world.item.ItemStack stack)
      Overrides:
      initialize in class net.minecraftforge.items.SlotItemHandler