Advertisement
gottabadfeeling

Paper Mario Mod 1.8 - Recipe Creation Class

Apr 18th, 2015
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.09 KB | None | 0 0
  1. package com.gottabadfeeling.mod.papermario.init;
  2.  
  3. import net.minecraft.init.Blocks;
  4. import net.minecraft.item.ItemStack;
  5. import net.minecraftforge.fml.common.registry.GameRegistry;
  6.  
  7. public class PaperMarioRecipes {
  8.  
  9.     public static void init() {
  10.  
  11.         /* Shapeless Recipes */
  12.  
  13.         // Create a Paper Mario Mushroom from one Red Mushroom.
  14.  
  15.         GameRegistry.addShapelessRecipe(new ItemStack(
  16.                 PaperMarioItems.red_mushroom, 1),
  17.                 new Object[] { Blocks.red_mushroom });
  18.  
  19.         // Create a Super Shroom using a Mushroom and PM Coins
  20.         GameRegistry.addShapelessRecipe(new ItemStack(
  21.                 PaperMarioItems.super_shroom, 1), new Object[] {
  22.                 PaperMarioItems.red_mushroom, PaperMarioItems.coin });
  23.  
  24.         // Create an Ultra Shroom using a Super Shroom and 8 More Coins
  25.         GameRegistry.addShapelessRecipe(new ItemStack(
  26.                 PaperMarioItems.ultra_shroom, 1), new Object[] {
  27.                 PaperMarioItems.super_shroom, PaperMarioItems.coin,
  28.                 PaperMarioItems.coin, PaperMarioItems.coin,
  29.                 PaperMarioItems.coin, PaperMarioItems.coin,
  30.                 PaperMarioItems.coin, PaperMarioItems.coin,
  31.                 PaperMarioItems.coin });
  32.     }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement