daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest May 16th, 2018 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.minecraft.src;
  2.  
  3. public class mod_GlowingBlock extends BaseMod{
  4.    
  5.     public static Block GlowingBlock = new BlockGlowingBlock(190).setHardness(0.5F).setResistance(5.0F).setLightValue(1.0F).setBlockName("Glowing Block");
  6.    
  7.     public String getVersion(){
  8.         return "1.0.0";
  9.     }
  10.     public void load(){
  11.     }
  12.    
  13.     public mod_GlowingBlock(){
  14.         ModLoader.RegisterBlock(GlowingBlock);
  15.        
  16.         ModLoader.AddRecipe(new ItemStack(GlowingBlock, 1), new Object[] {
  17.             "dd","ww",Character.valueOf('d'),Block.dirt,Character.valueOf('w'),Block.wood
  18.         });
  19.        
  20.        
  21.     }
  22.  
  23. }
RAW Paste Data
Top