diff --git a/TODO.txt b/TODO.txt index 327fbcf..6a2e786 100644 --- a/TODO.txt +++ b/TODO.txt @@ -45,7 +45,6 @@ tech.base No Alloy furnace tech.base No Coke oven tech.base No Metal recycler / advanced furnace tech.base No Workbench - Support for remaining recipe types BF Allow clicking ingredients to get their recipe BF ------------------------------------------------------------------------------------------------------- tech.tools No Pan (for e.g. panning gold) diff --git a/src/java/mmm/core/CProxyCommon.java b/src/java/mmm/core/CProxyCommon.java index 5e6945b..48eed36 100644 --- a/src/java/mmm/core/CProxyCommon.java +++ b/src/java/mmm/core/CProxyCommon.java @@ -8,6 +8,7 @@ import mmm.MmmPlants; import mmm.MmmTech; import mmm.MmmWorld; import mmm.recipes.RCraftingWrappers; +import mmm.recipes.RExtraRecipes; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @@ -20,6 +21,7 @@ public class CProxyCommon public void preInit( final FMLPreInitializationEvent event ) { RCraftingWrappers.preInit( ); + CRegistry.addRegistrar( new RExtraRecipes( ) ); CAccessors.preInit( ); MmmPlants.preInit( ); diff --git a/src/java/mmm/recipes/RExtraRecipes.java b/src/java/mmm/recipes/RExtraRecipes.java new file mode 100644 index 0000000..8f8c416 --- /dev/null +++ b/src/java/mmm/recipes/RExtraRecipes.java @@ -0,0 +1,66 @@ +package mmm.recipes; + + +import mmm.core.api.I_RecipeRegistrar; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.EnumDyeColor; +import net.minecraft.item.ItemStack; +import net.minecraftforge.fml.common.registry.GameRegistry; + + + +public class RExtraRecipes + implements I_RecipeRegistrar +{ + // I don't need a pretext to go adventuring, and neither does my kid (actually, it's more like + // "nah, not going caving today, too tired... please?"), so fuck you and your "but it encourages + // adventuring!" BS. + // + // ... + // + // Sorry, this just annoys me. + + @Override + public void registerRecipes( ) + { + // "I can make pistons but not saddles because fuck you" + // ... Well, no. Fuck *you*. + GameRegistry.addShapedRecipe( new ItemStack( Items.SADDLE ) , // + "LLL" , // + "SLS" , // + "ILI" , // + 'L' , new ItemStack( Items.LEATHER ) , // + 'S' , new ItemStack( Items.STRING ) , // + 'I' , new ItemStack( Items.IRON_INGOT ) ); + + // "Oh God, name tags are so hard to make!!!111one one one" + GameRegistry.addShapelessRecipe( new ItemStack( Items.NAME_TAG ) , // + Items.PAPER , Items.PAPER , Items.PAPER , Items.STRING , Items.FEATHER , + new ItemStack( Items.DYE , 1 , EnumDyeColor.BLACK.getDyeDamage( ) ) ); + + // "Holse amor? IMPOSSIBRU!" + GameRegistry.addShapedRecipe( new ItemStack( Items.IRON_HORSE_ARMOR ) , // + "LBL" , "LBL" , "LBL" , // + 'L' , Items.LEATHER , // + 'B' , Blocks.IRON_BLOCK ); + GameRegistry.addShapedRecipe( new ItemStack( Items.GOLDEN_HORSE_ARMOR ) , // + "LBL" , "LBL" , "LBL" , // + 'L' , Items.LEATHER , // + 'B' , Blocks.GOLD_BLOCK ); + GameRegistry.addShapedRecipe( new ItemStack( Items.DIAMOND_HORSE_ARMOR ) , // + "LBL" , "LBL" , "LBL" , // + 'L' , Items.LEATHER , // + 'B' , Blocks.DIAMOND_BLOCK ); + + // Low gain gravel -> flint recipe, because doing it manually is just so bloody annoying. + GameRegistry.addShapelessRecipe( new ItemStack( Items.FLINT ) , // + Blocks.GRAVEL , Blocks.GRAVEL , Blocks.GRAVEL , // + Blocks.GRAVEL , Blocks.GRAVEL , Blocks.GRAVEL , // + Blocks.GRAVEL , Blocks.GRAVEL , Blocks.GRAVEL ); + + // Spinning cobwebs into strings, because my enchanted diamond sword's durability hates you. + GameRegistry.addShapelessRecipe( new ItemStack( Items.STRING ) , Blocks.WEB ); + } + +}