History - net.minecraft.world.item.component.Consumable$Builder

1.21.3

Names

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

Fields

float: a, consumeSeconds, field_53774, consumeSeconds

ItemUseAnimation: b, animation, field_53775, useAction

Holder<SoundEvent>: c, sound, field_53776, sound

boolean: d, hasConsumeParticles, field_53777, consumeParticles

List<ConsumeEffect>: e, onConsumeEffects, field_53778, consumeEffects

Constructors

()

Methods

Consumable$Builder (float): a, consumeSeconds, method_62852, consumeSeconds

Consumable$Builder (ItemUseAnimation): a, animation, method_62853, useAction

Consumable$Builder (Holder<SoundEvent>): a, sound, method_62855, sound

Consumable$Builder (Holder<SoundEvent>): b, soundAfterConsume, method_62857, finishSound

Consumable$Builder (boolean): a, hasConsumeParticles, method_62856, consumeParticles

Consumable$Builder (ConsumeEffect): a, onConsume, method_62854, consumeEffect

Consumable (): a, build, method_62851, build