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 Details

    • storage

      @Contract("_ -> this") @NonNull StorageNBTComponent.Builder storage​(@NonNull net.kyori.adventure.key.Key storage)
      Sets the NBT storage.
      Parameters:
      storage - the id of the NBT storage
      Returns:
      this builder
      Since:
      4.0.0