#Pack not recognizing custom structure

1 messages · Page 1 of 1 (latest)

hollow brookBOT
#

<@&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:1750865503: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

fair magnet
#

When I do /place template namespace:island ~ ~ ~ it executes just fine, but when I try to execute with a function it doesn't recognize the structure (at least I assume that's what happens). Is there a way to fix it?

mental ruin
#

Why do you assume that's what happens?

#

How does the function get run?

fair magnet
fair magnet
mental ruin
#

That sounds like just spyglass. If the command works in-game it would work fine in a function

fair magnet
#

but it doesn't

fair magnet
#

I even tested it with blank function executed by hand

mental ruin
# fair magnet but it doesn't

The command itself works, it recognizes the structure. It's just not producing the desired result because of how it's getting run, which is different

#

So, show your work

fair magnet
#
execute unless score world entered_skyblock matches 1 run place template amogus:skyblock_island 0 0 0
scoreboard players set world entered_skyblock 1
advancement revoke @s only amogus:enter_skyblock
#

it executes when the player enters the dimension

mental ruin
#

So the issue is probably that the chunks haven't loaded yet, or the structure is being placed outside the world bounds (less likely but possible)

fair magnet
#

I'm revoking the advancement for testing

fair magnet
mental ruin
#

Oh it probably is also placing it in the Overworld since you don't specify a dimension.

You would need to have your reward function tag the player, then schedule a repeating scheduled function. In that scheduled function, you'd run a new function as and at players with that tag, only if the chunks are loaded (execute if loaded ...) that then runs the place command in the desired dimension (execute in ...)

#

And removes the tag from the player/ends the schedule

fair magnet
#

thanks, that worked

hollow brookBOT
#
Question Closed

Your question, #1387447670817296547 (Pack not recognizing custom structure), was resolved!

Original Message

#1387447670817296547 message

Duration open

14m

hollow brookBOT
#
Closed for inactivity

This question has been inactive for some time, so it's going to be closed for inactivity. If you still need it, please disregard this message.