Package net.kyori.adventure.text
Interface ComponentBuilderApplicable
-
- All Known Subinterfaces:
BlockNBTComponent
,BlockNBTComponent.Builder
,BuildableComponent<C,B>
,Component
,ComponentBuilder<C,B>
,EntityNBTComponent
,EntityNBTComponent.Builder
,KeybindComponent
,KeybindComponent.Builder
,NBTComponent<C,B>
,NBTComponentBuilder<C,B>
,ScopedComponent<C>
,ScoreComponent
,ScoreComponent.Builder
,SelectorComponent
,SelectorComponent.Builder
,StorageNBTComponent
,StorageNBTComponent.Builder
,StyleBuilderApplicable
,TextColor
,TextComponent
,TextComponent.Builder
,TextDecorationAndState
,TranslatableComponent
,TranslatableComponent.Builder
- All Known Implementing Classes:
AbstractComponent
,ClickEvent
,HoverEvent
,NamedTextColor
,TextDecoration
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ComponentBuilderApplicable
Something that can be applied to aComponentBuilder
.- Since:
- 4.0.0
- See Also:
StyleBuilderApplicable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
componentBuilderApply(@NotNull ComponentBuilder<?,?> component)
Applies tocomponent
.
-
-
-
Method Detail
-
componentBuilderApply
@Contract(mutates="param") void componentBuilderApply(@NotNull @NotNull ComponentBuilder<?,?> component)
Applies tocomponent
.- Parameters:
component
- the component builder- Since:
- 4.0.0
-
-