mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-26 23:12:58 +00:00
start 1.10.2
This commit is contained in:
1 parent
f969f63b66
commit
6a7c4bf67d
826 files changed
+60550
-63758
No files matched your search
@@ -1,16 +1,18 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
public enum EnumAcidity
|
||||
{
|
||||
Acid,
|
||||
Neutral,
|
||||
Alkaline;
|
||||
import net.minecraft.util.IStringSerializable;
|
||||
|
||||
public String getID() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
public enum EnumAcidity implements IStringSerializable {
|
||||
Acid,
|
||||
Neutral,
|
||||
Alkaline;
|
||||
|
||||
public String getID() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
}
|
||||
@@ -1,51 +1,39 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.genetics.IAlleleFloat;
|
||||
import forestry.api.genetics.IAlleleTolerance;
|
||||
import forestry.api.genetics.IAlleleArea;
|
||||
import forestry.api.genetics.IAlleleInteger;
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.ISpeciesRoot;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IChromosomeType;
|
||||
import forestry.api.genetics.*;
|
||||
|
||||
public enum EnumFlowerChromosome implements IChromosomeType
|
||||
{
|
||||
SPECIES(IAlleleFlowerSpecies.class),
|
||||
PRIMARY(IAlleleInteger.class),
|
||||
SECONDARY(IAlleleInteger.class),
|
||||
FERTILITY(IAlleleInteger.class),
|
||||
TERRITORY(IAlleleArea.class),
|
||||
EFFECT(IAlleleFlowerEffect.class),
|
||||
LIFESPAN(IAlleleInteger.class),
|
||||
TEMPERATURE_TOLERANCE(IAlleleTolerance.class),
|
||||
HUMIDITY_TOLERANCE(IAlleleTolerance.class),
|
||||
PH_TOLERANCE(IAlleleTolerance.class),
|
||||
SAPPINESS(IAlleleFloat.class),
|
||||
STEM(IAlleleInteger.class);
|
||||
public enum EnumFlowerChromosome implements IChromosomeType {
|
||||
SPECIES(IAlleleFlowerSpecies.class),
|
||||
PRIMARY(IAlleleInteger.class),
|
||||
SECONDARY(IAlleleInteger.class),
|
||||
FERTILITY(IAlleleInteger.class),
|
||||
TERRITORY(IAlleleArea.class),
|
||||
EFFECT(IAlleleFlowerEffect.class),
|
||||
LIFESPAN(IAlleleInteger.class),
|
||||
TEMPERATURE_TOLERANCE(IAlleleTolerance.class),
|
||||
HUMIDITY_TOLERANCE(IAlleleTolerance.class),
|
||||
PH_TOLERANCE(IAlleleTolerance.class),
|
||||
SAPPINESS(IAlleleFloat.class),
|
||||
STEM(IAlleleInteger.class);
|
||||
|
||||
private Class<? extends IAllele> cls;
|
||||
private Class<? extends IAllele> cls;
|
||||
|
||||
private EnumFlowerChromosome(final Class<? extends IAllele> cls) {
|
||||
this.cls = cls;
|
||||
}
|
||||
private EnumFlowerChromosome(final Class<? extends IAllele> cls) {
|
||||
this.cls = cls;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<? extends IAllele> getAlleleClass() {
|
||||
return this.cls;
|
||||
}
|
||||
@Override
|
||||
public Class<? extends IAllele> getAlleleClass() {
|
||||
return this.cls;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.toString().toLowerCase();
|
||||
}
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.toString().toLowerCase();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ISpeciesRoot getSpeciesRoot() {
|
||||
return AlleleManager.alleleRegistry.getSpeciesRoot("rootFlowers");
|
||||
}
|
||||
@Override
|
||||
public ISpeciesRoot getSpeciesRoot() {
|
||||
return AlleleManager.alleleRegistry.getSpeciesRoot("rootFlowers");
|
||||
}
|
||||
}
|
||||
@@ -1,28 +1,25 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
public enum EnumFlowerStage
|
||||
{
|
||||
FLOWER("Flower"),
|
||||
SEED("Seed"),
|
||||
POLLEN("Pollen"),
|
||||
NONE("NONE");
|
||||
import forestry.api.genetics.ISpeciesType;
|
||||
|
||||
public static final EnumFlowerStage[] VALUES;
|
||||
String name;
|
||||
public enum EnumFlowerStage implements ISpeciesType {
|
||||
FLOWER("Flower"),
|
||||
SEED("Seed"),
|
||||
POLLEN("Pollen"),
|
||||
NONE("NONE");
|
||||
|
||||
private EnumFlowerStage(final String name) {
|
||||
this.name = name;
|
||||
}
|
||||
public static final EnumFlowerStage[] VALUES;
|
||||
String name;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
private EnumFlowerStage(final String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
static {
|
||||
VALUES = values();
|
||||
}
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
static {
|
||||
VALUES = values();
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,18 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
public enum EnumMoisture
|
||||
{
|
||||
Dry,
|
||||
Normal,
|
||||
Damp;
|
||||
import net.minecraft.util.IStringSerializable;
|
||||
|
||||
public String getID() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
public enum EnumMoisture implements IStringSerializable {
|
||||
Dry,
|
||||
Normal,
|
||||
Damp;
|
||||
|
||||
public String getID() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return name().toLowerCase();
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,11 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
public enum EnumSoilType
|
||||
{
|
||||
SOIL,
|
||||
LOAM,
|
||||
FLOWERBED;
|
||||
public enum EnumSoilType {
|
||||
SOIL,
|
||||
LOAM,
|
||||
FLOWERBED;
|
||||
|
||||
public String getID() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
public String getID() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,9 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
import forestry.api.genetics.IAlleleEffect;
|
||||
import forestry.api.genetics.IEffectData;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IAlleleFlowerEffect extends IAlleleEffect
|
||||
{
|
||||
IEffectData doEffect(final IFlowerGenome p0, final IEffectData p1, final World p2, final int p3, final int p4, final int p5);
|
||||
public interface IAlleleFlowerEffect extends IAlleleEffect {
|
||||
IEffectData doEffect(final IFlowerGenome p0, final IEffectData p1, final World p2, final int p3, final int p4, final int p5);
|
||||
}
|
||||
@@ -1,16 +1,11 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.genetics.IAlleleSpecies;
|
||||
|
||||
public interface IAlleleFlowerSpecies extends IAlleleSpecies
|
||||
{
|
||||
IFlowerType getType();
|
||||
public interface IAlleleFlowerSpecies extends IAlleleSpecies {
|
||||
IFlowerType getType();
|
||||
|
||||
EnumAcidity getPH();
|
||||
EnumAcidity getPH();
|
||||
|
||||
EnumMoisture getMoisture();
|
||||
EnumMoisture getMoisture();
|
||||
}
|
||||
@@ -1,11 +1,6 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.genetics.IBreedingTracker;
|
||||
|
||||
public interface IBotanistTracker extends IBreedingTracker
|
||||
{
|
||||
public interface IBotanistTracker extends IBreedingTracker {
|
||||
}
|
||||
@@ -1,18 +1,13 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
public interface IColourMix
|
||||
{
|
||||
IFlowerColour getColour1();
|
||||
public interface IColourMix {
|
||||
IFlowerColour getColour1();
|
||||
|
||||
IFlowerColour getColour2();
|
||||
IFlowerColour getColour2();
|
||||
|
||||
boolean isMutation(final IFlowerColour p0, final IFlowerColour p1);
|
||||
boolean isMutation(final IFlowerColour p0, final IFlowerColour p1);
|
||||
|
||||
int getChance();
|
||||
int getChance();
|
||||
|
||||
IFlowerColour getResult();
|
||||
IFlowerColour getResult();
|
||||
}
|
||||
@@ -1,38 +1,33 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.genetics.IIndividual;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IFlower extends IIndividual
|
||||
{
|
||||
@Override
|
||||
IFlowerGenome getGenome();
|
||||
public interface IFlower extends IIndividual {
|
||||
@Override
|
||||
IFlowerGenome getGenome();
|
||||
|
||||
IFlowerGenome getMate();
|
||||
IFlowerGenome getMate();
|
||||
|
||||
void mate(final IFlower p0);
|
||||
void mate(final IFlower p0);
|
||||
|
||||
int getAge();
|
||||
int getAge();
|
||||
|
||||
void age();
|
||||
void age();
|
||||
|
||||
void setAge(final int p0);
|
||||
void setAge(final int p0);
|
||||
|
||||
IFlower getOffspring(final World p0);
|
||||
IFlower getOffspring(final World p0);
|
||||
|
||||
int getMaxAge();
|
||||
int getMaxAge();
|
||||
|
||||
boolean isWilted();
|
||||
boolean isWilted();
|
||||
|
||||
void setWilted(final boolean p0);
|
||||
void setWilted(final boolean p0);
|
||||
|
||||
boolean hasFlowered();
|
||||
boolean hasFlowered();
|
||||
|
||||
void setFlowered(final boolean p0);
|
||||
void setFlowered(final boolean p0);
|
||||
|
||||
void removeMate();
|
||||
void removeMate();
|
||||
}
|
||||
@@ -1,18 +1,13 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.genetics.IAlleleInteger;
|
||||
|
||||
public interface IFlowerColour
|
||||
{
|
||||
int getColor(final boolean p0);
|
||||
public interface IFlowerColour {
|
||||
int getColor(final boolean p0);
|
||||
|
||||
IAlleleInteger getAllele();
|
||||
IAlleleInteger getAllele();
|
||||
|
||||
int getID();
|
||||
int getID();
|
||||
|
||||
String getName();
|
||||
String getName();
|
||||
}
|
||||
@@ -1,46 +1,41 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.core.EnumTemperature;
|
||||
import forestry.api.genetics.EnumTolerance;
|
||||
import forestry.api.genetics.IGenome;
|
||||
|
||||
public interface IFlowerGenome extends IGenome
|
||||
{
|
||||
@Override
|
||||
IAlleleFlowerSpecies getPrimary();
|
||||
public interface IFlowerGenome extends IGenome {
|
||||
@Override
|
||||
IAlleleFlowerSpecies getPrimary();
|
||||
|
||||
@Override
|
||||
IAlleleFlowerSpecies getSecondary();
|
||||
@Override
|
||||
IAlleleFlowerSpecies getSecondary();
|
||||
|
||||
IFlowerColour getPrimaryColor();
|
||||
IFlowerColour getPrimaryColor();
|
||||
|
||||
IFlowerColour getSecondaryColor();
|
||||
IFlowerColour getSecondaryColor();
|
||||
|
||||
IFlowerColour getStemColor();
|
||||
IFlowerColour getStemColor();
|
||||
|
||||
int getFertility();
|
||||
int getFertility();
|
||||
|
||||
int getLifespan();
|
||||
int getLifespan();
|
||||
|
||||
IFlowerType getType();
|
||||
IFlowerType getType();
|
||||
|
||||
EnumTolerance getToleranceTemperature();
|
||||
EnumTolerance getToleranceTemperature();
|
||||
|
||||
EnumTolerance getToleranceMoisture();
|
||||
EnumTolerance getToleranceMoisture();
|
||||
|
||||
EnumTolerance getTolerancePH();
|
||||
EnumTolerance getTolerancePH();
|
||||
|
||||
float getAgeChance();
|
||||
float getAgeChance();
|
||||
|
||||
float getSappiness();
|
||||
float getSappiness();
|
||||
|
||||
boolean canTolerate(final EnumAcidity p0);
|
||||
boolean canTolerate(final EnumAcidity p0);
|
||||
|
||||
boolean canTolerate(final EnumMoisture p0);
|
||||
boolean canTolerate(final EnumMoisture p0);
|
||||
|
||||
boolean canTolerate(final EnumTemperature p0);
|
||||
boolean canTolerate(final EnumTemperature p0);
|
||||
}
|
||||
@@ -1,14 +1,9 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import forestry.api.genetics.IGenome;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IGenome;
|
||||
import forestry.api.genetics.IMutation;
|
||||
|
||||
public interface IFlowerMutation extends IMutation
|
||||
{
|
||||
float getChance(final IAllele p0, final IAllele p1, final IGenome p2, final IGenome p3);
|
||||
public interface IFlowerMutation extends IMutation {
|
||||
float getChance(final IAllele p0, final IAllele p1, final IGenome p2, final IGenome p3);
|
||||
}
|
||||
@@ -1,48 +1,45 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import java.util.Collection;
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import forestry.api.genetics.ISpeciesRoot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IFlowerRoot extends ISpeciesRoot
|
||||
{
|
||||
@Override
|
||||
IFlower getMember(final ItemStack p0);
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
@Override
|
||||
IFlower templateAsIndividual(final IAllele[] p0);
|
||||
public interface IFlowerRoot extends ISpeciesRoot {
|
||||
@Override
|
||||
IFlower getMember(final ItemStack p0);
|
||||
|
||||
@Override
|
||||
IFlower templateAsIndividual(final IAllele[] p0, final IAllele[] p1);
|
||||
@Override
|
||||
IFlower templateAsIndividual(final IAllele[] p0);
|
||||
|
||||
@Override
|
||||
IFlowerGenome templateAsGenome(final IAllele[] p0);
|
||||
@Override
|
||||
IFlower templateAsIndividual(final IAllele[] p0, final IAllele[] p1);
|
||||
|
||||
@Override
|
||||
IFlowerGenome templateAsGenome(final IAllele[] p0, final IAllele[] p1);
|
||||
@Override
|
||||
IFlowerGenome templateAsGenome(final IAllele[] p0);
|
||||
|
||||
@Override
|
||||
IBotanistTracker getBreedingTracker(final World p0, final GameProfile p1);
|
||||
@Override
|
||||
IFlowerGenome templateAsGenome(final IAllele[] p0, final IAllele[] p1);
|
||||
|
||||
@Override
|
||||
Collection<IFlowerMutation> getMutations(final boolean p0);
|
||||
@Override
|
||||
IBotanistTracker getBreedingTracker(final World p0, final GameProfile p1);
|
||||
|
||||
EnumFlowerStage getStageType(final ItemStack p0);
|
||||
@Override
|
||||
List<? extends IFlowerMutation> getMutations(boolean shuffle);
|
||||
|
||||
IFlower getFlower(final World p0, final IFlowerGenome p1);
|
||||
EnumFlowerStage getStageType(final ItemStack p0);
|
||||
|
||||
void addConversion(final ItemStack p0, final IAllele[] p1);
|
||||
IFlower getFlower(final World p0, final IFlowerGenome p1);
|
||||
|
||||
IFlower getConversion(final ItemStack p0);
|
||||
void addConversion(final ItemStack p0, final IAllele[] p1);
|
||||
|
||||
Collection<IColourMix> getColourMixes(final boolean p0);
|
||||
IFlower getConversion(final ItemStack p0);
|
||||
|
||||
void registerColourMix(final IColourMix p0);
|
||||
Collection<IColourMix> getColourMixes(final boolean p0);
|
||||
|
||||
void registerColourMix(final IColourMix p0);
|
||||
}
|
||||
@@ -1,22 +1,17 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api;
|
||||
|
||||
import net.minecraft.util.IIcon;
|
||||
//import net.minecraft.util.IIcon;
|
||||
|
||||
public interface IFlowerType
|
||||
{
|
||||
IIcon getStem(final EnumFlowerStage p0, final boolean p1, final int p2);
|
||||
public interface IFlowerType {
|
||||
// IIcon getStem(final EnumFlowerStage p0, final boolean p1, final int p2);
|
||||
//
|
||||
// IIcon getPetalIcon(final EnumFlowerStage p0, final boolean p1, final int p2);
|
||||
//
|
||||
// IIcon getVariantIcon(final EnumFlowerStage p0, final boolean p1, final int p2);
|
||||
|
||||
IIcon getPetalIcon(final EnumFlowerStage p0, final boolean p1, final int p2);
|
||||
int getID();
|
||||
|
||||
IIcon getVariantIcon(final EnumFlowerStage p0, final boolean p1, final int p2);
|
||||
int getSections();
|
||||
|
||||
int getID();
|
||||
|
||||
int getSections();
|
||||
|
||||
int ordinal();
|
||||
int ordinal();
|
||||
}
|
||||
@@ -1,29 +1,25 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.botany.api.gardening;
|
||||
|
||||
import binnie.botany.api.EnumSoilType;
|
||||
import binnie.botany.api.EnumMoisture;
|
||||
import binnie.botany.api.EnumAcidity;
|
||||
import binnie.botany.api.EnumMoisture;
|
||||
import binnie.botany.api.EnumSoilType;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IBlockSoil
|
||||
{
|
||||
EnumAcidity getPH(final World p0, final int p1, final int p2, final int p3);
|
||||
public interface IBlockSoil {
|
||||
EnumAcidity getPH(final World p0, final BlockPos pos);
|
||||
|
||||
EnumMoisture getMoisture(final World p0, final int p1, final int p2, final int p3);
|
||||
EnumMoisture getMoisture(final World p0, final BlockPos pos);
|
||||
|
||||
EnumSoilType getType(final World p0, final int p1, final int p2, final int p3);
|
||||
EnumSoilType getType(final World p0, final BlockPos pos);
|
||||
|
||||
boolean fertilise(final World p0, final int p1, final int p2, final int p3, final EnumSoilType p4);
|
||||
boolean fertilise(final World p0, final BlockPos pos, final EnumSoilType p4);
|
||||
|
||||
boolean degrade(final World p0, final int p1, final int p2, final int p3, final EnumSoilType p4);
|
||||
boolean degrade(final World p0, final BlockPos pos, final EnumSoilType p4);
|
||||
|
||||
boolean setPH(final World p0, final int p1, final int p2, final int p3, final EnumAcidity p4);
|
||||
boolean setPH(final World p0, final BlockPos pos, final EnumAcidity p4);
|
||||
|
||||
boolean setMoisture(final World p0, final int p1, final int p2, final int p3, final EnumMoisture p4);
|
||||
boolean setMoisture(final World p0, final BlockPos pos, final EnumMoisture p4);
|
||||
|
||||
boolean resistsWeeds(final World p0, final int p1, final int p2, final int p3);
|
||||
boolean resistsWeeds(final World p0, final BlockPos pos);
|
||||
}
|
||||
Reference in new issue
Block a user