Class Instrument
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.Instrument
-
Constructor Summary
ConstructorsConstructorDescriptionInstrument(Sound soundEvent, float useDuration, float range, net.kyori.adventure.text.Component description) -
Method Summary
-
Constructor Details
-
Instrument
public Instrument(Sound soundEvent, float useDuration, float range, net.kyori.adventure.text.Component description)
-
-
Method Details
-
getSoundEvent
-
getUseDuration
public float getUseDuration() -
getRange
public float getRange() -
getDescription
public net.kyori.adventure.text.Component getDescription() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-