类 ArmorSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.ArmorSlot
-
字段概要
字段 -
构造器概要
构造器构造器说明ArmorSlot
(Container p_345898_, LivingEntity p_345231_, EquipmentSlot p_345728_, int p_345121_, int p_346000_, int p_346095_, ResourceLocation p_344841_) -
方法概要
修饰符和类型方法说明int
boolean
isActive()
boolean
boolean
void
setByPlayer
(ItemStack p_345031_, ItemStack p_344961_) 从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getSlotIndex, hasItem, isFake, isHighlightable, isSameInventory, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
owner
-
slot
-
emptyIcon
-
-
构造器详细资料
-
ArmorSlot
public ArmorSlot(Container p_345898_, LivingEntity p_345231_, EquipmentSlot p_345728_, int p_345121_, int p_346000_, int p_346095_, @Nullable ResourceLocation p_344841_)
-
-
方法详细资料
-
setByPlayer
- 覆盖:
setByPlayer
在类中Slot
-
getMaxStackSize
public int getMaxStackSize()- 覆盖:
getMaxStackSize
在类中Slot
-
mayPlace
-
isActive
public boolean isActive() -
mayPickup
-
getNoItemIcon
- 覆盖:
getNoItemIcon
在类中Slot
-