java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
committee.nova.mods.avaritia.api.common.slot.CopySlot

public class CopySlot extends net.minecraftforge.items.SlotItemHandler
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    int
     

    从类继承的字段 net.minecraft.world.inventory.Slot

    container, x, y
  • 构造器概要

    构造器
    构造器
    说明
    CopySlot(net.minecraftforge.items.IItemHandler itemHandler, int index, int x, int y)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    mayPickup(net.minecraft.world.entity.player.Player player)
     
    void
    set(net.minecraft.world.item.ItemStack stack)
     

    从类继承的方法 net.minecraftforge.items.SlotItemHandler

    getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPlace, onQuickCraft, remove

    从类继承的方法 net.minecraft.world.inventory.Slot

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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • slotIndex

      public int slotIndex
  • 构造器详细资料

    • CopySlot

      public CopySlot(net.minecraftforge.items.IItemHandler itemHandler, int index, int x, int y)
  • 方法详细资料

    • mayPickup

      public boolean mayPickup(net.minecraft.world.entity.player.Player player)
      覆盖:
      mayPickup 在类中 net.minecraftforge.items.SlotItemHandler
    • set

      public void set(net.minecraft.world.item.ItemStack stack)
      覆盖:
      set 在类中 net.minecraftforge.items.SlotItemHandler