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 2307 tags...
Name<EntityTag.material>
ReturnsMaterialTag
MechanismEntityTag.material
DescriptionReturns the block material associated with the entity.
For endermen, returns the material the enderman is holding.
For minecarts, returns the material the minecart is carrying.
Generated Example
- foreach <player.location.find_blocks[<player.material>].within[5]> as:loc:
    - modifyblock <[loc]> air
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaterial.java#L47