-
Notifications
You must be signed in to change notification settings - Fork 0
Querying Data
data is the one argument given to each event. It is a python dictionary describing the state of the player and of the game world.
This is the player's x coordinate as a float.
This is the player's y coordinate as a float.
This is the player's z coordinate as a float.
This is true if the player is submerged in water, false otherwise. Every change in this variable calls water_submersion.
This is what biome the player is in as a data tag. Read a biome's page on https://minecraft.wiki to figure out what those are, or alternatively look at the F3 menu to figure out the tag of the biome you're in. The datatype is a string.
This is the temperature value of the biome the player is in as a float. Read the minecraft wiki to learn more.
This is the dimension the player is in.
This is the time of day in ticks. Running /time query dayTime should tell you what the time currently is.