Leaves of Swamp world generation trees replace all non-full blocks
The bug
Leaves of swamp world generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.
How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20
→
Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos) starts testing in a 3 block radius for free space starting at position.getY() + 1 + i - 2 but starts placing the leaves at position.getY() - 3 + i.
Created Issue:
Leaves of Swamp and Taiga world generation trees replace all non-solid blocks
The bug
Leaves of Swamp and Taiga world generation trees replace all non-solid blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.
How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→ Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
It looks like the check if the area is free does not fail.
Affected methods:
- net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga1.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga2.generate(World, Random, BlockPos)
Leaves of Swamp and Taiga world generation trees replace all non-solidblocksLeaves of Swamp and Taiga world generation trees replace all non-full blocks
The bug
Leaves of Swamp and Taiga world generation trees replace all non-
solidblocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→ Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
It looks like the check if the area is free does not fail.
Affected methods:
- net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga1.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga2.generate(World, Random, BlockPos)
The bug
Leaves of Swamp and Taiga world generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.
How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→ Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
It looks like the check if the area is free does not fail.
Affected methods:
- net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga1.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga2.generate(World, Random, BlockPos)
The bug
Leaves of Swamp
and Taigaworld generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→ Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
It looks like the check if the area is free does not fail.
Affected methods:
- net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga1.generate(World, Random, BlockPos)
- net.minecraft.world.gen.feature.WorldGenTaiga2.generate(World, Random, BlockPos)
The bug
Leaves of Swamp world generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.
How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→ Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos) starts testing in a 3 block radius for free space starting at position.getY() + 1 + i - 2 but starts placing the leaves at position.getY() - 3 + i.
Leaves of Swampand Taigaworld generation trees replace all non-full blocks
The bug
Leaves of
Swamp world generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→ Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos) starts testing in a 3 block radius for free space starting at position.getY() + 1 + i - 2 but starts placing the leaves at position.getY() - 3 + i.
The bug
Leaves of swamp world generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.
How to reproduce
Seed: 2154973 /tp -13241 69 -3493 -90 20→
Some fences are missing and instead replaced by leaves
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos) starts testing in a 3 block radius for free space starting at position.getY() + 1 + i - 2 but starts placing the leaves at position.getY() - 3 + i.

Taiga should be fine, therefor I removed that part again.
Cannot reproduce for 1.13.1, most likely fixed.
I searched for villages in swamps for around 30 minuts, could not found a single village in a swamp which had leaves around fences.
(ik, one of the screenshots is not in a swamp but thats the best one I found while looking)
Not updated for most recent versions. If the bug persist, please reopen the ticket.
This seems to be fixed. In 19w45b SwampTreeFeature (Mojang name) checks each position before placing a block.