Class Instrument.Builder
java.lang.Object
net.minestom.server.item.instrument.Instrument.Builder
- Enclosing interface:
Instrument
-
Method Summary
Modifier and TypeMethodDescription@NotNull Instrument
build()
@NotNull Instrument.Builder
description
(@NotNull Component description) @NotNull Instrument.Builder
range
(float range) @NotNull Instrument.Builder
soundEvent
(@NotNull SoundEvent soundEvent) @NotNull Instrument.Builder
useDuration
(float useDuration)
-
Method Details
-
soundEvent
-
useDuration
-
range
-
description
-
build
-