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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StorageNBTComponent.Builder
storage(@NotNull Key storage)
Sets the NBT storage.-
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
-
-
-
-
Method Detail
-
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
-
-