it was because the command block was set to Always active and not needs red stone
Hi all, I am currently working on a single player world on 1.15, java edition, no mods no optifine. I have just discovered the Function command, and would like to utilise it to help me create my skyblock world. The function works fine when I type it in chat, but not from command blocks.
speed.mcfunction (filename)
/function cjmc:speed
function file contains:
effect give @p speed 999 1 true
give @p dirt 1
i have searched and searched for an answer to my question, “can command blocks run functions” but I cannot for the life of my work it out.
EDIT——
it was because the command block was set to Always active and not needs red stone
Hi all, I am currently working on a single player world on 1.15, java edition, no mods no optifine. I have just discovered the Function command, and would like to utilise it to help me create my skyblock world. The function works fine when I type it in chat, but not from command blocks.
speed.mcfunction (filename)
/function cjmc:speed
function file contains:
effect give @p speed 999 1 true
give @p dirt 1
i have searched and searched for an answer to my question, “can command blocks run functions” but I cannot for the life of my work it out.
many thanks in advance