Class Instrument
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.Instrument
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInstrument(Sound soundEvent, float useDuration, float range, net.kyori.adventure.text.Component description) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull Instrument.InstrumentBuilderbuilder()protected booleanbooleannet.kyori.adventure.text.ComponentfloatgetRange()floatinthashCode()@NonNull Instrument.InstrumentBuilder@NonNull StringtoString()
-
Constructor Details
-
Instrument
public Instrument(Sound soundEvent, float useDuration, float range, net.kyori.adventure.text.Component description)
-
-
Method Details
-
builder
-
toBuilder
-
getSoundEvent
-
getUseDuration
public float getUseDuration() -
getRange
public float getRange() -
getDescription
public net.kyori.adventure.text.Component getDescription() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-