Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameBlockCrack
Syntaxblockcrack [<location>] [progress:<#>] (stack) (players:<player>|...) (duration:<duration>)
Short DescriptionShows the player(s) a block cracking animation.
Full DescriptionYou must specify a progress number between 1 and 10, where 1 is the first stage and 10 is the last.
To remove the animation, you must specify any number outside of that range. For example, 0.
Optionally, you can stack multiple effects or set a duration for how long the effect should be shown.
Related TagsNone
Usage Example
# Use to show a crack in a block to the currently attached player.
- blockcrack <context.location> progress:4
Usage Example
# Use to stop showing a crack in a block to all online players.
- blockcrack <context.location> progress:0 players:<server.online_players>
Usage Example
# Use to show all 10 layers of block cracking at the same time.
- repeat 10:
  - blockcrack <context.location> progress:<[value]> stack
Usage Example
# Use to show a crack in a block to the attached player for 5 seconds.
- blockcrack <context.location> progress:4 duration:5s
Groupplayer
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/BlockCrackCommand.java#L32