Uses of Interface
net.kyori.adventure.text.StorageNBTComponent
Packages that use StorageNBTComponent
Package
Description
Data for controlling components, their styles, and events.
Component rendering.
-
Uses of StorageNBTComponent in net.kyori.adventure.text
Subinterfaces with type arguments of type StorageNBTComponent in net.kyori.adventure.textModifier and TypeInterfaceDescriptioninterfaceGiven aKey, this component reads the NBT of the associated command storage and displays that information.interfaceGiven aKey, this component reads the NBT of the associated command storage and displays that information.static interfaceA command storage NBT component builder.Methods in net.kyori.adventure.text that return StorageNBTComponentModifier and TypeMethodDescriptionSets the NBT storage.static StorageNBTComponentComponent.storageNBT(String nbtPath, boolean interpret, Key storage) Creates a storage NBT component with a path and an storage ID.static StorageNBTComponentComponent.storageNBT(String nbtPath, boolean interpret, @Nullable ComponentLike separator, Key storage) Creates a storage NBT component with a path and an storage ID.static StorageNBTComponentComponent.storageNBT(String nbtPath, Key storage) Creates a storage NBT component with a path and an storage ID.static StorageNBTComponentComponent.storageNBT(Consumer<? super StorageNBTComponent.Builder> consumer) Creates a storage NBT component by applying configuration fromconsumer. -
Uses of StorageNBTComponent in net.kyori.adventure.text.renderer
Methods in net.kyori.adventure.text.renderer with parameters of type StorageNBTComponentModifier and TypeMethodDescriptionprotected abstract ComponentAbstractComponentRenderer.renderStorageNbt(StorageNBTComponent component, C context) Renders a storage NBT component.protected ComponentTranslatableComponentRenderer.renderStorageNbt(StorageNBTComponent component, C context)