Interface SuspiciousSand

All Superinterfaces:
BlockState, Lootable, Metadatable, PersistentDataHolder, TileState

@MinecraftExperimental @Experimental public interface SuspiciousSand extends Lootable, TileState
Represents a captured state of suspicious sand.
  • Method Details

    • getItem

      @Nullable ItemStack getItem()
      Get the item which will be revealed when the sand is fully brushed away and uncovered.
      Returns:
      the item
    • setItem

      void setItem(@Nullable ItemStack item)
      Sets the item which will be revealed when the sand is fully brushed away and uncovered.
      Parameters:
      item - the item