Package net.minecraft.component.type
Class EquippableComponent.Builder
java.lang.Object
net.minecraft.component.type.EquippableComponent.Builder
- Enclosing class:
EquippableComponent
- Mappings:
Namespace Name named net/minecraft/component/type/EquippableComponent$Builder
intermediary net/minecraft/class_10192$class_10217
official dft$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<RegistryEntryList<EntityType<?>>> private Optional
<Identifier> private boolean
private boolean
private RegistryEntry
<SoundEvent> private Optional
<Identifier> private final EquipmentSlot
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedEntities
(EntityType<?>[] allowedEntities) allowedEntities
(RegistryEntryList<EntityType<?>> allowedEntities) build()
cameraOverlay
(Identifier cameraOverlay) damageOnHurt
(boolean damageOnHurt) dispensable
(boolean dispensable) equipSound
(RegistryEntry<SoundEvent> equipSound) model
(Identifier model) swappable
(boolean swappable)
-
Field Details
-
slot
- Mappings:
Namespace Name Mixin selector named slot
Lnet/minecraft/component/type/EquippableComponent$Builder;slot:Lnet/minecraft/entity/EquipmentSlot;
intermediary field_54234
Lnet/minecraft/class_10192$class_10217;field_54234:Lnet/minecraft/class_1304;
official a
Ldft$a;a:Lbvr;
-
equipSound
- Mappings:
Namespace Name Mixin selector named equipSound
Lnet/minecraft/component/type/EquippableComponent$Builder;equipSound:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_54235
Lnet/minecraft/class_10192$class_10217;field_54235:Lnet/minecraft/class_6880;
official b
Ldft$a;b:Ljq;
-
model
- Mappings:
Namespace Name Mixin selector named model
Lnet/minecraft/component/type/EquippableComponent$Builder;model:Ljava/util/Optional;
intermediary field_54236
Lnet/minecraft/class_10192$class_10217;field_54236:Ljava/util/Optional;
official c
Ldft$a;c:Ljava/util/Optional;
-
cameraOverlay
- Mappings:
Namespace Name Mixin selector named cameraOverlay
Lnet/minecraft/component/type/EquippableComponent$Builder;cameraOverlay:Ljava/util/Optional;
intermediary field_54908
Lnet/minecraft/class_10192$class_10217;field_54908:Ljava/util/Optional;
official d
Ldft$a;d:Ljava/util/Optional;
-
allowedEntities
- Mappings:
Namespace Name Mixin selector named allowedEntities
Lnet/minecraft/component/type/EquippableComponent$Builder;allowedEntities:Ljava/util/Optional;
intermediary field_54237
Lnet/minecraft/class_10192$class_10217;field_54237:Ljava/util/Optional;
official e
Ldft$a;e:Ljava/util/Optional;
-
dispensable
private boolean dispensable- Mappings:
Namespace Name Mixin selector named dispensable
Lnet/minecraft/component/type/EquippableComponent$Builder;dispensable:Z
intermediary field_54238
Lnet/minecraft/class_10192$class_10217;field_54238:Z
official f
Ldft$a;f:Z
-
swappable
private boolean swappable- Mappings:
Namespace Name Mixin selector named swappable
Lnet/minecraft/component/type/EquippableComponent$Builder;swappable:Z
intermediary field_54239
Lnet/minecraft/class_10192$class_10217;field_54239:Z
official g
Ldft$a;g:Z
-
damageOnHurt
private boolean damageOnHurt- Mappings:
Namespace Name Mixin selector named damageOnHurt
Lnet/minecraft/component/type/EquippableComponent$Builder;damageOnHurt:Z
intermediary field_54240
Lnet/minecraft/class_10192$class_10217;field_54240:Z
official h
Ldft$a;h:Z
-
-
Constructor Details
-
Builder
Builder(EquipmentSlot slot) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/component/type/EquippableComponent$Builder;<init>(Lnet/minecraft/entity/EquipmentSlot;)V
intermediary <init>
Lnet/minecraft/class_10192$class_10217;<init>(Lnet/minecraft/class_1304;)V
official <init>
Ldft$a;<init>(Lbvr;)V
-
-
Method Details
-
equipSound
- Mappings:
Namespace Name Mixin selector named equipSound
Lnet/minecraft/component/type/EquippableComponent$Builder;equipSound(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64205
Lnet/minecraft/class_10192$class_10217;method_64205(Lnet/minecraft/class_6880;)Lnet/minecraft/class_10192$class_10217;
official a
Ldft$a;a(Ljq;)Ldft$a;
-
model
- Mappings:
Namespace Name Mixin selector named model
Lnet/minecraft/component/type/EquippableComponent$Builder;model(Lnet/minecraft/util/Identifier;)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64204
Lnet/minecraft/class_10192$class_10217;method_64204(Lnet/minecraft/class_2960;)Lnet/minecraft/class_10192$class_10217;
official a
Ldft$a;a(Lalz;)Ldft$a;
-
cameraOverlay
- Mappings:
Namespace Name Mixin selector named cameraOverlay
Lnet/minecraft/component/type/EquippableComponent$Builder;cameraOverlay(Lnet/minecraft/util/Identifier;)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_65009
Lnet/minecraft/class_10192$class_10217;method_65009(Lnet/minecraft/class_2960;)Lnet/minecraft/class_10192$class_10217;
official b
Ldft$a;b(Lalz;)Ldft$a;
-
allowedEntities
- Mappings:
Namespace Name Mixin selector named allowedEntities
Lnet/minecraft/component/type/EquippableComponent$Builder;allowedEntities([Lnet/minecraft/entity/EntityType;)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64208
Lnet/minecraft/class_10192$class_10217;method_64208([Lnet/minecraft/class_1299;)Lnet/minecraft/class_10192$class_10217;
official a
Ldft$a;a([Lbvq;)Ldft$a;
-
allowedEntities
public EquippableComponent.Builder allowedEntities(RegistryEntryList<EntityType<?>> allowedEntities) - Mappings:
Namespace Name Mixin selector named allowedEntities
Lnet/minecraft/component/type/EquippableComponent$Builder;allowedEntities(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64206
Lnet/minecraft/class_10192$class_10217;method_64206(Lnet/minecraft/class_6885;)Lnet/minecraft/class_10192$class_10217;
official a
Ldft$a;a(Lju;)Ldft$a;
-
dispensable
- Mappings:
Namespace Name Mixin selector named dispensable
Lnet/minecraft/component/type/EquippableComponent$Builder;dispensable(Z)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64207
Lnet/minecraft/class_10192$class_10217;method_64207(Z)Lnet/minecraft/class_10192$class_10217;
official a
Ldft$a;a(Z)Ldft$a;
-
swappable
- Mappings:
Namespace Name Mixin selector named swappable
Lnet/minecraft/component/type/EquippableComponent$Builder;swappable(Z)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64209
Lnet/minecraft/class_10192$class_10217;method_64209(Z)Lnet/minecraft/class_10192$class_10217;
official b
Ldft$a;b(Z)Ldft$a;
-
damageOnHurt
- Mappings:
Namespace Name Mixin selector named damageOnHurt
Lnet/minecraft/component/type/EquippableComponent$Builder;damageOnHurt(Z)Lnet/minecraft/component/type/EquippableComponent$Builder;
intermediary method_64210
Lnet/minecraft/class_10192$class_10217;method_64210(Z)Lnet/minecraft/class_10192$class_10217;
official c
Ldft$a;c(Z)Ldft$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/component/type/EquippableComponent$Builder;build()Lnet/minecraft/component/type/EquippableComponent;
intermediary method_64203
Lnet/minecraft/class_10192$class_10217;method_64203()Lnet/minecraft/class_10192;
official a
Ldft$a;a()Ldft;
-