No wild plants no

This commit is contained in:
Ellpeck 2015-12-16 15:26:33 +01:00
parent 7b3fee4b2e
commit d3576bb496

View file

@ -45,6 +45,11 @@ public class BlockWildPlant extends BlockBushBase{
return world.getBlockMetadata(x, y, z) == TheWildPlants.RICE.ordinal() ? world.getBlock(x, y-1, z).getMaterial() == Material.water : world.getBlock(x, y-1, z).canSustainPlant(world, x, y-1, z, ForgeDirection.UP, this); return world.getBlockMetadata(x, y, z) == TheWildPlants.RICE.ordinal() ? world.getBlock(x, y-1, z).getMaterial() == Material.water : world.getBlock(x, y-1, z).canSustainPlant(world, x, y-1, z, ForgeDirection.UP, this);
} }
@Override
public boolean shouldAddCreative(){
return false;
}
@Override @Override
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public IIcon getIcon(int side, int metadata){ public IIcon getIcon(int side, int metadata){