History - net.minecraft.world.item.equipment.Equippable

1.21.3

Names

dfu

net.minecraft.world.item.equipment.Equippable

net.minecraft.class_10192

net.minecraft.component.type.EquippableComponent

net.minecraft.world.item.equipment.Equippable

Fields

EquipmentSlot: c, slot, comp_3174, slot

Holder<SoundEvent>: d, equipSound, comp_3175, equipSound

Optional<ResourceLocation>: e, model, comp_3176, model

Optional<ResourceLocation>: f, cameraOverlay, comp_3306, cameraOverlay

Optional<HolderSet<EntityType<?>>>: g, allowedEntities, comp_3177, allowedEntities

boolean: h, dispensable, comp_3178, dispensable

boolean: i, swappable, comp_3213, swappable

boolean: j, damageOnHurt, comp_3214, damageOnHurt

com.mojang.serialization.Codec<Equippable>: a, CODEC, field_54145, CODEC

StreamCodec<RegistryFriendlyByteBuf, Equippable>: b, STREAM_CODEC, field_54146, PACKET_CODEC

Constructors

(EquipmentSlot, Holder<SoundEvent>, Optional<ResourceLocation>, Optional<ResourceLocation>, Optional<HolderSet<EntityType<?>>>, boolean, boolean, boolean)

Methods

Equippable (DyeColor): a, llamaSwag, method_64017, ofCarpet

Equippable$Builder (EquipmentSlot): a, builder, method_64202, builder

InteractionResult (ItemStack, Player): a, swapWithEquipmentSlot, method_64018, equip

boolean (EntityType<?>): a, canBeEquippedBy, method_64015, allows

EquipmentSlot (): a, slot, comp_3174, slot

Holder<SoundEvent> (): b, equipSound, comp_3175, equipSound

Optional<ResourceLocation> (): c, model, comp_3176, model

Optional<ResourceLocation> (): d, cameraOverlay, comp_3306, cameraOverlay

Optional<HolderSet<EntityType<?>>> (): e, allowedEntities, comp_3177, allowedEntities

boolean (): f, dispensable, comp_3178, dispensable

boolean (): g, swappable, comp_3213, swappable

boolean (): h, damageOnHurt, comp_3214, damageOnHurt