Spelunkery

Spelunkery

1M Downloads

Portal Fluid ocean causes End Gateways to generate far from outer islands

DJChaos42 opened this issue ยท 1 comments

commented

Describe the bug:
When the Portal Fluid ocean is enabled, End Gateways consistently spawn around 620-750 blocks from the center of the world. Because of this, they generally appear far away from existing landmasses. This might be due to the way End Gateways locate chunks to spawn a linked Gateway in, as detailed here. Disabling the Portal Fluid ocean fixes this issue.

Versions:
Minecraft [1.20.1]
Fabric API [0.92.3+1.20.1]
Moonlight [1.20-2.13.45]
Spelunkery [1.20.1-0.3.15]

Other mods:
Tested in a new instance with no additional mods.

Logs:
latest.log

To Reproduce:

  1. Install Spelunkery and its dependencies.
  2. Create a new world.
  3. Generate and travel through a new End Gateway.
  4. Gateway spawns around 620-750 blocks from the center of the world.
  5. Generate additional Gateways to test as needed.
  6. Repeat steps 2-5 with the "portal_fluid_ocean" config option disabled.
  7. Note that Gateways now generally spawn much further from the center of the world.

Expected behavior:
End Gateways should spawn near existing landmasses when possible instead of far away from them.

Screenshots:
Gateway generation tested with five different Gateways. Note the consistency in the distance from the center of the world.

2024-12-30_11 38 47
2024-12-30_11 39 12
2024-12-30_11 40 10
2024-12-30_11 40 53
2024-12-30_11 41 21

Additional info:
The initial island which appears underneath generated gateways is created at the same time as the gateway. This can be confirmed by traveling to the same coordinates before and after generation.

commented

Confirmed for version 0.3.16