Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absolute(int) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Creates a absolute coordinate with the given value.
- ABSOLUTE - Enum constant in enum net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate.Type
-
An absolute coordinate.
- absoluteWorldPos(int, int, int) - Method in interface net.kyori.adventure.text.BlockNBTComponent
-
Sets the block position to an absolute
BlockNBTComponent.WorldPos
with the given coordinates. - absoluteWorldPos(int, int, int) - Method in interface net.kyori.adventure.text.BlockNBTComponent.Builder
-
Sets the block position to an absolute
BlockNBTComponent.WorldPos
with the given coordinates. - AbstractBuilder<R> - Interface in net.kyori.adventure.builder
-
A builder.
- AbstractComponent - Class in net.kyori.adventure.text
-
Deprecated.for removal since 4.10.0
- AbstractComponent(List<? extends ComponentLike>, Style) - Constructor for class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- AbstractComponentRenderer<C> - Class in net.kyori.adventure.text.renderer
-
An abstract implementation of a component renderer.
- AbstractComponentRenderer() - Constructor for class net.kyori.adventure.text.renderer.AbstractComponentRenderer
- accept(T) - Method in interface net.kyori.adventure.text.event.ClickCallback
-
Perform an action for this event.
- ACCEPTED - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the user has accepted download.
- action() - Method in class net.kyori.adventure.text.event.ClickEvent
-
Gets the click event action.
- action() - Method in class net.kyori.adventure.text.event.HoverEvent
-
Gets the hover event action.
- activeBossBars() - Method in interface net.kyori.adventure.bossbar.BossBarViewer
-
Gets an unmodifiable view of all known currently active bossbars.
- addFlag(BossBar.Flag) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Adds a flag to this bossbar.
- addFlags(Iterable<BossBar.Flag>) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Adds flags to this bossbar.
- addFlags(BossBar.Flag...) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Adds flags to this bossbar.
- addingRequest(ResourcePackInfoLike, ResourcePackInfoLike...) - Static method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Create a basic request to apply the provided resource packs.
- addListener(BossBar.Listener) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Adds a listener.
- addListener0(L) - Method in class net.kyori.adventure.util.Listenable
-
Adds a listener.
- addOne(List<T>, T) - Static method in class net.kyori.adventure.util.MonkeyBars
-
Adds an element to the end of the list, or returns a new list.
- addPage(Component) - Method in interface net.kyori.adventure.inventory.Book.Builder
-
Add a page to the book.
- addSource(Translator) - Method in interface net.kyori.adventure.translation.GlobalTranslator
-
Adds a translation source.
- addViewer(Audience) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Show this bossbar to
viewer
. - Adventure - Class in net.kyori.adventure
-
We're going on an Adventure!
- AdventureProperties - Class in net.kyori.adventure.internal.properties
-
Adventure properties.
- AdventureProperties.Property<T> - Interface in net.kyori.adventure.internal.properties
-
A property.
- all() - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds.
- all() - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Gets a merge set of all merge types.
- alpha() - Method in interface net.kyori.adventure.text.format.ShadowColor
-
Get the alpha component of the shadow colour.
- alpha() - Method in interface net.kyori.adventure.util.ARGBLike
-
Gets the alpha component.
- always(TriState) - Static method in interface net.kyori.adventure.permission.PermissionChecker
-
Creates a
PermissionChecker
that always returnsstate
. - ALWAYS - Enum constant in enum net.kyori.adventure.text.format.Style.Merge.Strategy
-
Always merge onto target.
- AMBIENT - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- append(Iterable<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends components to this component.
- append(Component) - Method in interface net.kyori.adventure.text.Component
-
Appends a component to this component.
- append(Component) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends a component to this component.
- append(Component) - Method in interface net.kyori.adventure.text.ScopedComponent
- append(Component...) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends components to this component.
- append(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.Component
-
Appends a component to this component.
- append(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends a component to this component.
- append(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.ScopedComponent
- append(ComponentLike) - Method in interface net.kyori.adventure.text.Component
-
Appends a component to this component.
- append(ComponentLike) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends a component to this component.
- append(ComponentLike) - Method in interface net.kyori.adventure.text.ScopedComponent
- append(ComponentLike...) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends components to this component.
- appendNewline() - Method in interface net.kyori.adventure.text.Component
-
Appends a newline to this component.
- appendNewline() - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends a newline to this component.
- appendSpace() - Method in interface net.kyori.adventure.text.Component
-
Appends a space to this component.
- appendSpace() - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Appends a space to this component.
- applicableApply(ComponentBuilderApplicable) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Applies
applicable
. - apply(int, int) - Method in interface net.kyori.adventure.util.IntFunction2
-
Evaluates this predicate on the given arguments.
- apply(Consumer<? super ComponentBuilder<?, ?>>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Applies an action to this builder.
- apply(StyleBuilderApplicable) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Applies
applicable
to this builder. - apply(C) - Method in interface net.kyori.adventure.text.VirtualComponentRenderer
-
Gets the value by rendering using
context
. - applyDeep(Consumer<? super ComponentBuilder<?, ?>>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Applies an action to this component and all child components if they are an instance of
BuildableComponent
. - applyFallbackStyle(Style) - Method in interface net.kyori.adventure.text.Component
-
Apply a fallback style for this component and its children.
- applyFallbackStyle(StyleBuilderApplicable...) - Method in interface net.kyori.adventure.text.Component
-
Apply a fallback style for this component and its children.
- AQUA - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
aqua
colour. - ARGBLike - Interface in net.kyori.adventure.util
-
Something that can provide red, green, and blue, and alpha colour components.
- args() - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.arguments()
instead. - args(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.arguments(List)
instead - args(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.Builder.arguments(List)
instead - args(Component) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.Builder.arguments(ComponentLike...)
instead - args(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.Builder.arguments(ComponentLike...)
instead - args(ComponentBuilder<?, ?>...) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.Builder.arguments(ComponentLike...)
instead - args(ComponentLike...) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.arguments(ComponentLike...)
instead - args(ComponentLike...) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Deprecated.for removal since 4.15.0, use
TranslatableComponent.Builder.arguments(ComponentLike...)
instead - arguments() - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Gets the unmodifiable list of translation arguments.
- arguments(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation arguments for this component.
- arguments(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- arguments(ComponentLike...) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation arguments for this component.
- arguments(ComponentLike...) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- arrayLike() - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Provides a join configuration that joins components together in the same manner
Arrays.toString(Object[])
stringifies an array. - as(boolean) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
Deprecated.for removal since 4.10.0, use
TextDecoration.withState(boolean)
instead - as(TextDecoration.State) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
Deprecated.for removal since 4.10.0, use
TextDecoration.withState(State)
instead - asBinaryTag() - Method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
- asBinaryTag() - Method in interface net.kyori.adventure.text.event.DataComponentValue.TagSerializable
-
Convert this value into a binary tag value.
- asComponent() - Method in interface net.kyori.adventure.text.Component
- asComponent() - Method in interface net.kyori.adventure.text.ComponentBuilder
- asComponent() - Method in interface net.kyori.adventure.text.ComponentLike
-
Gets a
Component
representation. - asComponent() - Method in interface net.kyori.adventure.text.TranslationArgumentLike
- asComponents(List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.ComponentLike
-
Converts a list of
ComponentLike
s to a list ofComponent
s. - asComponents(List<? extends ComponentLike>, Predicate<? super Component>) - Static method in interface net.kyori.adventure.text.ComponentLike
-
Converts a list of
ComponentLike
s to a list ofComponent
s. - asHexString() - Method in interface net.kyori.adventure.text.format.ShadowColor
-
Represent this shadow color as a
#
-prefixed hex string. - asHexString() - Method in interface net.kyori.adventure.text.format.TextColor
-
Gets the color, as a hex string.
- asHoverEvent() - Method in class net.kyori.adventure.text.event.HoverEvent
- asHoverEvent() - Method in interface net.kyori.adventure.text.event.HoverEventSource
-
Represent this object as a hover event.
- asHoverEvent(UnaryOperator<Component>) - Method in interface net.kyori.adventure.text.Component
- asHoverEvent(UnaryOperator<V>) - Method in class net.kyori.adventure.text.event.HoverEvent
- asHoverEvent(UnaryOperator<V>) - Method in interface net.kyori.adventure.text.event.HoverEventSource
-
Creates a hover event with value derived from this object.
- asHSV() - Method in class net.kyori.adventure.text.format.NamedTextColor
- asHSV() - Method in interface net.kyori.adventure.util.RGBLike
-
Converts the color represented by this RGBLike to the HSV color space.
- asKeybind() - Method in interface net.kyori.adventure.text.KeybindComponent.KeybindLike
-
Gets the keybind identifier.
- asResourcePackInfo() - Method in interface net.kyori.adventure.resource.ResourcePackInfo
- asResourcePackInfo() - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
- asResourcePackInfo() - Method in interface net.kyori.adventure.resource.ResourcePackInfoLike
-
Gets a
ResourcePackInfo
representation. - asResourcePackRequest() - Method in interface net.kyori.adventure.resource.ResourcePackRequest
- asResourcePackRequest() - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
- asResourcePackRequest() - Method in interface net.kyori.adventure.resource.ResourcePackRequestLike
-
Get the pack request representation.
- asStop() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the
SoundStop
that will stop this specific sound. - asString() - Method in interface net.kyori.adventure.text.BlockNBTComponent.Pos
-
Gets a parseable string representation of this position.
- asTranslationArgument() - Method in interface net.kyori.adventure.text.TranslationArgument
- asTranslationArgument() - Method in interface net.kyori.adventure.text.TranslationArgumentLike
-
Get the argument representation of this object.
- audience() - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
-
Gets the audience.
- audience(Iterable<? extends Audience>) - Static method in interface net.kyori.adventure.audience.Audience
-
Creates an audience that forwards to many other audiences.
- audience(Audience...) - Static method in interface net.kyori.adventure.audience.Audience
-
Creates an audience that forwards to many other audiences.
- Audience - Interface in net.kyori.adventure.audience
-
A receiver of Minecraft media.
- audiences() - Method in interface net.kyori.adventure.audience.ForwardingAudience
-
Gets the audiences.
- audiences() - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
-
Deprecated.this audience only supports forwarding to a single audience
- Audiences - Class in net.kyori.adventure.audience
-
Audience
-related utilities. - author() - Method in interface net.kyori.adventure.inventory.Book
-
Gets the author.
- author(Component) - Method in interface net.kyori.adventure.inventory.Book
-
Changes the book's author.
- author(Component) - Method in interface net.kyori.adventure.inventory.Book.Builder
-
Set the author.
B
- basic() - Static method in interface net.kyori.adventure.text.flattener.ComponentFlattener
-
A basic flattener that will print only information directly contained in components.
- binaryTagHolder(String) - Static method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
-
Creates an encoded binary tag holder.
- BinaryTagHolder - Interface in net.kyori.adventure.nbt.api
-
Holds a compound binary tag.
- bind(ComponentLike) - Method in interface net.kyori.adventure.chat.ChatType
-
Creates a bound chat type with a name
Component
. - bind(ComponentLike, ComponentLike) - Method in interface net.kyori.adventure.chat.ChatType
-
Creates a bound chat type with a name and target
Component
. - BLACK - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
black
colour. - BLOCK - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- blockNBT() - Static method in interface net.kyori.adventure.text.Component
-
Creates a block NBT component builder.
- blockNBT(String, boolean, BlockNBTComponent.Pos) - Static method in interface net.kyori.adventure.text.Component
-
Creates a block NBT component with a position.
- blockNBT(String, boolean, ComponentLike, BlockNBTComponent.Pos) - Static method in interface net.kyori.adventure.text.Component
-
Creates a block NBT component with a position.
- blockNBT(String, BlockNBTComponent.Pos) - Static method in interface net.kyori.adventure.text.Component
-
Creates a block NBT component with a position.
- blockNBT(Consumer<? super BlockNBTComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a block NBT component by applying configuration from
consumer
. - BlockNBTComponent - Interface in net.kyori.adventure.text
-
Given an in-game position, this component reads the NBT of the associated block and displays that information.
- BlockNBTComponent.Builder - Interface in net.kyori.adventure.text
-
An NBT component builder.
- BlockNBTComponent.LocalPos - Interface in net.kyori.adventure.text
-
A local position.
- BlockNBTComponent.Pos - Interface in net.kyori.adventure.text
-
A position.
- BlockNBTComponent.WorldPos - Interface in net.kyori.adventure.text
-
A world position.
- BlockNBTComponent.WorldPos.Coordinate - Interface in net.kyori.adventure.text
-
A coordinate component within a
BlockNBTComponent.WorldPos
. - BlockNBTComponent.WorldPos.Coordinate.Type - Enum in net.kyori.adventure.text
-
The type of a coordinate.
- blue() - Method in interface net.kyori.adventure.text.format.ShadowColor
-
Get the blue component of the shadow colour.
- blue() - Method in interface net.kyori.adventure.text.format.TextColor
-
Get the blue component of the text colour.
- blue() - Method in interface net.kyori.adventure.util.RGBLike
-
Gets the blue component.
- BLUE - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
Blue.
- BLUE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
blue
colour. - BOLD - Enum constant in enum net.kyori.adventure.text.format.TextDecoration
-
A decoration which makes text appear bold.
- book(Component, Component, Collection<Component>) - Static method in interface net.kyori.adventure.inventory.Book
-
Creates a book.
- book(Component, Component, Component...) - Static method in interface net.kyori.adventure.inventory.Book
-
Creates a book.
- Book - Interface in net.kyori.adventure.inventory
-
Represents the in-game interface of a book.
- Book.Builder - Interface in net.kyori.adventure.inventory
-
A builder for a
Book
. - bool(boolean) - Static method in interface net.kyori.adventure.text.TranslationArgument
-
Create a boolean argument.
- bossBar(ComponentLike, float, BossBar.Color, BossBar.Overlay) - Static method in interface net.kyori.adventure.bossbar.BossBar
-
Creates a new bossbar.
- bossBar(ComponentLike, float, BossBar.Color, BossBar.Overlay, Set<BossBar.Flag>) - Static method in interface net.kyori.adventure.bossbar.BossBar
-
Creates a new bossbar.
- bossBar(Component, float, BossBar.Color, BossBar.Overlay) - Static method in interface net.kyori.adventure.bossbar.BossBar
-
Creates a new bossbar.
- bossBar(Component, float, BossBar.Color, BossBar.Overlay, Set<BossBar.Flag>) - Static method in interface net.kyori.adventure.bossbar.BossBar
-
Creates a new bossbar.
- BossBar - Interface in net.kyori.adventure.bossbar
-
Represents an in-game bossbar which can be shown to the client.
- BossBar.Color - Enum in net.kyori.adventure.bossbar
-
One of the colors the bar component of a
BossBar
. - BossBar.Flag - Enum in net.kyori.adventure.bossbar
-
Flags to control toggleable effects of a bossbar.
- BossBar.Listener - Interface in net.kyori.adventure.bossbar
-
A listener for changes that happen on a
BossBar
. - BossBar.Overlay - Enum in net.kyori.adventure.bossbar
-
An overlay on the bar component of a bossbar.
- bossBarColorChanged(BossBar, BossBar.Color, BossBar.Color) - Method in interface net.kyori.adventure.bossbar.BossBar.Listener
-
Bossbar color changed.
- bossBarFlagsChanged(BossBar, Set<BossBar.Flag>, Set<BossBar.Flag>) - Method in interface net.kyori.adventure.bossbar.BossBar.Listener
-
Bossbar flags changed.
- BossBarImplementation - Interface in net.kyori.adventure.bossbar
-
BossBar
internal implementation. - BossBarImplementation.Provider - Interface in net.kyori.adventure.bossbar
-
A
BossBarImplementation
service provider. - bossBarNameChanged(BossBar, Component, Component) - Method in interface net.kyori.adventure.bossbar.BossBar.Listener
-
Bossbar name changed.
- bossBarOverlayChanged(BossBar, BossBar.Overlay, BossBar.Overlay) - Method in interface net.kyori.adventure.bossbar.BossBar.Listener
-
Bossbar overlay changed.
- bossBarPercentChanged(BossBar, float, float) - Method in interface net.kyori.adventure.bossbar.BossBar.Listener
-
Deprecated.for removal since 4.2.0, use
BossBar.Listener.bossBarProgressChanged(BossBar, float, float)
- bossBarProgressChanged(BossBar, float, float) - Method in interface net.kyori.adventure.bossbar.BossBar.Listener
-
Bossbar progress changed.
- BossBarViewer - Interface in net.kyori.adventure.bossbar
-
Something that can view a
BossBar
. - BREADTH_FIRST - Static variable in interface net.kyori.adventure.text.ComponentIteratorType
-
A breadth-first iteration.
- build() - Method in interface net.kyori.adventure.builder.AbstractBuilder
-
Builds.
- build() - Method in interface net.kyori.adventure.inventory.Book.Builder
-
Builds.
- build() - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
-
Builds.
- build() - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Build a component.
- build() - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Builds the style.
- build() - Method in interface net.kyori.adventure.util.Buildable.Builder
-
Deprecated.Builds.
- Buildable<R,
B extends Buildable.Builder<R>> - Interface in net.kyori.adventure.util -
Something that can be built.
- Buildable.Builder<R> - Interface in net.kyori.adventure.util
-
Deprecated.since 4.10.0, use
AbstractBuilder
- BuildableComponent<C extends BuildableComponent<C,
B>, B extends ComponentBuilder<C, B>> - Interface in net.kyori.adventure.text -
A component which may be built.
- builder() - Static method in interface net.kyori.adventure.inventory.Book
-
Create a new builder that will create a
Book
. - builder() - Static method in interface net.kyori.adventure.pointer.Pointers
-
Gets a new pointers builder.
- builder() - Static method in interface net.kyori.adventure.pointer.PointersSupplier
-
Gets a new pointers supplier builder.
- builder() - Static method in interface net.kyori.adventure.text.event.ClickCallback.Options
-
Create a new builder.
- builder() - Static method in interface net.kyori.adventure.text.flattener.ComponentFlattener
-
Create a new builder for a flattener.
- builder() - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Creates a new builder.
- builder() - Static method in interface net.kyori.adventure.text.TextReplacementConfig
-
Create a new builder.
- builder() - Static method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Create a new builder for an inheritance aware map.
- builder(ClickCallback.Options) - Static method in interface net.kyori.adventure.text.event.ClickCallback.Options
-
Create a new builder populating from existing options.
- builder(InheritanceAwareMap<? extends K, ? extends E>) - Static method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Create a new builder for an inheritance aware map.
- byBoolean(boolean) - Static method in enum net.kyori.adventure.text.format.TextDecoration.State
-
Gets a state from a
boolean
. - byBoolean(boolean) - Static method in enum net.kyori.adventure.util.TriState
-
Gets a state from a
boolean
. - byBoolean(Boolean) - Static method in enum net.kyori.adventure.text.format.TextDecoration.State
-
Gets a state from a
Boolean
. - byBoolean(Boolean) - Static method in enum net.kyori.adventure.util.TriState
-
Gets a state from a
Boolean
. - bytes() - Method in interface net.kyori.adventure.chat.SignedMessage.Signature
-
Gets the bytes for this signature.
- byTriState(TriState) - Static method in enum net.kyori.adventure.text.format.TextDecoration.State
-
Gets a state from a
TriState
.
C
- callback() - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
A callback to respond to resource pack application status events.
- callback(ResourcePackCallback) - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
-
Set the callback to respond to resource pack application status events.
- callback(ResourcePackCallback) - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Set the callback to respond to resource pack application status events.
- callback(ClickCallback<Audience>) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Create a click event that, when clicked, will schedule a callback function to be executed on the server.
- callback(ClickCallback<Audience>, Consumer<ClickCallback.Options.Builder>) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Create a click event that, when clicked, will schedule a callback function to be executed on the server.
- callback(ClickCallback<Audience>, ClickCallback.Options) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Create a click event that, when clicked, will schedule a callback function to be executed on the server.
- canDelete() - Method in interface net.kyori.adventure.chat.SignedMessage
-
Checks if this message can be deleted via
Audience.deleteMessage(SignedMessage)
. - CHANGE_PAGE - Enum constant in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Changes the page of a book.
- changePage(int) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that changes to a page.
- changePage(String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that changes to a page.
- CHAT - Enum constant in enum net.kyori.adventure.audience.MessageType
-
Deprecated.for removal since 4.12.0, use
ChatType.CHAT
instead - CHAT - Static variable in interface net.kyori.adventure.chat.ChatType
-
A chat message from a player.
- chatType(Keyed) - Static method in interface net.kyori.adventure.chat.ChatType
-
Creates a new chat type with a given key.
- ChatType - Interface in net.kyori.adventure.chat
-
A type of chat.
- ChatType.Bound - Interface in net.kyori.adventure.chat
-
A bound
ChatType
. - children - Variable in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- children() - Method in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- children() - Method in interface net.kyori.adventure.text.Component
-
Gets the unmodifiable list of children.
- children() - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Get an unmodifiable list containing all children currently in this builder.
- children(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.Component
-
Sets the list of children.
- children(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.ScopedComponent
- clearResourcePacks() - Method in interface net.kyori.adventure.audience.Audience
-
Clear all server-provided resource packs that have been sent to this user.
- clearResourcePacks() - Method in interface net.kyori.adventure.audience.ForwardingAudience
- clearResourcePacks() - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- clearTitle() - Method in interface net.kyori.adventure.audience.Audience
-
Clears the title, if one is being displayed.
- clearTitle() - Method in interface net.kyori.adventure.audience.ForwardingAudience
- clearTitle() - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- ClickCallback<T extends Audience> - Interface in net.kyori.adventure.text.event
-
A handler for callback click events.
- ClickCallback.Options - Interface in net.kyori.adventure.text.event
-
Options to configure how a callback can be executed.
- ClickCallback.Options.Builder - Interface in net.kyori.adventure.text.event
-
A builder for callback options.
- ClickCallback.Provider - Interface in net.kyori.adventure.text.event
-
A provider for actually producing click callbacks.
- clickEvent() - Method in interface net.kyori.adventure.text.Component
-
Gets the click event of this component.
- clickEvent() - Method in interface net.kyori.adventure.text.format.Style
-
Gets the click event.
- clickEvent() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the click event.
- clickEvent(ClickEvent.Action, String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event.
- clickEvent(ClickEvent) - Method in interface net.kyori.adventure.text.Component
-
Sets the click event of this component.
- clickEvent(ClickEvent) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the click event of this component.
- clickEvent(ClickEvent) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the click event.
- clickEvent(ClickEvent) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the click event.
- clickEvent(ClickEvent) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the click event.
- clickEvent(ClickEvent) - Method in interface net.kyori.adventure.text.ScopedComponent
- ClickEvent - Class in net.kyori.adventure.text.event
-
A click event.
- ClickEvent.Action - Enum in net.kyori.adventure.text.event
-
An enumeration of click event actions.
- codec(Codec.Decoder<D, E, DX>, Codec.Encoder<D, E, EX>) - Static method in interface net.kyori.adventure.util.Codec
-
Creates a codec.
- Codec<D,
E, DX extends Throwable, EX extends Throwable> - Interface in net.kyori.adventure.util -
A combination encoder and decoder.
- Codec.Decoder<D,
E, X extends Throwable> - Interface in net.kyori.adventure.util -
A decoder.
- Codec.Encoder<D,
E, X extends Throwable> - Interface in net.kyori.adventure.util -
An encoder.
- color() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Gets the color.
- color() - Method in interface net.kyori.adventure.text.Component
-
Gets the color of this component.
- color() - Method in interface net.kyori.adventure.text.format.Style
-
Gets the color.
- color() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the color.
- color(int, int, int) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Create a new text colour with the red, green, and blue components individually.
- color(float, float, float) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Create a new color with the individual components as floats.
- color(int) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Creates a new text colour.
- color(BossBar.Color) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Sets the color.
- color(HSVLike) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Creates a new text color, converting the provided
HSVLike
to the RGB color space. - color(RGBLike) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Creates a new text colour.
- color(TextColor) - Method in interface net.kyori.adventure.text.Component
-
Sets the color of this component.
- color(TextColor) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the color of this component.
- color(TextColor) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the color.
- color(TextColor) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the color.
- color(TextColor) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the color.
- color(TextColor) - Method in interface net.kyori.adventure.text.ScopedComponent
- COLOR - Enum constant in enum net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.color()
. - colorAndDecorations() - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Gets a merge set containing
Style.Merge.COLOR
andStyle.Merge.DECORATIONS
. - colorIfAbsent(TextColor) - Method in interface net.kyori.adventure.text.Component
-
Sets the color if there isn't one set already.
- colorIfAbsent(TextColor) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the color of this component if there isn't one set already.
- colorIfAbsent(TextColor) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the color if there isn't one set already.
- colorIfAbsent(TextColor) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the color if there isn't one set already.
- colorIfAbsent(TextColor) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the color if there isn't one set already.
- colorIfAbsent(TextColor) - Method in interface net.kyori.adventure.text.ScopedComponent
- commas(boolean) - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Provides a join configuration with no prefix or suffix that simply joins the components together using a single comma, matching a CSV like layout.
- compact() - Method in interface net.kyori.adventure.text.Component
-
Create a new component with any redundant style elements or children removed.
- compareTo(TextColor) - Method in interface net.kyori.adventure.text.format.TextColor
- complexMapper(Class<T>, BiConsumer<T, Consumer<Component>>) - Method in interface net.kyori.adventure.text.flattener.ComponentFlattener.Builder
-
Register a type of component that needs to be flattened to an intermediate stage.
- component(String) - Method in interface net.kyori.adventure.text.flattener.FlattenerListener
-
Accept the plain-text content of a single component.
- component(ComponentLike) - Static method in interface net.kyori.adventure.text.TranslationArgument
-
Create a component argument.
- Component - Interface in net.kyori.adventure.text
-
A Component is an immutable object that represents how text is displayed Minecraft clients.
- ComponentApplicable - Interface in net.kyori.adventure.text
-
Something that can be applied to a
Component
. - componentApply(Component) - Method in interface net.kyori.adventure.text.ComponentApplicable
-
Applies to
component
. - ComponentBuilder<C extends BuildableComponent<C,
B>, B extends ComponentBuilder<C, B>> - Interface in net.kyori.adventure.text -
A component builder.
- ComponentBuilderApplicable - Interface in net.kyori.adventure.text
-
Something that can be applied to a
ComponentBuilder
. - componentBuilderApply(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.Component
- componentBuilderApply(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.ComponentBuilder
- componentBuilderApply(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.ComponentBuilderApplicable
-
Applies to
component
. - componentBuilderApply(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.format.StyleBuilderApplicable
- ComponentDecoder<S,
O extends Component> - Interface in net.kyori.adventure.text.serializer -
A
Component
decoder, which provides deserialization, but without serialization. - ComponentEncoder<I extends Component,
R> - Interface in net.kyori.adventure.text.serializer -
A
Component
encoder, which provides serialization, but without deserialization. - ComponentFlattener - Interface in net.kyori.adventure.text.flattener
-
A 'flattener' to convert a component tree to a linear string for display.
- ComponentFlattener.Builder - Interface in net.kyori.adventure.text.flattener
-
A builder for a component flattener.
- ComponentIteratorFlag - Enum in net.kyori.adventure.text
-
Flags to modify the behaviour of a component iterator.
- ComponentIteratorType - Interface in net.kyori.adventure.text
-
The iterator types.
- ComponentLike - Interface in net.kyori.adventure.text
-
Something that can be represented as a
Component
. - componentMessage() - Method in interface net.kyori.adventure.util.ComponentMessageThrowable
-
Gets the message.
- ComponentMessageThrowable - Interface in net.kyori.adventure.util
- ComponentRenderer<C> - Interface in net.kyori.adventure.text.renderer
-
A component renderer.
- ComponentSerializer<I extends Component,
O extends Component, R> - Interface in net.kyori.adventure.text.serializer -
A
Component
serializer and deserializer. - computeHashAndBuild() - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
-
Builds, computing a hash based on the provided URL.
- computeHashAndBuild(Executor) - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
-
Builds, computing a hash based on the provided URL.
- condition(TextReplacementConfig.Condition) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Set the function to determine how an individual match should be processed.
- condition(IntFunction2<PatternReplacementResult>) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Set the function to determine how an individual match should be processed.
- configureAndBuild(B, Consumer<? super B>) - Static method in interface net.kyori.adventure.builder.AbstractBuilder
-
Configures
builder
usingconsumer
and then builds. - configureAndBuild(B, Consumer<? super B>) - Static method in interface net.kyori.adventure.util.Buildable
-
Deprecated.since 4.10.0, use
AbstractBuilder.configureAndBuild(AbstractBuilder, Consumer)
- contains(String) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Checks if any translations are explicitly registered for the specified key.
- contains(Component) - Method in interface net.kyori.adventure.text.Component
-
Checks if this component contains a component.
- contains(Component, BiPredicate<? super Component, ? super Component>) - Method in interface net.kyori.adventure.text.Component
-
Checks if this component contains a component.
- containsKey(Class<? extends C>) - Method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Check whether this map contains a value (direct or computed) for the provided class.
- content() - Method in interface net.kyori.adventure.text.TextComponent.Builder
-
Gets the plain text content.
- content() - Method in interface net.kyori.adventure.text.TextComponent
-
Gets the plain text content.
- content(String) - Method in interface net.kyori.adventure.text.TextComponent.Builder
-
Sets the plain text content.
- content(String) - Method in interface net.kyori.adventure.text.TextComponent
-
Sets the plain text content.
- contextType() - Method in interface net.kyori.adventure.text.VirtualComponent
-
Gets the renderer context type.
- CONTINUE - Enum constant in enum net.kyori.adventure.text.PatternReplacementResult
-
Skip the current match, but continue searching for others.
- conversions() - Method in interface net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Provider
-
Return conversions available from this provider.
- convert(Class<I1>, Class<O1>, BiFunction<Key, I1, O1>) - Static method in interface net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Conversion
-
Create a new conversion.
- convert(Class<O>, Key, DataComponentValue) - Static method in class net.kyori.adventure.text.event.DataComponentValueConverterRegistry
-
Try to convert the data component value
in
to the provided output type. - convert(Key, I) - Method in interface net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Conversion
-
Perform the actual conversion.
- convertor() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the convertor of this join configuration.
- convertor(Function<ComponentLike, Component>) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the convertor of this join configuration builder.
- coordinate(int, BlockNBTComponent.WorldPos.Coordinate.Type) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Creates a coordinate with the given value and type.
- COPY_TO_CLIPBOARD - Enum constant in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Copies text to the clipboard.
- copyToClipboard(String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that copies text to the clipboard.
- count() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Gets the count.
- count(int) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Sets the count.
- create(Function<? super V, ? extends K>, List<V>) - Static method in class net.kyori.adventure.util.Index
-
Creates an index map.
- create(Function<? super V, ? extends K>, V...) - Static method in class net.kyori.adventure.util.Index
-
Creates an index map.
- create(BossBar) - Method in interface net.kyori.adventure.bossbar.BossBarImplementation.Provider
-
Gets an implementation.
- create(ClickCallback<Audience>, ClickCallback.Options) - Method in interface net.kyori.adventure.text.event.ClickCallback.Provider
-
Create a real click event based on the provided parameters.
- create(Class<V>, Function<? super V, ? extends K>) - Static method in class net.kyori.adventure.util.Index
-
Creates an index map.
- create(Class<V>, Function<? super V, ? extends K>, V...) - Static method in class net.kyori.adventure.util.Index
-
Creates an index map.
- create(Key) - Static method in interface net.kyori.adventure.translation.TranslationRegistry
-
Creates a new standalone translation registry.
- CREATE_WORLD_FOG - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Flag
-
If world fog should be created.
D
- DARK_AQUA - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
dark_aqua
colour. - DARK_BLUE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
dark_blue
colour. - DARK_GRAY - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
dark_gray
colour. - DARK_GREEN - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
dark_green
colour. - DARK_PURPLE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
dark_purple
colour. - DARK_RED - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
dark_red
colour. - DARKEN_SCREEN - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Flag
-
If the screen should be darkened.
- dataComponents() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Get the data components used for this item.
- dataComponents(Map<Key, DataComponentValue>) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Set the data components used on this item.
- dataComponentsAs(Class<V>) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Return an unmodifiable map of data components coerced to the target type.
- DataComponentValue - Interface in net.kyori.adventure.text.event
-
A holder for the value of an item's data component.
- DataComponentValue.Removed - Interface in net.kyori.adventure.text.event
-
Only valid in a patch-style usage, indicating that the data component with a certain key should be removed.
- DataComponentValue.TagSerializable - Interface in net.kyori.adventure.text.event
-
Represent an
DataComponentValue
that can be represented as a binary tag. - DataComponentValueConverterRegistry - Class in net.kyori.adventure.text.event
-
A registry for conversions between different data component value holder classes.
- DataComponentValueConverterRegistry.Conversion<I,
O> - Interface in net.kyori.adventure.text.event -
A single conversion that may be provided by a provider.
- DataComponentValueConverterRegistry.Provider - Interface in net.kyori.adventure.text.event
-
A provider for data component value converters.
- DEBUG - Static variable in class net.kyori.adventure.internal.properties.AdventureProperties
-
Property for specifying whether debug mode is enabled.
- DECLINED - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the user has declined a pack.
- decode(E) - Method in interface net.kyori.adventure.util.Codec
-
Decodes.
- decode(E) - Method in interface net.kyori.adventure.util.Codec.Decoder
-
Decodes.
- decorate(TextDecoration) - Method in interface net.kyori.adventure.text.Component
-
Sets the state of
decoration
toTextDecoration.State.TRUE
on this component. - decorate(TextDecoration) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the state of
decoration
toTextDecoration.State.TRUE
. - decorate(TextDecoration) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets
decoration
toTextDecoration.State.TRUE
. - decorate(TextDecoration) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the state of
decoration
toTextDecoration.State.TRUE
on this style. - decorate(TextDecoration) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the state of
decoration
toTextDecoration.State.TRUE
. - decorate(TextDecoration) - Method in interface net.kyori.adventure.text.ScopedComponent
- decorate(TextDecoration...) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets
decorations
toTextDecoration.State.TRUE
. - decorate(TextDecoration...) - Method in interface net.kyori.adventure.text.format.MutableStyleSetter
-
Sets
decorations
toTextDecoration.State.TRUE
. - decorate(TextDecoration...) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets
decorations
toTextDecoration.State.TRUE
. - decorate(TextDecoration...) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets
decorations
toTextDecoration.State.TRUE
. - decoration() - Method in interface net.kyori.adventure.text.format.TextDecorationAndState
-
Gets the decoration.
- decoration(TextDecoration) - Method in interface net.kyori.adventure.text.Component
-
Gets the state of a decoration on this component.
- decoration(TextDecoration) - Method in interface net.kyori.adventure.text.format.Style
-
Gets the state of a decoration on this style.
- decoration(TextDecoration) - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the state of a decoration on this stylable.
- decoration(TextDecoration, boolean) - Method in interface net.kyori.adventure.text.Component
-
Sets the state of a decoration on this component.
- decoration(TextDecoration, boolean) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the state of a decoration on this component.
- decoration(TextDecoration, boolean) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the state of a decoration on this style.
- decoration(TextDecoration, boolean) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the state of a decoration on this style.
- decoration(TextDecoration, boolean) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the state of a decoration.
- decoration(TextDecoration, boolean) - Method in interface net.kyori.adventure.text.ScopedComponent
- decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.Component
-
Sets the value of a decoration on this component.
- decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the value of a decoration on this component.
- decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the value of a decoration.
- decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the value of a decoration on this style.
- decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the value of a decoration.
- decoration(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.ScopedComponent
- decorationIfAbsent(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.Component
-
Sets the state of a decoration on this component to
state
if the current state of the decoration isTextDecoration.State.NOT_SET
. - decorationIfAbsent(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the state of a decoration on this component to
state
if the current state of the decoration isTextDecoration.State.NOT_SET
. - decorationIfAbsent(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the state of a decoration on this style to
state
if the current state of the decoration isTextDecoration.State.NOT_SET
. - decorationIfAbsent(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the state of a decoration on this style to
state
if the current state of the decoration isTextDecoration.State.NOT_SET
. - decorationIfAbsent(TextDecoration, TextDecoration.State) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the state of a decoration to
state
if the current state of the decoration isTextDecoration.State.NOT_SET
. - decorations() - Method in interface net.kyori.adventure.text.Component
-
Gets a set of decorations this component has.
- decorations() - Method in interface net.kyori.adventure.text.format.Style
-
Gets a map of decorations this style has.
- decorations() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets a map of decorations this stylable has.
- decorations(Map<TextDecoration, TextDecoration.State>) - Method in interface net.kyori.adventure.text.Component
-
Sets decorations for this component's style using the specified
decorations
map. - decorations(Map<TextDecoration, TextDecoration.State>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets decorations for this component's style using the specified
decorations
map. - decorations(Map<TextDecoration, TextDecoration.State>) - Method in interface net.kyori.adventure.text.format.MutableStyleSetter
-
Sets decorations using the specified
decorations
map. - decorations(Map<TextDecoration, TextDecoration.State>) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets decorations for this style using the specified
decorations
map. - decorations(Map<TextDecoration, TextDecoration.State>) - Method in interface net.kyori.adventure.text.format.Style
-
Sets decorations for this style using the specified
decorations
map. - decorations(Map<TextDecoration, TextDecoration.State>) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets decorations using the specified
decorations
map. - decorations(Set<TextDecoration>, boolean) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the state of a set of decorations to
flag
on this component. - decorations(Set<TextDecoration>, boolean) - Method in interface net.kyori.adventure.text.format.MutableStyleSetter
-
Sets the state of a set of decorations to
flag
. - decorations(Set<TextDecoration>, boolean) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the state of a set of decorations to
flag
. - DECORATIONS - Enum constant in enum net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.decorations()
. - DEFAULT_FONT - Static variable in interface net.kyori.adventure.text.format.Style
-
The default font.
- DEFAULT_LIFETIME - Static variable in interface net.kyori.adventure.text.event.ClickCallback
-
The default lifetime of a callback after creating it, 12 hours.
- DEFAULT_TIMES - Static variable in interface net.kyori.adventure.title.Title
-
The default times.
- DEFAULT_TRANSLATION_LOCALE - Static variable in class net.kyori.adventure.internal.properties.AdventureProperties
-
Property for specifying the default translation locale.
- defaultLocale(Locale) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Sets the default locale used by this registry.
- deleteMessage(SignedMessage) - Method in interface net.kyori.adventure.audience.Audience
-
Requests deletion of a message with the provided
SignedMessage
's signature. - deleteMessage(SignedMessage.Signature) - Method in interface net.kyori.adventure.audience.Audience
-
Requests deletion of a message with the provided
SignedMessage.Signature
. - deleteMessage(SignedMessage.Signature) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- deleteMessage(SignedMessage.Signature) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- DEPTH_FIRST - Static variable in interface net.kyori.adventure.text.ComponentIteratorType
-
A depth-first iteration.
- deseializeOrNull(R) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Deprecated.for removal since 4.8.0, use
ComponentSerializer.deserializeOrNull(Object)
instead. - deserialize(R) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Deserialize a component from input of type
R
. - deserialize(S) - Method in interface net.kyori.adventure.text.serializer.ComponentDecoder
-
Deserialize a component from input of type
S
. - deserializeOr(R, O) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Deserialize a component from input of type
R
. - deserializeOr(S, O) - Method in interface net.kyori.adventure.text.serializer.ComponentDecoder
-
Deserialize a component from input of type
S
. - deserializeOrNull(R) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Deserialize a component from input of type
R
. - deserializeOrNull(S) - Method in interface net.kyori.adventure.text.serializer.ComponentDecoder
-
Deserialize a component from input of type
S
. - destination() - Method in interface net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Conversion
-
The destination type.
- detectCycle(Component) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.7.0, with no replacement - this method is not necessary due to the fact
Component
s are immutable - DISCARDED - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that this resource pack did not have issues, but was not applied due to a failure in another server resource pack.
- DISPLAY_NAME - Static variable in interface net.kyori.adventure.identity.Identity
-
A pointer to a display name.
- DOWNLOADED - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the resource pack has been successfully downloaded.
- duration(long) - Static method in interface net.kyori.adventure.util.Ticks
-
Converts ticks into a
Duration
.
E
- edit(Consumer<Style.Builder>) - Method in interface net.kyori.adventure.text.format.Style
-
Edits this style.
- edit(Consumer<Style.Builder>, Style.Merge.Strategy) - Method in interface net.kyori.adventure.text.format.Style
-
Edits this style.
- EMOTE_COMMAND - Static variable in interface net.kyori.adventure.chat.ChatType
-
A message sent as a result of using the
/me
command. - empty() - Static method in interface net.kyori.adventure.audience.Audience
-
Gets an audience that does nothing.
- empty() - Static method in interface net.kyori.adventure.pointer.Pointers
-
Gets an empty pointers collection.
- empty() - Static method in interface net.kyori.adventure.text.Component
-
Gets an empty component.
- empty() - Static method in interface net.kyori.adventure.text.format.Style
-
Gets an empty style.
- empty() - Static method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Get an empty inheritance aware map.
- encode(D) - Method in interface net.kyori.adventure.util.Codec
-
Encodes.
- encode(D) - Method in interface net.kyori.adventure.util.Codec.Encoder
-
Encodes.
- encode(T, Codec<? super T, String, ?, EX>) - Static method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
-
Encodes
nbt
usingcodec
. - entityNBT() - Static method in interface net.kyori.adventure.text.Component
-
Creates an entity NBT component builder.
- entityNBT(String, String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a entity NBT component with a position.
- entityNBT(Consumer<? super EntityNBTComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a entity NBT component by applying configuration from
consumer
. - EntityNBTComponent - Interface in net.kyori.adventure.text
-
Given a Minecraft selector, this component reads the NBT of the associated entity and displays that information.
- EntityNBTComponent.Builder - Interface in net.kyori.adventure.text
-
An entity NBT component builder.
- enumSet(Class<E>, E...) - Static method in class net.kyori.adventure.util.MonkeyBars
-
Creates a set from an array of enum constants.
- enumSet(Class<E>, E...) - Static method in class net.kyori.adventure.util.ShadyPines
-
Deprecated.for removal since 4.8.0, use
MonkeyBars.enumSet(Class, Enum[])
- equals(double, double) - Static method in class net.kyori.adventure.util.ShadyPines
-
Checks if
a
is equal tob
. - equals(float, float) - Static method in class net.kyori.adventure.util.ShadyPines
-
Checks if
a
is equal tob
. - equals(Object) - Method in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- equals(Object) - Method in class net.kyori.adventure.text.event.ClickEvent
- equals(Object) - Method in class net.kyori.adventure.text.event.HoverEvent
- equals(Object) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
- equals(Object) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
- EQUALS - Static variable in interface net.kyori.adventure.text.Component
-
A predicate that checks equality of two
Component
s usingObjects.equals(Object, Object)
. - EQUALS_IDENTITY - Static variable in interface net.kyori.adventure.text.Component
-
A predicate that checks equality of two
Component
s using identity equality. - EVENTS - Enum constant in enum net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.clickEvent()
andStyle.hoverEvent()
. - examinableProperties() - Method in interface net.kyori.adventure.chat.ChatType.Bound
- examinableProperties() - Method in interface net.kyori.adventure.chat.ChatType
- examinableProperties() - Method in interface net.kyori.adventure.chat.SignedMessage
- examinableProperties() - Method in interface net.kyori.adventure.chat.SignedMessage.Signature
- examinableProperties() - Method in interface net.kyori.adventure.identity.Identity
- examinableProperties() - Method in interface net.kyori.adventure.pointer.Pointer
- examinableProperties() - Method in interface net.kyori.adventure.text.BlockNBTComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.Component
- examinableProperties() - Method in interface net.kyori.adventure.text.EntityNBTComponent
- examinableProperties() - Method in class net.kyori.adventure.text.event.ClickEvent
- examinableProperties() - Method in class net.kyori.adventure.text.event.HoverEvent
- examinableProperties() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
- examinableProperties() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
- examinableProperties() - Method in class net.kyori.adventure.text.format.NamedTextColor
- examinableProperties() - Method in interface net.kyori.adventure.text.format.TextColor
- examinableProperties() - Method in interface net.kyori.adventure.text.format.TextDecorationAndState
- examinableProperties() - Method in interface net.kyori.adventure.text.KeybindComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.NBTComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.ScoreComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.SelectorComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.StorageNBTComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.TextComponent
- examinableProperties() - Method in interface net.kyori.adventure.text.TranslatableComponent
- examinableProperties() - Method in interface net.kyori.adventure.util.HSVLike
F
- fadeIn() - Method in interface net.kyori.adventure.title.Title.Times
-
Gets the time the title will fade-in.
- fadeOut() - Method in interface net.kyori.adventure.title.Title.Times
-
Gets the time the title will fade-out.
- FAILED_DOWNLOAD - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the download failed for some other reason.
- FAILED_RELOAD - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the client's resource manager reload failed.
- fallback() - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Gets the translation fallback text for this component.
- fallback(String) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation fallback text.
- fallback(String) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation fallback text for this component.
- fallbackString() - Method in interface net.kyori.adventure.text.VirtualComponentRenderer
-
Get a fallback value for when this component has been serialized without being rendered.
- FALSE - Enum constant in enum net.kyori.adventure.text.format.TextDecoration.State
-
State describing a
false
value. - FALSE - Enum constant in enum net.kyori.adventure.util.TriState
-
State describing a
false
value. - filter(Predicate<T>) - Method in interface net.kyori.adventure.text.event.ClickCallback
-
Filter audiences that receive this click callback.
- filter(Predicate<T>, Consumer<? super Audience>) - Method in interface net.kyori.adventure.text.event.ClickCallback
-
Filter audiences that receive this click callback.
- filterAudience(Predicate<? super Audience>) - Method in interface net.kyori.adventure.audience.Audience
-
Filters this audience.
- filterAudience(Predicate<? super Audience>) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- filterAudience(Predicate<? super Audience>) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- flags() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Gets the flags.
- flags(Set<BossBar.Flag>) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Sets the flags.
- flatten(Component, FlattenerListener) - Method in interface net.kyori.adventure.text.flattener.ComponentFlattener
-
Perform a flattening on the component, providing output to the
listener
. - FlattenerListener - Interface in net.kyori.adventure.text.flattener
-
A listener accepting styled information from flattened components.
- font() - Method in interface net.kyori.adventure.text.Component
-
Gets the font.
- font() - Method in interface net.kyori.adventure.text.format.Style
-
Gets the font.
- font() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the font.
- font(Key) - Method in interface net.kyori.adventure.text.Component
-
Sets the font.
- font(Key) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the font of this component.
- font(Key) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the font.
- font(Key) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the font.
- font(Key) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the font.
- FONT - Enum constant in enum net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.font()
. - forEachAudience(Consumer<? super Audience>) - Method in interface net.kyori.adventure.audience.Audience
-
Executes an action against all audiences.
- forEachAudience(Consumer<? super Audience>) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- forEachAudience(Consumer<? super Audience>) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- forEachListener(Consumer<L>) - Method in class net.kyori.adventure.util.Listenable
-
Process an action for each listener.
- ForwardingAudience - Interface in net.kyori.adventure.audience
-
A receiver that wraps one or more receivers.
- ForwardingAudience.Single - Interface in net.kyori.adventure.audience
-
An audience that forwards everything to a single other audience.
- ForwardingIterator<T> - Class in net.kyori.adventure.util
-
An iterable that forwards the
ForwardingIterator.iterator()
andForwardingIterator.spliterator()
calls to somesuppliers
. - ForwardingIterator(Supplier<Iterator<T>>, Supplier<Spliterator<T>>) - Constructor for class net.kyori.adventure.util.ForwardingIterator
-
Creates a new forwarding iterable.
- forwards() - Method in interface net.kyori.adventure.text.BlockNBTComponent.LocalPos
-
Gets the forwards value.
- fromCSSHexString(String) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Create a color from a CSS hex string (
#rrggbb
or#rgb
). - fromHexString(String) - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Attempt to parse a shadow colour from a
#
-prefixed hex string. - fromHexString(String) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Create a new color from a hex string.
- fromRGB(int, int, int) - Static method in interface net.kyori.adventure.util.HSVLike
-
Creates a new HSVLike from the given red, green, and blue color components.
- fromString(String) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.Pos
-
Attempt to parse a position from the input string.
G
- get() - Static method in interface net.kyori.adventure.translation.GlobalTranslator
-
Deprecated.for removal since 4.10.0, use
GlobalTranslator.translator()
instead. - get() - Static method in class net.kyori.adventure.util.UTF8ResourceBundleControl
-
Gets the shared instance.
- get(Class<? extends C>) - Method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Get the applicable value for the provided class.
- get(BossBar, Class<I>) - Static method in interface net.kyori.adventure.bossbar.BossBarImplementation
-
Gets an implementation, and casts it to
type
. - get(Pointer<T>) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- get(Pointer<T>) - Method in interface net.kyori.adventure.pointer.Pointered
-
Gets the value of
pointer
. - get(Pointer<T>) - Method in interface net.kyori.adventure.pointer.Pointers
-
Gets the value of
pointer
. - get(Codec<T, String, DX, ?>) - Method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
-
Gets the held value as a binary tag.
- getMessage(Throwable) - Static method in interface net.kyori.adventure.util.ComponentMessageThrowable
- getOrConvertMessage(Throwable) - Static method in interface net.kyori.adventure.util.ComponentMessageThrowable
- getOrDefault(Pointer<T>, T) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- getOrDefault(Pointer<T>, T) - Method in interface net.kyori.adventure.pointer.Pointered
-
Gets the value of
pointer
. - getOrDefault(Pointer<T>, T) - Method in interface net.kyori.adventure.pointer.Pointers
-
Gets the value of
pointer
. - getOrDefaultFrom(Pointer<T>, Supplier<? extends T>) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- getOrDefaultFrom(Pointer<T>, Supplier<? extends T>) - Method in interface net.kyori.adventure.pointer.Pointered
-
Gets the value of
pointer
. - getOrDefaultFrom(Pointer<T>, Supplier<? extends T>) - Method in interface net.kyori.adventure.pointer.Pointers
-
Gets the value of
pointer
. - GlobalTranslator - Interface in net.kyori.adventure.translation
-
A global source of translations.
- GOLD - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
gold
colour. - GRAY - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
gray
colour. - green() - Method in interface net.kyori.adventure.text.format.ShadowColor
-
Get the green component of the shadow colour.
- green() - Method in interface net.kyori.adventure.text.format.TextColor
-
Get the green component of the text colour.
- green() - Method in interface net.kyori.adventure.util.RGBLike
-
Gets the green component.
- GREEN - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
Green.
- GREEN - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
green
colour.
H
- h() - Method in interface net.kyori.adventure.util.HSVLike
-
Gets the hue component.
- hasAnyTranslations() - Method in interface net.kyori.adventure.translation.Translator
-
Checks if this translator has any translations.
- hasDecoration(TextDecoration) - Method in interface net.kyori.adventure.text.Component
-
Tests if this component has a decoration.
- hasDecoration(TextDecoration) - Method in interface net.kyori.adventure.text.format.Style
-
Tests if this style has a decoration.
- hasDecoration(TextDecoration) - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Tests if this stylable has a decoration.
- hasFlag(BossBar.Flag) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Checks if this bossbar has a flag.
- hash() - Method in interface net.kyori.adventure.resource.ResourcePackInfo
-
Gets the SHA-1 hash.
- hash(String) - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
-
Sets the hash.
- hashCode() - Method in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- hashCode() - Method in class net.kyori.adventure.text.event.ClickEvent
- hashCode() - Method in class net.kyori.adventure.text.event.HoverEvent
- hashCode() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
- hashCode() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
- hasStyling() - Method in interface net.kyori.adventure.text.Component
-
Tests if this component has any styling.
- HEX_CHARACTER - Static variable in interface net.kyori.adventure.text.format.TextColor
-
The hex character.
- HEX_PREFIX - Static variable in interface net.kyori.adventure.text.format.TextColor
-
The hex character, in
String
format. - hideBossBar(BossBar) - Method in interface net.kyori.adventure.audience.Audience
-
Hides a boss bar.
- hideBossBar(BossBar) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- hideBossBar(BossBar) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- HOSTILE - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- hoverEvent() - Method in interface net.kyori.adventure.text.Component
-
Gets the hover event of this component.
- hoverEvent() - Method in interface net.kyori.adventure.text.format.Style
-
Gets the hover event.
- hoverEvent() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the hover event.
- hoverEvent(HoverEvent.Action<V>, V) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event.
- hoverEvent(HoverEventSource<?>) - Method in interface net.kyori.adventure.text.Component
-
Sets the hover event of this component.
- hoverEvent(HoverEventSource<?>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the hover event of this component.
- hoverEvent(HoverEventSource<?>) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the hover event.
- hoverEvent(HoverEventSource<?>) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the hover event.
- hoverEvent(HoverEventSource<?>) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the hover event.
- hoverEvent(HoverEventSource<?>) - Method in interface net.kyori.adventure.text.ScopedComponent
- HoverEvent<V> - Class in net.kyori.adventure.text.event
-
A hover event.
- HoverEvent.Action<V> - Class in net.kyori.adventure.text.event
-
An enumeration of hover event actions.
- HoverEvent.ShowEntity - Class in net.kyori.adventure.text.event
-
The value of a
show_entity
hover event. - HoverEvent.ShowItem - Class in net.kyori.adventure.text.event
-
The value of a
show_item
hover event. - HoverEventSource<V> - Interface in net.kyori.adventure.text.event
-
Something that can provide a
HoverEvent
. - hsvLike(float, float, float) - Static method in interface net.kyori.adventure.util.HSVLike
-
Creates a new HSVLike.
- HSVLike - Interface in net.kyori.adventure.util
-
Something that can provide hue, saturation, and value color components.
I
- id() - Method in interface net.kyori.adventure.resource.ResourcePackInfo
-
Gets the id.
- id() - Method in interface net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Provider
-
An identifier for this provider.
- id() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Gets the id.
- id(UUID) - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
-
Sets the id.
- id(UUID) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Sets the id.
- Identified - Interface in net.kyori.adventure.identity
-
Something that can be identified by an
Identity
. - identity() - Method in interface net.kyori.adventure.identity.Identified
-
Gets the identity.
- identity() - Method in interface net.kyori.adventure.identity.Identity
- identity(UUID) - Static method in interface net.kyori.adventure.identity.Identity
-
Creates an identity.
- Identity - Interface in net.kyori.adventure.identity
-
An identity used to track the sender of messages for the social interaction features introduced in Minecraft: Java Edition 1.16.4.
- IF_ABSENT_ON_TARGET - Enum constant in enum net.kyori.adventure.text.format.Style.Merge.Strategy
-
Merge onto target when not already set on target.
- INCLUDE_HOVER_SHOW_ENTITY_NAME - Enum constant in enum net.kyori.adventure.text.ComponentIteratorFlag
-
Includes the name of entities inside
entity
hover events. - INCLUDE_HOVER_SHOW_TEXT_COMPONENT - Enum constant in enum net.kyori.adventure.text.ComponentIteratorFlag
-
Includes the components inside
text
hover events. - INCLUDE_TRANSLATABLE_COMPONENT_ARGUMENTS - Enum constant in enum net.kyori.adventure.text.ComponentIteratorFlag
-
Includes the arguments of
translatable components
. - Index<K,
V> - Class in net.kyori.adventure.util -
A bi-directional map in which keys and values must be unique.
- InheritanceAwareMap<C,
V> - Interface in net.kyori.adventure.util -
A map type that will traverse class hierarchy to find a value for a key.
- InheritanceAwareMap.Builder<C,
V> - Interface in net.kyori.adventure.util -
A builder for inheritance-aware maps.
- insertion() - Method in interface net.kyori.adventure.text.Component
-
Gets the string to be inserted when this component is shift-clicked.
- insertion() - Method in interface net.kyori.adventure.text.format.Style
-
Gets the string to be inserted when this style is shift-clicked.
- insertion() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the string to be inserted when this stylable is shift-clicked.
- insertion(String) - Method in interface net.kyori.adventure.text.Component
-
Sets the string to be inserted when this component is shift-clicked.
- insertion(String) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the string to be inserted when this component is shift-clicked.
- insertion(String) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Sets the string to be inserted.
- insertion(String) - Method in interface net.kyori.adventure.text.format.Style
-
Sets the string to be inserted when this style is shift-clicked.
- insertion(String) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the string to be inserted when this object (
T
) is shift-clicked. - insertion(String) - Method in interface net.kyori.adventure.text.ScopedComponent
- INSERTION - Enum constant in enum net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.insertion()
. - intermediate() - Method in enum net.kyori.adventure.resource.ResourcePackStatus
-
Whether, after receiving this status, further status events might occur.
- Internals - Class in net.kyori.adventure.internal
-
Utilities internal to Adventure.
- interpret() - Method in interface net.kyori.adventure.text.NBTComponent
-
Gets if we should be interpreting.
- interpret(boolean) - Method in interface net.kyori.adventure.text.NBTComponent
-
Sets if we should be interpreting.
- interpret(boolean) - Method in interface net.kyori.adventure.text.NBTComponentBuilder
-
Sets whether to interpret.
- IntFunction2<R> - Interface in net.kyori.adventure.util
-
A function that takes two
int
s as input and produces aR
result. - INVALID_URL - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the provided pack URL could not be parsed.
- IS_NOT_EMPTY - Static variable in interface net.kyori.adventure.text.Component
-
A predicate that excludes
Component.empty()
. - isEmpty() - Method in interface net.kyori.adventure.text.format.Style
-
Tests if this style is empty.
- isSystem() - Method in interface net.kyori.adventure.chat.SignedMessage
-
Checks if this message is a system message.
- ITALIC - Enum constant in enum net.kyori.adventure.text.format.TextDecoration
-
A decoration which makes text appear in italics.
- item() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Gets the item.
- item(Key) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Sets the item.
- iterable(ComponentIteratorType, Set<ComponentIteratorFlag>) - Method in interface net.kyori.adventure.text.Component
-
Returns an iterable view of this component.
- iterable(ComponentIteratorType, ComponentIteratorFlag...) - Method in interface net.kyori.adventure.text.Component
-
Returns an iterable view of this component.
- iterator() - Method in class net.kyori.adventure.util.ForwardingIterator
- iterator(ComponentIteratorType, Set<ComponentIteratorFlag>) - Method in interface net.kyori.adventure.text.Component
-
Returns an iterator for this component.
- iterator(ComponentIteratorType, ComponentIteratorFlag...) - Method in interface net.kyori.adventure.text.Component
-
Returns an iterator for this component.
J
- join(ComponentLike, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.9.0, use
Component.join(JoinConfiguration, ComponentLike...)
withJoinConfiguration.separator(ComponentLike)
instead. - join(ComponentLike, Iterable<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.9.0, use
Component.join(JoinConfiguration, Iterable)
withJoinConfiguration.separator(ComponentLike)
instead. - join(JoinConfiguration.Builder, Iterable<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Joins
components
using the configuration inconfigBuilder
. - join(JoinConfiguration.Builder, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Joins
components
using the configuration inconfigBuilder
. - join(JoinConfiguration, Iterable<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Joins
components
using the configuration inconfig
. - join(JoinConfiguration, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Joins
components
using the configuration inconfig
. - JoinConfiguration - Interface in net.kyori.adventure.text
-
A configuration for how a series of components can be joined.
- JoinConfiguration.Builder - Interface in net.kyori.adventure.text
-
A builder for join configurations.
K
- key() - Method in interface net.kyori.adventure.pointer.Pointer
-
Gets the key.
- key() - Method in interface net.kyori.adventure.sound.Sound.Type
-
Gets the key.
- key() - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Gets the translation key.
- key(String) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation key.
- key(String) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation key.
- key(Translatable) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation key.
- key(Translatable) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation key.
- key(V) - Method in class net.kyori.adventure.util.Index
-
Gets the key for a value.
- keybind() - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component builder.
- keybind() - Method in interface net.kyori.adventure.text.KeybindComponent
-
Gets the keybind.
- keybind(String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind.
- keybind(String) - Method in interface net.kyori.adventure.text.KeybindComponent.Builder
-
Sets the keybind.
- keybind(String) - Method in interface net.kyori.adventure.text.KeybindComponent
-
Sets the keybind.
- keybind(String, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind and styling.
- keybind(String, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind, and optional color.
- keybind(String, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind, and optional color and decorations.
- keybind(String, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind, and optional color and decorations.
- keybind(Consumer<? super KeybindComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component by applying configuration from
consumer
. - keybind(KeybindComponent.KeybindLike) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind.
- keybind(KeybindComponent.KeybindLike) - Method in interface net.kyori.adventure.text.KeybindComponent.Builder
-
Sets the keybind.
- keybind(KeybindComponent.KeybindLike) - Method in interface net.kyori.adventure.text.KeybindComponent
-
Sets the keybind.
- keybind(KeybindComponent.KeybindLike, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind and styling.
- keybind(KeybindComponent.KeybindLike, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind, and optional color.
- keybind(KeybindComponent.KeybindLike, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind, and optional color and decorations.
- keybind(KeybindComponent.KeybindLike, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a keybind component with a keybind, and optional color and decorations.
- KeybindComponent - Interface in net.kyori.adventure.text
-
A
Component
that displays the client's current keybind for the supplied action. - KeybindComponent.Builder - Interface in net.kyori.adventure.text
-
A keybind component builder.
- KeybindComponent.KeybindLike - Interface in net.kyori.adventure.text
-
Something that can provide a keybind identifier.
- keyOr(V, K) - Method in class net.kyori.adventure.util.Index
-
Gets a key by its value or returns a fallback key.
- keyOrThrow(V) - Method in class net.kyori.adventure.util.Index
-
Gets the key for a value or throws an exception.
- keys() - Method in class net.kyori.adventure.util.Index
-
Gets the keys.
- keyToValue() - Method in class net.kyori.adventure.util.Index
-
Get an unmodifiable mapping of index entries from key to value.
- knownProviders() - Static method in class net.kyori.adventure.text.event.DataComponentValueConverterRegistry
-
Get the id's of all registered conversion providers.
L
- lastSeparator() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the last separator of this join configuration.
- lastSeparator(ComponentLike) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the last separator of this join configuration builder.
- lastSeparatorIfSerial() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the last separator that will be used instead of the normal last separator in the case where there are more than two components being joined.
- lastSeparatorIfSerial(ComponentLike) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the last separator that will be used instead of the normal last separator in the case where there are more than two components being joined.
- left() - Method in interface net.kyori.adventure.text.BlockNBTComponent.LocalPos
-
Gets the left value.
- lerp(float, ARGBLike, ARGBLike) - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Linearly interpolates between
a
andb
byt
. - lerp(float, RGBLike, RGBLike) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Linearly interpolates between
a
andb
byt
. - lifetime() - Method in interface net.kyori.adventure.text.event.ClickCallback.Options
-
How long this callback will last until it is made invalid.
- lifetime(TemporalAmount) - Method in interface net.kyori.adventure.text.event.ClickCallback.Options.Builder
-
Set how long the callback should last from sending.
- LIGHT_PURPLE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
light_purple
colour. - linear(ComponentBuilderApplicable...) - Static method in class net.kyori.adventure.text.LinearComponents
-
Styles apply to all components after them until a conflicting style is discovered
- LinearComponents - Class in net.kyori.adventure.text
-
A utility class that allows
components
to be created wherestyles
can be specified inline. - Listenable<L> - Class in net.kyori.adventure.util
-
Something that has listeners.
- Listenable() - Constructor for class net.kyori.adventure.util.Listenable
- LOCALE - Static variable in interface net.kyori.adventure.identity.Identity
-
A pointer to a
Locale
. - localPos(double, double, double) - Method in interface net.kyori.adventure.text.BlockNBTComponent.Builder
-
Sets the block position to a
BlockNBTComponent.LocalPos
with the given values. - localPos(double, double, double) - Method in interface net.kyori.adventure.text.BlockNBTComponent
-
Sets the block position to a
BlockNBTComponent.LocalPos
with the given coordinates. - localPos(double, double, double) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.LocalPos
-
Creates a local position with the given values.
M
- mapChildren(Function<BuildableComponent<?, ?>, ? extends BuildableComponent<?, ?>>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Replaces each child of this component with the resultant component from the function.
- mapChildrenDeep(Function<BuildableComponent<?, ?>, ? extends BuildableComponent<?, ?>>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Replaces each child and sub-child of this component with the resultant component of the function.
- mapContext(Function<T, C>) - Method in interface net.kyori.adventure.text.renderer.ComponentRenderer
-
Return a
ComponentRenderer
that takes a different context type. - mapper(Class<T>, Function<T, String>) - Method in interface net.kyori.adventure.text.flattener.ComponentFlattener.Builder
-
Register a type of component to be handled.
- MASTER - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- match(String) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Compile the provided input as a
Pattern
and set it as the match to test against. - match(Pattern) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Match the provided
Pattern
. - matchLiteral(String) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Set this builder to match only the literal string provided.
- matchPattern() - Method in interface net.kyori.adventure.text.TextReplacementConfig
-
Get the pattern that will be searched for.
- MAX_PERCENT - Static variable in interface net.kyori.adventure.bossbar.BossBar
-
Deprecated.for removal since 4.2.0, use
BossBar.MAX_PROGRESS
- MAX_PROGRESS - Static variable in interface net.kyori.adventure.bossbar.BossBar
-
The maximum value the progress can be.
- merge(Style) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Merges from another style into this style.
- merge(Style) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Merges from another style into this style.
- merge(Style, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Style.Merge) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy, Style.Merge) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy, Style.Merge...) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Merges from another style into this style.
- merge(Style, Style.Merge.Strategy, Style.Merge...) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merge(Style, Style.Merge...) - Method in interface net.kyori.adventure.text.format.Style.Builder
-
Merges from another style into this style.
- merge(Style, Style.Merge...) - Method in interface net.kyori.adventure.text.format.Style
-
Merges from another style into this style.
- merges(Style.Merge...) - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Creates a merge set.
- mergeStyle(Component) - Method in interface net.kyori.adventure.text.Component
-
Merges from another style into this component's style.
- mergeStyle(Component) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Merges styling from another component into this component.
- mergeStyle(Component) - Method in interface net.kyori.adventure.text.ScopedComponent
- mergeStyle(Component, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.Component
-
Merges from another style into this component's style.
- mergeStyle(Component, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Merges styling from another component into this component.
- mergeStyle(Component, Set<Style.Merge>) - Method in interface net.kyori.adventure.text.ScopedComponent
- mergeStyle(Component, Style.Merge...) - Method in interface net.kyori.adventure.text.Component
-
Merges from another style into this component's style.
- mergeStyle(Component, Style.Merge...) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Merges styling from another component into this component.
- mergeStyle(Component, Style.Merge...) - Method in interface net.kyori.adventure.text.ScopedComponent
- mergeStyle(Component, B, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- mergeStyleAndOptionallyDeepRender(Component, B, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- message() - Method in interface net.kyori.adventure.chat.SignedMessage
-
The plain string message.
- MessageType - Enum in net.kyori.adventure.audience
-
Deprecated.for removal since 4.12.0, use separate methods on
Audience
for sending player or system messages - MIN_PERCENT - Static variable in interface net.kyori.adventure.bossbar.BossBar
-
Deprecated.for removal since 4.2.0, use
BossBar.MIN_PROGRESS
- MIN_PROGRESS - Static variable in interface net.kyori.adventure.bossbar.BossBar
-
The minimum value the progress can be.
- MonkeyBars - Class in net.kyori.adventure.util
-
Collection
related utilities. - MSG_COMMAND_INCOMING - Static variable in interface net.kyori.adventure.chat.ChatType
-
A message received as a result of using the
/msg
command. - MSG_COMMAND_OUTGOING - Static variable in interface net.kyori.adventure.chat.ChatType
-
A message sent as a result of using the
/msg
command. - MUSIC - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- MutableStyleSetter<T extends MutableStyleSetter<?>> - Interface in net.kyori.adventure.text.format
-
Writes style properties to a mutable object.
N
- Nag - Exception in net.kyori.adventure.util
-
A nag.
- Nag(String) - Constructor for exception net.kyori.adventure.util.Nag
-
Constructs with a message.
- name() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Gets the name.
- name() - Method in interface net.kyori.adventure.chat.ChatType.Bound
-
Get the name component.
- name() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the name.
- name() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Gets the name.
- name() - Method in interface net.kyori.adventure.text.ScoreComponent
-
Gets the score name.
- name() - Method in interface net.kyori.adventure.translation.Translator
-
A key identifying this translation source.
- name(String) - Method in interface net.kyori.adventure.text.ScoreComponent.Builder
-
Sets the score name.
- name(String) - Method in interface net.kyori.adventure.text.ScoreComponent
-
Sets the score name.
- name(Component) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Sets the name.
- name(ComponentLike) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Sets the name.
- name(Component) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Sets the name.
- NAME - Static variable in interface net.kyori.adventure.identity.Identity
-
A pointer to a name.
- named(Supplier<? extends Sound.Type>) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds named
sound
. - named(Key) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds named
sound
. - named(Sound.Type) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds named
sound
. - namedColor(int) - Static method in class net.kyori.adventure.text.format.NamedTextColor
-
Gets the named color exactly matching the provided color.
- namedOnSource(Supplier<? extends Sound.Type>, Sound.Source) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds named
name
on sourcesource
. - namedOnSource(Key, Sound.Source) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds named
name
on sourcesource
. - namedOnSource(Sound.Type, Sound.Source) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds named
name
on sourcesource
. - NamedTextColor - Class in net.kyori.adventure.text.format
-
The named text colours in Minecraft: Java Edition.
- NAMES - Static variable in enum net.kyori.adventure.bossbar.BossBar.Color
-
The name map.
- NAMES - Static variable in enum net.kyori.adventure.bossbar.BossBar.Flag
-
The name map.
- NAMES - Static variable in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
The name map.
- NAMES - Static variable in enum net.kyori.adventure.sound.Sound.Source
-
The name map.
- NAMES - Static variable in enum net.kyori.adventure.text.event.ClickEvent.Action
-
The name map.
- NAMES - Static variable in class net.kyori.adventure.text.event.HoverEvent.Action
-
The name map.
- NAMES - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
An index of name to color.
- NAMES - Static variable in enum net.kyori.adventure.text.format.TextDecoration
-
The name map.
- NAMESPACE - Static variable in class net.kyori.adventure.Adventure
-
The namespace.
- nbt() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.since Minecraft 1.20.5 and replaced with data components, not scheduled for removal
- nbt(BinaryTagHolder) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.since Minecraft 1.20.5 and replaced with data components, not scheduled for removal
- nbt(C, B, O) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- NBTComponent<C extends NBTComponent<C,
B>, B extends NBTComponentBuilder<C, B>> - Interface in net.kyori.adventure.text -
A component that can display NBT fetched from different locations, optionally trying to interpret the NBT as JSON using the
net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
to convert the JSON to aComponent
. - NBTComponentBuilder<C extends NBTComponent<C,
B>, B extends NBTComponentBuilder<C, B>> - Interface in net.kyori.adventure.text -
An NBT component builder.
- nbtPath() - Method in interface net.kyori.adventure.text.NBTComponent
-
Gets the NBT path.
- nbtPath(String) - Method in interface net.kyori.adventure.text.NBTComponent
-
Sets the NBT path.
- nbtPath(String) - Method in interface net.kyori.adventure.text.NBTComponentBuilder
-
Sets the NBT path content.
- nearestColorTo(List<C>, TextColor) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Find the colour nearest to the provided colour.
- nearestTo(TextColor) - Static method in class net.kyori.adventure.text.format.NamedTextColor
-
Find the named colour nearest to the provided colour.
- net.kyori.adventure - package net.kyori.adventure
-
Adventure: a serverside user interface library for Minecraft: Java Edition.
- net.kyori.adventure.audience - package net.kyori.adventure.audience
-
A receiver of Minecraft media.
- net.kyori.adventure.bossbar - package net.kyori.adventure.bossbar
-
Boss bars.
- net.kyori.adventure.builder - package net.kyori.adventure.builder
-
Common builder-related gizmos.
- net.kyori.adventure.chat - package net.kyori.adventure.chat
-
Chat-related data.
- net.kyori.adventure.identity - package net.kyori.adventure.identity
-
Identity information used to track the sender of messages for the social interaction features introduced in Minecraft: Java Edition 1.16.4.
- net.kyori.adventure.internal - package net.kyori.adventure.internal
-
Internal things, not for public use.
- net.kyori.adventure.internal.properties - package net.kyori.adventure.internal.properties
-
Internal properties.
- net.kyori.adventure.inventory - package net.kyori.adventure.inventory
-
Content that works on inventory items.
- net.kyori.adventure.nbt.api - package net.kyori.adventure.nbt.api
-
Holders of Named Binary Tags.
- net.kyori.adventure.permission - package net.kyori.adventure.permission
-
TriState
based permission checking. - net.kyori.adventure.pointer - package net.kyori.adventure.pointer
-
Key/Value based pointers to information.
- net.kyori.adventure.resource - package net.kyori.adventure.resource
-
Data for controlling resource packs.
- net.kyori.adventure.sound - package net.kyori.adventure.sound
-
Data for controlling sound playback.
- net.kyori.adventure.text - package net.kyori.adventure.text
-
Data for controlling components, their styles, and events.
- net.kyori.adventure.text.event - package net.kyori.adventure.text.event
-
Events that occur when players interact with components.
- net.kyori.adventure.text.flattener - package net.kyori.adventure.text.flattener
-
Flatteners to convert component trees into linear strings.
- net.kyori.adventure.text.format - package net.kyori.adventure.text.format
-
Formats which may be applied to components.
- net.kyori.adventure.text.renderer - package net.kyori.adventure.text.renderer
-
Component rendering.
- net.kyori.adventure.text.serializer - package net.kyori.adventure.text.serializer
-
Serialization and deserialization for components.
- net.kyori.adventure.title - package net.kyori.adventure.title
-
Data for controlling titles.
- net.kyori.adventure.translation - package net.kyori.adventure.translation
-
Translations and translation registries.
- net.kyori.adventure.util - package net.kyori.adventure.util
-
Miscellaneous utilities.
- NEUTRAL - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- NEVER - Enum constant in enum net.kyori.adventure.text.format.Style.Merge.Strategy
-
Never merges onto target.
- newBundle(String, Locale, String, ClassLoader, boolean) - Method in class net.kyori.adventure.util.UTF8ResourceBundleControl
- newline() - Static method in interface net.kyori.adventure.text.Component
-
Gets a text component with a new line character as the content.
- newlines() - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Provides a join configuration with no prefix or suffix that simply joins the components together using the
Component.newline()
component. - nil() - Static method in interface net.kyori.adventure.identity.Identity
-
Gets the
null
identity. - none() - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Return a shadow color that will disable the shadow on a component.
- nonEmptyArrayToList(Function<I, O>, I, I...) - Static method in class net.kyori.adventure.util.MonkeyBars
-
Create a list based on a first element plus array of additional elements.
- noOp() - Static method in interface net.kyori.adventure.resource.ResourcePackCallback
-
Create a pack callback that performs no operation.
- noSeparators() - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets a join configuration with no separators, prefix or suffix.
- NOT_SET - Enum constant in enum net.kyori.adventure.text.format.TextDecoration.State
-
State describing the absence of a value.
- NOT_SET - Enum constant in enum net.kyori.adventure.util.TriState
-
State describing the absence of a value.
- NOTCHED_10 - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
10
notches. - NOTCHED_12 - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
12
notches. - NOTCHED_20 - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
20
notches. - NOTCHED_6 - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
6
notches. - numeric(Number) - Static method in interface net.kyori.adventure.text.TranslationArgument
-
Create a numeric argument.
O
- OBFUSCATED - Enum constant in enum net.kyori.adventure.text.format.TextDecoration
-
A decoration which makes text obfuscated/unreadable.
- objective() - Method in interface net.kyori.adventure.text.ScoreComponent
-
Gets the objective name.
- objective(String) - Method in interface net.kyori.adventure.text.ScoreComponent.Builder
-
Sets the score objective.
- objective(String) - Method in interface net.kyori.adventure.text.ScoreComponent
-
Sets the score objective.
- of(double, double, double) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.LocalPos
-
Deprecated.for removal since 4.10.0, use
BlockNBTComponent.LocalPos.localPos(double, double, double)
instead. - of(float, float, float) - Static method in interface net.kyori.adventure.util.HSVLike
-
Deprecated.for removal since 4.10.0, use
HSVLike.hsvLike(float, float, float)
instead. - of(int, BlockNBTComponent.WorldPos.Coordinate.Type) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Deprecated.for removal since 4.10.0, use
BlockNBTComponent.WorldPos.Coordinate.coordinate(int, Coordinate.Type)
instead. - of(String) - Static method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
-
Deprecated.for removal since 4.10.0, use
BinaryTagHolder.binaryTagHolder(String)
instead. - of(Duration, Duration, Duration) - Static method in interface net.kyori.adventure.title.Title.Times
-
Deprecated.for removal since 4.10.0, use
Title.times()
- of(Keyed, int) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowItem.showItem(Keyed, int)
instead. - of(Keyed, int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowItem.showItem(Keyed, int, BinaryTagHolder)
instead. - of(Keyed, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowEntity.showEntity(Keyed, UUID)
instead. - of(Keyed, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowEntity.showEntity(Keyed, UUID, Component)
instead. - of(Key, int) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowItem.showItem(Key, int)
instead. - of(Key, int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowItem.showItem(Key, int, BinaryTagHolder)
instead. - of(Key, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowEntity.showEntity(Key, UUID)
instead. - of(Key, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Deprecated.for removal since 4.14.0, use
HoverEvent.ShowEntity.showEntity(Key, UUID, Component)
instead. - of(BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos
-
Deprecated.for removal since 4.10.0, use
BlockNBTComponent.WorldPos.worldPos(WorldPos.Coordinate, WorldPos.Coordinate, WorldPos.Coordinate)
instead. - of(Codec.Decoder<D, E, DX>, Codec.Encoder<D, E, EX>) - Static method in interface net.kyori.adventure.util.Codec
-
Deprecated.for removal since 4.10.0, use
Codec.codec(Codec.Decoder, Codec.Encoder)
instead. - of(Style.Merge...) - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Deprecated.for removal since 4.10.0, use
Style.Merge.merges(Style.Merge...)
instead. - ofChildren(ComponentLike...) - Static method in interface net.kyori.adventure.text.TextComponent
-
Deprecated.for removal since 4.9.0, use
Component.textOfChildren(ComponentLike...)
instead - ofExact(int) - Static method in class net.kyori.adventure.text.format.NamedTextColor
-
Deprecated.for removal since 4.10.0, use
NamedTextColor.namedColor(int)
instead - once() - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Only replace the first occurrence of the matched pattern.
- onTerminal(BiConsumer<UUID, Audience>, BiConsumer<UUID, Audience>) - Static method in interface net.kyori.adventure.resource.ResourcePackCallback
-
Create a pack callback that will only execute the provided functions when the pack application has completed, discarding all intermediate events.
- OPEN_FILE - Enum constant in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Opens a file when clicked.
- OPEN_URL - Enum constant in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Opens a url when clicked.
- openBook(Book) - Method in interface net.kyori.adventure.audience.Audience
-
Opens a book.
- openBook(Book) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- openBook(Book) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- openBook(Book.Builder) - Method in interface net.kyori.adventure.audience.Audience
-
Opens a book.
- openFile(String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that opens a file.
- openUrl(String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that opens a url.
- openUrl(URL) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that opens a url.
- optionallyRenderChildrenAppendAndBuild(List<Component>, B, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- overlay() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Gets the overlay.
- overlay(BossBar.Overlay) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Sets the overlay.
P
- packEventReceived(UUID, ResourcePackStatus, Audience) - Method in interface net.kyori.adventure.resource.ResourcePackCallback
-
Called when a pack event has been received.
- packs() - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
The resource packs to apply.
- packs(Iterable<? extends ResourcePackInfoLike>) - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
-
Set the resource packs to apply.
- packs(Iterable<? extends ResourcePackInfoLike>) - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Set the resource packs to apply.
- packs(ResourcePackInfoLike, ResourcePackInfoLike...) - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
-
Set the resource packs to apply.
- pages() - Method in interface net.kyori.adventure.inventory.Book
-
Gets the list of pages.
- pages(Collection<Component>) - Method in interface net.kyori.adventure.inventory.Book.Builder
-
Add pages to the book.
- pages(List<Component>) - Method in interface net.kyori.adventure.inventory.Book
-
Returns an updated book with the provided pages.
- pages(Component...) - Method in interface net.kyori.adventure.inventory.Book.Builder
-
Add pages to the book.
- pages(Component...) - Method in interface net.kyori.adventure.inventory.Book
-
Returns an updated book with the provided pages.
- parent(PointersSupplier<? super T>) - Method in interface net.kyori.adventure.pointer.PointersSupplier.Builder
-
Sets (or removes, if
null
) the parent pointer supplier that will be used to resolve pointers that are not supplied by this supplier. - parentStyle() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the style of the parent component that contains the joined components.
- parentStyle(Style) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the style of the parent component that contains the joined components.
- parseLocale(String) - Static method in interface net.kyori.adventure.translation.Translator
- part(TitlePart<T>) - Method in interface net.kyori.adventure.title.Title
-
Gets a part.
- pattern() - Method in interface net.kyori.adventure.text.SelectorComponent
-
Gets the selector pattern.
- pattern(String) - Method in interface net.kyori.adventure.text.SelectorComponent.Builder
-
Sets the selector pattern.
- pattern(String) - Method in interface net.kyori.adventure.text.SelectorComponent
-
Sets the selector pattern.
- PatternReplacementResult - Enum in net.kyori.adventure.text
-
A result for
Component.replaceText(TextReplacementConfig)
pattern-based replacements}. - percent() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Deprecated.for removal since 4.2.0, use
BossBar.progress()
- percent(float) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Deprecated.for removal since 4.2.0, use
BossBar.progress(float)
- PermissionChecker - Interface in net.kyori.adventure.permission
-
Something that has permissions.
- PINK - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
Pink.
- pitch() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the pitch.
- pitch(float) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
The pitch for this sound, indicating how high or low the sound can be heard.
- PlatformAPI - Annotation Type in net.kyori.adventure.util
-
Elements annotated with the
PlatformAPI
annotation are intended for platform implementations of the Adventure API only and should not be used by standard developers. - PLAY_BOSS_MUSIC - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Flag
-
If boss music should be played.
- PLAYER - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- playSound(Sound) - Method in interface net.kyori.adventure.audience.Audience
-
Plays a sound at the location of the recipient of the sound.
- playSound(Sound) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- playSound(Sound) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- playSound(Sound, double, double, double) - Method in interface net.kyori.adventure.audience.Audience
-
Plays a sound at a location.
- playSound(Sound, double, double, double) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- playSound(Sound, double, double, double) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- playSound(Sound, Sound.Emitter) - Method in interface net.kyori.adventure.audience.Audience
-
Plays a sound from an emitter, usually an entity.
- playSound(Sound, Sound.Emitter) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- playSound(Sound, Sound.Emitter) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- pointer(Class<V>, Key) - Static method in interface net.kyori.adventure.pointer.Pointer
-
Creates a pointer.
- Pointer<V> - Interface in net.kyori.adventure.pointer
-
A pointer to a resource.
- POINTER - Static variable in interface net.kyori.adventure.permission.PermissionChecker
-
A pointer to a permission predicate.
- Pointered - Interface in net.kyori.adventure.pointer
-
Something that can retrieve values based on a given
Pointer
. - pointers() - Method in interface net.kyori.adventure.audience.ForwardingAudience
- pointers() - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- pointers() - Method in interface net.kyori.adventure.pointer.Pointered
-
Gets the pointers for this object.
- Pointers - Interface in net.kyori.adventure.pointer
-
A collection of
pointers
. - Pointers.Builder - Interface in net.kyori.adventure.pointer
-
A builder of pointers.
- PointersSupplier<T> - Interface in net.kyori.adventure.pointer
-
A supplier of
Pointers
that allows for the implementation of pointers in a static context without having to manually create a new pointers instance for each instance of a given type. - PointersSupplier.Builder<T> - Interface in net.kyori.adventure.pointer
-
A builder for
PointersSupplier
. - popStyle(Style) - Method in interface net.kyori.adventure.text.flattener.FlattenerListener
-
Pop a pushed style.
- populate(Component, Deque<Component>, Set<ComponentIteratorFlag>) - Method in interface net.kyori.adventure.text.ComponentIteratorType
-
Populates a deque with the children of the provided component, based on the iterator type and flags.
- pos() - Method in interface net.kyori.adventure.text.BlockNBTComponent
-
Gets the block position.
- pos(BlockNBTComponent.Pos) - Method in interface net.kyori.adventure.text.BlockNBTComponent.Builder
-
Sets the block position.
- pos(BlockNBTComponent.Pos) - Method in interface net.kyori.adventure.text.BlockNBTComponent
-
Sets the block position.
- predicate() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the predicate of this join configuration.
- predicate(Predicate<ComponentLike>) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the predicate of this join configuration builder.
- prefix() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the prefix of this join configuration.
- prefix(ComponentLike) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the prefix of this join configuration builder.
- print(Nag) - Static method in exception net.kyori.adventure.util.Nag
-
Prints a nag.
- progress() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Gets the progress.
- progress(float) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Sets the progress.
- PROGRESS - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
A progress bar.
- prompt() - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Gets the prompt that will be provided when requesting these packs.
- prompt(Component) - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
-
Sets the prompt.
- property(String, Function<String, T>, T) - Static method in class net.kyori.adventure.internal.properties.AdventureProperties
-
Creates a new property.
- PURPLE - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
Purple.
- pushStyle(Style) - Method in interface net.kyori.adventure.text.flattener.FlattenerListener
-
Begin a region of style in the component.
- put(Class<? extends C>, V) - Method in interface net.kyori.adventure.util.InheritanceAwareMap.Builder
-
Put another value in this map.
- putAll(InheritanceAwareMap<? extends C, ? extends V>) - Method in interface net.kyori.adventure.util.InheritanceAwareMap.Builder
-
Put values from an existing inheritance-aware map into this map.
R
- readable() - Method in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Tests if this action is readable.
- readable() - Method in class net.kyori.adventure.text.event.HoverEvent.Action
-
Tests if this action is readable.
- RECORD - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- red() - Method in interface net.kyori.adventure.text.format.ShadowColor
-
Get the red component of the shadow colour.
- red() - Method in interface net.kyori.adventure.text.format.TextColor
-
Get the red component of the text colour.
- red() - Method in interface net.kyori.adventure.util.RGBLike
-
Gets the red component.
- RED - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
Red.
- RED - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
red
colour. - register(String, Locale, MessageFormat) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Registers a translation.
- registerAll(Locale, Path, boolean) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Registers a resource bundle of translations.
- registerAll(Locale, Map<String, MessageFormat>) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Registers a map of translations.
- registerAll(Locale, ResourceBundle, boolean) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Registers a resource bundle of translations.
- registerAll(Locale, Set<String>, Function<String, MessageFormat>) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Registers a resource bundle of translations.
- relative(int) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Creates a relative coordinate with the given value.
- RELATIVE - Enum constant in enum net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate.Type
-
A relative coordinate.
- relativeWorldPos(int, int, int) - Method in interface net.kyori.adventure.text.BlockNBTComponent.Builder
-
Sets the block position to an relative
BlockNBTComponent.WorldPos
with the given coordinates. - relativeWorldPos(int, int, int) - Method in interface net.kyori.adventure.text.BlockNBTComponent
-
Sets the block position to an relative
BlockNBTComponent.WorldPos
with the given coordinates. - remove(Class<? extends C>) - Method in interface net.kyori.adventure.util.InheritanceAwareMap.Builder
-
Remove a value in this map.
- removed() - Static method in interface net.kyori.adventure.text.event.DataComponentValue
-
Get a marker value to indicate that a data component's value should be removed.
- removeFlag(BossBar.Flag) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Removes a flag from this bossbar.
- removeFlags(Iterable<BossBar.Flag>) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Removes flags from this bossbar.
- removeFlags(BossBar.Flag...) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Removes flags from this bossbar.
- removeListener(BossBar.Listener) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Removes a listener.
- removeListener0(L) - Method in class net.kyori.adventure.util.Listenable
-
Removes a listener.
- removeResourcePacks(Iterable<UUID>) - Method in interface net.kyori.adventure.audience.Audience
-
Clear resource packs with the provided ids if they are present.
- removeResourcePacks(Iterable<UUID>) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- removeResourcePacks(Iterable<UUID>) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- removeResourcePacks(UUID, UUID...) - Method in interface net.kyori.adventure.audience.Audience
-
Clear resource packs with the provided ids if they are present.
- removeResourcePacks(UUID, UUID...) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- removeResourcePacks(UUID, UUID...) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- removeResourcePacks(ResourcePackInfoLike, ResourcePackInfoLike...) - Method in interface net.kyori.adventure.audience.Audience
-
Clear resource packs with the IDs used in the provided requests if they are present.
- removeResourcePacks(ResourcePackRequest) - Method in interface net.kyori.adventure.audience.Audience
-
Clear resource packs with the IDs used in the provided requests if they are present.
- removeResourcePacks(ResourcePackRequestLike) - Method in interface net.kyori.adventure.audience.Audience
-
Clear resource packs with the IDs used in the provided requests if they are present.
- removeSource(Translator) - Method in interface net.kyori.adventure.translation.GlobalTranslator
-
Removes a translation source.
- removeViewer(Audience) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Hide this bossbar from
viewer
. - render(Component, Locale) - Static method in interface net.kyori.adventure.translation.GlobalTranslator
-
Renders a component using the
global renderer
. - render(Component, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
- render(Component, C) - Method in interface net.kyori.adventure.text.renderer.ComponentRenderer
-
Renders a component.
- renderBlockNbt(BlockNBTComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a block NBT component.
- renderBlockNbt(BlockNBTComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderEntityNbt(EntityNBTComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders an entity NBT component.
- renderEntityNbt(EntityNBTComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderer() - Method in interface net.kyori.adventure.text.VirtualComponent
-
Gets the renderer.
- renderer() - Static method in interface net.kyori.adventure.translation.GlobalTranslator
-
Gets a renderer which uses the global source for translating.
- renderKeybind(KeybindComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a keybind component.
- renderKeybind(KeybindComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderScore(ScoreComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a score component.
- renderScore(ScoreComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderSelector(SelectorComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a selector component.
- renderSelector(SelectorComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderStorageNbt(StorageNBTComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a storage NBT component.
- renderStorageNbt(StorageNBTComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderText(TextComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a text component.
- renderText(TextComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderTranslatable(TranslatableComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a translatable component.
- renderTranslatable(TranslatableComponent, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- renderVirtual(VirtualComponent, C) - Method in class net.kyori.adventure.text.renderer.AbstractComponentRenderer
-
Renders a virtual component.
- replace() - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Whether to replace or add to existing resource packs.
- replace(boolean) - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
-
Set whether to replace or add to existing resource packs.
- replace(boolean) - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Set whether to replace or add to existing resource packs.
- REPLACE - Enum constant in enum net.kyori.adventure.text.PatternReplacementResult
-
Replace the current match.
- replaceFirstText(String, ComponentLike) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceFirstText(Pattern, Function<TextComponent.Builder, ComponentLike>) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replacement(String) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Supply a literal replacement for the matched pattern.
- replacement(BiFunction<MatchResult, TextComponent.Builder, ComponentLike>) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Supply a function that provides replacements for each match, with access to group information.
- replacement(Function<TextComponent.Builder, ComponentLike>) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Supply a function that provides replacements for each match.
- replacement(ComponentLike) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Supply a literal replacement for the matched pattern.
- replaceText(String, ComponentLike) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceText(String, ComponentLike, int) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceText(String, ComponentLike, IntFunction2<PatternReplacementResult>) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceText(Consumer<TextReplacementConfig.Builder>) - Method in interface net.kyori.adventure.text.Component
-
Finds and replaces any text with this or child
Component
s using the configured options. - replaceText(Pattern, Function<TextComponent.Builder, ComponentLike>) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceText(Pattern, Function<TextComponent.Builder, ComponentLike>, int) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceText(Pattern, Function<TextComponent.Builder, ComponentLike>, IntFunction2<PatternReplacementResult>) - Method in interface net.kyori.adventure.text.Component
-
Deprecated.for removal since 4.2.0, use
Component.replaceText(Consumer)
orComponent.replaceText(TextReplacementConfig)
instead. - replaceText(TextReplacementConfig) - Method in interface net.kyori.adventure.text.Component
-
Finds and replaces any text with this or child
Component
s using the provided options. - required() - Method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Gets whether the resource packs in this request are required.
- required(boolean) - Method in interface net.kyori.adventure.resource.ResourcePackRequest.Builder
-
Sets whether the resource pack is required or not.
- requiringPermission(String) - Method in interface net.kyori.adventure.text.event.ClickCallback
-
Require that audiences receiving this callback have a certain permission.
- requiringPermission(String, Consumer<? super Audience>) - Method in interface net.kyori.adventure.text.event.ClickCallback
-
Require that audiences receiving this callback have a certain permission.
- resetStyle() - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Resets all styling on this component.
- resetTitle() - Method in interface net.kyori.adventure.audience.Audience
-
Resets the title and timings back to their default.
- resetTitle() - Method in interface net.kyori.adventure.audience.ForwardingAudience
- resetTitle() - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- resolver(Pointer<P>) - Method in interface net.kyori.adventure.pointer.PointersSupplier
-
Returns the resolver for a given pointer (if any).
- resolving(Pointer<P>, Function<T, P>) - Method in interface net.kyori.adventure.pointer.PointersSupplier.Builder
-
Adds a resolver for a given pointer.
- ResourcePackCallback - Interface in net.kyori.adventure.resource
-
A callback for a resource pack application operation.
- resourcePackInfo() - Static method in interface net.kyori.adventure.resource.ResourcePackInfo
-
Create a new builder that will create a
ResourcePackInfo
. - resourcePackInfo(UUID, URI, String) - Static method in interface net.kyori.adventure.resource.ResourcePackInfo
-
Creates information about a resource pack.
- ResourcePackInfo - Interface in net.kyori.adventure.resource
-
Represents information about a resource pack that can be sent to players.
- ResourcePackInfo.Builder - Interface in net.kyori.adventure.resource
-
A builder for resource pack requests.
- ResourcePackInfoLike - Interface in net.kyori.adventure.resource
-
Something that can be represented as a
ResourcePackInfo
. - resourcePackRequest() - Static method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Create a builder for a resource pack request.
- resourcePackRequest(ResourcePackRequest) - Static method in interface net.kyori.adventure.resource.ResourcePackRequest
-
Create a builder for a resource pack request, based on an existing request.
- ResourcePackRequest - Interface in net.kyori.adventure.resource
-
A request to apply one or more resource packs to a client.
- ResourcePackRequest.Builder - Interface in net.kyori.adventure.resource
-
A builder for resource pack requests.
- ResourcePackRequestLike - Interface in net.kyori.adventure.resource
-
Something that can be represented as a
ResourcePackRequest
. - ResourcePackStatus - Enum in net.kyori.adventure.resource
-
Resource pack application state.
- RGBLike - Interface in net.kyori.adventure.util
-
Something that can provide red, green, and blue colour components.
- RUN_COMMAND - Enum constant in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Runs a command when clicked.
- runCommand(String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that runs a command.
S
- s() - Method in interface net.kyori.adventure.util.HSVLike
-
Gets the saturation component.
- salt() - Method in interface net.kyori.adventure.chat.SignedMessage
-
The salt.
- SAY_COMMAND - Static variable in interface net.kyori.adventure.chat.ChatType
-
A message send as a result of using the
/say
command. - ScopedComponent<C extends Component> - Interface in net.kyori.adventure.text
-
Some magic to change return types.
- score() - Static method in interface net.kyori.adventure.text.Component
-
Creates a score component builder.
- score(String, String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a score component with a name and objective.
- score(String, String, String) - Static method in interface net.kyori.adventure.text.Component
-
Deprecated.since 4.7.0, not for removal, with no replacement. The
value
field is no longer supported in 1.16.5. - score(Consumer<? super ScoreComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a score component by applying configuration from
consumer
. - ScoreComponent - Interface in net.kyori.adventure.text
-
A component that can display a player's score from a scoreboard objective, with an optional fallback value if the search for the score fails.
- ScoreComponent.Builder - Interface in net.kyori.adventure.text
-
A score component builder.
- seed() - Method in interface net.kyori.adventure.sound.Sound
-
Get the seed used for playback of weighted sound effects.
- seed(long) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
The seed for this sound, used for weighted choices.
- seed(OptionalLong) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
The seed for this sound, used for weighted choices.
- selector() - Static method in interface net.kyori.adventure.text.Component
-
Creates a selector component builder.
- selector() - Method in interface net.kyori.adventure.text.EntityNBTComponent
-
Gets the entity selector.
- selector(String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a selector component with a pattern.
- selector(String) - Method in interface net.kyori.adventure.text.EntityNBTComponent.Builder
-
Sets the entity selector.
- selector(String) - Method in interface net.kyori.adventure.text.EntityNBTComponent
-
Sets the entity selector.
- selector(String, ComponentLike) - Static method in interface net.kyori.adventure.text.Component
-
Creates a selector component with a pattern.
- selector(Consumer<? super SelectorComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a selector component by applying configuration from
consumer
. - SelectorComponent - Interface in net.kyori.adventure.text
-
A component that can display the name of entities found with a given selector.
- SelectorComponent.Builder - Interface in net.kyori.adventure.text
-
A selector component builder.
- self() - Static method in interface net.kyori.adventure.sound.Sound.Emitter
-
An emitter representing the recipient of a sound.
- sendActionBar(Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a message on the action bar.
- sendActionBar(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendActionBar(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendActionBar(ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a message on the action bar.
- sendingMessage(ComponentLike) - Static method in class net.kyori.adventure.audience.Audiences
-
Creates an action to send a message.
- sendMessage(SignedMessage, ChatType.Bound) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a signed player message to this
Audience
with the providedbound chat type
. - sendMessage(SignedMessage, ChatType.Bound) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendMessage(SignedMessage, ChatType.Bound) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendMessage(Identified, Component) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.since 4.12.0, the client errors on receiving and can reject identified messages without
SignedMessage
data, this may be unsupported in the future, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identified, ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.since 4.12.0, the client errors on and can reject identified messages without
SignedMessage
data, this may be unsupported in the future, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identified, ComponentLike, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.for removal since 4.12.0,
MessageType
is deprecated for removal and the client errors on receiving and can reject identified messages withoutSignedMessage
data, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identified, Component, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.for removal since 4.12.0,
MessageType
is deprecated for removal and the client errors on receiving and can reject identified messages withoutSignedMessage
data, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identified, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience
-
Deprecated.
- sendMessage(Identified, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
-
Deprecated.
- sendMessage(Identity, Component) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.since 4.12.0, the client errors on receiving and can reject identified messages without
SignedMessage
data, this may be unsupported in the future, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identity, ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.since 4.12.0, the client errors on and can reject identified messages without
SignedMessage
data, this may be unsupported in the future, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identity, ComponentLike, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.for removal since 4.12.0,
MessageType
is deprecated for removal and the client errors on receiving and can reject identified messages withoutSignedMessage
data, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identity, Component, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.for removal since 4.12.0,
MessageType
is deprecated for removal and the client errors on receiving and can reject identified messages withoutSignedMessage
data, useAudience.sendMessage(SignedMessage, ChatType.Bound)
instead - sendMessage(Identity, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience
-
Deprecated.
- sendMessage(Identity, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
-
Deprecated.
- sendMessage(Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a system chat message to this
Audience
. - sendMessage(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendMessage(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendMessage(ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a system chat message to this
Audience
. - sendMessage(ComponentLike, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.for removal since 4.12.0,
MessageType
is deprecated for removal, useAudience.sendMessage(ComponentLike)
- sendMessage(ComponentLike, ChatType.Bound) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a message to this
Audience
with the providedbound chat type
. - sendMessage(Component, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Deprecated.for removal since 4.12.0,
MessageType
is deprecated for removal, useAudience.sendMessage(Component)
instead - sendMessage(Component, ChatType.Bound) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a message to this
Audience
with the providedbound chat type
. - sendMessage(Component, ChatType.Bound) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendMessage(Component, ChatType.Bound) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendPlayerListFooter(Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends the player list footer.
- sendPlayerListFooter(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendPlayerListFooter(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendPlayerListFooter(ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends the player list footer.
- sendPlayerListHeader(Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends the player list header.
- sendPlayerListHeader(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendPlayerListHeader(Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendPlayerListHeader(ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends the player list header.
- sendPlayerListHeaderAndFooter(ComponentLike, ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends the player list header and footer.
- sendPlayerListHeaderAndFooter(Component, Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends the player list header and footer.
- sendPlayerListHeaderAndFooter(Component, Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendPlayerListHeaderAndFooter(Component, Component) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendResourcePacks(ResourcePackInfoLike, ResourcePackInfoLike...) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a request to apply resource packs to this audience.
- sendResourcePacks(ResourcePackRequest) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a request to apply resource packs to this audience.
- sendResourcePacks(ResourcePackRequest) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendResourcePacks(ResourcePackRequest) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendResourcePacks(ResourcePackRequestLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a request to apply resource packs to this audience.
- sendTitlePart(TitlePart<T>, T) - Method in interface net.kyori.adventure.audience.Audience
-
Shows a part of a title.
- sendTitlePart(TitlePart<T>, T) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendTitlePart(TitlePart<T>, T) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- separator() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the separator of this join configuration.
- separator() - Method in interface net.kyori.adventure.text.NBTComponent
-
Gets the separator.
- separator() - Method in interface net.kyori.adventure.text.SelectorComponent
-
Gets the separator.
- separator(ComponentLike) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the separator of this join configuration builder.
- separator(ComponentLike) - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Creates a join configuration with a separator and no prefix or suffix.
- separator(ComponentLike) - Method in interface net.kyori.adventure.text.NBTComponent
-
Sets the separator.
- separator(ComponentLike) - Method in interface net.kyori.adventure.text.NBTComponentBuilder
-
Sets the separator.
- separator(ComponentLike) - Method in interface net.kyori.adventure.text.SelectorComponent.Builder
-
Sets the separator.
- separator(ComponentLike) - Method in interface net.kyori.adventure.text.SelectorComponent
-
Sets the separator.
- separators(ComponentLike, ComponentLike) - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Creates a join configuration with a separator and last separator but no prefix or suffix.
- serialize(I) - Method in interface net.kyori.adventure.text.serializer.ComponentEncoder
-
Serializes a component into an output of type
R
. - serialize(I) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Serializes a component into an output of type
R
. - serializeOr(I, R) - Method in interface net.kyori.adventure.text.serializer.ComponentEncoder
-
Serializes a component into an output of type
R
. - serializeOr(I, R) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Serializes a component into an output of type
R
. - serializeOrNull(I) - Method in interface net.kyori.adventure.text.serializer.ComponentEncoder
-
Serializes a component into an output of type
R
. - serializeOrNull(I) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Serializes a component into an output of type
R
. - service(Class<P>) - Static method in class net.kyori.adventure.util.Services
-
Locates a service.
- SERVICE_LOAD_FAILURES_ARE_FATAL - Static variable in class net.kyori.adventure.internal.properties.AdventureProperties
-
Property for specifying whether service load failures are fatal.
- services(Class<? extends P>) - Static method in class net.kyori.adventure.util.Services
-
Locates all providers for a certain service and initializes them.
- Services - Class in net.kyori.adventure.util
-
Tools for working with
ServiceLoader
s. - Services.Fallback - Interface in net.kyori.adventure.util
-
A fallback service.
- serviceWithFallback(Class<P>) - Static method in class net.kyori.adventure.util.Services
-
Locates a service.
- SHADOW_COLOR - Enum constant in enum net.kyori.adventure.text.format.Style.Merge
-
Merges
StyleGetter.shadowColor()
. - shadowColor() - Method in interface net.kyori.adventure.text.Component
- shadowColor() - Method in interface net.kyori.adventure.text.format.StyleGetter
-
Gets the shadow color.
- shadowColor(int, int, int, int) - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Create a new shadow color from individual red, green, blue, and alpha values.
- shadowColor(int) - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Create a new shadow color from the ARGB value packed in an int.
- shadowColor(ARGBLike) - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Create a shadow color from an existing ARGB colour.
- shadowColor(RGBLike, int) - Static method in interface net.kyori.adventure.text.format.ShadowColor
-
Create a shadow color from an existing colour plus an alpha value.
- shadowColor(ARGBLike) - Method in interface net.kyori.adventure.text.Component
-
Sets the shadow color of this component.
- shadowColor(ARGBLike) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the shadow color.
- shadowColor(ARGBLike) - Method in interface net.kyori.adventure.text.ScopedComponent
- ShadowColor - Interface in net.kyori.adventure.text.format
-
A shadow color which may be applied to a
Style
. - shadowColorIfAbsent(ARGBLike) - Method in interface net.kyori.adventure.text.Component
-
Sets the shadow color if there isn't one set already.
- shadowColorIfAbsent(ARGBLike) - Method in interface net.kyori.adventure.text.format.StyleSetter
-
Sets the shadow color if there isn't one set already.
- shadowColorIfAbsent(ARGBLike) - Method in interface net.kyori.adventure.text.ScopedComponent
- ShadyPines - Class in net.kyori.adventure.util
-
Various utilities.
- shouldContinue() - Method in interface net.kyori.adventure.text.flattener.FlattenerListener
-
Determine if the flattener should continue running.
- shouldReplace(MatchResult, int, int) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Condition
-
Determine how a single match should be handled.
- SHOW_ACHIEVEMENT - Static variable in class net.kyori.adventure.text.event.HoverEvent.Action
-
Deprecated.Removed in Vanilla 1.12, but we keep it for backwards compat
- SHOW_ENTITY - Static variable in class net.kyori.adventure.text.event.HoverEvent.Action
-
Shows an entity when hovered over.
- SHOW_ITEM - Static variable in class net.kyori.adventure.text.event.HoverEvent.Action
-
Shows an item instance when hovered over.
- SHOW_TEXT - Static variable in class net.kyori.adventure.text.event.HoverEvent.Action
-
Shows a
Component
when hovered over. - showAchievement(String) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Deprecated.Removed in Vanilla 1.12, but we keep it for backwards compatibility
- showBossBar(BossBar) - Method in interface net.kyori.adventure.audience.Audience
-
Shows a boss bar.
- showBossBar(BossBar) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- showBossBar(BossBar) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- showEntity(Keyed, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that show information about an entity on hover.
- showEntity(Keyed, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- showEntity(Keyed, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that show information about an entity on hover.
- showEntity(Keyed, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- showEntity(Key, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that show information about an entity on hover.
- showEntity(Key, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- showEntity(Key, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that show information about an entity on hover.
- showEntity(Key, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- showEntity(HoverEvent.ShowEntity) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that show information about an entity on hover.
- showItem(Keyed, int) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showItem(Keyed, int) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- showItem(Keyed, int, Map<Key, ? extends DataComponentValue>) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showItem(Keyed, int, Map<Key, ? extends DataComponentValue>) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- showItem(Keyed, int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Deprecated.since Minecraft 1.20.5 and replaced with data components, not scheduled for removal
- showItem(Keyed, int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.since Minecraft 1.20.5 and replaced with data components, not scheduled for removal
- showItem(Key, int) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showItem(Key, int) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- showItem(Key, int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Deprecated.
- showItem(Key, int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Deprecated.since Minecraft 1.20.5 and replaced with data components, not scheduled for removal
- showItem(HoverEvent.ShowItem) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showText(Component) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows text on hover.
- showText(ComponentLike) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows text on hover.
- showTitle(Title) - Method in interface net.kyori.adventure.audience.Audience
-
Shows a title.
- signature() - Method in interface net.kyori.adventure.chat.SignedMessage
-
The signature of the message.
- signature(byte[]) - Static method in interface net.kyori.adventure.chat.SignedMessage
-
Creates a signature wrapper.
- SignedMessage - Interface in net.kyori.adventure.chat
-
A signed chat message.
- SignedMessage.Signature - Interface in net.kyori.adventure.chat
-
A signature wrapper type.
- SINGLE_QUOTE_PATTERN - Static variable in interface net.kyori.adventure.translation.TranslationRegistry
-
A pattern which matches a single quote.
- SINGLE_TICK_DURATION_MS - Static variable in interface net.kyori.adventure.util.Ticks
-
A single tick duration, in milliseconds.
- sound() - Static method in interface net.kyori.adventure.sound.Sound
-
Create a new builder for
Sound
instances. - sound() - Method in interface net.kyori.adventure.sound.SoundStop
-
Gets the sound.
- sound(Consumer<Sound.Builder>) - Static method in interface net.kyori.adventure.sound.Sound
-
Create a new
Sound
instance configured by the provided function. - sound(Supplier<? extends Sound.Type>, Sound.Source.Provider, float, float) - Static method in interface net.kyori.adventure.sound.Sound
-
Creates a new sound.
- sound(Supplier<? extends Sound.Type>, Sound.Source, float, float) - Static method in interface net.kyori.adventure.sound.Sound
-
Creates a new sound.
- sound(Key, Sound.Source.Provider, float, float) - Static method in interface net.kyori.adventure.sound.Sound
-
Creates a new sound.
- sound(Key, Sound.Source, float, float) - Static method in interface net.kyori.adventure.sound.Sound
-
Creates a new sound.
- sound(Sound) - Static method in interface net.kyori.adventure.sound.Sound
-
Create a new builder for
Sound
instances. - sound(Sound.Type, Sound.Source.Provider, float, float) - Static method in interface net.kyori.adventure.sound.Sound
-
Creates a new sound.
- sound(Sound.Type, Sound.Source, float, float) - Static method in interface net.kyori.adventure.sound.Sound
-
Creates a new sound.
- Sound - Interface in net.kyori.adventure.sound
-
Represents an in-game sound which can be played to the client.
- Sound.Builder - Interface in net.kyori.adventure.sound
-
A builder for sound instances.
- Sound.Emitter - Interface in net.kyori.adventure.sound
-
An emitter of sounds.
- Sound.Source - Enum in net.kyori.adventure.sound
-
The sound source.
- Sound.Source.Provider - Interface in net.kyori.adventure.sound
-
A provider of sound sources.
- Sound.Type - Interface in net.kyori.adventure.sound
-
A sound type.
- soundSource() - Method in interface net.kyori.adventure.sound.Sound.Source.Provider
-
Gets the source.
- SoundStop - Interface in net.kyori.adventure.sound
-
A sound and/or a sound source, used for stopping in-game sounds that are being played on a game client matching the given sound and/or sound source.
- source() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the source.
- source() - Method in interface net.kyori.adventure.sound.SoundStop
-
Gets the source.
- source() - Method in interface net.kyori.adventure.text.event.DataComponentValueConverterRegistry.Conversion
-
The source type.
- source(Sound.Source) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
A
Sound.Source
to tell the game where the sound is coming from. - source(Sound.Source) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds on source
source
. - source(Sound.Source.Provider) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
A
Sound.Source
to tell the game where the sound is coming from. - sources() - Method in interface net.kyori.adventure.translation.GlobalTranslator
-
Gets the sources.
- space() - Static method in interface net.kyori.adventure.text.Component
-
Gets a text immutable component with a single space as the content.
- spaces() - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Provides a join configuration with no prefix or suffix that simply joins the components together using the
Component.space()
component. - spliterator() - Method in class net.kyori.adventure.util.ForwardingIterator
- spliterator(ComponentIteratorType, Set<ComponentIteratorFlag>) - Method in interface net.kyori.adventure.text.Component
-
Returns a spliterator for this component.
- spliterator(ComponentIteratorType, ComponentIteratorFlag...) - Method in interface net.kyori.adventure.text.Component
-
Returns a spliterator for this component.
- state() - Method in interface net.kyori.adventure.text.format.TextDecorationAndState
-
Gets the state.
- stay() - Method in interface net.kyori.adventure.title.Title.Times
-
Gets the time the title will stay.
- STOP - Enum constant in enum net.kyori.adventure.text.PatternReplacementResult
-
Stop matching.
- stopSound(Sound) - Method in interface net.kyori.adventure.audience.Audience
-
Stops a sound.
- stopSound(SoundStop) - Method in interface net.kyori.adventure.audience.Audience
-
Stops a sound, or many sounds.
- stopSound(SoundStop) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- stopSound(SoundStop) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- storage() - Method in interface net.kyori.adventure.text.StorageNBTComponent
-
Gets the NBT storage's ID.
- storage(Key) - Method in interface net.kyori.adventure.text.StorageNBTComponent.Builder
-
Sets the NBT storage.
- storage(Key) - Method in interface net.kyori.adventure.text.StorageNBTComponent
-
Sets the NBT storage.
- storageNBT() - Static method in interface net.kyori.adventure.text.Component
-
Creates an storage NBT component builder.
- storageNBT(String, boolean, Key) - Static method in interface net.kyori.adventure.text.Component
-
Creates a storage NBT component with a path and an storage ID.
- storageNBT(String, boolean, ComponentLike, Key) - Static method in interface net.kyori.adventure.text.Component
-
Creates a storage NBT component with a path and an storage ID.
- storageNBT(String, Key) - Static method in interface net.kyori.adventure.text.Component
-
Creates a storage NBT component with a path and an storage ID.
- storageNBT(Consumer<? super StorageNBTComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a storage NBT component by applying configuration from
consumer
. - StorageNBTComponent - Interface in net.kyori.adventure.text
-
Given a
Key
, this component reads the NBT of the associated command storage and displays that information. - StorageNBTComponent.Builder - Interface in net.kyori.adventure.text
-
A command storage NBT component builder.
- strict(boolean) - Method in interface net.kyori.adventure.util.InheritanceAwareMap.Builder
-
Set strict mode for this builder.
- STRIKETHROUGH - Enum constant in enum net.kyori.adventure.text.format.TextDecoration
-
A decoration which makes text have a strike through it.
- string() - Method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
-
Gets the raw string value.
- style - Variable in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- style() - Method in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- style() - Method in interface net.kyori.adventure.text.Component
-
Gets the style of this component.
- style() - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a builder.
- style(Iterable<? extends StyleBuilderApplicable>) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style with
applicables
applied. - style(Consumer<Style.Builder>) - Method in interface net.kyori.adventure.text.Component
-
Sets the style of this component.
- style(Consumer<Style.Builder>) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Configures the style.
- style(Consumer<Style.Builder>) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style.
- style(Consumer<Style.Builder>) - Method in interface net.kyori.adventure.text.ScopedComponent
- style(Consumer<Style.Builder>, Style.Merge.Strategy) - Method in interface net.kyori.adventure.text.Component
-
Sets the style of this component.
- style(Style) - Method in interface net.kyori.adventure.text.Component
-
Sets the style of this component.
- style(Style) - Method in interface net.kyori.adventure.text.ComponentBuilder
-
Sets the style.
- style(Style) - Method in interface net.kyori.adventure.text.ScopedComponent
- style(Style.Builder) - Method in interface net.kyori.adventure.text.Component
-
Sets the style of this component.
- style(Style.Builder) - Method in interface net.kyori.adventure.text.ScopedComponent
- style(TextDecoration) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style with decoration.
- style(TextColor) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style with color.
- style(TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style with color and decorations.
- style(TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style with color and decorations.
- style(StyleBuilderApplicable...) - Static method in interface net.kyori.adventure.text.format.Style
-
Creates a style with
applicables
applied. - Style - Interface in net.kyori.adventure.text.format
-
A style applies visual effects or extra functionality to
Component
s, such asTextColor
s,TextDecoration
s,ClickEvent
s etc. - Style.Builder - Interface in net.kyori.adventure.text.format
-
A style builder.
- Style.Merge - Enum in net.kyori.adventure.text.format
-
A merge choice.
- Style.Merge.Strategy - Enum in net.kyori.adventure.text.format
-
A merge strategy.
- styleApply(Style.Builder) - Method in class net.kyori.adventure.text.event.ClickEvent
- styleApply(Style.Builder) - Method in class net.kyori.adventure.text.event.HoverEvent
- styleApply(Style.Builder) - Method in interface net.kyori.adventure.text.format.ShadowColor
- styleApply(Style.Builder) - Method in interface net.kyori.adventure.text.format.StyleBuilderApplicable
-
Applies to
style
. - styleApply(Style.Builder) - Method in interface net.kyori.adventure.text.format.TextColor
- styleApply(Style.Builder) - Method in enum net.kyori.adventure.text.format.TextDecoration
- styleApply(Style.Builder) - Method in interface net.kyori.adventure.text.format.TextDecorationAndState
- StyleBuilderApplicable - Interface in net.kyori.adventure.text.format
-
Something that can be applied to a
Style
. - StyleGetter - Interface in net.kyori.adventure.text.format
-
Reads style properties from an object.
- StyleSetter<T extends StyleSetter<?>> - Interface in net.kyori.adventure.text.format
-
Writes style properties to an object.
- subtitle() - Method in interface net.kyori.adventure.title.Title
-
Gets the subtitle.
- SUBTITLE - Static variable in interface net.kyori.adventure.title.TitlePart
-
The subtitle part of a title.
- SUCCESSFULLY_LOADED - Enum constant in enum net.kyori.adventure.resource.ResourcePackStatus
-
Indicates that the pack has successfully loaded and resource reloading is complete.
- suffix() - Method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets the suffix of this join configuration.
- suffix(ComponentLike) - Method in interface net.kyori.adventure.text.JoinConfiguration.Builder
-
Sets the suffix of this join configuration builder.
- SUGGEST_COMMAND - Enum constant in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Suggests a command into the chat box.
- suggestCommand(String) - Static method in class net.kyori.adventure.text.event.ClickEvent
-
Creates a click event that suggests a command.
- supports(Pointer<P>) - Method in interface net.kyori.adventure.pointer.PointersSupplier
-
Checks if this supplier supports a given pointer.
- supports(Pointer<T>) - Method in interface net.kyori.adventure.pointer.Pointers
-
Checks if a given pointer is supported.
- system(String, ComponentLike) - Static method in interface net.kyori.adventure.chat.SignedMessage
-
Creates a system
SignedMessage
. - SYSTEM - Enum constant in enum net.kyori.adventure.audience.MessageType
-
Deprecated.for removal since 4.12.0
T
- target() - Method in interface net.kyori.adventure.chat.ChatType.Bound
-
Get the target component.
- TEAM_MSG_COMMAND_INCOMING - Static variable in interface net.kyori.adventure.chat.ChatType
-
A message received as a result of using the
/teammsg
command. - TEAM_MSG_COMMAND_OUTGOING - Static variable in interface net.kyori.adventure.chat.ChatType
-
A message sent as a result of using the
/teammsg
command. - test(String) - Method in interface net.kyori.adventure.permission.PermissionChecker
- text() - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component builder.
- text(boolean) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(boolean)
. - text(boolean, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(boolean)
and styling. - text(boolean, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(boolean)
, and optional color. - text(boolean, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(boolean)
, and optional color and decorations. - text(boolean, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(boolean)
, and optional color and decorations. - text(char) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(char)
. - text(char, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(char)
and styling. - text(char, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(char)
, and optional color. - text(char, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(char)
, and optional color and decorations. - text(char, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(char)
, and optional color and decorations. - text(double) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(double)
. - text(double, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(double)
and styling. - text(double, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(double)
, and optional color. - text(double, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(double)
, and optional color and decorations. - text(double, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(double)
, and optional color and decorations. - text(float) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(float)
. - text(float, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(float)
and styling. - text(float, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(float)
, and optional color. - text(float, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(float)
, and optional color and decorations. - text(float, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(float)
, and optional color and decorations. - text(int) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(int)
. - text(int, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(int)
and styling. - text(int, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(int)
, and optional color. - text(int, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(int)
, and optional color and decorations. - text(int, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(int)
, and optional color and decorations. - text(long) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(long)
. - text(long, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(long)
and styling. - text(long, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(long)
, and optional color. - text(long, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(long)
, and optional color and decorations. - text(long, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with the content of
String.valueOf(long)
, and optional color and decorations. - text(String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with content.
- text(String, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with content and styling.
- text(String, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with content, and optional color.
- text(String, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with content, and optional color and decorations.
- text(String, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with content, and optional color and decorations.
- text(Consumer<? super TextComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component by applying configuration from
consumer
. - TEXT_WARN_WHEN_LEGACY_FORMATTING_DETECTED - Static variable in class net.kyori.adventure.internal.properties.AdventureProperties
-
Property for specifying whether to warn when legacy formatting is detected.
- TextColor - Interface in net.kyori.adventure.text.format
-
A color which may be applied to a
Style
. - TextComponent - Interface in net.kyori.adventure.text
-
A component that displays a string.
- TextComponent.Builder - Interface in net.kyori.adventure.text
-
A text component builder.
- TextDecoration - Enum in net.kyori.adventure.text.format
-
An enumeration of decorations which may be applied to a
Component
. - TextDecoration.State - Enum in net.kyori.adventure.text.format
-
A state that a
TextDecoration
can be in. - TextDecorationAndState - Interface in net.kyori.adventure.text.format
-
A combination of a
TextDecoration
and aTextDecoration.State
. - TextFormat - Interface in net.kyori.adventure.text.format
-
A format which may be applied to a
Component
. - textOfChildren(ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a text component with
components
as the children. - textOnly() - Static method in interface net.kyori.adventure.text.flattener.ComponentFlattener
-
A component flattener that will only handle text components.
- TextReplacementConfig - Interface in net.kyori.adventure.text
-
A configuration for how text can be replaced in a component.
- TextReplacementConfig.Builder - Interface in net.kyori.adventure.text
-
A builder for replacement configurations.
- TextReplacementConfig.Condition - Interface in net.kyori.adventure.text
-
A function determining whether a certain match should be replaced.
- Ticks - Interface in net.kyori.adventure.util
-
Standard game tick utilities.
- TICKS_PER_SECOND - Static variable in interface net.kyori.adventure.util.Ticks
-
The number of ticks that occur in one second.
- times() - Method in interface net.kyori.adventure.title.Title
-
Gets the times.
- times(int) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Only replace the first
times
matches of the pattern. - times(Duration, Duration, Duration) - Static method in interface net.kyori.adventure.title.Title.Times
-
Creates times.
- TIMES - Static variable in interface net.kyori.adventure.title.TitlePart
-
The times part of a title.
- timestamp() - Method in interface net.kyori.adventure.chat.SignedMessage
-
The time that the message was sent.
- title() - Method in interface net.kyori.adventure.inventory.Book
-
Gets the title.
- title() - Method in interface net.kyori.adventure.title.Title
-
Gets the title.
- title(Component) - Method in interface net.kyori.adventure.inventory.Book.Builder
-
Set the title.
- title(Component) - Method in interface net.kyori.adventure.inventory.Book
-
Changes the book's title.
- title(Component, Component) - Static method in interface net.kyori.adventure.title.Title
-
Creates a title.
- title(Component, Component, Title.Times) - Static method in interface net.kyori.adventure.title.Title
-
Creates a title.
- Title - Interface in net.kyori.adventure.title
-
Represents an in-game title, which can be displayed across the centre of the screen.
- TITLE - Static variable in interface net.kyori.adventure.title.TitlePart
-
The title part of a title.
- Title.Times - Interface in net.kyori.adventure.title
-
Title times.
- TitlePart<T> - Interface in net.kyori.adventure.title
-
A part of a title.
- toAudience() - Static method in interface net.kyori.adventure.audience.Audience
-
Provides a collector to create a forwarding audience from a stream of audiences.
- toBoolean() - Method in enum net.kyori.adventure.util.TriState
-
Converts this tri-state back into a
Boolean
. - toBooleanOrElse(boolean) - Method in enum net.kyori.adventure.util.TriState
-
Converts this tri-state back into a
boolean
. - toBooleanOrElseGet(BooleanSupplier) - Method in enum net.kyori.adventure.util.TriState
-
Converts this tri-state back into a
boolean
. - toBuilder() - Method in interface net.kyori.adventure.inventory.Book
-
Create a new builder initialized with the attributes of this book.
- toBuilder() - Method in interface net.kyori.adventure.text.BuildableComponent
-
Create a builder from this component.
- toBuilder() - Method in interface net.kyori.adventure.text.format.Style
-
Create a builder from this style.
- toBuilder() - Method in interface net.kyori.adventure.util.Buildable
-
Create a builder from this thing.
- toComponent() - Static method in interface net.kyori.adventure.text.Component
-
Create a collector that will join components without a separator.
- toComponent(Component) - Static method in interface net.kyori.adventure.text.Component
-
Create a collector that will join components using the provided separator.
- toString() - Method in class net.kyori.adventure.text.AbstractComponent
-
Deprecated.
- toString() - Method in enum net.kyori.adventure.text.event.ClickEvent.Action
- toString() - Method in class net.kyori.adventure.text.event.ClickEvent
- toString() - Method in class net.kyori.adventure.text.event.HoverEvent.Action
- toString() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
- toString() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
- toString() - Method in class net.kyori.adventure.text.event.HoverEvent
- toString() - Method in class net.kyori.adventure.text.format.NamedTextColor
- toString() - Method in enum net.kyori.adventure.text.format.TextDecoration.State
- toString() - Method in enum net.kyori.adventure.text.format.TextDecoration
- toString(Examinable) - Static method in class net.kyori.adventure.internal.Internals
-
Examines an
Examinable
using theStringExaminer
. - toUnmodifiableList(Function<I, O>, Iterable<? extends I>) - Static method in class net.kyori.adventure.util.MonkeyBars
-
Create a list eagerly mapping the source elements through the
mapper function
. - translatable() - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component builder.
- translatable(String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key.
- translatable(String, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and arguments.
- translatable(String, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and arguments.
- translatable(String, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and styling.
- translatable(String, Style, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and styling.
- translatable(String, Style, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and styling.
- translatable(String, String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and an optional fallback string.
- translatable(String, String, List<? extends ComponentLike>, Iterable<StyleBuilderApplicable>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(String, String, List<? extends ComponentLike>, StyleBuilderApplicable...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(String, String, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(String, String, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and styling.
- translatable(String, String, StyleBuilderApplicable...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and styling.
- translatable(String, String, Style, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(String, String, Style, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and styling.
- translatable(String, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, and optional color.
- translatable(String, TextColor, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color.
- translatable(String, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, and optional color and decorations.
- translatable(String, TextColor, Set<TextDecoration>, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color and decorations.
- translatable(String, TextColor, Set<TextDecoration>, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color and decorations.
- translatable(String, TextColor, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color.
- translatable(String, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, and optional color and decorations.
- translatable(Consumer<? super TranslatableComponent.Builder>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component by applying configuration from
consumer
. - translatable(Translatable) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key.
- translatable(Translatable, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and arguments.
- translatable(Translatable, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and arguments.
- translatable(Translatable, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and styling.
- translatable(Translatable, Style, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and styling.
- translatable(Translatable, Style, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and styling.
- translatable(Translatable, String) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key and an optional fallback string.
- translatable(Translatable, String, Iterable<StyleBuilderApplicable>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and styling.
- translatable(Translatable, String, List<? extends ComponentLike>, Iterable<StyleBuilderApplicable>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(Translatable, String, List<? extends ComponentLike>, StyleBuilderApplicable...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(Translatable, String, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(Translatable, String, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and styling.
- translatable(Translatable, String, Style, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and arguments.
- translatable(Translatable, String, Style, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, optional fallback string, and styling.
- translatable(Translatable, TextColor) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, and optional color.
- translatable(Translatable, TextColor, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color.
- translatable(Translatable, TextColor, Set<TextDecoration>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, and optional color and decorations.
- translatable(Translatable, TextColor, Set<TextDecoration>, List<? extends ComponentLike>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color and decorations.
- translatable(Translatable, TextColor, Set<TextDecoration>, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color and decorations.
- translatable(Translatable, TextColor, ComponentLike...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, arguments, and optional color.
- translatable(Translatable, TextColor, TextDecoration...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a translatable component with a translation key, and optional color and decorations.
- Translatable - Interface in net.kyori.adventure.translation
-
Something that has a translation key.
- TranslatableComponent - Interface in net.kyori.adventure.text
-
A component that can display translated text.
- TranslatableComponent.Builder - Interface in net.kyori.adventure.text
-
A text component builder.
- TranslatableComponentRenderer<C> - Class in net.kyori.adventure.text.renderer
-
A component renderer that does server-side translation rendering.
- TranslatableComponentRenderer() - Constructor for class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
- translate(String, Locale) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Gets a message format from a key and locale.
- translate(String, Locale) - Method in interface net.kyori.adventure.translation.Translator
-
Gets a message format from a key and locale.
- translate(String, String, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
-
Gets a message format from a key, fallback string, and context.
- translate(String, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
-
Gets a message format from a key and context.
- translate(TranslatableComponent, Locale) - Method in interface net.kyori.adventure.translation.Translator
-
Gets a translated component from a translatable component and locale.
- TranslationArgument - Interface in net.kyori.adventure.text
-
An argument that can be part of a
TranslatableComponent
. - TranslationArgumentLike - Interface in net.kyori.adventure.text
-
Represents anything that can be represented as a non-
Component
TranslationArgument
. - translationKey() - Method in interface net.kyori.adventure.translation.Translatable
-
Gets the translation key.
- TranslationRegistry - Interface in net.kyori.adventure.translation
-
A registry of translations.
- translator() - Static method in interface net.kyori.adventure.translation.GlobalTranslator
-
Gets the global translation source.
- Translator - Interface in net.kyori.adventure.translation
-
A message translator.
- TriState - Enum in net.kyori.adventure.util
-
Similar to a
boolean
but with three states. - TRUE - Enum constant in enum net.kyori.adventure.text.format.TextDecoration.State
-
State describing a
true
value. - TRUE - Enum constant in enum net.kyori.adventure.util.TriState
-
State describing a
true
value. - type() - Method in interface net.kyori.adventure.chat.ChatType.Bound
-
Gets the chat type.
- type() - Method in interface net.kyori.adventure.pointer.Pointer
-
Gets the value type.
- type() - Method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Gets the type.
- type() - Method in class net.kyori.adventure.text.event.HoverEvent.Action
-
Gets the value type.
- type() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Gets the type.
- type(Supplier<? extends Sound.Type>) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
Set the type of this sound.
- type(Key) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
Set the type of this sound.
- type(Key) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Sets the type.
- type(Keyed) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Sets the type.
- type(Sound.Type) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
Set the type of this sound.
U
- unbox(ComponentLike) - Static method in interface net.kyori.adventure.text.ComponentLike
-
Fetches a
Component
from aComponentLike
. - unbox(HoverEventSource<V>) - Static method in interface net.kyori.adventure.text.event.HoverEventSource
-
Fetches a
HoverEvent
from aHoverEventSource
. - UNDERLINED - Enum constant in enum net.kyori.adventure.text.format.TextDecoration
-
A decoration which makes text have an underline.
- unknownMapper(Function<Component, String>) - Method in interface net.kyori.adventure.text.flattener.ComponentFlattener.Builder
-
Register a handler for unknown component types.
- UNLIMITED_USES - Static variable in interface net.kyori.adventure.text.event.ClickCallback
-
Indicate that a callback should have unlimited uses.
- unmerge(Style) - Method in interface net.kyori.adventure.text.format.Style
-
Simplify this style to remove any information that is redundant.
- unregister(String) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Unregisters a translation key.
- unsignedContent() - Method in interface net.kyori.adventure.chat.SignedMessage
-
The unsigned component content.
- up() - Method in interface net.kyori.adventure.text.BlockNBTComponent.LocalPos
-
Gets the up value.
- uri() - Method in interface net.kyori.adventure.resource.ResourcePackInfo
-
Gets the uri.
- uri(URI) - Method in interface net.kyori.adventure.resource.ResourcePackInfo.Builder
-
Sets the uri.
- uses() - Method in interface net.kyori.adventure.text.event.ClickCallback.Options
-
The number of times this callback can be executed.
- uses(int) - Method in interface net.kyori.adventure.text.event.ClickCallback.Options.Builder
-
Set the number of uses allowed for this callback.
- usingTranslationSource(Translator) - Static method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
-
Creates a
TranslatableComponentRenderer
using theTranslator
to translate. - UTF8ResourceBundleControl - Class in net.kyori.adventure.util
-
A
ResourceBundle.Control
that enforces UTF-8 string encoding. - UTF8ResourceBundleControl() - Constructor for class net.kyori.adventure.util.UTF8ResourceBundleControl
- uuid() - Method in interface net.kyori.adventure.identity.Identity
-
Gets the uuid.
- UUID - Static variable in interface net.kyori.adventure.identity.Identity
-
A pointer to a
UUID
.
V
- v() - Method in interface net.kyori.adventure.util.HSVLike
-
Gets the value component.
- value() - Method in interface net.kyori.adventure.internal.properties.AdventureProperties.Property
-
Gets the value.
- value() - Method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Gets the value.
- value() - Method in class net.kyori.adventure.text.event.ClickEvent
-
Gets the click event value.
- value() - Method in class net.kyori.adventure.text.event.HoverEvent
-
Gets the hover event value.
- value() - Method in class net.kyori.adventure.text.format.NamedTextColor
- value() - Method in interface net.kyori.adventure.text.format.ShadowColor
-
The int-packed ARGB value of this shadow colour.
- value() - Method in interface net.kyori.adventure.text.format.TextColor
-
The color, as an RGB value packed into an int.
- value() - Method in interface net.kyori.adventure.text.ScoreComponent
-
Deprecated.since 4.7.0, not for removal, with no replacement. This field is no longer supported in 1.16.5.
- value() - Method in interface net.kyori.adventure.text.TranslationArgument
-
The argument's value.
- value(String) - Method in interface net.kyori.adventure.permission.PermissionChecker
-
Checks if something has a permission.
- value(String) - Method in interface net.kyori.adventure.text.ScoreComponent.Builder
-
Deprecated.since 4.7.0, not for removal, with no replacement. This field is no longer supported in 1.16.5.
- value(String) - Method in interface net.kyori.adventure.text.ScoreComponent
-
Deprecated.since 4.7.0, not for removal, with no replacement. This field is no longer supported in 1.16.5.
- value(K) - Method in class net.kyori.adventure.util.Index
-
Gets a value by its key.
- value(V) - Method in class net.kyori.adventure.text.event.HoverEvent
-
Sets the hover event value.
- valueOf(String) - Static method in enum net.kyori.adventure.audience.MessageType
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.bossbar.BossBar.Color
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.bossbar.BossBar.Flag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.resource.ResourcePackStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.sound.Sound.Source
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.ComponentIteratorFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.format.Style.Merge.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.format.TextDecoration.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.format.TextDecoration
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.text.PatternReplacementResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.kyori.adventure.util.TriState
-
Returns the enum constant of this type with the specified name.
- valueOr(K, V) - Method in class net.kyori.adventure.util.Index
-
Gets a value by its key or returns a fallback value.
- valueOrThrow(K) - Method in class net.kyori.adventure.util.Index
-
Gets a value by its key.
- values() - Static method in enum net.kyori.adventure.audience.MessageType
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.bossbar.BossBar.Color
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.bossbar.BossBar.Flag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.bossbar.BossBar.Overlay
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.resource.ResourcePackStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.sound.Sound.Source
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.ComponentIteratorFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.event.ClickEvent.Action
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.format.Style.Merge.Strategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.format.TextDecoration.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.format.TextDecoration
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.kyori.adventure.text.PatternReplacementResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class net.kyori.adventure.util.Index
-
Gets the keys.
- values() - Static method in enum net.kyori.adventure.util.TriState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueToKey() - Method in class net.kyori.adventure.util.Index
-
Get an unmodifiable mapping of index entries from value to key.
- view(T) - Method in interface net.kyori.adventure.pointer.PointersSupplier
-
Creates a pointers view for the given instance.
- viewers() - Method in interface net.kyori.adventure.bossbar.BossBar
-
Gets an unmodifiable view of the viewers of this bossbar.
- viewers() - Method in interface net.kyori.adventure.bossbar.BossBarImplementation
-
Gets the viewers of this bossbar.
- virtual(Class<C>, VirtualComponentRenderer<C>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a virtual component.
- virtual(Class<C>, VirtualComponentRenderer<C>, Iterable<StyleBuilderApplicable>) - Static method in interface net.kyori.adventure.text.Component
-
Creates a virtual component with a value.
- virtual(Class<C>, VirtualComponentRenderer<C>, Style) - Static method in interface net.kyori.adventure.text.Component
-
Creates a virtual component with a value.
- virtual(Class<C>, VirtualComponentRenderer<C>, StyleBuilderApplicable...) - Static method in interface net.kyori.adventure.text.Component
-
Creates a virtual component with a value.
- VirtualComponent - Interface in net.kyori.adventure.text
-
A virtual component.
- VirtualComponentRenderer<C> - Interface in net.kyori.adventure.text
-
A holder for a value.
- VOICE - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- volume() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the volume.
- volume(float) - Method in interface net.kyori.adventure.sound.Sound.Builder
-
The volume for this sound, indicating how far away it can be heard.
W
- WEATHER - Enum constant in enum net.kyori.adventure.sound.Sound.Source
- WHITE - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
White.
- WHITE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
white
colour. - widen(ClickCallback<N>, Class<N>) - Static method in interface net.kyori.adventure.text.event.ClickCallback
-
Adjust this callback to accept any audience, and perform the appropriate filtering.
- widen(ClickCallback<N>, Class<N>, Consumer<? super Audience>) - Static method in interface net.kyori.adventure.text.event.ClickCallback
-
Adjust this callback to accept any audience, and perform the appropriate filtering.
- with(Class<? extends C>, V) - Method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Get an updated inheritance aware map with the provided key changed.
- withDynamic(Pointer<T>, Supplier<T>) - Method in interface net.kyori.adventure.pointer.Pointers.Builder
-
Adds a pointer with a dynamic value provided by a supplier.
- without(Class<? extends C>) - Method in interface net.kyori.adventure.util.InheritanceAwareMap
-
Get an updated inheritance aware map with the provided key removed.
- withRenderedValue(ComponentRenderer<C>, C) - Method in class net.kyori.adventure.text.event.HoverEvent
-
Returns a hover event with the value rendered using
renderer
when possible. - withState(boolean) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
An alias for
TextDecoration.as(boolean)
. - withState(TextDecoration.State) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
An alias for
TextDecoration.as(State)
. - withState(TriState) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
An alias for
TextDecoration.as(State)
. - withStatic(Pointer<T>, T) - Method in interface net.kyori.adventure.pointer.Pointers.Builder
-
Adds a pointer with a static, optional value.
- worldPos(BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate) - Method in interface net.kyori.adventure.text.BlockNBTComponent.Builder
-
Sets the block position to a
BlockNBTComponent.WorldPos
with the given coordinates. - worldPos(BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate) - Method in interface net.kyori.adventure.text.BlockNBTComponent
-
Sets the block position to a
BlockNBTComponent.WorldPos
with the given coordinates. - worldPos(BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate, BlockNBTComponent.WorldPos.Coordinate) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos
-
Creates a world position with the given coordinates.
X
- x() - Method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos
-
Gets the x coordinate.
Y
- y() - Method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos
-
Gets the y coordinate.
- YELLOW - Enum constant in enum net.kyori.adventure.bossbar.BossBar.Color
-
Yellow.
- YELLOW - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
yellow
colour.
Z
- z() - Method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos
-
Gets the z coordinate.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form