Interface DecoratedPot

All Superinterfaces:
BlockState, Metadatable, PersistentDataHolder, TileState

@MinecraftExperimental @Experimental public interface DecoratedPot extends TileState
Represents a captured state of a decorated pot.
  • Method Details

    • getShards

      Gets the shards which will be dropped when this pot is broken.
      Returns:
      shards
    • addShard

      void addShard(@NotNull @NotNull Material material)
      Add a shard item which will be dropped when this pot is broken.
      Parameters:
      material - shard item
    • setShards

      void setShards(@Nullable @Nullable List<Material> shard)
      Set the shards which will be dropped when this pot is broken.
      Parameters:
      shard - list of items