Interface BrushableBlock

All Superinterfaces:
BlockState, Lootable, Metadatable, PersistentDataHolder, TileState
All Known Subinterfaces:
SuspiciousSand

public interface BrushableBlock extends Lootable, TileState
Represents a captured state of suspicious sand or gravel.
  • 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