Package net.kyori.adventure.text
Interface StorageNBTComponent
- All Superinterfaces:
Buildable<StorageNBTComponent,StorageNBTComponent.Builder>
,BuildableComponent<StorageNBTComponent,StorageNBTComponent.Builder>
,Component
,ComponentBuilderApplicable
,ComponentLike
,net.kyori.examination.Examinable
,HoverEventSource<Component>
,NBTComponent<StorageNBTComponent,StorageNBTComponent.Builder>
,ScopedComponent<StorageNBTComponent>
public interface StorageNBTComponent extends NBTComponent<StorageNBTComponent,StorageNBTComponent.Builder>, ScopedComponent<StorageNBTComponent>
An storage NBT component.
- Since:
- 4.0.0
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageNBTComponent.Builder
A command storage NBT component builder. -
Method Summary
Modifier and Type Method Description @NonNull Key
storage()
Gets the NBT storage's ID.@NonNull StorageNBTComponent
storage(@NonNull Key storage)
Sets the NBT storage.Methods inherited from interface net.kyori.adventure.text.Component
asComponent, asHoverEvent, children, clickEvent, color, componentBuilderApply, contains, decoration, decorations, decorations, detectCycle, hasDecoration, hasStyling, hoverEvent, insertion, replaceFirstText, replaceFirstText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, style, style
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
Methods inherited from interface net.kyori.adventure.text.NBTComponent
interpret, interpret, nbtPath, nbtPath
Methods inherited from interface net.kyori.adventure.text.ScopedComponent
append, append, append, children, clickEvent, color, colorIfAbsent, decorate, decoration, decoration, hoverEvent, insertion, mergeStyle, mergeStyle, mergeStyle, style, style, style