mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
No wild plants no
This commit is contained in:
parent
7b3fee4b2e
commit
d3576bb496
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldAddCreative(){
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIcon(int side, int metadata){
|
||||
|
|
Loading…
Reference in a new issue