Some general cleanup
This commit is contained in:
parent
bbc9dd3b37
commit
b5707b144e
20 changed files with 29 additions and 59 deletions
|
@ -42,9 +42,9 @@ public class MachineRecipeDisplay<R extends RebornRecipe> implements RecipeDispl
|
|||
private final R recipe;
|
||||
private final List<List<EntryStack>> inputs;
|
||||
private final List<EntryStack> outputs;
|
||||
private int energy = 0;
|
||||
private final int energy;
|
||||
private int heat = 0;
|
||||
private int time = 0;
|
||||
private final int time;
|
||||
private FluidInstance fluidInstance = null;
|
||||
|
||||
public MachineRecipeDisplay(R recipe) {
|
||||
|
|
|
@ -217,9 +217,9 @@ public class ReiPlugin implements REIPluginV0 {
|
|||
|
||||
private void registerFluidGeneratorDisplays(RecipeHelper recipeHelper, EFluidGenerator generator, Machine machine) {
|
||||
Identifier identifier = new Identifier(TechReborn.MOD_ID, machine.name);
|
||||
GeneratorRecipeHelper.getFluidRecipesForGenerator(generator).getRecipes().forEach(recipe -> {
|
||||
recipeHelper.registerDisplay(new FluidGeneratorRecipeDisplay(recipe, identifier));
|
||||
});
|
||||
GeneratorRecipeHelper.getFluidRecipesForGenerator(generator).getRecipes().forEach(recipe ->
|
||||
recipeHelper.registerDisplay(new FluidGeneratorRecipeDisplay(recipe, identifier))
|
||||
);
|
||||
}
|
||||
|
||||
private <R extends RebornRecipe> void registerMachineRecipe(RecipeHelper recipeHelper, RebornRecipeType<R> recipeType) {
|
||||
|
|
|
@ -45,8 +45,8 @@ public class FluidReplicatorRecipeDisplay implements RecipeDisplay {
|
|||
private final List<List<EntryStack>> inputs;
|
||||
private final List<EntryStack> output;
|
||||
private final FluidInstance fluidInstance;
|
||||
private int energy = 0;
|
||||
private int time = 0;
|
||||
private final int energy;
|
||||
private final int time;
|
||||
|
||||
public FluidReplicatorRecipeDisplay(FluidReplicatorRecipe recipe) {
|
||||
this.recipe = recipe;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue