Interface BuildableComponent<C extends Component, B extends ComponentBuilder<C,?>>
- Type Parameters:
C- the component typeB- the builder type
- All Superinterfaces:
Buildable<B>, Component, ComponentBuilderApplicable, ComponentLike, HoverEventSource<Component>, StyleGetter, StyleSetter<Component>
- All Known Subinterfaces:
BlockNBTComponent, EntityNBTComponent, KeybindComponent, NBTComponent<C>, ObjectComponent, ScoreComponent, SelectorComponent, StorageNBTComponent, TextComponent, TranslatableComponent, VirtualComponent
@Deprecated(forRemoval=true)
@ScheduledForRemoval(inVersion="6.0.0")
public sealed interface BuildableComponent<C extends Component, B extends ComponentBuilder<C,?>>
extends Buildable<B>, Component
permits KeybindComponent, NBTComponent<C>, ObjectComponent, ScoreComponent, SelectorComponent, TextComponent, TranslatableComponent
Deprecated, for removal: This API element is subject to removal in a future version.
A component which may be built.
- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface Component
EQUALS, EQUALS_IDENTITY, IS_NOT_EMPTY -
Method Summary
Methods inherited from interface Component
append, append, append, append, append, appendNewline, appendSpace, applyFallbackStyle, applyFallbackStyle, asComponent, asHoverEvent, children, children, clickEvent, clickEvent, color, color, colorIfAbsent, compact, compact, componentBuilderApply, contains, contains, decorate, decoration, decoration, decoration, decorationIfAbsent, decorations, decorations, font, font, hasDecoration, hasStyling, hoverEvent, hoverEvent, insertion, insertion, iterable, iterable, iterator, iterator, mergeStyle, mergeStyle, mergeStyle, replaceText, replaceText, shadowColor, shadowColor, shadowColorIfAbsent, spliterator, spliterator, style, style, style, style, styleMethods inherited from interface HoverEventSource
asHoverEventMethods inherited from interface StyleSetter
decorate, decorations
-
Method Details
-
toBuilder
-
Component.toBuilder().