All functions can use 3 diffrent variations of position. For most examples, the first one will be used.
pos(0,0,0) - Places a block adjacent to player X,Y and Z position
posLocal(0,0,10) - Places where the player faces. It uses the parameters left/right, up/down and forward/backward. I recommend sticking to just changing the last value
world(0,0,0) - Places a block at a world coordinate (X,Y and Z)
Coordinates can be turned on in the settings.
Spawns a particle effect a set location.
To see what effects are avliable, switch to blocks and select the effect, then switch back to python.
Change the time of day to one of six options
In Minecraft, time is measured in ticks (with 20 ticks equal to 1 real-world second).
Full Day-Night Cycle: 24,000 ticks (which equals 20 real-world minutes).
One In-Game Hour: 1,000 ticks (which equals 50 real-world seconds).
When set to False, this will cause it to always be midday
If statement to check if it is day or night
Changes the weather to one of three states
An if statement to check the current state of the weather