Vanilla Entity States
29-10-2022
In the source code of GBRPG (or Devas), Vanilla Minecraft Entity Tags are used to store entity states for optimization purposes.
In the source code of GBRPG (or Devas), Vanilla Minecraft Entity Tags are used to store entity states for optimization purposes.
As for sneaking, GBRPG uses the three tags:
sneak:
Player starts sneaking.
sneaking:
Player is currently sneaking.
sneaked:
Player stops sneaking.
During Movement, players are granted the following tags.
Source Code:  stats:player_state/movement
When the player uses a warped fungus on a stick, the player is granted with the fungus tag.
Given when the player is exposed to rain.
When selected item slot is switched, these tags may be given.
Source Code:  stats:player_state/movement
When entity is hurt, they are given the following tags.
Source Code:  stats:entity_state/hurttime
When player is on the ground, this tag would be given.
Required NBT: {OnGround:1b}
Source Code:  stats:entity_state/onground
Given to entities with AE (Active Effects).
Source Code:  stats:entity_state/
Given when entity is falling.
NBT of FallDistance > 0
Source Code:  stats:entity_state/falldistance