A B C D E F G H I K L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACTION_ACTIONBAR - Static variable in interface net.kyori.adventure.platform.facet.Facet.TitlePacket
- ACTION_ADD - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
- ACTION_CLEAR - Static variable in interface net.kyori.adventure.platform.facet.Facet.TitlePacket
- ACTION_FLAG - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
- ACTION_HEALTH - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
- ACTION_REMOVE - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
- ACTION_RESET - Static variable in interface net.kyori.adventure.platform.facet.Facet.TitlePacket
- ACTION_STYLE - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
- ACTION_SUBTITLE - Static variable in interface net.kyori.adventure.platform.facet.Facet.TitlePacket
- ACTION_TIMES - Static variable in interface net.kyori.adventure.platform.facet.Facet.TitlePacket
- ACTION_TITLE - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
- ACTION_TITLE - Static variable in interface net.kyori.adventure.platform.facet.Facet.TitlePacket
- addViewer(V) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBar
-
Adds a viewer to the boss bar.
- addViewer(V) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- addViewer(V) - Method in class net.kyori.adventure.platform.facet.FacetAudience
-
Add a member to this audience.
- addViewer(V) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
-
Adds a viewer.
- all() - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- audiences() - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
B
- bossBarInitialized(BossBar) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBar
-
Initializes the boss bar.
- bossBarNameChanged(BossBar, Component, Component) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- bossBarProgressChanged(BossBar, float, float) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
C
- clearTitle() - Method in class net.kyori.adventure.platform.facet.FacetAudience
- clearTitle(V) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Clears a title.
- close() - Method in interface net.kyori.adventure.platform.facet.Facet.BossBar
-
Removes all viewers.
- close() - Method in interface net.kyori.adventure.platform.facet.Facet.FakeEntity
-
Remove the entity for all viewers.
- close() - Method in class net.kyori.adventure.platform.facet.FacetAudience
- close() - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- completeTitle(C) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Complete a title.
- componentRenderer - Variable in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- console() - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- CONSOLE - net.kyori.adventure.platform.facet.FacetPointers.Type
- contributePointers(Pointers.Builder) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- contributePointers(V, Pointers.Builder) - Method in interface net.kyori.adventure.platform.facet.Facet.Pointers
-
Contribute pointers to the builder for a certain viewer.
- contributeSubtitle(C, M) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Contribute a subtitle part to the title builder.
- contributeTimes(C, int, int, int) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Contribute a times part to the title builder.
- contributeTitle(C, M) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Contribute a title part to the title builder.
- createAudience(Collection<V>) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
-
Creates an audience for a collection of viewers.
- createBook(String, String, Iterable<M>) - Method in interface net.kyori.adventure.platform.facet.Facet.Book
-
Creates a book.
- createBossBar(Collection<V>) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBar.Builder
-
Creates a boss bar.
- createColor(BossBar.Color) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
-
Creates a color.
- createFlag(byte, Set<BossBar.Flag>, Set<BossBar.Flag>) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
-
Creates a bit flag.
- createForEmitter(Sound, Sound.Emitter) - Method in interface net.kyori.adventure.platform.facet.Facet.EntitySound
-
Create a sound packet following a specific emitter.
- createForSelf(V, Sound) - Method in interface net.kyori.adventure.platform.facet.Facet.EntitySound
-
Create a sound packet following the viewer themself.
- createMessage(V, Component) - Method in interface net.kyori.adventure.platform.facet.Facet.Message
-
Creates a message.
- createMessageType(MessageType) - Method in interface net.kyori.adventure.platform.facet.Facet.ChatPacket
-
Creates a message type.
- createOverlay(BossBar.Overlay) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarPacket
-
Creates an overlay.
- createPosition(double, double, double) - Method in interface net.kyori.adventure.platform.facet.Facet.Position
-
Creates a position.
- createPosition(V) - Method in interface net.kyori.adventure.platform.facet.Facet.Position
-
Finds a viewer's position.
- createTitleCollection() - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Creates a collection that will receive title parts.
D
- DEBUG - Static variable in class net.kyori.adventure.platform.facet.Knob
- DEFAULT_LOCALE - Static variable in class net.kyori.adventure.platform.facet.FacetAudienceProvider
E
F
- Facet<V> - Interface in net.kyori.adventure.platform.facet
-
A unit of functionality for a viewer.
- Facet.ActionBar<V,M> - Interface in net.kyori.adventure.platform.facet
-
A facet that sends action bars.
- Facet.Book<V,M,B> - Interface in net.kyori.adventure.platform.facet
-
A facet that opens a book.
- Facet.BossBar<V> - Interface in net.kyori.adventure.platform.facet
-
A facet that listens to boss bar changes.
- Facet.BossBar.Builder<V,B extends Facet.BossBar<V>> - Interface in net.kyori.adventure.platform.facet
-
A builder for boss bar facets.
- Facet.BossBarEntity<V,P> - Interface in net.kyori.adventure.platform.facet
-
A facet that listens to boss bar changes, using fake entities.
- Facet.BossBarPacket<V> - Interface in net.kyori.adventure.platform.facet
-
A facet that listens to boss bar changes, using packets.
- Facet.Chat<V,M> - Interface in net.kyori.adventure.platform.facet
-
A facet that sends chat messages.
- Facet.ChatPacket<V,M> - Interface in net.kyori.adventure.platform.facet
-
A facet that sends chat messages, using packets.
- Facet.EntitySound<V,M> - Interface in net.kyori.adventure.platform.facet
-
Create a sound that follows a certain entity.
- Facet.FakeEntity<V,P> - Interface in net.kyori.adventure.platform.facet
-
A facet for spawning client-side entities.
- Facet.Message<V,M> - Interface in net.kyori.adventure.platform.facet
-
A facet that converts components between formats.
- Facet.Pointers<V> - Interface in net.kyori.adventure.platform.facet
-
Methods for building pointers.
- Facet.Position<V,P> - Interface in net.kyori.adventure.platform.facet
-
A facet that requires a 3D vector.
- Facet.Sound<V,P> - Interface in net.kyori.adventure.platform.facet
-
A facet that plays and stops sounds.
- Facet.TabList<V,M> - Interface in net.kyori.adventure.platform.facet
-
Methods for working with the player tab list.
- Facet.Title<V,M,C,T> - Interface in net.kyori.adventure.platform.facet
-
A facet that shows, clears, and resets titles.
- Facet.TitlePacket<V,M,C,T> - Interface in net.kyori.adventure.platform.facet
-
A facet that sends titles, using packets.
- FacetAudience<V> - Class in net.kyori.adventure.platform.facet
- FacetAudience(FacetAudienceProvider, Collection<? extends V>, Collection<? extends Facet.Chat>, Collection<? extends Facet.ActionBar>, Collection<? extends Facet.Title>, Collection<? extends Facet.Sound>, Collection<? extends Facet.EntitySound>, Collection<? extends Facet.Book>, Collection<? extends Facet.BossBar.Builder>, Collection<? extends Facet.TabList>, Collection<? extends Facet.Pointers>) - Constructor for class net.kyori.adventure.platform.facet.FacetAudience
-
Create a new facet-based audience.
- FacetAudienceProvider<V,A extends FacetAudience<V>> - Class in net.kyori.adventure.platform.facet
-
An audience provider implementation using facets.
- FacetAudienceProvider(ComponentRenderer<Pointered>) - Constructor for class net.kyori.adventure.platform.facet.FacetAudienceProvider
- FacetBase<V> - Class in net.kyori.adventure.platform.facet
-
A base implementation of a facet that validates viewer type.
- FacetBase(Class<? extends V>) - Constructor for class net.kyori.adventure.platform.facet.FacetBase
- FacetComponentFlattener - Class in net.kyori.adventure.platform.facet
-
A provider for component flatteners that uses the
Facet
system to access implementation details. - FacetComponentFlattener.Translator<V> - Interface in net.kyori.adventure.platform.facet
-
An interface to the game's own translation system.
- FacetPointers - Class in net.kyori.adventure.platform.facet
-
Pointers for facet-specific data.
- FacetPointers.Type - Enum in net.kyori.adventure.platform.facet
-
Types of audience that may receive special handling.
- filter(Predicate<V>) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
-
Creates an audience based on a viewer predicate.
G
- get(V, Collection<? extends FacetComponentFlattener.Translator<V>>) - Static method in class net.kyori.adventure.platform.facet.FacetComponentFlattener
-
Create a new flattener, picking an applicable translator.
H
- health(float) - Method in interface net.kyori.adventure.platform.facet.Facet.FakeEntity
-
Sets the entity health.
- hideBossBar(BossBar) - Method in class net.kyori.adventure.platform.facet.FacetAudience
I
- invisible(boolean) - Method in interface net.kyori.adventure.platform.facet.Facet.FakeEntity
-
Sets the entity visibility.
- INVULNERABLE_KEY - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- INVULNERABLE_TICKS - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- isApplicable(V) - Method in interface net.kyori.adventure.platform.facet.Facet
-
Gets whether this handler is applicable to a particular viewer.
- isApplicable(V) - Method in class net.kyori.adventure.platform.facet.FacetBase
- isEmpty() - Method in interface net.kyori.adventure.platform.facet.Facet.BossBar
-
Gets whether the boss bar has no viewers.
- isEnabled(String, boolean) - Static method in class net.kyori.adventure.platform.facet.Knob
-
Gets whether a facet should be enabled.
- isSupported() - Method in interface net.kyori.adventure.platform.facet.Facet
-
Gets whether this handler is supported by the current runtime.
- isSupported() - Method in class net.kyori.adventure.platform.facet.FacetBase
K
- Knob - Class in net.kyori.adventure.platform.facet
-
Facet utilities and logging pipeline.
L
- logError(Throwable, String, Object...) - Static method in class net.kyori.adventure.platform.facet.Knob
-
Logs an error.
- logMessage(String, Object...) - Static method in class net.kyori.adventure.platform.facet.Knob
-
Logs a message.
- logUnsupported(Object, Object) - Static method in class net.kyori.adventure.platform.facet.Knob
-
Logs an unsupported value.
M
- MAX_SECONDS - Static variable in interface net.kyori.adventure.platform.facet.Facet.Title
- metadata(int, Object) - Method in interface net.kyori.adventure.platform.facet.Facet.FakeEntity
-
Sets the entity metadata.
N
- name(Component) - Method in interface net.kyori.adventure.platform.facet.Facet.FakeEntity
-
Sets the entity name.
- net.kyori.adventure.platform.facet - package net.kyori.adventure.platform.facet
-
Common implementation details shared between platforms.
O
- of(Supplier<F>...) - Static method in interface net.kyori.adventure.platform.facet.Facet
-
Creates a collection of supported facets.
- of(Collection<F>, V) - Static method in interface net.kyori.adventure.platform.facet.Facet
-
Gets the first applicable facet for a viewer.
- OFFSET_MAGNITUDE - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- OFFSET_PITCH - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- OFFSET_YAW - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- openBook(Book) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- openBook(V, B) - Method in interface net.kyori.adventure.platform.facet.Facet.Book
-
Opens a book.
- OTHER - net.kyori.adventure.platform.facet.FacetPointers.Type
- OUT - Static variable in class net.kyori.adventure.platform.facet.Knob
P
- permission(String) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- player(UUID) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- PLAYER - net.kyori.adventure.platform.facet.FacetPointers.Type
- players() - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- playSound(Sound) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- playSound(Sound, double, double, double) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- playSound(Sound, Sound.Emitter) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- playSound(V, Sound, P) - Method in interface net.kyori.adventure.platform.facet.Facet.Sound
-
Plays a sound.
- playSound(V, M) - Method in interface net.kyori.adventure.platform.facet.Facet.EntitySound
-
Play a created sound message to a viewer.
- pointers() - Method in class net.kyori.adventure.platform.facet.FacetAudience
- PROTOCOL_ACTION_BAR - Static variable in interface net.kyori.adventure.platform.facet.Facet.Title
- PROTOCOL_BOSS_BAR - Static variable in interface net.kyori.adventure.platform.facet.Facet.BossBar
- PROTOCOL_HEX_COLOR - Static variable in interface net.kyori.adventure.platform.facet.Facet.Message
- PROTOCOL_JSON - Static variable in interface net.kyori.adventure.platform.facet.Facet.Message
- provider - Variable in class net.kyori.adventure.platform.facet.FacetAudience
R
- refresh() - Method in class net.kyori.adventure.platform.facet.FacetAudience
-
Refresh the audience.
- refreshViewer(V) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
-
Refreshes a viewer's metadata.
- removeViewer(V) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBar
-
Removes a viewer from the boss bar.
- removeViewer(V) - Method in interface net.kyori.adventure.platform.facet.Facet.BossBarEntity
- removeViewer(V) - Method in class net.kyori.adventure.platform.facet.FacetAudience
-
Remove a viewer from this audience.
- removeViewer(V) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
-
Removes a viewer.
- resetTitle() - Method in class net.kyori.adventure.platform.facet.FacetAudience
- resetTitle(V) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Resets a title.
S
- send(V, M, M) - Method in interface net.kyori.adventure.platform.facet.Facet.TabList
-
Update the tab list header and footer.
- sendActionBar(Component) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendMessage(SignedMessage, ChatType.Bound) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendMessage(Identity, Component, MessageType) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendMessage(Component, ChatType.Bound) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendMessage(V, Identity, M, Object) - Method in interface net.kyori.adventure.platform.facet.Facet.Chat
-
Sends a chat message.
- sendMessage(V, M) - Method in interface net.kyori.adventure.platform.facet.Facet.ActionBar
-
Sends an action bar.
- sendPlayerListFooter(Component) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendPlayerListHeader(Component) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendPlayerListHeaderAndFooter(Component, Component) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- sendTitlePart(TitlePart<T>, T) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- server(String) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- SERVER - Static variable in class net.kyori.adventure.platform.facet.FacetPointers
- showBossBar(BossBar) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- showTitle(Title) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- showTitle(V, T) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Shows a title.
- stopSound(SoundStop) - Method in class net.kyori.adventure.platform.facet.FacetAudience
- stopSound(V, SoundStop) - Method in interface net.kyori.adventure.platform.facet.Facet.Sound
-
Stops a sound.
T
- teleport(V, P) - Method in interface net.kyori.adventure.platform.facet.Facet.FakeEntity
-
Teleports the entity for a viewer.
- toTicks(Duration) - Method in interface net.kyori.adventure.platform.facet.Facet.Title
-
Gets the ticks for a duration.
- TYPE - Static variable in class net.kyori.adventure.platform.facet.FacetPointers
- TYPE_ACTION_BAR - Static variable in interface net.kyori.adventure.platform.facet.Facet.ChatPacket
- TYPE_CHAT - Static variable in interface net.kyori.adventure.platform.facet.Facet.ChatPacket
- TYPE_SYSTEM - Static variable in interface net.kyori.adventure.platform.facet.Facet.ChatPacket
V
- valueOf(String) - Static method in enum net.kyori.adventure.platform.facet.FacetPointers.Type
-
Returns the enum constant of this type with the specified name.
- valueOrDefault(V, String) - Method in interface net.kyori.adventure.platform.facet.FacetComponentFlattener.Translator
-
Get the translation for
key
or returnkey
. - values() - Static method in enum net.kyori.adventure.platform.facet.FacetPointers.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- viewerClass - Variable in class net.kyori.adventure.platform.facet.FacetBase
- viewers - Variable in class net.kyori.adventure.platform.facet.FacetAudienceProvider
W
- world(Key) - Method in class net.kyori.adventure.platform.facet.FacetAudienceProvider
- WORLD - Static variable in class net.kyori.adventure.platform.facet.FacetPointers
All Classes All Packages