Uses of Interface
io.papermc.paper.registry.data.InstrumentRegistryEntry.Builder
Packages that use InstrumentRegistryEntry.Builder
Package
Description
Collection of registry entry types that may be created or modified via the
RegistryEvent
.This package contains events related to the Paper registry system.
The root package of the Bukkit API, contains generalized API classes.
-
Uses of InstrumentRegistryEntry.Builder in io.papermc.paper.registry.data
Methods in io.papermc.paper.registry.data that return InstrumentRegistryEntry.BuilderModifier and TypeMethodDescriptionInstrumentRegistryEntry.Builder.description
(Component description) Sets the description for this instrument.InstrumentRegistryEntry.Builder.duration
(@org.checkerframework.checker.index.qual.Positive float duration) Sets the duration of use for this instrument.InstrumentRegistryEntry.Builder.range
(@org.checkerframework.checker.index.qual.Positive float range) Sets the range for this instrument.InstrumentRegistryEntry.Builder.soundEvent
(RegistryHolder<Sound, SoundEventRegistryEntry> soundEvent) Sets the sound event for this instrument.InstrumentRegistryEntry.Builder.soundEvent
(TypedKey<Sound> soundEvent) Sets the sound event for this instrument to a sound event present in theRegistryKey.SOUND_EVENT
registry.InstrumentRegistryEntry.Builder.soundEvent
(Consumer<RegistryBuilderFactory<Sound, ? extends SoundEventRegistryEntry.Builder>> soundEvent) Sets the sound event for this instrument to a new sound event.Method parameters in io.papermc.paper.registry.data with type arguments of type InstrumentRegistryEntry.BuilderModifier and TypeMethodDescriptionInlinedRegistryBuilderProvider.createInstrument
(Consumer<RegistryBuilderFactory<MusicInstrument, ? extends InstrumentRegistryEntry.Builder>> value) -
Uses of InstrumentRegistryEntry.Builder in io.papermc.paper.registry.event
Fields in io.papermc.paper.registry.event with type parameters of type InstrumentRegistryEntry.Builder -
Uses of InstrumentRegistryEntry.Builder in org.bukkit
Method parameters in org.bukkit with type arguments of type InstrumentRegistryEntry.BuilderModifier and TypeMethodDescriptionstatic MusicInstrument
MusicInstrument.create
(Consumer<RegistryBuilderFactory<MusicInstrument, ? extends InstrumentRegistryEntry.Builder>> value) Creates an inlined music instrument.