A B C D E F G H I J K L M N O P R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absolute(int) - Static method in interface net.kyori.adventure.text.BlockNBTComponent.WorldPos.Coordinate
-
Creates a absolute coordinate with the given value.
- ABSOLUTE - 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. - AbstractComponent - Class in net.kyori.adventure.text
-
An abstract implementation of a text component.
- AbstractComponent(List<? extends ComponentLike>, Style) - Constructor for class net.kyori.adventure.text.AbstractComponent
- 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
- 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.
- 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.
- 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.
- Adventure - Class in net.kyori.adventure
-
We're going on an Adventure!
- 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.
- always(TriState) - Static method in interface net.kyori.adventure.permission.PermissionChecker
-
Creates a
PermissionChecker
that always returnsstate
. - ALWAYS - net.kyori.adventure.text.format.Style.Merge.Strategy
-
Always merge onto target.
- AMBIENT - 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.
- 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. - 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
. - AQUA - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
aqua
colour. - args() - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Gets the unmodifiable list of translation arguments.
- args(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation arguments for this component.
- args(List<? extends ComponentLike>) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- args(Component) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- args(ComponentBuilder<?, ?>) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- args(ComponentBuilder<?, ?>...) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- args(ComponentLike...) - Method in interface net.kyori.adventure.text.TranslatableComponent
-
Sets the translation arguments for this component.
- args(ComponentLike...) - Method in interface net.kyori.adventure.text.TranslatableComponent.Builder
-
Sets the translation args.
- as(boolean) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
Creates a
TextDecorationAndState
. - as(TextDecoration.State) - Method in enum net.kyori.adventure.text.format.TextDecoration
-
Creates a
TextDecorationAndState
. - 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. - 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.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.
- 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.
- 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
- 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 - Interface in net.kyori.adventure.nbt.api
-
Holds a compound binary tag.
- BLACK - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
black
colour. - BLOCK - 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.TextColor
-
Get the blue component of the text colour.
- blue() - Method in interface net.kyori.adventure.util.RGBLike
-
Gets the blue component.
- BLUE - net.kyori.adventure.bossbar.BossBar.Color
-
Blue.
- BLUE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
blue
colour. - BOLD - 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
. - 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.
- 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.
- BREADTH_FIRST - Static variable in interface net.kyori.adventure.text.ComponentIteratorType
-
A breadth-first iteration.
- build() - Method in interface net.kyori.adventure.inventory.Book.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
-
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
-
A builder.
- 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.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.
- 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
.
C
- CHANGE_PAGE - 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 - net.kyori.adventure.audience.MessageType
-
Chat message type.
- children - Variable in class net.kyori.adventure.text.AbstractComponent
- children() - Method in class net.kyori.adventure.text.AbstractComponent
- 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
- 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
- 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(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.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<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(@org.jetbrains.annotations.Range(from=0L, to=255L) int, @org.jetbrains.annotations.Range(from=0L, to=255L) int, @org.jetbrains.annotations.Range(from=0L, to=255L) 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.ScopedComponent
- COLOR - 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.ScopedComponent
- compact() - Method in class net.kyori.adventure.text.AbstractComponent
- 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 - 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
- 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. - 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.util.Buildable
-
Configures
builder
usingconsumer
and then builds. - 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.
- 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.
- CONTINUE - net.kyori.adventure.text.PatternReplacementResult
-
Skip the current match, but continue searching for others.
- 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.
- COPY_TO_CLIPBOARD - 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(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) 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(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 - 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 - net.kyori.adventure.bossbar.BossBar.Flag
-
If the screen should be darkened.
- 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.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.Style.Builder
-
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, 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.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.ScopedComponent
- 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(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.format.Style
-
Sets decorations for this style 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 - 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_TIMES - Static variable in interface net.kyori.adventure.title.Title
-
The default times.
- defaultLocale(Locale) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Sets the default locale used by this registry.
- 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
. - deserializeOr(R, O) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Deserialize a component from input of type
R
. - deserializeOrNull(R) - Method in interface net.kyori.adventure.text.serializer.ComponentSerializer
-
Deserialize a component from input of type
R
. - 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 - DISPLAY_NAME - Static variable in interface net.kyori.adventure.identity.Identity
-
A pointer to a display name.
- 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.
- 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.
- 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
- 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 - net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.clickEvent()
andStyle.hoverEvent()
. - examinableProperties() - Method in interface net.kyori.adventure.identity.Identity
- examinableProperties() - Method in interface net.kyori.adventure.pointer.Pointer
- examinableProperties() - Method in class net.kyori.adventure.text.AbstractComponent
- 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.util.HSVLike
- examinablePropertiesWithoutChildren() - Method in class net.kyori.adventure.text.AbstractComponent
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.
- FALSE - net.kyori.adventure.text.format.TextDecoration.State
-
State describing a
false
value. - FALSE - net.kyori.adventure.util.TriState
-
State describing a
false
value. - 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.format.Style
-
Gets 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 - 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.TextColor
-
Create a new color from a hex string.
- fromRGB(@org.jetbrains.annotations.Range(from=0L, to=255L) int, @org.jetbrains.annotations.Range(from=0L, to=255L) int, @org.jetbrains.annotations.Range(from=0L, to=255L) 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
-
Gets the global translation source.
- get() - Static method in class net.kyori.adventure.util.UTF8ResourceBundleControl
-
Gets the shared instance.
- 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.TextColor
-
Get the green component of the text colour.
- green() - Method in interface net.kyori.adventure.util.RGBLike
-
Gets the green component.
- GREEN - 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.
- 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.
- hasFlag(BossBar.Flag) - Method in interface net.kyori.adventure.bossbar.BossBar
-
Checks if this bossbar has a flag.
- hashCode() - Method in class net.kyori.adventure.text.AbstractComponent
- 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.
- 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 - 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(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.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 - Interface in net.kyori.adventure.util
-
Something that can provide hue, saturation, and value color components.
I
- id() - Method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Gets 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(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 - net.kyori.adventure.text.format.Style.Merge.Strategy
-
Merge onto target when not already set on target.
- INCLUDE_HOVER_SHOW_ENTITY_NAME - net.kyori.adventure.text.ComponentIteratorFlag
-
Includes the name of entities inside
entity
hover events. - INCLUDE_HOVER_SHOW_TEXT_COMPONENT - net.kyori.adventure.text.ComponentIteratorFlag
-
Includes the components inside
text
hover events. - INCLUDE_TRANSLATABLE_COMPONENT_ARGUMENTS - 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.
- 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(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.ScopedComponent
- INSERTION - net.kyori.adventure.text.format.Style.Merge
-
Merges
Style.insertion()
. - 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. - isEmpty() - Method in interface net.kyori.adventure.text.format.Style
-
Tests if this style is empty.
- ITALIC - 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, 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.
- keys() - Method in class net.kyori.adventure.util.Index
-
Gets the keys.
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, RGBLike, RGBLike) - Static method in interface net.kyori.adventure.text.format.TextColor
-
Linearly interpolates between
a
andb
byt
. - 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.
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 - 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 match against it. - 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
-
Match against 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.
- 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
- MessageType - Enum in net.kyori.adventure.audience
-
Message types.
- 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. - MUSIC - net.kyori.adventure.sound.Sound.Source
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.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
. - 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
-
Gets the nbt.
- nbt(BinaryTagHolder) - Method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Sets the nbt.
- nbt(B, C) - Static 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.
- 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.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.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.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 - net.kyori.adventure.sound.Sound.Source
- NEVER - 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.
- nil() - Static method in interface net.kyori.adventure.identity.Identity
-
Gets the
null
identity. - noSeparators() - Static method in interface net.kyori.adventure.text.JoinConfiguration
-
Gets a join configuration with no separators, prefix or suffix.
- NOT_SET - net.kyori.adventure.text.format.TextDecoration.State
-
State describing the absence of a value.
- NOT_SET - net.kyori.adventure.util.TriState
-
State describing the absence of a value.
- NOTCHED_10 - net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
10
notches. - NOTCHED_12 - net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
12
notches. - NOTCHED_20 - net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
20
notches. - NOTCHED_6 - net.kyori.adventure.bossbar.BossBar.Overlay
-
A bar with
6
notches.
O
- OBFUSCATED - 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
-
Creates a local position with the given values.
- of(float, float, float) - Static method in interface net.kyori.adventure.util.HSVLike
-
Creates a new HSVLike.
- of(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.
- of(String) - Static method in interface net.kyori.adventure.nbt.api.BinaryTagHolder
-
Creates an encoded binary tag holder.
- of(Duration, Duration, Duration) - Static method in interface net.kyori.adventure.title.Title.Times
-
Creates times.
- of(Keyed, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- of(Keyed, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- of(Keyed, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- of(Keyed, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- of(Key, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- of(Key, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowItem
-
Creates.
- of(Key, UUID) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- of(Key, UUID, Component) - Static method in class net.kyori.adventure.text.event.HoverEvent.ShowEntity
-
Creates.
- of(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.
- of(Codec.Decoder<D, E, DX>, Codec.Encoder<D, E, EX>) - Static method in interface net.kyori.adventure.util.Codec
-
Creates a codec.
- of(Style.Merge...) - Static method in enum net.kyori.adventure.text.format.Style.Merge
-
Creates a merge set.
- ofChildren(ComponentLike...) - Static method in interface net.kyori.adventure.text.TextComponent
-
Deprecated.For removal since 4.9.0, use
Component.join(JoinConfiguration, ComponentLike...)
withJoinConfiguration.noSeparators()
. - ofExact(int) - Static method in class net.kyori.adventure.text.format.NamedTextColor
-
Gets the named color exactly matching the provided color.
- once() - Method in interface net.kyori.adventure.text.TextReplacementConfig.Builder
-
Only replace the first occurrence of the matched pattern.
- OPEN_FILE - net.kyori.adventure.text.event.ClickEvent.Action
-
Opens a file when clicked.
- OPEN_URL - 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
- 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.
- 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 - net.kyori.adventure.bossbar.BossBar.Color
-
Pink.
- pitch() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the pitch.
- PLAY_BOSS_MUSIC - net.kyori.adventure.bossbar.BossBar.Flag
-
If boss music should be played.
- PLAYER - 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.
- 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
-
Gets 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 - net.kyori.adventure.bossbar.BossBar.Overlay
-
A progress bar.
- PURPLE - 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.
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 - net.kyori.adventure.sound.Sound.Source
- 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 - 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 - 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. - 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.
- removeSource(Translator) - Method in interface net.kyori.adventure.translation.GlobalTranslator
-
Removes a translation source.
- 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() - 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
- REPLACE - 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 class net.kyori.adventure.text.AbstractComponent
- 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 class net.kyori.adventure.text.AbstractComponent
- 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. - 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
- RGBLike - Interface in net.kyori.adventure.util
-
Something that can provide red, green, and blue colour components.
- RUN_COMMAND - 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.
- 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.
- 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.
- sendMessage(Identified, Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message from the given
Identified
to thisAudience
. - sendMessage(Identified, ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message from the given
Identified
to thisAudience
. - sendMessage(Identified, ComponentLike, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message from the given
Identified
to thisAudience
. - sendMessage(Identified, Component, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message.
- sendMessage(Identified, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendMessage(Identified, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendMessage(Identity, Component) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message from the entity represented by the given
Identity
(or the game usingIdentity.nil()
) to thisAudience
. - sendMessage(Identity, ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message from the entity represented by the given
Identity
(or the game usingIdentity.nil()
) to thisAudience
. - sendMessage(Identity, ComponentLike, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message from the entity represented by the given
Identity
(or the game usingIdentity.nil()
) to thisAudience
. - sendMessage(Identity, Component, MessageType) - Method in interface net.kyori.adventure.audience.Audience
-
Sends a chat message.
- sendMessage(Identity, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience
- sendMessage(Identity, Component, MessageType) - Method in interface net.kyori.adventure.audience.ForwardingAudience.Single
- sendMessage(Component) - Method in interface net.kyori.adventure.audience.Audience
- sendMessage(ComponentLike) - Method in interface net.kyori.adventure.audience.Audience
- sendMessage(ComponentLike, MessageType) - Method in interface net.kyori.adventure.audience.Audience
- sendMessage(Component, MessageType) - Method in interface net.kyori.adventure.audience.Audience
- 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
- 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.ComponentSerializer
-
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.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.
- Services - Class in net.kyori.adventure.util
-
Tools for working with
ServiceLoader
s. - ShadyPines - Class in net.kyori.adventure.util
-
Various utilities.
- shouldReplace(MatchResult, int, int) - Method in interface net.kyori.adventure.text.TextReplacementConfig.Condition
-
Determine how a single match should be handled.
- 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. - 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, 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) - 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
-
Creates a hover event that show information about an entity on hover.
- 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, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showItem(Keyed, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showItem(Key, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- showItem(Key, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, BinaryTagHolder) - Static method in class net.kyori.adventure.text.event.HoverEvent
-
Creates a hover event that shows an item on hover.
- 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.
- 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() - Method in interface net.kyori.adventure.sound.SoundStop
-
Gets the sound.
- 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.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.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(Sound.Source) - Static method in interface net.kyori.adventure.sound.SoundStop
-
Stops all sounds on source
source
. - 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.
- 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 - 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.
- STRIKETHROUGH - 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
- style() - Method in class net.kyori.adventure.text.AbstractComponent
- 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.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
. - 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.
- 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 - 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<T>) - Method in interface net.kyori.adventure.pointer.Pointers
-
Checks if a given pointer is supported.
- SYSTEM - net.kyori.adventure.audience.MessageType
-
System message type.
T
- 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
. - 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
. - 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 - Static variable in interface net.kyori.adventure.title.TitlePart
-
The times part of a title.
- 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.
- 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
- 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
- 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, 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, 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, C) - Method in class net.kyori.adventure.text.renderer.TranslatableComponentRenderer
-
Gets a message format from a key and context.
- 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 - Interface in net.kyori.adventure.translation
-
A message format translator.
- TriState - Enum in net.kyori.adventure.util
-
Similar to a
boolean
but with three states. - TRUE - net.kyori.adventure.text.format.TextDecoration.State
-
State describing a
true
value. - TRUE - net.kyori.adventure.util.TriState
-
State describing a
true
value. - 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(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.
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 - 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.
- unregister(String) - Method in interface net.kyori.adventure.translation.TranslationRegistry
-
Unregisters a translation key.
- up() - Method in interface net.kyori.adventure.text.BlockNBTComponent.LocalPos
-
Gets the up value.
- 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.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.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(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(String) - Method in interface net.kyori.adventure.permission.PermissionChecker
-
Checks if something has a permission.
- 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
-
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.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.
- values() - Static method in enum net.kyori.adventure.audience.MessageType
-
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.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.
- VOICE - net.kyori.adventure.sound.Sound.Source
- volume() - Method in interface net.kyori.adventure.sound.Sound
-
Gets the volume.
W
- WEATHER - net.kyori.adventure.sound.Sound.Source
- WHITE - net.kyori.adventure.bossbar.BossBar.Color
-
White.
- WHITE - Static variable in class net.kyori.adventure.text.format.NamedTextColor
-
The standard
white
colour. - 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.
- 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. - 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.
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 - 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 All Packages