Centering worldborder far from 0,0 makes portals spawn outside of world border and kill players
E-daw opened this issue ยท 4 comments
Forge version: 43.1.52
Twilight Forest version: 1.19.2-4.2.1468
Steps to reproduce:
- Center world border out from 0,0
- Enable world border to smaller value
- Create portals in over world
What I expected to happen:
Players spawn in the forest normally
What happened instead:
Players immediately die from suffocation because they're placed outside the border
Is there a way to set the scale to 1:1 rather than the 8:1 to fix this or some way to allow for portals to spawn within the border?
This is an issue present in vanilla as well, nothing we can do. Only fix for this is to keep the world border at 0,0.
You can set the scale with a datapack if you want to. Simply copy this file and change the coordinate scale: https://github.com/TeamTwilight/twilightforest/blob/1.19.x/src/generated/resources/data/twilightforest/dimension_type/twilight_forest_type.json#L4. Otherwise, the worldborder not scaling correctly in other dimensions when the center is changed is a vanilla bug that we cant really do much about.
You can set the scale with a datapack if you want to. Simply copy this file and change the coordinate scale: https://github.com/TeamTwilight/twilightforest/blob/1.19.x/src/generated/resources/data/twilightforest/dimension_type/twilight_forest_type.json#L4. Otherwise, the worldborder not scaling correctly in other dimensions when the center is changed is a vanilla bug that we cant really do much about.
How would I go about adding that file to a datapack?
the file goes under the same directory as the file I just linked. (data/twilightforest/dimension_type/twilight_forest.json). If you've never made a datapack before, you can read the wiki page to understand how to set a basic one up. https://minecraft.fandom.com/wiki/Data_pack