Package net.kyori.adventure.text
package net.kyori.adventure.text
Data for controlling components, their styles, and events.
-
ClassDescriptionDeprecated.for removal since 4.10.0Given an in-game position, this component reads the NBT of the associated block and displays that information.An NBT component builder.A local position.A position.A world position.A coordinate component within a
BlockNBTComponent.WorldPos
.The type of a coordinate.A component which may be built.A Component is an immutable object that represents how text is displayed Minecraft clients.Something that can be applied to aComponent
.A component builder.Something that can be applied to aComponentBuilder
.Flags to modify the behaviour of a component iterator.The iterator types.Something that can be represented as aComponent
.Given a Minecraft selector, this component reads the NBT of the associated entity and displays that information.An entity NBT component builder.A configuration for how a series of components can be joined.A builder for join configurations.AComponent
that displays the client's current keybind for the supplied action.A keybind component builder.Something that can provide a keybind identifier.A utility class that allowscomponents
to be created wherestyles
can be specified inline.A component that can display NBT fetched from different locations, optionally trying to interpret the NBT as JSON using thenet.kyori.adventure.text.serializer.gson.GsonComponentSerializer
to convert the JSON to aComponent
.An NBT component builder.A result forComponent.replaceText(TextReplacementConfig)
pattern-based replacements}.ScopedComponent<C extends Component>Some magic to change return types.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.A score component builder.A component that can display the name of entities found with a given selector.A selector component builder.Given aKey
, this component reads the NBT of the associated command storage and displays that information.A command storage NBT component builder.A component that displays a string.A text component builder.A configuration for how text can be replaced in a component.A builder for replacement configurations.A function determining whether a certain match should be replaced.A component that can display translated text.A text component builder.An argument that can be part of aTranslatableComponent
.Represents anything that can be represented as a non-Component
TranslationArgument
.A virtual component.A holder for a value.