mojira.dev
MC-85267

Disabling the nether prevents the end to generate

The bug

The end does not generate and you cannot move when you set the setting allow-nether in the server.properties file to false and then enter an end portal. This can in theory be reproduced in Survival mode (see MC-89399), but as of right now there is no seed with an already activated end portal public. Besides that it can be produced in Creative as well by placing the missing eye of ender items.

The debug screen shows the message "Waiting for chunk...".

How to reproduce

  1. Download the latest release minecraft server from https://minecraft.net/en-us/download/server or the snapshot one from the latest snapshot news post

  2. Open the server.properties file with a text editor and set allow-nether to false

    allow-nether=false
  3. Start the server

  4. Find a stronghold or spawn a portal to the end and enter it

    /setblock ~ ~ ~ end_portal

    → You should be unable to move and nothing should be loading

Code analysis

Based on 1.11.2 decompiled using MCP 9.35 rc1

The method net.minecraft.server.MinecraftServer.updateTimeLightAndEntities() only updates the nether and end if the nether is enabled, however end portals do not check for that. It might be good if a new allow-end option was added to not cause confusion in the future.

Attachments

Comments 14

You cannot reach The End without having The Nether (Blaze rods...) without cheating.

Indeed, but shouldn't you be able to anyway? The option is to disable the nether, not the end. It's sad to see if this doesn't get fixed, as "teleportation" to your bed will not work without the nether (teleport to the end and then back).

Nothing needs to be fixed if this is intended, but perhaps change "allow-nether" to "allow-nether-and-end" or something similar.

That's sounding like a feature suggestion --> Minecraft Suggestions on Reddit.

I don't see how this bug report is a feature suggestion. allow-nether is for the Nether and ONLY the Nether, but it affects the End too.

Perhaps he/she was talking about
-"Nothing needs to be fixed if this is intended, but perhaps change 'allow-nether' to 'allow-nether-and-end' or something similar."
Nevertheless, I reckon posting this on reddit will not have enough backers/voters to make it into the game/an eventual game "fix" so I assume this will stay as a bug/intention or what you wish to call it :/

4 more comments

Changed reporter back to you. Please keep the ticket updated; especially the "Affects Version/s" field.

Can confirm for MC 1.12.1.

In MinecraftServer.class, in the updateTimeLightAndEntities() method, if allow-nether is set to false, it completely skips the world tick of every single dimension type except overworld.  This includes modded dimension types, of course (which is how I ended up here), but also obviously the end as well.

The setting's name is a far cry from what it actually does.  If no change to functionality is wanted, it could at least be renamed to "allow-other-dimensions" or something.

Code analysis done in 1.12.2

I am unable to reproduce this in 1.17-pre5.

Cannot reproduce in 1.17 either, I will therefore resolve this report.
Please let us know in case you still experience this in the latest versions.

Simon Wrede

(Unassigned)

Confirmed

(Unassigned)

block-entity, end, end_portal, entity, nether, properties, server

Minecraft 1.8.8, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.13.1, 1.15.1, 1.15.2 Pre-Release 1

Retrieved