程序包 org.bukkit.block

# 接口 BrushableBlock

所有超级接口:
  `BlockState`, `Lootable`, `Metadatable`, `PersistentDataHolder`, `TileState`

所有已知子接口:
  `SuspiciousSand`

public interface BrushableBlock extends Lootable, TileState
Represents a captured state of suspicious sand or gravel.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@Nullable ItemStack`
  `getItem()`
  Get the item which will be revealed when the sand is fully brushed away and uncovered.
  `void`
  `setItem(@Nullable ItemStack item)`
  Sets the item which will be revealed when the sand is fully brushed away and uncovered.

  ### 从接口继承的方法 org.bukkit.block.BlockState

  `copy, copy, getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, update`

  ### 从接口继承的方法 org.bukkit.loot.Lootable

  `getLootTable, getSeed, setLootTable, setSeed`

  ### 从接口继承的方法 org.bukkit.metadata.Metadatable

  `getMetadata, hasMetadata, removeMetadata, setMetadata`

  ### 从接口继承的方法 org.bukkit.block.TileState

  `getPersistentDataContainer`

- ## 方法详细资料

  - ### getItem

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

  - ### setItem

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