public class CheckPollinatableTree extends java.lang.Object implements ICheckPollinatable
| Constructor and Description |
|---|
CheckPollinatableTree(ITree tree) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMateWith(IIndividual pollen)
Checks whether this can mate with the given pollen.
|
net.minecraftforge.common.EnumPlantType |
getPlantType() |
ITree |
getPollen() |
boolean |
isPollinated() |
public CheckPollinatableTree(ITree tree)
public net.minecraftforge.common.EnumPlantType getPlantType()
getPlantType in interface ICheckPollinatablepublic ITree getPollen()
getPollen in interface ICheckPollinatablepublic boolean canMateWith(IIndividual pollen)
ICheckPollinatableMust be the one to check genetic equivalency.
canMateWith in interface ICheckPollinatablepollen - IIndividual representing the pollen.public boolean isPollinated()
isPollinated in interface ICheckPollinatable