Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 3 out of 632 mechanisms...

Categories:

EntityTag Mechanisms | LocationTag Mechanisms



Category: EntityTag Mechanisms


Namecustom_name
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.custom_name> Returns the entity's custom name (as set by plugin or name tag item), if any.
DescriptionSets the custom name (equivalent to a name tag item) of the entity.
Provide no input to remove the custom name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomName.java#L60

Namecustom_name_visible
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.custom_name_visible> Returns whether the entity's custom name is visible.
DescriptionSets whether the entity's custom name is visible.
Generated Example
- adjust <player> custom_name_visible:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomNameVisible.java#L63



Category: LocationTag Mechanisms


Namecustom_name
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.custom_name> Returns the custom name of this block. (...)
DescriptionSets the custom name of the block.
Use no value to reset the block's name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4917