Class InstrumentComponent.Instrument.InstrumentBuilder
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.InstrumentComponent.Instrument.InstrumentBuilder
- Enclosing class:
- InstrumentComponent.Instrument
-
Method Summary
Modifier and TypeMethodDescription@NonNull InstrumentComponent.Instrumentbuild()description(net.kyori.adventure.text.Component description) range(float range) soundEvent(Sound soundEvent) @NonNull StringtoString()useDuration(float useDuration)
-
Method Details
-
soundEvent
- Returns:
this.
-
useDuration
- Returns:
this.
-
range
- Returns:
this.
-
description
public @NonNull InstrumentComponent.Instrument.InstrumentBuilder description(net.kyori.adventure.text.Component description) - Returns:
this.
-
build
-
toString
-