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 1 out of 658 mechanisms...
Nameknockback
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.knockback> Deprecated in favor of setting the knockback enchantment on the weapon itself on MC 1.21+.
DescriptionDeprecated in favor of setting the knockback enchantment on the weapon itself on MC 1.21+.
Generated Example
- adjust <player> knockback:2
Deprecateduse the knockback enchantment on the weapon itself on MC 1.21+.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityKnockback.java#L70