Open MeeniMc opened 1 year ago
Thank you for the response. I did end up making a farm using the minihud bounding box and it was successful. I apologize, I got distracted and forgot to update. I actually built a really cool structure around it as well. Spawn proofing the area would provide better rates, but honestly it even produces gunpowder when I'm not in the afk position. It's also not my only source of gunpowder, I just love the carpet mod and wanted to do something fun.
I ended up just making the farm at the minihud y-level, but I may try to lower it in the future with these fixes. Thanks again.
Issue description
In some cases (in particular after a structure is found in a new chunk with
/locate structure
), the structure boundaries, as identified by carpet are not correct. In particular, the Y position for the structure is wrong (looks like the 0 of the structure is always at 62). This manifests with/overlay
script shows the structure to be offset in the Y direction./spawn list
command when used in conjunction with structure specific spawn conditions (e.g.,carpet-extra creeperSpawningInJungleTemples
) report that spawning conditions are not enforced correctly (they are indeed not enforced).Image: The
/overlay
bounding box is wildly inaccurate for this jungle templeImage: The MiniHud bounding box (orange) does not align with the Carpet `/overlay` box (teal)
![2023-04-11_23 24 35](https://user-images.githubusercontent.com/68366846/231343652-36f943a0-6313-44a7-b789-6628ee7fe4b3.png)Workaround
Quitting the game and reloading the game fixes the problem for the affected structure, but locating another structure and tp-ing to it may result in that new structure being Y offset again.
Image: After a game reload the MiniHud and Carpet overlay are both aligned with the structure
![2023-04-11_23 25 20](https://user-images.githubusercontent.com/68366846/231343775-5e8d2034-0579-447c-a094-d64ffe8701d0.png)Replication steps
/locate structure jungle_pyramid
/tp x y z
/script load overlay
/overlay structure jungle_pyramid
/carpet creeperSpawningInJungleTemples true
/spawn list ~ ~ ~
to confirm that the spawn rule is applied within the boundaries of the overlay, but not necessarily in the real structureVersions/log