Uses of Class
net.minecraft.component.type.ConsumableComponent.Builder
-
Uses of ConsumableComponent.Builder in net.minecraft.component.type
Modifier and TypeMethodDescriptionstatic ConsumableComponent.Builder
ConsumableComponent.builder()
ConsumableComponent.Builder.consumeEffect
(ConsumeEffect consumeEffect) ConsumableComponent.Builder.consumeParticles
(boolean consumeParticles) ConsumableComponent.Builder.consumeSeconds
(float consumeSeconds) static ConsumableComponent.Builder
ConsumableComponents.drink()
ConsumableComponent.Builder.finishSound
(RegistryEntry<SoundEvent> finishSound) static ConsumableComponent.Builder
ConsumableComponents.food()
ConsumableComponent.Builder.sound
(RegistryEntry<SoundEvent> sound)