Removed XZ offset for mushrooms
This commit is contained in:
parent
2c08dc3c5b
commit
3b27a8be73
1 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,7 @@ package biomesoplenty.common.block;
|
||||||
import biomesoplenty.api.block.BlockQueries;
|
import biomesoplenty.api.block.BlockQueries;
|
||||||
import biomesoplenty.common.enums.BOPPlants;
|
import biomesoplenty.common.enums.BOPPlants;
|
||||||
import biomesoplenty.common.item.ItemBOPBlock;
|
import biomesoplenty.common.item.ItemBOPBlock;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.properties.IProperty;
|
import net.minecraft.block.properties.IProperty;
|
||||||
import net.minecraft.block.properties.PropertyEnum;
|
import net.minecraft.block.properties.PropertyEnum;
|
||||||
import net.minecraft.block.state.BlockStateContainer;
|
import net.minecraft.block.state.BlockStateContainer;
|
||||||
|
@ -21,6 +22,8 @@ import net.minecraft.util.math.AxisAlignedBB;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
// TODO: mushroom spreading? giant mushrooms with bonemeal? mushrooms popping if too bright?
|
// TODO: mushroom spreading? giant mushrooms with bonemeal? mushrooms popping if too bright?
|
||||||
public class BlockBOPMushroom extends BlockBOPDecoration
|
public class BlockBOPMushroom extends BlockBOPDecoration
|
||||||
|
@ -123,5 +126,12 @@ public class BlockBOPMushroom extends BlockBOPDecoration
|
||||||
return BlockQueries.fertile.matches(world, pos.down());
|
return BlockQueries.fertile.matches(world, pos.down());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public Block.EnumOffsetType getOffsetType()
|
||||||
|
{
|
||||||
|
return Block.EnumOffsetType.NONE;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue