net.minecraft.world.item.component

public class Consumable$Builder

czv$a
net.minecraft.world.item.component.Consumable$Builder
net.minecraft.class_10124$class_10125
net.minecraft.component.type.ConsumableComponent$Builder
net.minecraft.world.item.component.Consumable$a

Field summary

Modifier and TypeField
private float
a
consumeSeconds
field_53774
consumeSeconds
private ItemUseAnimation
b
animation
field_53775
useAction
private Holder<SoundEvent>
c
sound
field_53776
sound
private boolean
d
hasConsumeParticles
field_53777
consumeParticles
private final List<ConsumeEffect>
e
onConsumeEffects
field_53778
consumeEffects

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public Consumable$Builder
a(float arg0)
consumeSeconds(float arg0)
method_62852(float arg0)
consumeSeconds(float consumeSeconds)
public Consumable$Builder
a(cxr arg0)
animation(ItemUseAnimation arg0)
method_62853(class_1839 arg0)
useAction(UseAction useAction)
public Consumable$Builder
a(jq<axe> arg0)
sound(Holder<SoundEvent> arg0)
method_62855(class_6880<class_3414> arg0)
sound(RegistryEntry<SoundEvent> sound)
public Consumable$Builder
b(jq<axe> arg0)
soundAfterConsume(Holder<SoundEvent> arg0)
method_62857(class_6880<class_3414> arg0)
finishSound(RegistryEntry<SoundEvent> finishSound)
public Consumable$Builder
a(boolean arg0)
hasConsumeParticles(boolean arg0)
method_62856(boolean arg0)
consumeParticles(boolean consumeParticles)
public Consumable$Builder
a(dbb arg0)
onConsume(ConsumeEffect arg0)
method_62854(class_10134 arg0)
consumeEffect(ConsumeEffect consumeEffect)
public Consumable
a()
build()
method_62851()
build()