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 2444 tags...
Name<LocationTag.is_spawnable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location is safe to spawn at, for a player or player-like entity.
Specifically this verifies that:
- The block above this location is air.
- The block at this location is non-solid.
- The block below this location is solid.
- All relevant blocks are not dangerous (like fire, lava, etc.), or unstable/small/awkward (like fences, doors, etc.) or otherwise likely to go wrong (like pressure plates).
Generated Example
- if <player.location.is_spawnable>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Groupworld
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4136