mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 12:59:44 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
4711be8028
commit
94aa9346b1
1282 files changed
+15755
-16296
No files matched your search
@@ -6,6 +6,7 @@
|
||||
package forestry.api.genetics;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraftforge.common.EnumPlantType;
|
||||
|
||||
/**
|
||||
@@ -16,7 +17,8 @@ import net.minecraftforge.common.EnumPlantType;
|
||||
public interface IPollinatable {
|
||||
|
||||
/**
|
||||
* @return plant types this pollinatable is classified as. (Can be used by bees to determine whether to interact or not.
|
||||
* @return plant types this pollinatable is classified as. (Can be used by bees to determine whether to interact or
|
||||
* not.
|
||||
*/
|
||||
EnumSet<EnumPlantType> getPlantType();
|
||||
|
||||
@@ -30,8 +32,7 @@ public interface IPollinatable {
|
||||
*
|
||||
* Must be the one to check genetic equivalency.
|
||||
*
|
||||
* @param pollen
|
||||
* IIndividual representing the pollen.
|
||||
* @param pollen IIndividual representing the pollen.
|
||||
* @return true if mating is possible, false otherwise.
|
||||
*/
|
||||
boolean canMateWith(IIndividual pollen);
|
||||
@@ -39,8 +40,7 @@ public interface IPollinatable {
|
||||
/**
|
||||
* Pollinates this entity.
|
||||
*
|
||||
* @param pollen
|
||||
* IIndividual representing the pollen.
|
||||
* @param pollen IIndividual representing the pollen.
|
||||
*/
|
||||
void mateWith(IIndividual pollen);
|
||||
|
||||
|
||||
Reference in new issue
Block a user