Interface StorageNBTComponent.Builder
- All Superinterfaces:
AbstractBuilder<StorageNBTComponent>, ComponentBuilder<StorageNBTComponent, StorageNBTComponent.Builder>, ComponentBuilderApplicable, ComponentLike, MutableStyleSetter<StorageNBTComponent.Builder>, NBTComponentBuilder<StorageNBTComponent, StorageNBTComponent.Builder>, StyleSetter<StorageNBTComponent.Builder>
- Enclosing interface:
StorageNBTComponent
public static sealed interface StorageNBTComponent.Builder
extends NBTComponentBuilder<StorageNBTComponent, StorageNBTComponent.Builder>
A command storage NBT component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the NBT storage.Methods inherited from interface 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, styleMethods inherited from interface NBTComponentBuilder
interpret, nbtPath, plain, separatorMethods inherited from interface StyleSetter
shadowColor, shadowColorIfAbsent
-
Method Details
-
storage
Sets the NBT storage.- Parameters:
storage- the id of the NBT storage- Returns:
- this builder
- Since:
- 4.0.0
-