History - net.minecraft.world.item.component.Consumable
1.21.4
Names
czv
cyw
net.minecraft.item.ConsumableComponent
net.minecraft.component.type.ConsumableComponent
Fields
List<ConsumeEffect>: h, onConsumeEffects, comp_3089, f_wghiuzdn, onConsumeEffects, onConsumeEffects, f_347156_
List<ConsumeEffect>: h, onConsumeEffects, comp_3089, f_wghiuzdn, onConsumeEffects, effects, f_347156_
float: a, DEFAULT_CONSUME_SECONDS, field_53769, f_nwvcjaqb, DEFAULT_CONSUME_SECONDS, f_346555_
float: a, DEFAULT_CONSUME_SECONDS, field_53769, f_nwvcjaqb, DEFAULT_CONSUME_SECONDS, DEFAULT_CONSUME_SECONDS, f_346555_
int: i, CONSUME_EFFECTS_INTERVAL, field_53772, f_fhxjpnlc, PARTICLES_AND_SOUND_TICK_INTERVAL, f_346421_
int: i, CONSUME_EFFECTS_INTERVAL, field_53772, f_fhxjpnlc, PARTICLES_AND_SOUND_TICK_INTERVAL, PLAY_CONSUMING_EFFECTS_INTERVAL, f_346421_
float: j, CONSUME_EFFECTS_START_FRACTION, field_53773, f_slfuclml, PARTICLES_AND_SOUND_TICK_THRESHOLD, f_348435_
float: j, CONSUME_EFFECTS_START_FRACTION, field_53773, f_slfuclml, PARTICLES_AND_SOUND_TICK_THRESHOLD, START_PLAYING_CONSUMING_EFFECTS_THRESHOLD, f_348435_
Constructors
Methods
InteractionResult (LivingEntity, ItemStack, InteractionHand): a, startConsuming, method_62845, m_tlnulagg, consume, m_tlnulagg, m_352451_
InteractionResult (LivingEntity, ItemStack, InteractionHand): a, startConsuming, method_62845, m_tlnulagg, consume, onUse, m_352451_
ItemStack (Level, LivingEntity, ItemStack): a, onConsume, method_62847, m_zlmhvbte, finishConsumption, m_zlmhvbte, m_356253_
ItemStack (Level, LivingEntity, ItemStack): a, onConsume, method_62847, m_zlmhvbte, finishConsumption, consume, m_356253_
boolean (LivingEntity, ItemStack): a, canConsume, method_62844, m_teiwvlig, canConsume, m_teiwvlig, m_353816_
boolean (LivingEntity, ItemStack): a, canConsume, method_62844, m_teiwvlig, canConsume, canConsume, m_353816_
int (): a, consumeTicks, method_62841, m_ctgbsdpu, getConsumeTicks, m_355968_
int (): a, consumeTicks, method_62841, m_ctgbsdpu, getConsumeTicks, getConsumeTicks, m_355968_
void (RandomSource, LivingEntity, ItemStack, int): a, emitParticlesAndSounds, method_62843, m_qqhcmwrv, spawnParticlesAndPlaySound, m_qqhcmwrv, m_353588_
void (RandomSource, LivingEntity, ItemStack, int): a, emitParticlesAndSounds, method_62843, m_qqhcmwrv, spawnParticlesAndPlaySound, playConsumeEffects, m_353588_
boolean (int): a, shouldEmitParticlesAndSounds, method_62842, m_frzjixnv, shouldSpawnParticlesAndPlaySounds, m_354174_
boolean (int): a, shouldEmitParticlesAndSounds, method_62842, m_frzjixnv, shouldSpawnParticlesAndPlaySounds, shouldPlayConsumingEffects, m_354174_
Consumable$Builder (): b, builder, method_62850, m_azsrxogi, builder, m_354046_
Consumable$Builder (): b, builder, method_62850, m_azsrxogi, builder, builder, m_354046_
List<ConsumeEffect> (): g, onConsumeEffects, comp_3089, m_fcyytzpl, onConsumeEffects, onConsumeEffects, f_347156_
List<ConsumeEffect> (): g, onConsumeEffects, comp_3089, m_fcyytzpl, onConsumeEffects, effects, f_347156_
1.21.3
Names
czu
czv
net.minecraft.world.item.component.ChargedProjectiles
net.minecraft.world.item.component.Consumable
Fields
Constructors
Methods
1.21.2
Names
czu
net.minecraft.world.item.component.Consumable
net.minecraft.class_10124
net.minecraft.unmapped.C_ybwnbwdi
net.minecraft.component.type.ConsumableComponent
net.minecraft.item.ConsumableComponent
net.minecraft.src.C_345888_
net.minecraft.world.item.component.ChargedProjectiles
Fields
float: d, consumeSeconds, comp_3085, f_ufsmneua, consumeSeconds, consumeSeconds, f_346490_
ItemUseAnimation: e, animation, comp_3086, f_clfaafdk, useAction, animation, f_348643_
Holder<SoundEvent>: f, sound, comp_3087, f_aeyuouga, sound, sound, f_346592_
boolean: g, hasConsumeParticles, comp_3088, f_mrptxzly, hasConsumeParticles, hasConsumeParticles, f_348304_
List<ConsumeEffect>: h, onConsumeEffects, comp_3089, f_wghiuzdn, onConsumeEffects, onConsumeEffects, f_347156_
float: a, DEFAULT_CONSUME_SECONDS, field_53769, f_nwvcjaqb, DEFAULT_CONSUME_SECONDS, f_346555_
int: i, CONSUME_EFFECTS_INTERVAL, field_53772, f_fhxjpnlc, PARTICLES_AND_SOUND_TICK_INTERVAL, f_346421_
float: j, CONSUME_EFFECTS_START_FRACTION, field_53773, f_slfuclml, PARTICLES_AND_SOUND_TICK_THRESHOLD, f_348435_
com.mojang.serialization.Codec<Consumable>: b, CODEC, field_53770, f_iiwumbzm, CODEC, CODEC, f_348058_
StreamCodec<RegistryFriendlyByteBuf, Consumable>: c, STREAM_CODEC, field_53771, f_ruesyysm, PACKET_CODEC, PACKET_CODEC, f_346569_
Constructors
(float, ItemUseAnimation, Holder<SoundEvent>, boolean, List<ConsumeEffect>)
Methods
InteractionResult (LivingEntity, ItemStack, InteractionHand): a, startConsuming, method_62845, m_tlnulagg, consume, m_tlnulagg, m_352451_
ItemStack (Level, LivingEntity, ItemStack): a, onConsume, method_62847, m_zlmhvbte, finishConsumption, m_zlmhvbte, m_356253_
boolean (LivingEntity, ItemStack): a, canConsume, method_62844, m_teiwvlig, canConsume, m_teiwvlig, m_353816_
int (): a, consumeTicks, method_62841, m_ctgbsdpu, getConsumeTicks, m_355968_
void (RandomSource, LivingEntity, ItemStack, int): a, emitParticlesAndSounds, method_62843, m_qqhcmwrv, spawnParticlesAndPlaySound, m_qqhcmwrv, m_353588_
boolean (int): a, shouldEmitParticlesAndSounds, method_62842, m_frzjixnv, shouldSpawnParticlesAndPlaySounds, m_354174_
Consumable$Builder (): b, builder, method_62850, m_azsrxogi, builder, m_354046_
float (): c, consumeSeconds, comp_3085, m_zoqatelj, consumeSeconds, consumeSeconds, f_346490_
ItemUseAnimation (): d, animation, comp_3086, m_wskwrszl, useAction, animation, f_348643_
Holder<SoundEvent> (): e, sound, comp_3087, m_lvcrvcnz, sound, sound, f_346592_
boolean (): f, hasConsumeParticles, comp_3088, m_iyhazjos, hasConsumeParticles, hasConsumeParticles, f_348304_
List<ConsumeEffect> (): g, onConsumeEffects, comp_3089, m_fcyytzpl, onConsumeEffects, onConsumeEffects, f_347156_