History - net.minecraft.world.item.component.Consumable
25w31a
Names
dfa
dft
Fields
float: d, consumeSeconds, comp_3085, consumeSeconds, f_346490_
float: d, consumeSeconds, comp_3085, consumeSeconds
ItemUseAnimation: e, animation, comp_3086, useAction, f_348643_
ItemUseAnimation: e, animation, comp_3086, useAction
Holder<SoundEvent>: f, sound, comp_3087, sound, f_346592_
Holder<SoundEvent>: f, sound, comp_3087, sound
boolean: g, hasConsumeParticles, comp_3088, hasConsumeParticles, f_348304_
boolean: g, hasConsumeParticles, comp_3088, hasConsumeParticles
List<ConsumeEffect>: h, onConsumeEffects, comp_3089, onConsumeEffects, f_347156_
List<ConsumeEffect>: h, onConsumeEffects, comp_3089, onConsumeEffects
float: a, DEFAULT_CONSUME_SECONDS, field_53769, DEFAULT_CONSUME_SECONDS, f_346555_
float: a, DEFAULT_CONSUME_SECONDS, field_53769, DEFAULT_CONSUME_SECONDS
int: i, CONSUME_EFFECTS_INTERVAL, field_53772, PARTICLES_AND_SOUND_TICK_INTERVAL, f_346421_
int: i, CONSUME_EFFECTS_INTERVAL, field_53772, PARTICLES_AND_SOUND_TICK_INTERVAL
float: j, CONSUME_EFFECTS_START_FRACTION, field_53773, PARTICLES_AND_SOUND_TICK_THRESHOLD, f_348435_
float: j, CONSUME_EFFECTS_START_FRACTION, field_53773, PARTICLES_AND_SOUND_TICK_THRESHOLD
com.mojang.serialization.Codec<Consumable>: b, CODEC, field_53770, CODEC, f_348058_
com.mojang.serialization.Codec<Consumable>: b, CODEC, field_53770, CODEC
StreamCodec<RegistryFriendlyByteBuf, Consumable>: c, STREAM_CODEC, field_53771, PACKET_CODEC, f_346569_
StreamCodec<RegistryFriendlyByteBuf, Consumable>: c, STREAM_CODEC, field_53771, PACKET_CODEC
Constructors
Methods
InteractionResult (LivingEntity, ItemStack, InteractionHand): a, startConsuming, method_62845, consume, m_352451_
InteractionResult (LivingEntity, ItemStack, InteractionHand): a, startConsuming, method_62845, consume
ItemStack (Level, LivingEntity, ItemStack): a, onConsume, method_62847, finishConsumption, m_356253_
ItemStack (Level, LivingEntity, ItemStack): a, onConsume, method_62847, finishConsumption
boolean (LivingEntity, ItemStack): a, canConsume, method_62844, canConsume, m_353816_
boolean (LivingEntity, ItemStack): a, canConsume, method_62844, canConsume
int (): a, consumeTicks, method_62841, getConsumeTicks, m_355968_
int (): a, consumeTicks, method_62841, getConsumeTicks
void (RandomSource, LivingEntity, ItemStack, int): a, emitParticlesAndSounds, method_62843, spawnParticlesAndPlaySound, m_353588_
void (RandomSource, LivingEntity, ItemStack, int): a, emitParticlesAndSounds, method_62843, spawnParticlesAndPlaySound
boolean (int): a, shouldEmitParticlesAndSounds, method_62842, shouldSpawnParticlesAndPlaySounds, m_354174_
boolean (int): a, shouldEmitParticlesAndSounds, method_62842, shouldSpawnParticlesAndPlaySounds
Consumable$Builder (): b, builder, method_62850, builder, m_354046_
Consumable$Builder (): b, builder, method_62850, builder
float (): c, consumeSeconds, comp_3085, consumeSeconds, f_346490_
float (): c, consumeSeconds, comp_3085, consumeSeconds
ItemUseAnimation (): d, animation, comp_3086, useAction, f_348643_
ItemUseAnimation (): d, animation, comp_3086, useAction
Holder<SoundEvent> (): e, sound, comp_3087, sound, f_346592_
Holder<SoundEvent> (): e, sound, comp_3087, sound
boolean (): f, hasConsumeParticles, comp_3088, hasConsumeParticles, f_348304_
boolean (): f, hasConsumeParticles, comp_3088, hasConsumeParticles
List<ConsumeEffect> (): g, onConsumeEffects, comp_3089, onConsumeEffects, f_347156_
List<ConsumeEffect> (): g, onConsumeEffects, comp_3089, onConsumeEffects
1.21.8
Names
Fields
Constructors
Methods
1.21.7
Names
Fields
Constructors
Methods
1.21.6
Names
dcp
dfa
Fields
Constructors
Methods
1.21.5
Names
cyw
dcp
Fields
Constructors
Methods
1.21.4
Names
czv
cyw
Fields
Constructors
Methods
1.21.3
Names
czv
net.minecraft.world.item.component.Consumable
net.minecraft.class_10124
net.minecraft.component.type.ConsumableComponent
net.minecraft.src.C_345888_
Fields
float: d, consumeSeconds, comp_3085, consumeSeconds, f_346490_
ItemUseAnimation: e, animation, comp_3086, useAction, f_348643_
Holder<SoundEvent>: f, sound, comp_3087, sound, f_346592_
boolean: g, hasConsumeParticles, comp_3088, hasConsumeParticles, f_348304_
List<ConsumeEffect>: h, onConsumeEffects, comp_3089, onConsumeEffects, f_347156_
float: a, DEFAULT_CONSUME_SECONDS, field_53769, DEFAULT_CONSUME_SECONDS, f_346555_
int: i, CONSUME_EFFECTS_INTERVAL, field_53772, PARTICLES_AND_SOUND_TICK_INTERVAL, f_346421_
float: j, CONSUME_EFFECTS_START_FRACTION, field_53773, PARTICLES_AND_SOUND_TICK_THRESHOLD, f_348435_
com.mojang.serialization.Codec<Consumable>: b, CODEC, field_53770, CODEC, f_348058_
StreamCodec<RegistryFriendlyByteBuf, Consumable>: c, STREAM_CODEC, field_53771, PACKET_CODEC, f_346569_
Constructors
(float, ItemUseAnimation, Holder<SoundEvent>, boolean, List<ConsumeEffect>)
Methods
InteractionResult (LivingEntity, ItemStack, InteractionHand): a, startConsuming, method_62845, consume, m_352451_
ItemStack (Level, LivingEntity, ItemStack): a, onConsume, method_62847, finishConsumption, m_356253_
boolean (LivingEntity, ItemStack): a, canConsume, method_62844, canConsume, m_353816_
int (): a, consumeTicks, method_62841, getConsumeTicks, m_355968_
void (RandomSource, LivingEntity, ItemStack, int): a, emitParticlesAndSounds, method_62843, spawnParticlesAndPlaySound, m_353588_
boolean (int): a, shouldEmitParticlesAndSounds, method_62842, shouldSpawnParticlesAndPlaySounds, m_354174_
Consumable$Builder (): b, builder, method_62850, builder, m_354046_
float (): c, consumeSeconds, comp_3085, consumeSeconds, f_346490_
ItemUseAnimation (): d, animation, comp_3086, useAction, f_348643_
Holder<SoundEvent> (): e, sound, comp_3087, sound, f_346592_
boolean (): f, hasConsumeParticles, comp_3088, hasConsumeParticles, f_348304_
List<ConsumeEffect> (): g, onConsumeEffects, comp_3089, onConsumeEffects, f_347156_