A game rule that prevents the client from doing client-side actions and animations.
Fields:
| Name | Type |
|---|---|
| name | string |
| value | bool |
| ? | bool |
Name of the rule. Same of the gamerule command's field in the game.
The behaviours indicated in the following constants' descriptions is enabled or disabled.
Constants:
| Name | Value | |
|---|---|---|
| command block output | commandblockoutput | Command's block output in the chat |
| drowning damage | drowningdamage | Damage animation when drowning |
| fall damage | falldamage | Damage animation when falling |
| fire damage | firedamage | Damage animation when burning |
| pvp | pvp | Damage animation and related packets |
| send command feedback | sendcommandfeedback |
Indicates whether the game rule is enabled.