Interface BundleContents


@NullMarked @Experimental @NonExtendable public interface BundleContents
Holds all items stored inside of a Bundle.
See Also:
  • Method Details

    • bundleContents

      @Contract(value="_ -> new", pure=true) static BundleContents bundleContents(List<ItemStack> contents)
    • bundleContents

      @Contract(value="-> new", pure=true) static BundleContents.Builder bundleContents()
    • contents

      @Contract(pure=true) @Unmodifiable List<ItemStack> contents()
      Lists the items that are currently stored inside of this component.
      Returns:
      items