mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Add modId to alleles and use new Forge item.getCreatorModId feature
This commit is contained in:
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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user