question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make end island generate only on first portal join

See original GitHub issue

Description

Is your feature request related to a problem?

Right now, when a user creates a overworld island, their end island is automatically generated, which is a waste of space. I would like that the end island would be generated only when the user tries to go through the portal.

Describe the solution you’d like us to implement.

  1. When user starts island, do not generate the schematic on the end. (https://github.com/BentoBoxWorld/BentoBox/blob/8581522475b2b819ca7448f43f2ce016e5036665/src/main/java/world/bentobox/bentobox/managers/island/NewIsland.java#L223)
  2. Do not generate
spawnPoint:
  THE_END: SkyBlock_the_end:-1:126:-1:1134395392:1106247680

(https://github.com/BentoBoxWorld/BentoBox/blob/587e400287a92dd28e8989fb837c01e39c92c292/src/main/java/world/bentobox/bentobox/schems/Paster.java#L260) at first.

  1. When teleporting to end (https://github.com/BentoBoxWorld/BentoBox/blob/8581522475b2b819ca7448f43f2ce016e5036665/src/main/java/world/bentobox/bentobox/listeners/PortalTeleportationListener.java#L49) check if the user has end island (it can be checked by checking if the user has a spawnpoint on the end). , generate the schematic and the spawnpoint

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
BONNecommented, Jun 4, 2019

It is not hard to implement but…

teleporting to the nether and end will be much trickier… there will be a lot of issues when players stuck into portals without being able to smoothly teleport into the other dimension on the first time, as islands on another side will be necessary to create.

And really… space on a hard drive? You will not grain anything… probably some 1-2mb per player. Or even less, as space in the other end is still reserved, just without blocks.

And without reserving space it will not be possible for other players to get into other dimensions without issues.

Off course if bentobox change code so player reserve island space in dimension only when he joins that dimension (grid per world) would fix that, but it will mean more processing on teleports and checking island owners as it will be based per dimension, not per coordinate on a single grid.

1reaction
Poslovitchcommented, May 29, 2019

And if we kept track of which bundle was used, what would happen if one of the blueprint gets removed/edited ? Issues would happen because of that too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Get An END GATEWAY In Minecraft - YouTube
Tutorial explaining how to get an end gateway in minecraft. Also, how to use and enter the end gateway. Plus how to create...
Read more >
End gateway - Minecraft Wiki - Fandom
End gateways are portals generated in the End: some are spawned around the central island by defeating the ender dragon multiple times; others...
Read more >
r/Minecraft - Just got all 20 End Island portals. I'd say that's the ...
5000 blocks to build a bridge from the main island to the end city islands ... Bomb the end island so that there...
Read more >
End gateway in Minecraft: All you need to know - Sportskeeda
End gateways are portals that are only generated after killing the Ender Dragon. They are used to gain access to the outer End...
Read more >
When entering the End Portal, player is instead teleported to ...
I was trying to fight the ender dragon, as most players try to do, ... im the only player that has been teleported...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found