Uses of Interface
net.kyori.adventure.text.ComponentBuilder
Packages that use ComponentBuilder
Package
Description
Data for controlling components, their styles, and events.
Formats which may be applied to components.
Component rendering.
-
Uses of ComponentBuilder in net.kyori.adventure.text
Classes in net.kyori.adventure.text with type parameters of type ComponentBuilderModifier and TypeInterfaceDescriptioninterfaceComponentBuilder<C extends Component, B extends ComponentBuilder<C,B>> A component builder.Subinterfaces of ComponentBuilder in net.kyori.adventure.textModifier and TypeInterfaceDescriptionstatic interfaceAn NBT component builder.static interfaceAn entity NBT component builder.static interfaceA keybind component builder.interfaceNBTComponentBuilder<C extends NBTComponent<C>, B extends NBTComponentBuilder<C,B>> An NBT component builder.static interfaceAn object component builder.static interfaceA score component builder.static interfaceA selector component builder.static interfaceA command storage NBT component builder.static interfaceA text component builder.static interfaceA text component builder.Methods in net.kyori.adventure.text that return ComponentBuilderModifier and TypeMethodDescriptionComponentBuilder<?, ?> Component.toBuilder()Returns a builder for this component.ScopedComponent.toBuilder()Methods in net.kyori.adventure.text that return types with arguments of type ComponentBuilderModifier and TypeMethodDescriptionstatic Collector<Component, ? extends ComponentBuilder<?, ?>, Component> Component.toComponent()Create a collector that will join components without a separator.static Collector<Component, ? extends ComponentBuilder<?, ?>, Component> Component.toComponent(Component separator) Create a collector that will join components using the provided separator.Methods in net.kyori.adventure.text with parameters of type ComponentBuilderModifier and TypeMethodDescriptiondefault ComponentComponent.append(ComponentBuilder<?, ?> builder) Appends a component to this component.default BComponentBuilder.append(ComponentBuilder<?, ?> builder) Appends a component to this component.default CScopedComponent.append(ComponentBuilder<?, ?> builder) default voidComponent.componentBuilderApply(ComponentBuilder<?, ?> component) default voidComponentBuilder.componentBuilderApply(ComponentBuilder<?, ?> component) voidComponentBuilderApplicable.componentBuilderApply(ComponentBuilder<?, ?> component) Applies tocomponent.Method parameters in net.kyori.adventure.text with type arguments of type ComponentBuilderModifier and TypeMethodDescriptiondefault BComponentBuilder.apply(Consumer<? super ComponentBuilder<?, ?>> consumer) Applies an action to this builder.ComponentBuilder.applyDeep(Consumer<? super ComponentBuilder<?, ?>> action) Applies an action to this component and all child components. -
Uses of ComponentBuilder in net.kyori.adventure.text.format
Methods in net.kyori.adventure.text.format with parameters of type ComponentBuilderModifier and TypeMethodDescriptiondefault voidStyleBuilderApplicable.componentBuilderApply(ComponentBuilder<?, ?> component) -
Uses of ComponentBuilder in net.kyori.adventure.text.renderer
Methods in net.kyori.adventure.text.renderer with type parameters of type ComponentBuilderModifier and TypeMethodDescriptionprotected <B extends ComponentBuilder<?,?>>
voidTranslatableComponentRenderer.mergeStyle(Component component, B builder, C context) protected <O extends Component, B extends ComponentBuilder<O,B>>
OTranslatableComponentRenderer.mergeStyleAndOptionallyDeepRender(Component component, B builder, C context) protected <O extends Component, B extends ComponentBuilder<O,B>>
OTranslatableComponentRenderer.optionallyRenderChildrenAppendAndBuild(List<Component> children, B builder, C context)