block_sound()

View on GitHub

Syntax

block_sound(pos)

Returns the name of sound type made by the block at position. One of:

  • 'wood'
  • 'gravel'
  • 'grass'
  • 'stone'
  • 'metal'
  • 'glass'
  • 'wool'
  • 'sand'
  • 'snow'
  • 'ladder'
  • 'anvil'
  • 'slime'
  • 'sea_grass'
  • 'coral'
  • 'bamboo'
  • 'shoots'
  • 'scaffolding'
  • 'berry'
  • 'crop'
  • 'stem'
  • 'wart'
  • 'lantern'
  • 'fungi_stem'
  • 'nylium'
  • 'fungus'
  • 'roots'
  • 'shroomlight'
  • 'weeping_vines'
  • 'soul_sand'
  • 'soul_soil'
  • 'basalt'
  • 'wart'
  • 'netherrack'
  • 'nether_bricks'
  • 'nether_sprouts'
  • 'nether_ore'
  • 'bone'
  • 'netherite'
  • 'ancient_debris'
  • 'lodestone'
  • 'chain'
  • 'nether_gold_ore'
  • 'gilded_blackstone'
  • 'candle'
  • 'amethyst'
  • 'amethyst_cluster'
  • 'small_amethyst_bud'
  • 'large_amethyst_bud'
  • 'medium_amethyst_bud'
  • 'tuff'
  • 'calcite'
  • 'copper'