Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2487 tags...
Name<MaterialTag.block_sound_data>
ReturnsMapTag
DescriptionIf the material is a block, returns the sound data for that block.
The returned map has the following keys:
volume, pitch: a decimal number
break_sound, step_sound, place_sound, hit_sound, fall_sound: Bukkit name of the sound effect
Generated Example
- foreach <material[stone].block_sound_data> key:key as:val:
    - narrate "<[key]> is set as <[val]>"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L636