Fixes #481 and Fixes empty cell texture
This commit is contained in:
parent
e01e4be209
commit
f39a047f49
2 changed files with 3 additions and 4 deletions
|
@ -3,6 +3,7 @@ package techreborn.init;
|
||||||
import com.google.common.base.Predicate;
|
import com.google.common.base.Predicate;
|
||||||
import com.google.common.collect.Iterables;
|
import com.google.common.collect.Iterables;
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
|
import mezz.jei.plugins.vanilla.crafting.ShapedOreRecipeHandler;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
|
@ -3264,9 +3265,6 @@ public class ModRecipes
|
||||||
ItemCells.getCellByName("empty"), ItemDusts.getDustByName("aluminum", 2),
|
ItemCells.getCellByName("empty"), ItemDusts.getDustByName("aluminum", 2),
|
||||||
ItemCells.getCellByName("empty", 5), null, null, 100, 60));
|
ItemCells.getCellByName("empty", 5), null, null, 100, 60));
|
||||||
|
|
||||||
RecipeHandler.addRecipe(new IndustrialElectrolyzerRecipe(ItemCells.getCellByName("nitrogenDioxide", 3), null,
|
|
||||||
ItemCells.getCellByName("nitrogen", 1), ItemCells.getCellByName("empty", 5), null,
|
|
||||||
ItemCells.getCellByName("empty"), 160, 60));
|
|
||||||
|
|
||||||
RecipeHandler.addRecipe(new IndustrialElectrolyzerRecipe(ItemCells.getCellByName("sodiumSulfide", 2), null,
|
RecipeHandler.addRecipe(new IndustrialElectrolyzerRecipe(ItemCells.getCellByName("sodiumSulfide", 2), null,
|
||||||
ItemCells.getCellByName("sodium", 1), ItemDusts.getDustByName("sulfur", 1), null,
|
ItemCells.getCellByName("sodium", 1), ItemDusts.getDustByName("sulfur", 1), null,
|
||||||
|
|
|
@ -10,6 +10,7 @@ public class EmptyCell extends ItemTextureBase {
|
||||||
|
|
||||||
public EmptyCell()
|
public EmptyCell()
|
||||||
{
|
{
|
||||||
|
super();
|
||||||
setUnlocalizedName("techreborn.cell");
|
setUnlocalizedName("techreborn.cell");
|
||||||
setCreativeTab(TechRebornCreativeTab.instance);
|
setCreativeTab(TechRebornCreativeTab.instance);
|
||||||
}
|
}
|
||||||
|
@ -20,6 +21,6 @@ public class EmptyCell extends ItemTextureBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxMeta() {
|
public int getMaxMeta() {
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue