#Pack not recognizing custom structure
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 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
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?
vsc with spyglass highlights it and tells that it doesn't recognize it + it works when I /place it ingame
when a player enters a dimension it's supposed to place it on 0 0 0 and then tp player to it
That sounds like just spyglass. If the command works in-game it would work fine in a function
but it doesn't
Show your work
I even tested it with blank function executed by hand
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
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
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)
I'm revoking the advancement for testing
so is there a way to fix this?
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
thanks, that worked
Your question, #1387447670817296547 (Pack not recognizing custom structure), was resolved!
#1387447670817296547 message
14m
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.