Package net.minecraft.item
Interface Equipment
- All Known Implementing Classes:
AbstractSkullBlock,AnimalArmorItem,ArmorItem,DyedCarpetBlock,ElytraItem,PlayerSkullBlock,ShieldItem,SkullBlock,WallPiglinHeadBlock,WallPlayerSkullBlock,WallSkullBlock,WallWitherSkullBlock,WearableCarvedPumpkinBlock,WitherSkullBlock
public interface Equipment
Represents a type of item that is wearable in an armor equipment slot, or a shield.
This type of item can be targeted by the minecraft:binding_curse enchantment.
- Mappings:
Namespace Name named net/minecraft/item/Equipmentintermediary net/minecraft/class_5151official cun
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActionResultequipAndSwap(Item item, World world, PlayerEntity user, Hand hand) default RegistryEntry<SoundEvent>
-
Method Details
-
getSlotType
EquipmentSlot getSlotType()- Mappings:
Namespace Name Mixin selector named getSlotTypeLnet/minecraft/item/Equipment;getSlotType()Lnet/minecraft/entity/EquipmentSlot;intermediary method_7685Lnet/minecraft/class_5151;method_7685()Lnet/minecraft/class_1304;official mLcun;m()Lbtr;
-
getEquipSound
- Mappings:
Namespace Name Mixin selector named getEquipSoundLnet/minecraft/item/Equipment;getEquipSound()Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_31570Lnet/minecraft/class_5151;method_31570()Lnet/minecraft/class_6880;official nLcun;n()Ljn;
-
equipAndSwap
- Mappings:
Namespace Name Mixin selector named equipAndSwapLnet/minecraft/item/Equipment;equipAndSwap(Lnet/minecraft/item/Item;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_48576Lnet/minecraft/class_5151;method_48576(Lnet/minecraft/class_1792;Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official aLcun;a(Lcvg;Ldds;Lcnp;Lbrj;)Lbrk;
-
fromStack
- Mappings:
Namespace Name Mixin selector named fromStackLnet/minecraft/item/Equipment;fromStack(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/Equipment;intermediary method_48957Lnet/minecraft/class_5151;method_48957(Lnet/minecraft/class_1799;)Lnet/minecraft/class_5151;official c_Lcun;c_(Lcvl;)Lcun;
-