Skip to content

Quality of life netherportal fix#1337

Merged
sylvessa merged 4 commits intosmartcmd:mainfrom
Us3ful-dev:Netherportal-obsidian-fix
Apr 3, 2026
Merged

Quality of life netherportal fix#1337
sylvessa merged 4 commits intosmartcmd:mainfrom
Us3ful-dev:Netherportal-obsidian-fix

Conversation

@Us3ful-dev
Copy link
Copy Markdown
Contributor

Description

Accidently removed the old netherportal fix so reopened it here with the bugs fixed.

Changes

Does two checks if two portals might be posible.

Previous Behavior

An obsidian next to the portal blocks the portal from lighting.

Root Cause

If two portals are posible the game does no check.

New Behavior

One of the posible portals lights or does not get blocked by the extera obsidian.

Fix Implementation

Check if two portals might be posible and then check both (exept when first already works)

AI Use Disclosure

No AI was used.

Related Issues

fixed x axis portal with obsidian on z axis
removed PortalTile:: from PortalTile::validPortalFrame
@sylvessa
Copy link
Copy Markdown
Collaborator

Minecraft.Client_rz2wEugfYz.mp4

??? Why does it place an emerald ore

@Us3ful-dev
Copy link
Copy Markdown
Contributor Author

Us3ful-dev commented Mar 23, 2026

O, left some debug code
I used spawned blocks to see in what step of the code it was, was before i found out i could print to the terminal.
Sorry

@Us3ful-dev
Copy link
Copy Markdown
Contributor Author

Should be fixed now.

@Us3ful-dev Us3ful-dev changed the title Netherportal obsidian fix Quality of life netherportal fix Mar 25, 2026
@sylvessa
Copy link
Copy Markdown
Collaborator

sylvessa commented Apr 3, 2026

thank you for this, and sorry it took so long to review lol

@sylvessa sylvessa merged commit 103f388 into smartcmd:main Apr 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Netherportal does not light if an obsidian is next to the frame

2 participants