Uses of Interface
net.kyori.adventure.text.ObjectComponent
Packages that use ObjectComponent
Package
Description
Data for controlling components, their styles, and events.
Component rendering.
-
Uses of ObjectComponent in net.kyori.adventure.text
Subinterfaces with type arguments of type ObjectComponent in net.kyori.adventure.textModifier and TypeInterfaceDescriptioninterfaceDisplays a non-text object.static interfaceAn object component builder.Methods in net.kyori.adventure.text that return ObjectComponentModifier and TypeMethodDescriptionObjectComponent.contents(ObjectContents contents) Creates a copy of this object component with the given contents.ObjectComponent.fallback(@Nullable ComponentLike fallback) Creates a copy of this object component with the given fallback.static ObjectComponentComponent.object(Consumer<? super ObjectComponent.Builder> consumer) Creates an object component by applying configuration fromconsumer.static ObjectComponentComponent.object(ObjectContents objectContents) Creates an object component with the given contents. -
Uses of ObjectComponent in net.kyori.adventure.text.renderer
Methods in net.kyori.adventure.text.renderer with parameters of type ObjectComponentModifier and TypeMethodDescriptionprotected abstract ComponentAbstractComponentRenderer.renderObject(ObjectComponent component, C context) Renders an object component.protected ComponentTranslatableComponentRenderer.renderObject(ObjectComponent component, C context)