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