mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-22 05:02:34 +00:00
Unhook mutation & species classes
This commit is contained in:
1 parent
b12d19c9ea
commit
a1aa3661d5
16 files changed
+250
-212
No files matched your search
@@ -1,7 +1,9 @@
|
||||
package binnie.extrabees.utils;
|
||||
|
||||
import forestry.api.apiculture.BeeManager;
|
||||
import forestry.api.apiculture.IAlleleBeeSpecies;
|
||||
import forestry.api.apiculture.IBeeRoot;
|
||||
import forestry.apiculture.genetics.BeeDefinition;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
@@ -26,6 +28,10 @@ public class Utils {
|
||||
return BeeManager.beeRoot;
|
||||
}
|
||||
|
||||
public static IAlleleBeeSpecies getSpecies(BeeDefinition species){
|
||||
return species.getGenome().getPrimary();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static Item getIC2Item(String name){
|
||||
return getModItem("ic2", name);
|
||||
|
||||
Reference in new issue
Block a user