mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Removed Stone Casing
This commit is contained in:
parent
6c3415864c
commit
448a050c26
9 changed files with 13 additions and 33 deletions
|
@ -36,9 +36,7 @@ public class BlockMisc extends BlockBase{
|
||||||
public IIcon[] textures;
|
public IIcon[] textures;
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
private IIcon casingSeasonalTop;
|
private IIcon ironCasingSeasonalTop;
|
||||||
@SideOnly(Side.CLIENT)
|
|
||||||
private IIcon stoneCasingSeasonal;
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
private IIcon ironCasingSeasonal;
|
private IIcon ironCasingSeasonal;
|
||||||
|
|
||||||
|
@ -53,11 +51,8 @@ public class BlockMisc extends BlockBase{
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getIcon(int side, int metadata){
|
public IIcon getIcon(int side, int metadata){
|
||||||
if(ClientProxy.jingleAllTheWay && side != 0){
|
if(ClientProxy.jingleAllTheWay && side != 0){
|
||||||
if(metadata == TheMiscBlocks.STONE_CASING.ordinal()){
|
if(metadata == TheMiscBlocks.IRON_CASING.ordinal()){
|
||||||
return side == 1 ? this.casingSeasonalTop : this.stoneCasingSeasonal;
|
return side == 1 ? this.ironCasingSeasonalTop : this.ironCasingSeasonal;
|
||||||
}
|
|
||||||
else if(metadata == TheMiscBlocks.IRON_CASING.ordinal()){
|
|
||||||
return side == 1 ? this.casingSeasonalTop : this.ironCasingSeasonal;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return metadata >= textures.length ? null : textures[metadata];
|
return metadata >= textures.length ? null : textures[metadata];
|
||||||
|
@ -84,8 +79,7 @@ public class BlockMisc extends BlockBase{
|
||||||
textures[i] = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":"+this.getBaseName()+allMiscBlocks[i].name);
|
textures[i] = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":"+this.getBaseName()+allMiscBlocks[i].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.casingSeasonalTop = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":blockMiscStoneCasingSnowTop");
|
this.ironCasingSeasonalTop = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":blockMiscIronCasingSnowTop");
|
||||||
this.stoneCasingSeasonal = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":blockMiscStoneCasingSnow");
|
|
||||||
this.ironCasingSeasonal = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":blockMiscIronCasingSnow");
|
this.ironCasingSeasonal = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":blockMiscIronCasingSnow");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ public enum TheMiscBlocks{
|
||||||
QUARTZ("BlackQuartz", EnumRarity.rare),
|
QUARTZ("BlackQuartz", EnumRarity.rare),
|
||||||
ORE_QUARTZ("OreBlackQuartz", EnumRarity.epic),
|
ORE_QUARTZ("OreBlackQuartz", EnumRarity.epic),
|
||||||
WOOD_CASING("WoodCasing", EnumRarity.common),
|
WOOD_CASING("WoodCasing", EnumRarity.common),
|
||||||
STONE_CASING("StoneCasing", EnumRarity.uncommon),
|
|
||||||
CHARCOAL_BLOCK("Charcoal", EnumRarity.common),
|
CHARCOAL_BLOCK("Charcoal", EnumRarity.common),
|
||||||
ENDERPEARL_BLOCK("Enderpearl", EnumRarity.rare),
|
ENDERPEARL_BLOCK("Enderpearl", EnumRarity.rare),
|
||||||
LAVA_FACTORY_CASE("LavaFactoryCase", EnumRarity.uncommon),
|
LAVA_FACTORY_CASE("LavaFactoryCase", EnumRarity.uncommon),
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class InitBooklet{
|
||||||
new BookletChapter("bookTutorial", entryGettingStarted, new ItemStack(InitItems.itemBooklet), new PageTextOnly(1), new PageTextOnly(2), new PageCrafting(3, ItemCrafting.recipeBook));
|
new BookletChapter("bookTutorial", entryGettingStarted, new ItemStack(InitItems.itemBooklet), new PageTextOnly(1), new PageTextOnly(2), new PageCrafting(3, ItemCrafting.recipeBook));
|
||||||
new BookletChapter("crystals", entryGettingStarted, new ItemStack(InitBlocks.blockAtomicReconstructor), new PageTextOnly(1).addTextReplacement("<rf>", TileEntityAtomicReconstructor.ENERGY_USE), new PageTextOnly(2), new PageTextOnly(3), new PagePicture(4, "pageAtomicReconstructor", 0).setNoText(), new PageTextOnly(5), new PageCrafting(6, BlockCrafting.recipeAtomicReconstructor).setNoText().setPageStacksWildcard(), new PageCrafting(7, MiscCrafting.recipesCrystals).setNoText(), new PageCrafting(8, MiscCrafting.recipesCrystalBlocks).setNoText(), new PageReconstructor(9, LensNoneRecipeHandler.mainPageRecipes).setNoText()).setSpecial();
|
new BookletChapter("crystals", entryGettingStarted, new ItemStack(InitBlocks.blockAtomicReconstructor), new PageTextOnly(1).addTextReplacement("<rf>", TileEntityAtomicReconstructor.ENERGY_USE), new PageTextOnly(2), new PageTextOnly(3), new PagePicture(4, "pageAtomicReconstructor", 0).setNoText(), new PageTextOnly(5), new PageCrafting(6, BlockCrafting.recipeAtomicReconstructor).setNoText().setPageStacksWildcard(), new PageCrafting(7, MiscCrafting.recipesCrystals).setNoText(), new PageCrafting(8, MiscCrafting.recipesCrystalBlocks).setNoText(), new PageReconstructor(9, LensNoneRecipeHandler.mainPageRecipes).setNoText()).setSpecial();
|
||||||
new BookletChapter("coalGen", entryGettingStarted, new ItemStack(InitBlocks.blockCoalGenerator), new PageCrafting(1, BlockCrafting.recipeCoalGen).addTextReplacement("<rf>", TileEntityCoalGenerator.PRODUCE));
|
new BookletChapter("coalGen", entryGettingStarted, new ItemStack(InitBlocks.blockCoalGenerator), new PageCrafting(1, BlockCrafting.recipeCoalGen).addTextReplacement("<rf>", TileEntityCoalGenerator.PRODUCE));
|
||||||
new BookletChapter("craftingIngs", entryGettingStarted, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()), new PageTextOnly(1), new PageCrafting(2, ItemCrafting.recipeCoil).setNoText(), new PageCrafting(3, ItemCrafting.recipeCoilAdvanced).setNoText(), new PageCrafting(4, BlockCrafting.recipeCase).setNoText(), new PageCrafting(5, BlockCrafting.recipeStoneCase).setNoText(), new PageCrafting(6, BlockCrafting.recipeEnderPearlBlock).setNoText(), new PageCrafting(7, BlockCrafting.recipeEnderCase).setNoText(), new PageCrafting(8, ItemCrafting.recipeRing).setNoText(), new PageCrafting(9, ItemCrafting.recipeKnifeHandle).setNoText(), new PageCrafting(10, ItemCrafting.recipeKnifeBlade).setNoText(), new PageCrafting(11, ItemCrafting.recipeKnife).setNoText(), new PageCrafting(12, ItemCrafting.recipeDough).setNoText(), new PageCrafting(13, ItemCrafting.recipeRiceDough).setNoText(), new PageCrafting(14, BlockCrafting.recipeIronCase).setNoText()).setImportant();
|
new BookletChapter("craftingIngs", entryGettingStarted, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()), new PageTextOnly(1), new PageCrafting(2, ItemCrafting.recipeCoil).setNoText(), new PageCrafting(3, ItemCrafting.recipeCoilAdvanced).setNoText(), new PageCrafting(4, BlockCrafting.recipeCase).setNoText(), new PageCrafting(5, BlockCrafting.recipeEnderPearlBlock).setNoText(), new PageCrafting(6, BlockCrafting.recipeEnderCase).setNoText(), new PageCrafting(7, ItemCrafting.recipeRing).setNoText(), new PageCrafting(8, ItemCrafting.recipeKnifeHandle).setNoText(), new PageCrafting(9, ItemCrafting.recipeKnifeBlade).setNoText(), new PageCrafting(10, ItemCrafting.recipeKnife).setNoText(), new PageCrafting(11, ItemCrafting.recipeDough).setNoText(), new PageCrafting(12, ItemCrafting.recipeRiceDough).setNoText(), new PageCrafting(13, BlockCrafting.recipeIronCase).setNoText()).setImportant();
|
||||||
new BookletChapter("rf", entryGettingStarted, new ItemStack(Items.redstone), new PageTextOnly(1));
|
new BookletChapter("rf", entryGettingStarted, new ItemStack(Items.redstone), new PageTextOnly(1));
|
||||||
|
|
||||||
//Miscellaneous
|
//Miscellaneous
|
||||||
|
|
|
@ -19,7 +19,6 @@ public enum ConfigCrafting{
|
||||||
XP_SOLIDIFIER("Experience Solidifier", ConfigCategories.BLOCKS_CRAFTING),
|
XP_SOLIDIFIER("Experience Solidifier", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
WOOD_CASING("Wood Casing", ConfigCategories.BLOCKS_CRAFTING),
|
WOOD_CASING("Wood Casing", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
IRON_CASING("Iron Casing", ConfigCategories.BLOCKS_CRAFTING),
|
IRON_CASING("Iron Casing", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
STONE_CASING("Stone Casing", ConfigCategories.BLOCKS_CRAFTING),
|
|
||||||
FISHING_NET("Fishing Net", ConfigCategories.BLOCKS_CRAFTING),
|
FISHING_NET("Fishing Net", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
REPAIRER("Repairer", ConfigCategories.BLOCKS_CRAFTING),
|
REPAIRER("Repairer", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
SOLAR_PANEL("Solar Panel", ConfigCategories.BLOCKS_CRAFTING),
|
SOLAR_PANEL("Solar Panel", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
|
|
|
@ -41,7 +41,6 @@ public class BlockCrafting{
|
||||||
public static IRecipe recipeLiquidCollector;
|
public static IRecipe recipeLiquidCollector;
|
||||||
public static IRecipe recipeCase;
|
public static IRecipe recipeCase;
|
||||||
public static IRecipe recipeIronCase;
|
public static IRecipe recipeIronCase;
|
||||||
public static IRecipe recipeStoneCase;
|
|
||||||
public static IRecipe recipeEnderCase;
|
public static IRecipe recipeEnderCase;
|
||||||
public static IRecipe recipeEnderPearlBlock;
|
public static IRecipe recipeEnderPearlBlock;
|
||||||
public static IRecipe recipeESD;
|
public static IRecipe recipeESD;
|
||||||
|
@ -193,7 +192,7 @@ public class BlockCrafting{
|
||||||
" A ", "EHE", " C ",
|
" A ", "EHE", " C ",
|
||||||
'E', new ItemStack(Items.ender_pearl),
|
'E', new ItemStack(Items.ender_pearl),
|
||||||
'H', new ItemStack(Blocks.hopper),
|
'H', new ItemStack(Blocks.hopper),
|
||||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'A', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal())));
|
'A', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal())));
|
||||||
recipeRangedCollector = Util.GetRecipes.lastIRecipe();
|
recipeRangedCollector = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -289,7 +288,7 @@ public class BlockCrafting{
|
||||||
" C ", " S ", "AMA",
|
" C ", " S ", "AMA",
|
||||||
'M', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal()),
|
'M', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal()),
|
||||||
'C', InitItems.itemCoffeeBean,
|
'C', InitItems.itemCoffeeBean,
|
||||||
'S', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'S', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'A', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal())));
|
'A', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal())));
|
||||||
recipeCoffeeMachine = Util.GetRecipes.lastIRecipe();
|
recipeCoffeeMachine = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -424,7 +423,7 @@ public class BlockCrafting{
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockOilGenerator),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockOilGenerator),
|
||||||
"CRC", "CBC", "CRC",
|
"CRC", "CBC", "CRC",
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'B', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CANOLA.ordinal())));
|
'B', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CANOLA.ordinal())));
|
||||||
recipeOilGen = Util.GetRecipes.lastIRecipe();
|
recipeOilGen = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -434,8 +433,8 @@ public class BlockCrafting{
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCoalGenerator),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCoalGenerator),
|
||||||
"CRC", "CBC", "CRC",
|
"CRC", "CBC", "CRC",
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'B', new ItemStack(Items.coal, 1, Util.WILDCARD)));
|
'R', new ItemStack(Items.coal, 1, Util.WILDCARD)));
|
||||||
recipeCoalGen = Util.GetRecipes.lastIRecipe();
|
recipeCoalGen = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -459,16 +458,6 @@ public class BlockCrafting{
|
||||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.ender_pearl, 4),
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.ender_pearl, 4),
|
||||||
new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal())));
|
new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal())));
|
||||||
|
|
||||||
//Stone Casing
|
|
||||||
if(ConfigCrafting.STONE_CASING.isEnabled()){
|
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
||||||
"WSW", "SRS", "WSW",
|
|
||||||
'W', "cobblestone",
|
|
||||||
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()),
|
|
||||||
'S', "stickWood"));
|
|
||||||
recipeStoneCase = Util.GetRecipes.lastIRecipe();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Quartz Block
|
//Quartz Block
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()),
|
||||||
"QQ", "QQ",
|
"QQ", "QQ",
|
||||||
|
@ -556,7 +545,7 @@ public class BlockCrafting{
|
||||||
'M', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
'M', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||||
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'P', new ItemStack(Blocks.piston),
|
'P', new ItemStack(Blocks.piston),
|
||||||
'F', new ItemStack(Items.flint)));
|
'F', new ItemStack(Items.flint)));
|
||||||
recipeCrusher = Util.GetRecipes.lastIRecipe();
|
recipeCrusher = Util.GetRecipes.lastIRecipe();
|
||||||
|
@ -569,7 +558,7 @@ public class BlockCrafting{
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||||
'R', InitBlocks.blockGrinder,
|
'R', InitBlocks.blockGrinder,
|
||||||
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'P', new ItemStack(Blocks.piston)));
|
'P', new ItemStack(Blocks.piston)));
|
||||||
recipeDoubleCrusher = Util.GetRecipes.lastIRecipe();
|
recipeDoubleCrusher = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
@ -581,7 +570,7 @@ public class BlockCrafting{
|
||||||
'C', "cobblestone",
|
'C', "cobblestone",
|
||||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
||||||
'R', new ItemStack(Blocks.furnace),
|
'R', new ItemStack(Blocks.furnace),
|
||||||
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
||||||
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
||||||
recipeFurnace = Util.GetRecipes.lastIRecipe();
|
recipeFurnace = Util.GetRecipes.lastIRecipe();
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,6 @@ tile.actuallyadditions.blockFurnaceSolar.name=Solar Panel
|
||||||
tile.actuallyadditions.blockHeatCollector.name=Heat Collector
|
tile.actuallyadditions.blockHeatCollector.name=Heat Collector
|
||||||
tile.actuallyadditions.blockItemRepairer.name=Item Repairer
|
tile.actuallyadditions.blockItemRepairer.name=Item Repairer
|
||||||
tile.actuallyadditions.blockMiscWoodCasing.name=Wood Casing
|
tile.actuallyadditions.blockMiscWoodCasing.name=Wood Casing
|
||||||
tile.actuallyadditions.blockMiscStoneCasing.name=Stone Casing
|
|
||||||
tile.actuallyadditions.blockGreenhouseGlass.name=Greenhouse Glass
|
tile.actuallyadditions.blockGreenhouseGlass.name=Greenhouse Glass
|
||||||
tile.actuallyadditions.blockEnergizer.name=Energizer
|
tile.actuallyadditions.blockEnergizer.name=Energizer
|
||||||
tile.actuallyadditions.blockEnervator.name=Enervator
|
tile.actuallyadditions.blockEnervator.name=Enervator
|
||||||
|
|
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 432 B |
Binary file not shown.
Before Width: | Height: | Size: 821 B |
Binary file not shown.
Before Width: | Height: | Size: 851 B |
Loading…
Reference in a new issue