20w20b
This commit is contained in:
1 parent
e9c72ac4fe
commit
77d819487e
12 files changed
+35
-35
No files matched your search
@@ -2,12 +2,12 @@ package carpet.helpers;
|
||||
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IWorld;
|
||||
import net.minecraft.world.WorldAccess;
|
||||
|
||||
public class BlockSaplingHelper
|
||||
{
|
||||
// Added code for checking water for dead shrub rule
|
||||
public static boolean hasWater(IWorld worldIn, BlockPos pos)
|
||||
public static boolean hasWater(WorldAccess worldIn, BlockPos pos)
|
||||
{
|
||||
for (BlockPos blockpos$mutableblockpos : BlockPos.iterate(pos.add(-4, -4, -4), pos.add(4, 1, 4)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user