类 ItemStackWrapperSlot

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

public class ItemStackWrapperSlot extends net.minecraftforge.items.SlotItemHandler
Description:
  • 字段概要

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

    container, x, y
  • 构造器概要

    构造器
    构造器
    说明
    ItemStackWrapperSlot(ItemStackWrapper inventory, int index, int xPosition, int yPosition)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    mayPickup(net.minecraft.world.entity.player.Player player)
     
    @NotNull net.minecraft.world.item.ItemStack
    remove(int amount)
     

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

    getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPlace, onQuickCraft, set

    从类继承的方法 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
  • 构造器详细资料

    • ItemStackWrapperSlot

      public ItemStackWrapperSlot(ItemStackWrapper inventory, int index, int xPosition, int yPosition)
  • 方法详细资料

    • mayPickup

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

      @NotNull public @NotNull net.minecraft.world.item.ItemStack remove(int amount)
      覆盖:
      remove 在类中 net.minecraftforge.items.SlotItemHandler