#tick.mcfunction Not running

1 messages · Page 1 of 1 (latest)

haughty nightBOT
queen bolt
#

What version?

tulip harness
#

1.20.1

queen bolt
#

What’s in tick.json?

tulip harness
#

{
"values": [
"lava_instakill:tick"
]
}

queen bolt
#

Does your datapack show up when you run /datapack list enabled?

tulip harness
#

Yes

queen bolt
#

What’s in tick.mcfunction?

tulip harness
#

execute as @a at @s if block ~ ~ ~ minecraft:lava run damage @s 99999999 on_fire
say Lava Instakill tick ran!file

queen bolt
#

Does that work if you run /function lava_instakill:tick in chat?

tulip harness
#

Yes

queen bolt
#

Hmmm

#

Do you have any other datapacks enabled?

tulip harness
#

Yes

queen bolt
#

Try disabling those and seeing if it fixes the problem

#

Sometimes problems with other datapacks can break tick.json for all packs

tulip harness
#

Did not change anything

queen bolt
#

Can you check the logs?

ornate steppeBOT
#
Logs

When making or debugging Minecraft datapacks, it is useful to have the Minecraft logs open in order to view errors quickly.

To open the logs:

  1. Enable the logs in the Minecraft Launcher (see image)
  2. Start Minecraft

The logs should open in a separate window. Datapack errors are shown in the when you /reload and are almost always in red text or yellow text.

tulip harness
#

Yeah

#

It works now