net.minecraft.world.inventory

class ArmorSlot

extends Slot

cuo
net.minecraft.world.inventory.ArmorSlot
net.minecraft.class_9692
net.minecraft.screen.slot.ArmorSlot

Field summary

Modifier and TypeField
private final LivingEntity
a
owner
field_51622
entity
private final EquipmentSlot
b
slot
field_51623
equipmentSlot
private final ResourceLocation
g
emptyIcon
field_51624
backgroundSprite

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(cys arg0, cys arg1)
setByPlayer(ItemStack arg0, ItemStack arg1)
method_48931(class_1799 arg0, class_1799 arg1)
setStack(ItemStack arg0, ItemStack arg1)
public int
a()
getMaxStackSize()
method_7675()
getMaxItemCount()
public boolean
a(cys arg0)
mayPlace(ItemStack arg0)
method_7680(class_1799 arg0)
canInsert(ItemStack arg0)
public boolean
b()
isActive()
method_7682()
isEnabled()
public boolean
a(cqs arg0)
mayPickup(Player arg0)
method_7674(class_1657 arg0)
canTakeItems(PlayerEntity arg0)
public ResourceLocation
c()
getNoItemIcon()
method_7679()
getBackgroundSprite()