History - net.minecraft.component.type.EquippableComponent

26.4-snapshot-7

Names

Fields

Constructors

Methods

26.4-snapshot-6

Names

Fields

Constructors

Methods

26.4-snapshot-5

Names

Fields

RegistryEntry<SoundEvent>: equipSound, comp_3175, equipSound

RegistryEntry<SoundEvent>: shearingSound, comp_4363, shearingSound

Optional<RegistryEntry<SoundEvent>>: equipSound, comp_3175, equipSound

Optional<RegistryEntry<SoundEvent>>: shearingSound, comp_4363, shearingSound

Constructors

(EquipmentSlot, RegistryEntry<SoundEvent>, Optional<RegistryKey<EquipmentAsset>>, Optional<Identifier>, Optional<RegistryEntryList<EntityType<?>>>, boolean, boolean, boolean, boolean, boolean, RegistryEntry<SoundEvent>)

(EquipmentSlot, Optional<RegistryEntry<SoundEvent>>, Optional<RegistryKey<EquipmentAsset>>, Optional<Identifier>, Optional<RegistryEntryList<EntityType<?>>>, boolean, boolean, boolean, boolean, boolean, Optional<RegistryEntry<SoundEvent>>)

Methods

RegistryEntry<SoundEvent> (): equipSound, comp_3175, equipSound

RegistryEntry<SoundEvent> (): shearingSound, comp_4363, shearingSound

Optional<RegistryEntry<SoundEvent>> (): equipSound, comp_3175, equipSound

Optional<RegistryEntry<SoundEvent>> (): shearingSound, comp_4363, shearingSound

26.4-snapshot-4

Names

Fields

Constructors

Methods

26.4-snapshot-3

Names

Fields

Constructors

Methods

26.4-snapshot-2

Names

Fields

Constructors

Methods

26.4-snapshot-1

Names

Fields

Constructors

Methods

26.3

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

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

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

1.21.11_unobfuscated

Names

net.minecraft.world.item.equipment.Equippable

net.minecraft.class_10192

net.minecraft.component.type.EquippableComponent

Fields

EquipmentSlot: slot, comp_3174, slot

RegistryEntry<SoundEvent>: equipSound, comp_3175, equipSound

Optional<RegistryKey<EquipmentAsset>>: assetId, comp_3176, assetId

Optional<Identifier>: cameraOverlay, comp_3306, cameraOverlay

Optional<RegistryEntryList<EntityType<?>>>: allowedEntities, comp_3177, allowedEntities

boolean: dispensable, comp_3178, dispensable

boolean: swappable, comp_3213, swappable

boolean: damageOnHurt, comp_3214, damageOnHurt

boolean: equipOnInteract, comp_3523, equipOnInteract

boolean: canBeSheared, comp_4362, canBeSheared

RegistryEntry<SoundEvent>: shearingSound, comp_4363, shearingSound

com.mojang.serialization.Codec<EquippableComponent>: CODEC, field_54145, CODEC

PacketCodec<RegistryByteBuf, EquippableComponent>: STREAM_CODEC, field_54146, PACKET_CODEC

Constructors

(EquipmentSlot, RegistryEntry<SoundEvent>, Optional<RegistryKey<EquipmentAsset>>, Optional<Identifier>, Optional<RegistryEntryList<EntityType<?>>>, boolean, boolean, boolean, boolean, boolean, RegistryEntry<SoundEvent>)

Methods

EquippableComponent (DyeColor): llamaSwag, method_64017, ofCarpet

EquippableComponent (): saddle, method_66699, ofSaddle

EquippableComponent (DyeColor): harness, method_70740, ofHarness

EquippableComponent$Builder (EquipmentSlot): builder, method_64202, builder

ActionResult (ItemStack, PlayerEntity): swapWithEquipmentSlot, method_64018, equip

ActionResult (PlayerEntity, LivingEntity, ItemStack): equipOnTarget, method_66700, equipOnInteract

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

EquipmentSlot (): slot, comp_3174, slot

RegistryEntry<SoundEvent> (): equipSound, comp_3175, equipSound

Optional<RegistryKey<EquipmentAsset>> (): assetId, comp_3176, assetId

Optional<Identifier> (): cameraOverlay, comp_3306, cameraOverlay

Optional<RegistryEntryList<EntityType<?>>> (): allowedEntities, comp_3177, allowedEntities

boolean (): dispensable, comp_3178, dispensable

boolean (): swappable, comp_3213, swappable

boolean (): damageOnHurt, comp_3214, damageOnHurt

boolean (): equipOnInteract, comp_3523, equipOnInteract

boolean (): canBeSheared, comp_4362, canBeSheared

RegistryEntry<SoundEvent> (): shearingSound, comp_4363, shearingSound

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_64016, method_64016