mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Add more recipes
This commit is contained in:
1 parent
a13ce7910d
commit
bac3c884c1
1960 files changed
+43632
-5087
No files matched your search
@@ -13,7 +13,6 @@ import mekanism.common.base.IFactory.RecipeType;
|
||||
import mekanism.common.block.BlockMachine;
|
||||
import mekanism.common.config.MekanismConfig.general;
|
||||
import mekanism.common.config.MekanismConfig.usage;
|
||||
import mekanism.common.recipe.ShapedMekanismRecipe;
|
||||
import mekanism.common.tile.TileEntityAdvancedFactory;
|
||||
import mekanism.common.tile.TileEntityAmbientAccumulator;
|
||||
import mekanism.common.tile.TileEntityChargepad;
|
||||
@@ -169,7 +168,7 @@ public class BlockStateMachine extends ExtendedBlockState
|
||||
public boolean isElectric;
|
||||
public boolean hasModel;
|
||||
public boolean supportsUpgrades;
|
||||
public Collection<ShapedMekanismRecipe> blockRecipes = new HashSet<ShapedMekanismRecipe>();
|
||||
// public Collection<ShapedMekanismRecipe> blockRecipes = new HashSet<ShapedMekanismRecipe>();
|
||||
public Predicate<EnumFacing> facingPredicate;
|
||||
public boolean activable;
|
||||
|
||||
@@ -199,23 +198,23 @@ public class BlockStateMachine extends ExtendedBlockState
|
||||
return general.machinesManager.isEnabled(blockName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addRecipes(Collection<ShapedMekanismRecipe> recipes)
|
||||
{
|
||||
blockRecipes.addAll(recipes);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addRecipe(ShapedMekanismRecipe recipe)
|
||||
{
|
||||
blockRecipes.add(recipe);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<ShapedMekanismRecipe> getRecipes()
|
||||
{
|
||||
return blockRecipes;
|
||||
}
|
||||
// @Override
|
||||
// public void addRecipes(Collection<ShapedMekanismRecipe> recipes)
|
||||
// {
|
||||
// blockRecipes.addAll(recipes);
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public void addRecipe(ShapedMekanismRecipe recipe)
|
||||
// {
|
||||
// blockRecipes.add(recipe);
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public Collection<ShapedMekanismRecipe> getRecipes()
|
||||
// {
|
||||
// return blockRecipes;
|
||||
// }
|
||||
|
||||
public static List<MachineType> getValidMachines()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user