Package net.minecraft.world.item
Interface Equipable
- All Known Implementing Classes:
AbstractSkullBlock,AnimalArmorItem,ArmorItem,CustomArmorModelTest.EndermanArmorItem,CustomArmorModelTest.TintedArmorItem,CustomHeadTest.CustomSkullBlock,CustomHeadTest.CustomWallSkullBlock,ElytraItem,EquipableCarvedPumpkinBlock,PiglinWallSkullBlock,PlayerHeadBlock,PlayerWallHeadBlock,ShieldItem,SkullBlock,WallSkullBlock,WitherSkullBlock,WitherWallSkullBlock,WoolCarpetBlock
public interface Equipable
-
Method Summary
Modifier and TypeMethodDescriptionstatic Equipabledefault Holder<SoundEvent> default InteractionResultHolder<ItemStack> swapWithEquipmentSlot(Item p_270453_, Level p_270395_, Player p_270300_, InteractionHand p_270262_)
-
Method Details
-
getEquipmentSlot
EquipmentSlot getEquipmentSlot() -
getEquipSound
-
swapWithEquipmentSlot
default InteractionResultHolder<ItemStack> swapWithEquipmentSlot(Item p_270453_, Level p_270395_, Player p_270300_, InteractionHand p_270262_) -
get
-