Non-player entities going through Nether portal do not generate portal in Nether if none exists
The bug
Non-player entities going through a Nether portal do not generate a new portal in the Nether if none exists. Instead they are just placed at x / 8, y, z / 8, which could be in or above a lava lake as well.
How to reproduce
- Create a new world, or make sure there are no nearby portals in the Nether
- Create a Nether portal in the Overworld
- Throw for example an item through the portal
- Enter the portal
→ The item is very likely not at the position of the portal
Note: You can also summon an armor stand in the portal to see where it was teleported.
/summon armor_stand ~ ~-3 ~ {Invulnerable:1b,NoGravity:1b,Glowing:1b,Tags:[teleportMarker]}
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
While for players the method net.minecraft.world.Teleporter.placeInPortal(Entity, float) is used which creates a portal if none exists, non-player entities only use net.minecraft.world.Teleporter.placeInExistingPortal(Entity, float) which assumes there is already a portal. It looks like they could use Teleporter.placeInPortal(Entity, float) instead as well without any downsites.
Linked Issues
relates to4
Created Issue:
Item accidentally thrown through new nether portal results in the item disappearing
After creating a new portal and lighting it, I accidentally threw my nether chest through it before going through myself (thanks Q key for throw...right beside W for forward...should have changed this by now but anyway). The nether chest was nowhere to be found. it disappeared on both sides of the portal.
I'm aware things like this get closed as "nether chunks not loaded": or similar via searching before posting....but this really is a bug.What if I'd accidentally thrown a mending+infinity bow generated from a prior version of minecraft through instead? I'd be looking for cheats and hacks...thats what....and I've seen on multiplayer what this leads to....
Environment
Win10 x64 (1703), built it java for minecraft
After creating a new portal and lighting it, I accidentally threw my nether chest through it before going through myself (thanks Q key for throw...right beside W for forward...should have changed this by now but anyway). The nether chest was nowhere to be found. it disappeared on both sides of the portal.
I'm aware
things like this get closed as "nether chunks not loaded": or similar via searching before posting....but this really is a bug.What if I'd accidentally thrown a mending+infinity bow generated from a prior version of minecraft through instead? I'd be looking for cheats and hacks...thats what....and I've seen on multiplayer what this leads to....After creating a new portal and lighting it, I accidentally threw my nether chest through it before going through myself (thanks Q key for throw...right beside W for forward...should have changed this by now but anyway). The nether chest was nowhere to be found. it disappeared on both sides of the portal.
I'm aware reports like this get closed as "nether chunks not loaded": or similar via searching before posting....but this really is a bug.What if I'd accidentally thrown a mending+infinity bow generated from a prior version of minecraft through instead? I'd be looking for cheats and hacks...thats what....and I've seen on multiplayer what this leads to....
Win10 x64 (1703), built i
tjava for minecraftWin10 x64 (1703), built in java for minecraft
After creating a new portal and lighting it, I accidentally threw my nether chest through it before going through myself (thanks Q key for throw...right beside W for forward...should have changed this by now but anyway). The nether chest was nowhere to be found. it disappeared on both sides of the portal.
I'm aware reports like this get closed as "nether chunks not loaded": or similar via searching before posting....but this really is a bug.What if I'd accidentally thrown a mending+infinity bow generated from a prior version of minecraft through instead? I'd be looking for cheats and hacks...thats what....and I've seen on multiplayer what this
leads to....After creating a new portal and lighting it, I accidentally threw my nether chest through it before going through myself (thanks Q key for throw...right beside W for forward...should have changed this by now but anyway). The nether chest was nowhere to be found. it disappeared on both sides of the portal.
I'm aware reports like this get closed as "nether chunks not loaded": or similar via searching before posting....but this really is a bug.What if I'd accidentally thrown a mending+infinity bow generated from a prior version of minecraft through instead? I'd be looking for cheats and hacks...thats what....and I've seen on multiplayer what this path of cheating leads to once the information is found....
Win10 x64 (1703), built in java for minecraft
Item accidentally thrownthroughnew nether portalresultsin the item disappearingNon-player entities going through Nether portal do not generate portal in Nether if none exists
After creating a new portal and lighting it, I accidentally threw my nether chest through it before going through myself (thanks Q key for throw...right beside W for forward...should have changed this by now but anyway). The nether chest was nowhere to be found. it disappeared on both sides of the portal.
I'm aware reports like this get closed as "nether chunks not loaded": or similar via searching before posting....but this really is a bug.What if I'd accidentally thrown a mending+infinity bow generated from a prior version of minecraft through instead? I'd be looking for cheats and hacks...thats what....and I've seen on multiplayer what this path of cheating leads to once the information is found....
The bug
Non-player entities going through a Nether portal do not generate a new portal in the Nether if none exists. Instead they are just placed at x / 8, y, z / 8, which could be in or above a lava lake as well.
How to reproduce
- Create a new world, or make sure there are no nearby portals in the Nether
- Create a Nether portal in the Overworld
- Throw for example an item through the portal
- Enter the portal
→ The item is very likely not at the position of the portalNote: You can also summon an armor stand in the portal to see where it was teleported.
/summon armor_stand ~ ~-3 ~ {Invulnerable:1b,NoGravity:1b,Glowing:1b,Tags:[teleportMarker]}Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
While for players the method net.minecraft.world.Teleporter.placeInPortal(Entity, float) is used which creates a portal if none exists, non-player entities only use net.minecraft.world.Teleporter.placeInExistingPortal(Entity, float) which assumes there is already a portal. It looks like they could use Teleporter.placeInPortal(Entity, float) instead as well without any downsites.
relates to
relates to
Could be partwise caused by MC-116279. Is there a portal in the overworld at the corresponding position?
Additionally the fact that portal entries are removed from the cached portal position map after not being used for 300 ticks (if world time % 100 == 0) is probably not beneficial at all.
Possibly a duplicate of MC-116279, but only marking it as related now
Thank you for your report!
However, this issue is Working as Intended.
The report you have submitted is working as intended: see MC-116279 and MC-151648.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I can confirm for 17w15a that they are not always teleported to the portal but sometimes appear multiple blocks offset from it. Can you make sure that the same happens for you as well, hightlight them for example by using the following command after going through the portal as well (if possible in a test world or a copy and not your Survival world).
/entitydata @e[type=item,r=100] {Glowing:1b}Did this in a new world (17w16a now), and it's definitely disappeared....but not every single time. In the 10 tests from a new world that I did, it turned up twice...once it appeared from the floor about 15 seconds later, so I'm guessing it teleported to a lower level and item elevated it's way up, and the other time it turned up after the nether was properly responsive again (ie pigmen started moving and it wasn't so jerky to move) about 10 blocks away from the portal.
Steps to reproduce.
Start a new world
create a nether portal and light it.
throw an object through
go through the portal, and the item you threw won't be anywhere.
Changed the report to be about entities not generating portals. This is very likely what is causing items to disappear for you since they could be placed in or above lava lakes as well.
Confirmed for 1.13.1.
Confirmed for 20w10a. Possibly the cause of
MC-151648I am not able to reproduce in 1.16.3 with the given repro steps, instead I get
MC-151648where entities don't travel through the portal at all. @Jeuv how were you able to reproduce both issues in 20w10a?Cannot reproduce this in 1.17.1. This seems to be blocked by
MC-151648.