mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 22:44:34 +00:00
EE3 EMC values
* Added EE3 EMC values * Fixed reversed ender pearl dust registration logic
This commit is contained in:
1 parent
d742c41164
commit
27cfc0e027
8 files changed
+229
-9
No files matched your search
@@ -8,14 +8,13 @@ import java.util.List;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import crazypants.enderio.machine.MachineRecipeInput;
|
||||
import crazypants.util.EE3Util;
|
||||
|
||||
public class BasicManyToOneRecipe implements IManyToOneRecipe {
|
||||
|
||||
private final int energyRequired;
|
||||
private final ItemStack output;
|
||||
|
||||
private final float expPerItem;
|
||||
|
||||
private final RecipeBonusType bonusType;
|
||||
|
||||
private final Recipe recipe;
|
||||
@@ -23,9 +22,9 @@ public class BasicManyToOneRecipe implements IManyToOneRecipe {
|
||||
public BasicManyToOneRecipe(Recipe recipe) {
|
||||
this.recipe = recipe;
|
||||
this.output = recipe.getOutputs()[0].getOutput().copy();
|
||||
expPerItem = recipe.getOutputs()[0].getExperiance();
|
||||
energyRequired = recipe.getEnergyRequired();
|
||||
bonusType = recipe.getBonusType();
|
||||
EE3Util.registerBasicToManyRecipe(recipe);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user