mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-19 12:09:08 +00:00
Fix up Integration for Forestry 4.1.0 using only the API
This commit is contained in:
1 parent
4682dba3e6
commit
28175a9e95
22 files changed
+758
-353
No files matched your search
@@ -0,0 +1,50 @@
|
||||
package modtweaker2.mods.forestry.recipes;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
import forestry.api.recipes.ISqueezerRecipe;
|
||||
|
||||
public class SqueezerRecipe implements ISqueezerRecipe {
|
||||
|
||||
private final int processingTime;
|
||||
private final ItemStack[] resources;
|
||||
private final FluidStack fluidOutput;
|
||||
private final ItemStack remnants;
|
||||
private final float remnantsChance;
|
||||
|
||||
public SqueezerRecipe(int processingTime, ItemStack[] resources, FluidStack fluidOutput, ItemStack remnants, float remnantsChance) {
|
||||
this.processingTime = processingTime;
|
||||
this.resources = resources;
|
||||
this.fluidOutput = fluidOutput;
|
||||
this.remnants = remnants;
|
||||
this.remnantsChance = remnantsChance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack[] getResources() {
|
||||
return resources;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getRemnants() {
|
||||
return remnants;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getRemnantsChance() {
|
||||
return remnantsChance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FluidStack getFluidOutput() {
|
||||
return fluidOutput;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getProcessingTime() {
|
||||
return processingTime;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user