Update buildscript & spotlessApply

This commit is contained in:
DianeXD committed 2022-07-03 12:17:51 +08:00
1 parent e4329e2b8f
commit 8683a345c3
818 files changed
+51123 -49403

No files matched your search

+5 -5
View File
@@ -7,13 +7,13 @@ import forestry.api.genetics.ISpeciesRoot;
import net.minecraft.nbt.NBTTagCompound;
public interface IGene extends INBTTagable {
IChromosomeType getChromosome();
IChromosomeType getChromosome();
String getName();
String getName();
ISpeciesRoot getSpeciesRoot();
ISpeciesRoot getSpeciesRoot();
IAllele getAllele();
IAllele getAllele();
NBTTagCompound getNBTTagCompound();
NBTTagCompound getNBTTagCompound();
}
@@ -1,36 +1,34 @@
package binnie.genetics.api;
import binnie.core.machines.MachineUtil;
import javax.annotation.Nullable;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;
import javax.annotation.Nullable;
public interface IIncubatorRecipe {
boolean isInputLiquid(FluidStack liquid);
boolean isInputLiquid(FluidStack liquid);
boolean isInputLiquidSufficient(FluidStack liquid);
boolean isInputLiquidSufficient(FluidStack liquid);
@Deprecated
boolean isItemStack(ItemStack stack);
@Deprecated
boolean isItemStack(ItemStack stack);
void doTask(MachineUtil machine);
void doTask(MachineUtil machine);
float getChance();
float getChance();
boolean roomForOutput(MachineUtil machine);
boolean roomForOutput(MachineUtil machine);
float getLossChance();
float getLossChance();
@Nullable
FluidStack getInput();
@Nullable
FluidStack getInput();
@Nullable
FluidStack getOutput();
@Nullable
FluidStack getOutput();
@Nullable
ItemStack getInputStack();
ItemStack getExpectedOutput();
@Nullable
ItemStack getInputStack();
ItemStack getExpectedOutput();
}
@@ -3,10 +3,10 @@ package binnie.genetics.api;
import net.minecraft.item.ItemStack;
public interface IItemAnalysable {
boolean isAnalysed(ItemStack stack);
boolean isAnalysed(ItemStack stack);
ItemStack analyse(ItemStack stack);
ItemStack analyse(ItemStack stack);
@Deprecated
float getAnalyseTimeMult(ItemStack stack);
@Deprecated
float getAnalyseTimeMult(ItemStack stack);
}
@@ -3,5 +3,5 @@ package binnie.genetics.api;
import net.minecraft.item.ItemStack;
public interface IItemChargable {
int getCharges(ItemStack stack);
int getCharges(ItemStack stack);
}
@@ -4,11 +4,11 @@ import forestry.api.genetics.ISpeciesRoot;
import net.minecraft.item.ItemStack;
public interface IItemSerum extends IItemChargable {
IGene[] getGenes(ItemStack stack);
IGene[] getGenes(ItemStack stack);
ISpeciesRoot getSpeciesRoot(ItemStack stack);
ISpeciesRoot getSpeciesRoot(ItemStack stack);
IGene getGene(ItemStack stack, int chromosome);
IGene getGene(ItemStack stack, int chromosome);
ItemStack addGene(ItemStack stack, IGene gene);
ItemStack addGene(ItemStack stack, IGene gene);
}