Add modId to alleles and use new Forge item.getCreatorModId feature

This commit is contained in:
mezz committed 2017-10-03 00:03:46 -07:00
1 parent 29d96db1e8
commit e0a0ab5594
16 files changed
+80 -80

No files matched your search

@@ -21,6 +21,14 @@ public interface IAllele {
*/
String getUID();
/**
* @return modId of the mod that created this allele
* @since Forestry 5.6.0
*/
default String getModID() {
return "forestry";
}
/**
* @return true if the allele is dominant, false otherwise.
*/