Pictures about "Function command doesn't work"
Why command block is not working?
You may find that the commands you are trying to have the command block execute are not working. This may be due to the certain limitations the block has on what commands it can run successfully
. Command Blocks will execute commands with an OP level 2 permissions.
How do you run a function in Minecraft?How to Enter the CommandOpen the Chat Window. The easiest way to run a command in Minecraft is within the chat window.Type the Command. In this example, we will run the function called give_diamond.mcfunction in Minecraft Java Edition (PC/Mac) 1.12 with the following command: /function digminecraft:give_diamond.
Minecraft Tutorial: How to Make Functions and Datapacks