mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
29 lines
787 B
Java
29 lines
787 B
Java
package binnie.botany.api;
|
|
|
|
import forestry.api.core.IModelManager;
|
|
import forestry.api.genetics.IAlleleSpecies;
|
|
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
public interface IAlleleFlowerSpecies extends IAlleleSpecies {
|
|
IFlowerType getType();
|
|
|
|
EnumAcidity getPH();
|
|
|
|
EnumMoisture getMoisture();
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
int getFlowerColour(EnumFlowerStage type, int renderPass);
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
@Nonnull
|
|
ModelResourceLocation getFlowerModel(EnumFlowerStage type);
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
void registerModels(Item item, IModelManager manager, EnumFlowerStage type);
|
|
}
|