Interface StorageNBTComponent

    • Method Detail

      • storage

        @NotNull
        @NotNull Key storage()
        Gets the NBT storage's ID.
        Returns:
        the NBT storage
        Since:
        4.0.0
      • storage

        @Contract(pure=true)
        @NotNull
        @NotNull StorageNBTComponent storage​(@NotNull
                                             @NotNull Key storage)
        Sets the NBT storage.
        Parameters:
        storage - the identifier of the NBT storage
        Returns:
        a storage NBT component
        Since:
        4.0.0