From d878a2ae262db767dcbff63005e499ca93e74c40 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 26 Nov 2015 19:36:53 -0800 Subject: [PATCH] Fixed Large mushrooms generating incorrectly. --- .../world/gen/feature/WorldGenBigMushroom.java.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/gen/feature/WorldGenBigMushroom.java.patch b/patches/minecraft/net/minecraft/world/gen/feature/WorldGenBigMushroom.java.patch index 0aba92cfd..2a98d8c83 100644 --- a/patches/minecraft/net/minecraft/world/gen/feature/WorldGenBigMushroom.java.patch +++ b/patches/minecraft/net/minecraft/world/gen/feature/WorldGenBigMushroom.java.patch @@ -5,7 +5,7 @@ Block block = p_180709_1_.func_180495_p(blockpos$mutableblockpos.func_181079_c(l, j, i1)).func_177230_c(); - if (block.func_149688_o() != Material.field_151579_a && block.func_149688_o() != Material.field_151584_j) -+ if (!block.isAir(p_180709_1_,blockpos$mutableblockpos) && !block.isLeaves(p_180709_1_,blockpos$mutableblockpos)) ++ if (!block.isAir(p_180709_1_, blockpos$mutableblockpos) && !block.isLeaves(p_180709_1_, blockpos$mutableblockpos)) { flag = false; } @@ -14,7 +14,7 @@ BlockPos blockpos = new BlockPos(l1, l2, i2); - if (!p_180709_1_.func_180495_p(blockpos).func_177230_c().func_149730_j()) -+ if (!p_180709_1_.func_180495_p(blockpos).func_177230_c().canBeReplacedByLeaves(p_180709_1_, blockpos)) ++ if (p_180709_1_.func_180495_p(blockpos).func_177230_c().canBeReplacedByLeaves(p_180709_1_, blockpos)) { this.func_175903_a(p_180709_1_, blockpos, this.field_76523_a.func_176223_P().func_177226_a(BlockHugeMushroom.field_176380_a, blockhugemushroom$enumtype)); }