net.minecraft.world.item

public record Instrument

cfn
net.minecraft.world.item.Instrument
net.minecraft.class_7444
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
soundEvent
f_220079_
private final int
c
useDuration
comp_773
useDuration
f_220080_
private final float
d
range
comp_774
range
f_220081_
public static final com.mojang.serialization.Codec<Instrument>
a
CODEC
field_39122
CODEC
f_220078_

Constructor summary

ModifierConstructor
public (Holder<SoundEvent> f_220080_, int f_220081_, float arg2)

Method summary

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