Package net.minecraft.item
Interface Wearable
- All Superinterfaces:
Vanishable
- All Known Implementing Classes:
AbstractSkullBlock
,ArmorItem
,CarvedPumpkinBlock
,DyeableArmorItem
,ElytraItem
,PlayerSkullBlock
,SkullBlock
,WallPiglinHeadBlock
,WallPlayerSkullBlock
,WallSkullBlock
,WallWitherSkullBlock
,WitherSkullBlock
Represents a type of item that is wearable in an armor equipment slot.
This type of item can be targeted by the minecraft:binding_curse
enchantment.
- Mappings:
Namespace Name official cgn
intermediary net/minecraft/class_5151
named net/minecraft/item/Wearable
-
Method Summary
Modifier and TypeMethodDescriptiondefault TypedActionResult<ItemStack>
method_48576
(Item item, World world, PlayerEntity playerEntity, Hand hand)
-
Method Details
-
method_48576
default TypedActionResult<ItemStack> method_48576(Item item, World world, PlayerEntity playerEntity, Hand hand) - Mappings:
Namespace Name Mixin selector official a
Lcgn;a(Lcep;Lclg;Lbxn;Lbdg;)Lbdi;
intermediary method_48576
Lnet/minecraft/class_5151;method_48576(Lnet/minecraft/class_1792;Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1271;
named method_48576
Lnet/minecraft/item/Wearable;method_48576(Lnet/minecraft/item/Item;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-