mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-24 22:14:44 +00:00
Rename FlowerHelper to FlowerRoot and improve it
This commit is contained in:
1 parent
86bde197ec
commit
ff41a6e83b
12 files changed
+110
-90
No files matched your search
@@ -1,12 +1,12 @@
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.genetics.ISpeciesType;
|
||||
import forestry.arboriculture.genetics.TreeRoot;
|
||||
|
||||
public enum EnumFlowerStage implements ISpeciesType {
|
||||
FLOWER("Flower"),
|
||||
SEED("Seed"),
|
||||
POLLEN("Pollen"),
|
||||
NONE("NONE");
|
||||
POLLEN("Pollen");
|
||||
|
||||
public static final EnumFlowerStage[] VALUES;
|
||||
String name;
|
||||
|
||||
@@ -3,6 +3,7 @@ package binnie.botany.api;
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.ISpeciesRoot;
|
||||
import forestry.api.genetics.ISpeciesType;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@@ -30,10 +31,11 @@ public interface IFlowerRoot extends ISpeciesRoot {
|
||||
|
||||
@Override
|
||||
List<? extends IFlowerMutation> getMutations(boolean shuffle);
|
||||
|
||||
@Override
|
||||
EnumFlowerStage getType(ItemStack itemStack);
|
||||
|
||||
EnumFlowerStage getStageType(final ItemStack p0);
|
||||
|
||||
IFlower getFlower(final World p0, final IFlowerGenome p1);
|
||||
IFlower getFlower(final World p0, final IFlowerGenome genome);
|
||||
|
||||
void addConversion(final ItemStack p0, final IAllele[] p1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user