mojira.dev
MC-253401

Mangrove trees can grow outside of the world border

When mangrove trees attempt to spawn or grow, they attempt to extend their roots from their trunk until they hit a location they cannot be placed at. The method responsible for checking this is RootPlacer.canPlaceRoot(). The method does not return false when the requested location is outside of the world, meaning the generator is considering placing roots outside of the world, and continues along extending roots as normal. In testing, root placement is generally aborted for length reasons before properly attempting to place outside of the world. However, the fact that the generator believes it can place roots outside of the world and proceeds instead of ending roots at the world boundary is probably unintended behavior.

Comments 2

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Can confirm in 1.19.1.

Emily

(Unassigned)

Confirmed

Platform

Low

Block states

tree-generation

1.19, 22w24a, 1.19.1

Retrieved