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<EntityTag.collides_at[<location>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity's bounding box would collide if the entity was moved to the given location.
This checks for any colliding entities (like boats and shulkers), the world border and regular blocks.
(Note that this won't load chunks at the location.)
Generated Example
- if <player.collides_at[<player.location>]>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Grouppaper
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperEntityExtensions.java#L146