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.unmapped.C_ybwnbwdi$C_jkfukdnt
net.minecraft.component.type.ConsumableComponent$Builder
net.minecraft.item.ConsumableComponent$C_jkfukdnt
net.minecraft.src.C_345888_$C_345707_
net.minecraft.world.item.component.Consumable$a

Field summary

Modifier and TypeField
private float
a
consumeSeconds
field_53774
f_gtaopaov
consumeSeconds
f_348626_
private ItemUseAnimation
b
animation
field_53775
f_fhlqubnk
useAction
f_347874_
private Holder<SoundEvent>
c
sound
field_53776
f_wdmoxrnc
sound
f_348149_
private boolean
d
hasConsumeParticles
field_53777
f_qidrjtoy
consumeParticles
f_348769_
private final List<ConsumeEffect>
e
onConsumeEffects
field_53778
f_apjdqrpf
consumeEffects
f_349198_

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public Consumable$Builder
a(float arg0)
consumeSeconds(float arg0)
method_62852(float arg0)
m_kbkrjfsn(float arg0)
consumeSeconds(float consumeSeconds)
m_354260_(float arg0)
public Consumable$Builder
a(cxr arg0)
animation(ItemUseAnimation arg0)
method_62853(class_1839 arg0)
m_wicvrttd(C_qeajvgxm arg0)
useAction(UseAction useAction)
m_355037_(C_346038_ arg0)
public Consumable$Builder
a(jq<axe> arg0)
sound(Holder<SoundEvent> arg0)
method_62855(class_6880<class_3414> arg0)
m_hvhxzkqj(C_cjzoxshv<C_avavozay> arg0)
sound(RegistryEntry<SoundEvent> sound)
m_356234_(C_203228_<C_123_> arg0)
public Consumable$Builder
b(jq<axe> arg0)
soundAfterConsume(Holder<SoundEvent> arg0)
method_62857(class_6880<class_3414> arg0)
m_bxxobkzb(C_cjzoxshv<C_avavozay> arg0)
finishSound(RegistryEntry<SoundEvent> finishSound)
m_bxxobkzb(Holder<SoundEvent> sound)
m_355835_(C_203228_<C_123_> arg0)
public Consumable$Builder
a(boolean arg0)
hasConsumeParticles(boolean arg0)
method_62856(boolean arg0)
m_bcfluhir(boolean arg0)
consumeParticles(boolean consumeParticles)
m_357028_(boolean arg0)
public Consumable$Builder
a(dbb arg0)
onConsume(ConsumeEffect arg0)
method_62854(class_10134 arg0)
m_ppqwippb(C_uocfnrao arg0)
consumeEffect(ConsumeEffect consumeEffect)
m_355588_(C_345619_ arg0)
public Consumable
a()
build()
method_62851()
m_whcthqmd()
build()
m_354290_()