net.minecraft.world.inventory

class ArmorSlot

extends Slot

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

Field summary

Modifier and TypeField
private final LivingEntity
a
owner
field_51622
entity
f_337233_
private final EquipmentSlot
b
slot
field_51623
equipmentSlot
f_337717_
private final Identifier
g
emptyIcon
field_51624
backgroundSprite
f_337238_

Constructor summary

ModifierConstructor
public (Container inventory, LivingEntity entity, EquipmentSlot equipmentSlot, int index, int x, int y, Identifier backgroundSprite)

Method summary

Modifier and TypeMethod
public void
a(dlt arg0, dlt 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(dlt 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(ddm arg0)
mayPickup(Player arg0)
method_7674(class_1657 arg0)
canTakeItems(PlayerEntity arg0)
m_8010_(C_1141_ arg0)
public Identifier
c()
getNoItemIcon()
method_7679()
getBackgroundSprite()
m_7543_()