Guest User

Untitled

a guest
Oct 17th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. package net.minecraft.src;
  2.  
  3. import java.util.Random;
  4.  
  5. public class mod_stoneTorch extends BaseMod
  6. {
  7. public static final Block stoneTorch = new BlockTorch(431, 0).setHardness(0.0F).setLightValue(0.2F).setBlockName("stoneTorch").disableNeighborNotifyOnMetadataChange();
  8.  
  9. public mod_stoneTorch()
  10. {
  11. ModLoader.AddName(stoneTorch, "Stone Torch");
  12. ModLoader.RegisterBlock(stoneTorch);
  13. ModLoader.AddRecipe(new ItemStack(stoneTorch, 2), new Object[] {"", " T ", " S ", Character.valueOf('T'), Block.stone, Character.valueOf('S'), Item.stick});
  14. ModLoader.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/jakeevans/stoneTorch.png");
  15. }
  16. public String Version()
  17. {
  18. return "0.1 for Minecraft Beta 1.7.3";
  19. }
  20. }
Add Comment
Please, Sign In to add comment