An / execute command can change the context, but that change does not carry through to any following commands in the same function.Įxecute at run setblock ~ ~-1 ~ diamond_block Contextual parameters are preserved for every command in the function. This includes executing entity, as well as execution position, rotation, dimension, and anchor. Functions use the execution context of whatever called the function. This means that when reloading or loading, the order of execution is tick, load, tick, tick, tick, …įunctions run all their commands in a single tick and other functions called from within also run their commands in the same tick as their parent. Note: The first instance of functions tagged minecraft:tick run before minecraft:load runs. Functions listed in the minecraft:tick tag run at the beginning of each tick, repeating every tick. Therefore, commands like / tellraw and / title do not appear for any player.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |