Advertisement
wolfgang798

Untitled

Sep 25th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. public static final Block ??? = (new ???(212,ModLoader.addOverride("/terrain.png", "/Blocks/???.png")).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setResistance(0.5F) .set BlockName(" "));
  2.  
  3.  
  4.  
  5.  
  6. //in your mod
  7. ModLoader.registerBlock(???);
  8. ModLoader.addName(name you set above"what u 2ant the ingame name to be");
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. //section 3 in your block's class
  16. package net.minecraft.src;
  17.  
  18. import java.util.Random;
  19.  
  20. public class ??? extends Block
  21. {
  22. public ???(int par1, int par2)
  23. {
  24. super(par1, par2, Material.rock);
  25. this.setCreativeTab(CreativeTabs.tabBlock);
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement