Package net.kyori.adventure.text
Interface StorageNBTComponent.Builder
- All Superinterfaces:
AbstractBuilder<StorageNBTComponent>
,Buildable.Builder<StorageNBTComponent>
,ComponentBuilder<StorageNBTComponent,
,StorageNBTComponent.Builder> ComponentBuilderApplicable
,ComponentLike
,MutableStyleSetter<StorageNBTComponent.Builder>
,NBTComponentBuilder<StorageNBTComponent,
,StorageNBTComponent.Builder> StyleSetter<StorageNBTComponent.Builder>
- Enclosing interface:
- StorageNBTComponent
public static interface StorageNBTComponent.Builder
extends NBTComponentBuilder<StorageNBTComponent,StorageNBTComponent.Builder>
A command storage NBT component builder.
- Since:
- 4.0.0
-
Method Summary
Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, appendNewline, appendSpace, applicableApply, apply, applyDeep, asComponent, build, children, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorationIfAbsent, decorations, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, style
Methods inherited from interface net.kyori.adventure.text.NBTComponentBuilder
interpret, nbtPath, separator
Methods inherited from interface net.kyori.adventure.text.format.StyleSetter
shadowColor, shadowColorIfAbsent
-
Method Details
-
storage
@Contract("_ -> this") @NotNull @NotNull StorageNBTComponent.Builder storage(@NotNull @NotNull Key storage) Sets the NBT storage.- Parameters:
storage
- the id of the NBT storage- Returns:
- this builder
- Since:
- 4.0.0
-