Refactoring & cleaning
This commit is contained in:
parent
874559c21e
commit
e5736669ca
200 changed files with 1382 additions and 1596 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue