mojira.dev
MC-101556

Nether Portal teleport range is too large (equivalent to a full block)

Nether Portal teleport range is too large.(Equivalent to the a complete block)

Linked issues

Attachments

Comments 18

[Mod]Les3awe

This issue relates to MC-93478.

William

I believe what I’m about to say is relevant to this issue, playing on a realm I created a nether portal, then left that map moving one map over at a diagonal, map is scaled to a 1:8 map or level 3, created another nether portal, stepped in went back through and came out at my first created portal, so this issue won’t allow me to create a nether hub

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05a.

Avoma

Can confirm in 21w05b.

8 more comments
cubicmetre

We should be able to downvote issues whose resolution would be unanimously deemed deterimental to the game

Josh

yup ^

MrMytho

meanwhile the portal hitbox in bedrock is still full block, just revert this pointless harmfull fix, it benefits no one and only takes away from the game as it renders nether portals next to useless

zekethegameboy

even as a bedrock player this is kinda dumb.

all this does is either screw over a large amount of technical builds and their respective community on java. and when the entire playerbase (rightfully) cries foul for parity mojang will fix the parity in the most unhelpful way by making the change on bedrock.

also this change truly benifits no one but like 4 people who do not check the cords of the nether portal exit point (you have to always check where your portal will be at with the cords otherwise it can be obstructed and appear at the closest valid portal, most likely at the one you made beforehand)

lordpipe

If anyone needs to mitigate this in PaperMC 1.21.5, to restore full size hitbox before 1.21.6 officially comes out:

  1. Download the PaperMC source code with git

  2. Place this file at paper-server/patches/features/9999-Revert-broken-nether-portal-hitbox-MC-101556.patch:

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: lordofpipes <>
Date: Sun, 20 Apr 2025 21:47:16 -0600
Subject: [PATCH] Revert broken nether portal hitbox MC-101556
diff --git a/net/minecraft/world/level/block/NetherPortalBlock.java b/net/minecraft/world/level/block/NetherPortalBlock.java
index 2f08780430fc643991ffb4aeba1f1ae8e78944d2..6c5629a6f5f91496a55eb0bf281ceae1567915b1 100644
--- a/net/minecraft/world/level/block/NetherPortalBlock.java
+++ b/net/minecraft/world/level/block/NetherPortalBlock.java
@@ -63,11 +63,6 @@ public class NetherPortalBlock extends Block implements Portal {
         return SHAPES.get(state.getValue(AXIS));
     }
 
-    @Override
-    protected VoxelShape getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) {
-        return state.getShape(level, pos);
-    }
-
     @Override
     protected void randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) {
         if (level.spigotConfig.enableZombiePigmenPortalSpawns && level.dimensionType().natural() // Spigot
  1. Generate the patched source code with ./gradlew applyPatches

  2. Compile a paperclip jar with ./gradlew createMojmapPaperclipJar

  3. The compiled jar will be at paper-server/build/libs/paper-paperclip-1.21.5-R0.1-SNAPSHOT-mojmap.jar

[Mod]Les3awe

(Unassigned)

Confirmed

Block states, Hitboxes

block, nether_portal, range, teleport

Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, ..., 24w44a, 1.21.3, 1.21.4, 25w02a, 25w03a

25w04a

Retrieved