mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 11:59:11 +00:00
Improve code readability in binnie.genetics package
Drop unused (empty) method MachinePackage#register() from all classes
This commit is contained in:
1 parent
856f08b752
commit
730043ba9c
112 files changed
+4354
-4697
No files matched your search
@@ -1,17 +1,12 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.api;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.ISpeciesRoot;
|
||||
import forestry.api.genetics.IChromosomeType;
|
||||
import forestry.api.core.INBTTagable;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IChromosomeType;
|
||||
import forestry.api.genetics.ISpeciesRoot;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
public interface IGene extends INBTTagable
|
||||
{
|
||||
public interface IGene extends INBTTagable {
|
||||
IChromosomeType getChromosome();
|
||||
|
||||
String getName();
|
||||
|
||||
@@ -1,24 +1,19 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.api;
|
||||
|
||||
import binnie.core.machines.MachineUtil;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
public interface IIncubatorRecipe
|
||||
{
|
||||
boolean isInputLiquid(final FluidStack p0);
|
||||
public interface IIncubatorRecipe {
|
||||
boolean isInputLiquid(FluidStack liquid);
|
||||
|
||||
boolean isInputLiquidSufficient(final FluidStack p0);
|
||||
boolean isInputLiquidSufficient(FluidStack liquid);
|
||||
|
||||
boolean isItemStack(final ItemStack p0);
|
||||
boolean isItemStack(ItemStack stack);
|
||||
|
||||
void doTask(final MachineUtil p0);
|
||||
void doTask(MachineUtil machine);
|
||||
|
||||
float getChance();
|
||||
|
||||
boolean roomForOutput(final MachineUtil p0);
|
||||
boolean roomForOutput(MachineUtil machine);
|
||||
}
|
||||
@@ -1,17 +1,12 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.api;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IItemAnalysable
|
||||
{
|
||||
boolean isAnalysed(final ItemStack p0);
|
||||
public interface IItemAnalysable {
|
||||
boolean isAnalysed(ItemStack stack);
|
||||
|
||||
ItemStack analyse(final ItemStack p0);
|
||||
ItemStack analyse(ItemStack stack);
|
||||
|
||||
@Deprecated
|
||||
float getAnalyseTimeMult(final ItemStack p0);
|
||||
float getAnalyseTimeMult(ItemStack stack);
|
||||
}
|
||||
@@ -1,12 +1,7 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.api;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IItemChargable
|
||||
{
|
||||
int getCharges(final ItemStack p0);
|
||||
public interface IItemChargable {
|
||||
int getCharges(ItemStack stack);
|
||||
}
|
||||
@@ -1,19 +1,14 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.api;
|
||||
|
||||
import forestry.api.genetics.ISpeciesRoot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IItemSerum extends IItemChargable
|
||||
{
|
||||
IGene[] getGenes(final ItemStack p0);
|
||||
public interface IItemSerum extends IItemChargable {
|
||||
IGene[] getGenes(ItemStack stack);
|
||||
|
||||
ISpeciesRoot getSpeciesRoot(final ItemStack p0);
|
||||
ISpeciesRoot getSpeciesRoot(ItemStack stack);
|
||||
|
||||
IGene getGene(final ItemStack p0, final int p1);
|
||||
IGene getGene(ItemStack stack, int chromosome);
|
||||
|
||||
ItemStack addGene(final ItemStack p0, final IGene p1);
|
||||
ItemStack addGene(ItemStack stack, IGene gene);
|
||||
}
|
||||
Reference in new issue
Block a user