net.minecraft.world.item

public record Instrument

cfr
net.minecraft.world.item.Instrument
net.minecraft.class_7444
net.minecraft.unmapped.C_vywrdemv
net.minecraft.item.Instrument
net.minecraft.item.Instrument
net.minecraft.src.C_213079_
net.minecraft.world.item.Instrument

Field summary

Modifier and TypeField
private final Holder<SoundEvent>
b
soundEvent
comp_772
f_slezwwgw
soundEvent
sound
f_220079_
private final int
c
useDuration
comp_773
f_wcpkblxq
useDuration
duration
f_220080_
private final float
d
range
comp_774
f_yowlfcvb
range
range
f_220081_
public static final com.mojang.serialization.Codec<Instrument>
a
CODEC
field_39122
f_xxkknaed
CODEC
CODEC
f_220078_

Constructor summary

ModifierConstructor
public (Holder<SoundEvent> soundEvent, int useDuration, float range)

Method summary

Modifier and TypeMethod
public Holder<SoundEvent>
a()
soundEvent()
comp_772()
m_xyfeykui()
soundEvent()
sound()
f_220079_()
public int
b()
useDuration()
comp_773()
m_pttrrynj()
useDuration()
duration()
f_220080_()
public float
c()
range()
comp_774()
m_tfejjesy()
range()
range()
f_220081_()