Interface StorageNBTComponent.Builder

All Superinterfaces:
AbstractBuilder<StorageNBTComponent>, Buildable.Builder<StorageNBTComponent>, ComponentBuilder<StorageNBTComponent,StorageNBTComponent.Builder>, ComponentBuilderApplicable, ComponentLike, MutableStyleSetter<StorageNBTComponent.Builder>, NBTComponentBuilder<StorageNBTComponent,StorageNBTComponent.Builder>, StyleSetter<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") @NotNull @NotNull StorageNBTComponent.Builder storage(@NotNull @NotNull Key storage)
      Sets the NBT storage.
      Parameters:
      storage - the id of the NBT storage
      Returns:
      this builder
      Since:
      4.0.0