net.minecraft.world.inventory

class ArmorSlot

extends Slot

cyq
net.minecraft.world.inventory.ArmorSlot
net.minecraft.class_9692
net.minecraft.screen.slot.ArmorSlot
net.minecraft.src.C_336533_
net.minecraft.world.inventory.ArmorSlot

字段概要

修饰符与类型字段
private final LivingEntity
a
owner
field_51622
entity
f_337233_
private final EquipmentSlot
b
slot
field_51623
equipmentSlot
f_337717_
private final ResourceLocation
g
emptyIcon
field_51624
backgroundSprite
f_337238_

构造函数概要

修饰符构造函数
public (Container inventory, LivingEntity entity, EquipmentSlot equipmentSlot, int index, int x, int y, ResourceLocation backgroundSprite)

方法概要

修饰符与类型方法
public void
a(dcv arg0, dcv arg1)
setByPlayer(ItemStack arg0, ItemStack arg1)
method_48931(class_1799 arg0, class_1799 arg1)
setStack(ItemStack arg0, ItemStack arg1)
m_269206_(C_1391_ p_345204_, C_1391_ arg1)
public int
a()
getMaxStackSize()
method_7675()
getMaxItemCount()
m_6641_()
public boolean
a(dcv arg0)
mayPlace(ItemStack arg0)
method_7680(class_1799 arg0)
canInsert(ItemStack arg0)
m_5857_(C_1391_ arg0)
public boolean
b()
isActive()
method_7682()
isEnabled()
m_6659_()
public boolean
a(cut arg0)
mayPickup(Player arg0)
method_7674(class_1657 arg0)
canTakeItems(PlayerEntity arg0)
m_8010_(C_1141_ arg0)
public ResourceLocation
c()
getNoItemIcon()
method_7679()
getBackgroundSprite()
m_7543_()