Refactoring & cleaning

This commit is contained in:
ProfessorProspector 2018-09-16 13:48:38 -07:00
parent 874559c21e
commit e5736669ca
200 changed files with 1382 additions and 1596 deletions

View file

@ -28,7 +28,7 @@ import reborncore.common.util.FluidUtils;
import net.minecraft.util.math.BlockPos;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry;
import techreborn.init.TRIngredients;
import techreborn.init.TRContent;
import techreborn.tiles.multiblock.TileFluidReplicator;
import javax.annotation.Nonnull;
@ -98,7 +98,7 @@ public class FluidReplicatorRecipe implements Cloneable {
public List<Object> getInputs() {
ArrayList<Object> inputs = new ArrayList<>();
inputs.add(TRIngredients.Parts.UU_MATTER.getStack(input));
inputs.add(TRContent.Parts.UU_MATTER.getStack(input));
return inputs;
}

View file

@ -32,7 +32,7 @@ import reborncore.common.recipes.RecipeCrafter;
import reborncore.common.util.Inventory;
import reborncore.common.util.Tank;
import techreborn.api.Reference;
import techreborn.init.TRIngredients;
import techreborn.init.TRContent;
import techreborn.tiles.multiblock.TileFluidReplicator;
/**
@ -64,7 +64,7 @@ public class FluidReplicatorRecipeCrafter extends RecipeCrafter {
return false;
}
ItemStack inputStack = inventory.getStackInSlot(inputSlots[0]);
if (!inputStack.isItemEqual(TRIngredients.Parts.UU_MATTER.getStack())) {
if (!inputStack.isItemEqual(TRContent.Parts.UU_MATTER.getStack())) {
return false;
}
if (inputStack.getCount() < recipe.getInput()) {

View file

@ -71,7 +71,7 @@ public class FusionReactorRecipe {
* @param output This is the output stack
* @param startEU This is the inital EU amount
* @param euTick This is the eu that is transfured every tick
* @param tickTime This is the time the recipe takes to process
* @param tickTime This is the time the recipe takes to behavior
*/
public FusionReactorRecipe(ItemStack topInput, ItemStack bottomInput, ItemStack output, double startEU,
double euTick, int tickTime) {