Skip to content

Commit

Permalink
Merged 1.9 into 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
founderio committed Oct 3, 2016
2 parents a1fd768 + 7f8d542 commit f9551cc
Show file tree
Hide file tree
Showing 17 changed files with 967 additions and 598 deletions.
3 changes: 3 additions & 0 deletions common/net/teamio/taam/Taam.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ public static enum ITEM_MATERIAL_META {
rubber_bar,
graphite,
iron_nugget,
aluminum_nugget,
copper_nugget,
tin_nugget,
silicon_wafer,
wooden_board,
aluminum_plate,
Expand Down
29 changes: 24 additions & 5 deletions common/net/teamio/taam/TaamMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,10 @@ public void readNBT(Capability<IAdvancedMachineGUI> capability, IAdvancedMachine
throw new RuntimeException("Registering a capability failed (Taam.CAPABILITY_ADVANCED_GUI - IAdvancedMachineGUI) - field was null after registry.");
}

/*
* Sounds
*/

soundSipAh = new SoundEvent(Taam.SOUND_SIP_AH);
soundSipAh.setRegistryName(Taam.SOUND_SIP_AH);
GameRegistry.register(soundSipAh);
Expand All @@ -572,14 +576,23 @@ public void init(FMLInitializationEvent event) {
proxy.registerRenderStuff();
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());

/*
/*
* Recipe Stuff
*/


// Register things with the ore dictionary
oreRegistration();
TaamRecipes.addRecipes();
TaamRecipes.addSmeltingRecipes();
TaamRecipes.addOreRecipes();

// Machine Recipes
TaamRecipesCrusher.registerRecipes();
TaamRecipesFluidDrier.registerRecipes();
TaamRecipesGrinder.registerRecipes();
TaamRecipesMixer.registerRecipes();
TaamRecipesSprayer.registerRecipes();

// Smelting & Crafting
TaamRecipes.registerSmeltingRecipes();
TaamRecipes.registerCraftingRecipes();

}

Expand All @@ -606,15 +619,21 @@ public static void oreRegistration() {
OreDictionary.registerOre("dustKaolinite", new ItemStack(itemDust, 1, Taam.BLOCK_ORE_META.kaolinite.ordinal()));
OreDictionary.registerOre("dustGold", new ItemStack(itemDust, 1, Taam.BLOCK_ORE_META.gold.ordinal()));
OreDictionary.registerOre("dustCoal", new ItemStack(itemDust, 1, Taam.BLOCK_ORE_META.coal.ordinal()));
OreDictionary.registerOre("dustStone", new ItemStack(itemDust, 1, Taam.BLOCK_ORE_META.stone.ordinal()));

OreDictionary.registerOre("nuggetIron", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.iron_nugget.ordinal()));
OreDictionary.registerOre("nuggetCopper", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.copper_nugget.ordinal()));
OreDictionary.registerOre("nuggetAluminum", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.aluminum_nugget.ordinal()));
OreDictionary.registerOre("nuggetTin", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.tin_nugget.ordinal()));

OreDictionary.registerOre("materialPlastic", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.plastic_sheet.ordinal()));
OreDictionary.registerOre("materialRubber", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.rubber_bar.ordinal()));
OreDictionary.registerOre("itemRubber", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.rubber_bar.ordinal()));
OreDictionary.registerOre("materialGraphite", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.graphite.ordinal()));
OreDictionary.registerOre("materialSiliconWafer", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.silicon_wafer.ordinal()));
OreDictionary.registerOre("materialResin", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.resin.ordinal()));
OreDictionary.registerOre("materialCement", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.cement.ordinal()));
OreDictionary.registerOre("materialRoughCement", new ItemStack(itemMaterial, 1, Taam.ITEM_MATERIAL_META.cementRough.ordinal()));

OreDictionary.registerOre("partPhotocell", new ItemStack(itemPart, 1, Taam.ITEM_PART_META.photocell.ordinal()));
OreDictionary.registerOre("partMotor", new ItemStack(itemPart, 1, Taam.ITEM_PART_META.motor.ordinal()));
Expand Down
Loading

0 comments on commit f9551cc

Please sign in to comment.