mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
Clean Up Api
This commit is contained in:
1 parent
8b1bce6963
commit
0806d2ac38
7 files changed
+29
-34
No files matched your search
@@ -1,11 +1,11 @@
|
||||
package binnie.botany.api;
|
||||
|
||||
public interface IColourMix {
|
||||
IFlowerColour getColour1();
|
||||
IFlowerColour getColourFirst();
|
||||
|
||||
IFlowerColour getColour2();
|
||||
IFlowerColour getColourSecond();
|
||||
|
||||
boolean isMutation(final IFlowerColour p0, final IFlowerColour p1);
|
||||
boolean isMutation(IFlowerColour colourFirst, IFlowerColour colourSecond);
|
||||
|
||||
int getChance();
|
||||
|
||||
|
||||
@@ -11,36 +11,36 @@ import java.util.List;
|
||||
|
||||
public interface IFlowerRoot extends ISpeciesRoot {
|
||||
@Override
|
||||
IFlower getMember(final ItemStack p0);
|
||||
IFlower getMember(ItemStack memberStack);
|
||||
|
||||
@Override
|
||||
IFlower templateAsIndividual(final IAllele[] p0);
|
||||
IFlower templateAsIndividual(IAllele[] template);
|
||||
|
||||
@Override
|
||||
IFlower templateAsIndividual(final IAllele[] p0, final IAllele[] p1);
|
||||
IFlower templateAsIndividual(IAllele[] templateFirst, IAllele[] templateSecond);
|
||||
|
||||
@Override
|
||||
IFlowerGenome templateAsGenome(final IAllele[] p0);
|
||||
IFlowerGenome templateAsGenome(IAllele[] template);
|
||||
|
||||
@Override
|
||||
IFlowerGenome templateAsGenome(final IAllele[] p0, final IAllele[] p1);
|
||||
IFlowerGenome templateAsGenome(IAllele[] templateFrist, IAllele[] templateSecond);
|
||||
|
||||
@Override
|
||||
IBotanistTracker getBreedingTracker(final World p0, final GameProfile p1);
|
||||
IBotanistTracker getBreedingTracker(World world, GameProfile profile);
|
||||
|
||||
@Override
|
||||
List<? extends IFlowerMutation> getMutations(boolean shuffle);
|
||||
|
||||
@Override
|
||||
EnumFlowerStage getType(ItemStack itemStack);
|
||||
|
||||
IFlower getFlower(World world, IFlowerGenome genome);
|
||||
|
||||
IFlower getFlower(final World p0, final IFlowerGenome genome);
|
||||
void addConversion(ItemStack memberStack, IAllele[] template);
|
||||
|
||||
void addConversion(final ItemStack p0, final IAllele[] p1);
|
||||
IFlower getConversion(ItemStack memberStack);
|
||||
|
||||
IFlower getConversion(final ItemStack p0);
|
||||
Collection<IColourMix> getColourMixes(boolean p0);
|
||||
|
||||
Collection<IColourMix> getColourMixes(final boolean p0);
|
||||
|
||||
void registerColourMix(final IColourMix p0);
|
||||
void registerColourMix(IColourMix colourMix);
|
||||
}
|
||||
@@ -7,19 +7,19 @@ import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IBlockSoil {
|
||||
EnumAcidity getPH(final World p0, final BlockPos pos);
|
||||
EnumAcidity getPH(World world, BlockPos pos);
|
||||
|
||||
EnumMoisture getMoisture(final World p0, final BlockPos pos);
|
||||
EnumMoisture getMoisture(World world, BlockPos pos);
|
||||
|
||||
EnumSoilType getType(final World p0, final BlockPos pos);
|
||||
EnumSoilType getType(World world, BlockPos pos);
|
||||
|
||||
boolean fertilise(final World p0, final BlockPos pos, final EnumSoilType p4);
|
||||
boolean fertilise(World world, BlockPos pos, EnumSoilType soilType);
|
||||
|
||||
boolean degrade(final World p0, final BlockPos pos, final EnumSoilType p4);
|
||||
boolean degrade(World world, BlockPos pos, EnumSoilType soilType);
|
||||
|
||||
boolean setPH(final World p0, final BlockPos pos, final EnumAcidity p4);
|
||||
boolean setPH(World world, BlockPos pos, EnumAcidity acidity);
|
||||
|
||||
boolean setMoisture(final World p0, final BlockPos pos, final EnumMoisture p4);
|
||||
boolean setMoisture(World world, BlockPos pos, EnumMoisture moisture);
|
||||
|
||||
boolean resistsWeeds(final World p0, final BlockPos pos);
|
||||
boolean resistsWeeds(World world, BlockPos pos);
|
||||
}
|
||||
Reference in new issue
Block a user