303

mod_fireworks

303
Mar 26th, 2011
1,226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.61 KB | None | 0 0
  1.  
  2. package net.minecraft.src;
  3.  
  4. public class mod_Fireworks extends BaseMod{
  5.  
  6.     @Override
  7.         public String Version() {
  8.             return "1.3_01";
  9.         }
  10.  
  11.     public mod_Fireworks() {
  12.         ModLoader.RegisterBlock(example);
  13.     }
  14.  
  15.     public void AddRecipes(CraftingManager recipes) {
  16.         recipes.addRecipe(new ItemStack(example), new Object[] {
  17.             "#",
  18.             '#', Block.planks
  19.         });
  20.     }
  21.  
  22.     public static final Block example;
  23.  
  24.     static
  25.     {
  26.         example = (new _FireworksBlock(95)).setHardness(1.5F).setStepSound(Block.soundStoneFootstep);
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment