Package net.kyori.adventure.text
Interface StorageNBTComponent.Builder
- All Superinterfaces:
Buildable.Builder<StorageNBTComponent>
,ComponentBuilder<StorageNBTComponent,StorageNBTComponent.Builder>
,ComponentBuilderApplicable
,ComponentLike
,NBTComponentBuilder<StorageNBTComponent,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
Modifier and Type Method Description @NonNull StorageNBTComponent.Builder
storage(@NonNull Key storage)
Sets the NBT storage.Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, applicableApply, apply, applyDeep, asComponent, build, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, style
-
Method Details
-
storage
Sets the NBT storage.- Parameters:
storage
- the id of the NBT storage- Returns:
- this builder
- Since:
- 4.0.0
-