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

25w04a

Names

dev

dhb

Fields

EquipmentSlot: c, slot, comp_3174, slot, f_346362_

EquipmentSlot: c, slot, comp_3174, slot

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

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

Optional<ResourceKey<EquipmentAsset>>: e, assetId, comp_3176, assetId, f_371313_

Optional<ResourceKey<EquipmentAsset>>: e, assetId, comp_3176, assetId

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

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

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

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

boolean: h, dispensable, comp_3178, dispensable, f_349421_

boolean: h, dispensable, comp_3178, dispensable

boolean: i, swappable, comp_3213, swappable, f_346638_

boolean: i, swappable, comp_3213, swappable

boolean: j, damageOnHurt, comp_3214, damageOnHurt, f_346377_

boolean: j, damageOnHurt, comp_3214, damageOnHurt

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

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

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

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

boolean: k, equipOnInteract, comp_3523, equipOnInteract

Constructors

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

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

Methods

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

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

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

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

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

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

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

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

EquipmentSlot (): a, slot, comp_3174, slot, f_346362_

EquipmentSlot (): b, slot, comp_3174, slot

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

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

Optional<ResourceKey<EquipmentAsset>> (): c, assetId, comp_3176, assetId, f_371313_

Optional<ResourceKey<EquipmentAsset>> (): d, assetId, comp_3176, assetId

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

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

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

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

boolean (): f, dispensable, comp_3178, dispensable, f_349421_

boolean (): g, dispensable, comp_3178, dispensable

boolean (): g, swappable, comp_3213, swappable, f_346638_

boolean (): h, swappable, comp_3213, swappable

boolean (): h, damageOnHurt, comp_3214, damageOnHurt, f_346377_

boolean (): i, damageOnHurt, comp_3214, damageOnHurt

Equippable (): a, saddle, method_66699, ofSaddle

InteractionResult (Player, LivingEntity, ItemStack): a, equipOnTarget, method_66700, equipOnInteract

boolean (): j, equipOnInteract, comp_3523, equipOnInteract

1.21.4

Names

dfu

dev

Fields

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

Optional<ResourceKey<EquipmentAsset>>: e, assetId, comp_3176, assetId, f_371313_

Constructors

Methods

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

Optional<ResourceKey<EquipmentAsset>> (): c, assetId, comp_3176, assetId, f_371313_

1.21.3

Names

dfu

net.minecraft.world.item.equipment.Equippable

net.minecraft.class_10192

net.minecraft.component.type.EquippableComponent

net.minecraft.src.C_346084_

net.minecraft.world.item.equipment.Equippable

Fields

EquipmentSlot: c, slot, comp_3174, slot, f_346362_

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

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

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

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

boolean: h, dispensable, comp_3178, dispensable, f_349421_

boolean: i, swappable, comp_3213, swappable, f_346638_

boolean: j, damageOnHurt, comp_3214, damageOnHurt, f_346377_

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

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

Constructors

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

Methods

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

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

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

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

EquipmentSlot (): a, slot, comp_3174, slot, f_346362_

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

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

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

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

boolean (): f, dispensable, comp_3178, dispensable, f_349421_

boolean (): g, swappable, comp_3213, swappable, f_346638_

boolean (): h, damageOnHurt, comp_3214, damageOnHurt, f_346377_