1

Issues when using multiple tick.json files

Croesus11/4/19 5:28 pm
1 emeralds 928 5
11/6/2019 3:49 pm
Croesus
I have 2 datapacks enabled, both have a tick.json file running their respective functions. But since there are 2 tick.json files, it seems that doesn't work. When 1 is disabled, everything works correctly.

Is this supposed to happen?
Posted by avatar
Croesus
Level 44 : Master Architect
66

Create an account or sign in to comment.

5

1
11/06/2019 10:15 am
Level 47 : Master Elf
Elemend
Elemend avatar
one Issue I can think of is that one replaces the other, which normally shouldn't be the case.

So open the json-file and if it contains a line with:

"replace:true"

change "true" to "false"
1
11/06/2019 3:49 pm
Level 44 : Master Architect
Croesus
Croesus avatar
{
"values": [
"functions:test"
]
}


This is all that is in the file...
1
11/04/2019 5:36 pm
Level 40 : Master Pixel Painter
Mrgoldy
Mrgoldy avatar
Yes, I'm not exactly sure but I think Minecraft cannot choose between the files since there are 2 of them so it ignores both.
1
11/05/2019 4:17 pm
Level 44 : Master Architect
Croesus
Croesus avatar
So if a datapack wishes to utilize the tick.json file, it cannot be compatible with other functions that use a tick.json file as well?
1
11/05/2019 5:33 pmhistory
Level 40 : Master Pixel Painter
Mrgoldy
Mrgoldy avatar
I don't really know much about coding and stuff but maybe combine the two tick.json files ( like writing the coding to one file )???

Idea : I think you can rename the second one to something else then configure it so minecraft recognizes it.
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome