Package net.minecraft.component.type
Class ConsumableComponent.Builder
java.lang.Object
net.minecraft.component.type.ConsumableComponent.Builder
- Enclosing class:
ConsumableComponent
- Mappings:
Namespace Name named net/minecraft/component/type/ConsumableComponent$Builder
intermediary net/minecraft/class_10124$class_10125
official czu$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<ConsumeEffect> private boolean
private float
private RegistryEntry
<SoundEvent> private UseAction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
consumeEffect
(ConsumeEffect consumeEffect) consumeParticles
(boolean consumeParticles) consumeSeconds
(float consumeSeconds) finishSound
(RegistryEntry<SoundEvent> finishSound) sound
(RegistryEntry<SoundEvent> sound)
-
Field Details
-
consumeSeconds
private float consumeSeconds- Mappings:
Namespace Name Mixin selector named consumeSeconds
Lnet/minecraft/component/type/ConsumableComponent$Builder;consumeSeconds:F
intermediary field_53774
Lnet/minecraft/class_10124$class_10125;field_53774:F
official a
Lczu$a;a:F
-
useAction
- Mappings:
Namespace Name Mixin selector named useAction
Lnet/minecraft/component/type/ConsumableComponent$Builder;useAction:Lnet/minecraft/item/consume/UseAction;
intermediary field_53775
Lnet/minecraft/class_10124$class_10125;field_53775:Lnet/minecraft/class_1839;
official b
Lczu$a;b:Lcxq;
-
sound
- Mappings:
Namespace Name Mixin selector named sound
Lnet/minecraft/component/type/ConsumableComponent$Builder;sound:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_53776
Lnet/minecraft/class_10124$class_10125;field_53776:Lnet/minecraft/class_6880;
official c
Lczu$a;c:Ljq;
-
consumeParticles
private boolean consumeParticles- Mappings:
Namespace Name Mixin selector named consumeParticles
Lnet/minecraft/component/type/ConsumableComponent$Builder;consumeParticles:Z
intermediary field_53777
Lnet/minecraft/class_10124$class_10125;field_53777:Z
official d
Lczu$a;d:Z
-
consumeEffects
- Mappings:
Namespace Name Mixin selector named consumeEffects
Lnet/minecraft/component/type/ConsumableComponent$Builder;consumeEffects:Ljava/util/List;
intermediary field_53778
Lnet/minecraft/class_10124$class_10125;field_53778:Ljava/util/List;
official e
Lczu$a;e:Ljava/util/List;
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
consumeSeconds
- Mappings:
Namespace Name Mixin selector named consumeSeconds
Lnet/minecraft/component/type/ConsumableComponent$Builder;consumeSeconds(F)Lnet/minecraft/component/type/ConsumableComponent$Builder;
intermediary method_62852
Lnet/minecraft/class_10124$class_10125;method_62852(F)Lnet/minecraft/class_10124$class_10125;
official a
Lczu$a;a(F)Lczu$a;
-
useAction
- Mappings:
Namespace Name Mixin selector named useAction
Lnet/minecraft/component/type/ConsumableComponent$Builder;useAction(Lnet/minecraft/item/consume/UseAction;)Lnet/minecraft/component/type/ConsumableComponent$Builder;
intermediary method_62853
Lnet/minecraft/class_10124$class_10125;method_62853(Lnet/minecraft/class_1839;)Lnet/minecraft/class_10124$class_10125;
official a
Lczu$a;a(Lcxq;)Lczu$a;
-
sound
- Mappings:
Namespace Name Mixin selector named sound
Lnet/minecraft/component/type/ConsumableComponent$Builder;sound(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/component/type/ConsumableComponent$Builder;
intermediary method_62855
Lnet/minecraft/class_10124$class_10125;method_62855(Lnet/minecraft/class_6880;)Lnet/minecraft/class_10124$class_10125;
official a
Lczu$a;a(Ljq;)Lczu$a;
-
finishSound
- Mappings:
Namespace Name Mixin selector named finishSound
Lnet/minecraft/component/type/ConsumableComponent$Builder;finishSound(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/component/type/ConsumableComponent$Builder;
intermediary method_62857
Lnet/minecraft/class_10124$class_10125;method_62857(Lnet/minecraft/class_6880;)Lnet/minecraft/class_10124$class_10125;
official b
Lczu$a;b(Ljq;)Lczu$a;
-
consumeParticles
- Mappings:
Namespace Name Mixin selector named consumeParticles
Lnet/minecraft/component/type/ConsumableComponent$Builder;consumeParticles(Z)Lnet/minecraft/component/type/ConsumableComponent$Builder;
intermediary method_62856
Lnet/minecraft/class_10124$class_10125;method_62856(Z)Lnet/minecraft/class_10124$class_10125;
official a
Lczu$a;a(Z)Lczu$a;
-
consumeEffect
- Mappings:
Namespace Name Mixin selector named consumeEffect
Lnet/minecraft/component/type/ConsumableComponent$Builder;consumeEffect(Lnet/minecraft/item/consume/ConsumeEffect;)Lnet/minecraft/component/type/ConsumableComponent$Builder;
intermediary method_62854
Lnet/minecraft/class_10124$class_10125;method_62854(Lnet/minecraft/class_10134;)Lnet/minecraft/class_10124$class_10125;
official a
Lczu$a;a(Ldba;)Lczu$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/component/type/ConsumableComponent$Builder;build()Lnet/minecraft/component/type/ConsumableComponent;
intermediary method_62851
Lnet/minecraft/class_10124$class_10125;method_62851()Lnet/minecraft/class_10124;
official a
Lczu$a;a()Lczu;
-