类 BlackListSlot
java.lang.Object
net.minecraft.world.inventory.Slot
committee.nova.mods.avaritia.api.common.slot.BlackListSlot
public class BlackListSlot
extends net.minecraft.world.inventory.Slot
-
字段概要
从类继承的字段 net.minecraft.world.inventory.Slot
container, index, x, y -
构造器概要
构造器构造器说明BlackListSlot(net.minecraft.world.Container pContainer, int pSlot, int pX, int pY, net.minecraft.world.item.ItemStack item) -
方法概要
从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setChanged, tryRemove
-
构造器详细资料
-
BlackListSlot
public BlackListSlot(net.minecraft.world.Container pContainer, int pSlot, int pX, int pY, net.minecraft.world.item.ItemStack item)
-
-
方法详细资料
-
mayPickup
public boolean mayPickup(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer) - 覆盖:
mayPickup在类中net.minecraft.world.inventory.Slot
-
mayPlace
public boolean mayPlace(@NotNull @NotNull net.minecraft.world.item.ItemStack stack) - 覆盖:
mayPlace在类中net.minecraft.world.inventory.Slot
-