#im cursed with datapacks

1 messages · Page 1 of 1 (latest)

still furnace
#

i hate to be that guy who makes ten thousand forums

but this keeps breaking
i dont know why but adding a predicate to my function made it stop doing every tick and i have no clue how to fix it

winter lotusBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1741568992:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

random canyon
#

There is nothing wrong with this file

#

If your tick function has a syntax error in it, that will prevent the whole file from running.

still furnace
#

i've tested the function itself and it works

#

and there isnt any red in vsc

random canyon
#

Show your work

still furnace
random canyon
#

And removing the predicate makes it work?

still furnace
#

it was working

random canyon
#

Not what I asked

still furnace
#

when i didnt have it

random canyon
#

Does removing the predicate make it work?

still furnace
#

yes

random canyon
#

So the issue is with the predicate. It may not be checking what you want it to check correctly, and so always returns false

still furnace
#

okay

#

if thats the case hten why would runing the function normally work

#

for future reference

random canyon
#

Probably a positioning issue. You may need to run the command at @s

#

as only changed who is running the command, not where the command gets run

still furnace
#

thanks

winter lotusBOT
#
Question Closed

Your question, #1348455280400404542 (im cursed with datapacks), was resolved!

Original Message

#1348455280400404542 message

Duration open

22m