mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Add sorting block (Genetic Filter)
This commit is contained in:
1 parent
1fc56c3b20
commit
8b0d54f3ec
85 files changed
+2795
-35
No files matched your search
@@ -5,10 +5,14 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.genetics;
|
||||
|
||||
import forestry.api.apiculture.IBeekeepingMode;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
import forestry.api.apiculture.IBeekeepingMode;
|
||||
|
||||
/**
|
||||
* Keeps track of who bred, discovered, and researched which species in a world.
|
||||
*
|
||||
@@ -67,6 +71,13 @@ public interface IBreedingTracker {
|
||||
*/
|
||||
boolean isDiscovered(IAlleleSpecies species);
|
||||
|
||||
/**
|
||||
* @return A collection that contains the {@link IAllele#getUID()}s of all discovered species.
|
||||
*/
|
||||
default Collection<String> getDiscoveredSpecies(){
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a successfully researched mutation.
|
||||
* Mutations are normally researched in the Escritoire.
|
||||
|
||||
Reference in new issue
Block a user