#Tick.JSON

1 messages · Page 1 of 1 (latest)

feral burrow
#

So I noticed this file 'tick.JSON' recently.
Is there a way to make this execute functions?
It seems to be able to influence mob effects.

severe pumice
#

It's structure needs to be like this

{
    "values" : [
         "function1", "function2"
    ]
}

function1 and function2 are function names without .mcfunction

feral burrow
#

So the files extension is NOT included in the list?

haughty forum
#

NO

#

Just the name, no need .mcfunction

feral burrow
#

K just double checking : )

feral burrow
cinder wigeon
#

tick json has to be in the functions folder, of course

feral burrow
#

{
"values" : [
"test"
]
}

#

Yeah it is in the functions folder
The name is lowercase, right?

spare trench
#

if you have a function named test.mcfunction in no folders other than the "functions" folder it should work

feral burrow
#

It doesn't seem to though

spare trench
#

can you send the addon?

cinder wigeon
feral burrow
# spare trench can you send the addon?

Not really - I'm injecting tick.json after it's been compiled, directly into
android/data/com.mojang.minecraftpe/files/games/com.mojang/behaviour_pack/[pack name]/functions/

spare trench
#

hm i think i found the problem then

#

for packs where you do those things you will have to use developoment behavior packs

spare trench
feral burrow
#

Wait actually what does tick.json execute as/at?
In my function I've got:
tellraw @s {"rawtext":[{"text":"Test"}]}

spare trench
#

nobody and 0 0 0 0 0

blazing drum
#

I always put the function inside another folder

#

It tends to work