| net.minecraft.world.item.equipment.Equippable | |
| net.minecraft.class_10192 | |
| net.minecraft.component.type.EquippableComponent |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final EquipmentSlot |
|
||||||
| private final RegistryEntry<SoundEvent> |
|
||||||
| private final Optional<RegistryKey<EquipmentAsset>> |
|
||||||
| private final Optional<Identifier> |
|
||||||
| private final Optional<RegistryEntryList<EntityType<?>>> |
|
||||||
| private final boolean |
|
||||||
| private final boolean |
|
||||||
| private final boolean |
|
||||||
| private final boolean |
|
||||||
| private final boolean |
|
||||||
| private final RegistryEntry<SoundEvent> |
|
||||||
| public static final com.mojang.serialization.Codec<EquippableComponent> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, EquippableComponent> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (EquipmentSlot slot, RegistryEntry<SoundEvent> equipSound, Optional<RegistryKey<EquipmentAsset>> assetId, Optional<Identifier> cameraOverlay, Optional<RegistryEntryList<EntityType<?>>> allowedEntities, boolean dispensable, boolean swappable, boolean damageOnHurt, boolean equipOnInteract, boolean canBeSheared, RegistryEntry<SoundEvent> shearingSound) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public static EquippableComponent |
|
||||||
| public static EquippableComponent |
|
||||||
| public static EquippableComponent |
|
||||||
| public static EquippableComponent$Builder |
|
||||||
| public ActionResult |
|
||||||
| public ActionResult |
|
||||||
| public boolean |
|
||||||
| public EquipmentSlot |
|
||||||
| public RegistryEntry<SoundEvent> |
|
||||||
| public Optional<RegistryKey<EquipmentAsset>> |
|
||||||
| public Optional<Identifier> |
|
||||||
| public Optional<RegistryEntryList<EntityType<?>>> |
|
||||||
| public boolean |
|
||||||
| public boolean |
|
||||||
| public boolean |
|
||||||
| public boolean |
|
||||||
| public boolean |
|
||||||
| public RegistryEntry<SoundEvent> |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|