jtrent238

Untitled

Feb 4th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 11.17 KB | None | 0 0
  1. //Blue Cake
  2.     blockbluecake = new Blockbluecake(Material.cake).setBlockName("blockbluecake").setBlockTextureName("foodmod:blockbluecake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  3.     GameRegistry.registerBlock(blockbluecake, blockbluecake.getUnlocalizedName().substring(5));
  4.     System.out.println(blockbluecake.getUnlocalizedName().substring(5));
  5.    
  6.     //Chocolate Cake
  7.     blockchocolatecake = new Blockchocolatecake(Material.cake).setBlockName("blockchocolatecake").setBlockTextureName("foodmod:blockchocolatecake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  8.     GameRegistry.registerBlock(blockchocolatecake, blockchocolatecake.getUnlocalizedName().substring(5));
  9.     System.out.println(blockchocolatecake.getUnlocalizedName().substring(5));
  10.    
  11.     //Gold Cake
  12.     blockgoldcake = new Blockgoldcake(Material.cake).setBlockName("blockgoldcake").setBlockTextureName("foodmod:blockgoldcake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  13.     GameRegistry.registerBlock(blockgoldcake, blockgoldcake.getUnlocalizedName().substring(5));
  14.     System.out.println(blockgoldcake.getUnlocalizedName().substring(5));
  15.  
  16.     //Gold Cake
  17.     blockmagentacake = new Blockmagentacake(Material.cake).setBlockName("blockmagentacake").setBlockTextureName("foodmod:blockmagentacake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  18.     GameRegistry.registerBlock(blockmagentacake, blockmagentacake.getUnlocalizedName().substring(5));
  19.     System.out.println(blockmagentacake.getUnlocalizedName().substring(5));
  20.    
  21.     //Black Cake
  22.     blockblackcake = new Blockblackcake(Material.cake).setBlockName("blockblackcake").setBlockTextureName("foodmod:blockblackcake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  23.     GameRegistry.registerBlock(blockblackcake, blockblackcake.getUnlocalizedName().substring(5));
  24.     System.out.println(blockblackcake.getUnlocalizedName().substring(5));
  25.    
  26.     //Posion Cake
  27.     blockposioncake = new Blockposioncake(Material.cake).setBlockName("blockposioncake").setBlockTextureName("foodmod:blockposioncake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  28.     GameRegistry.registerBlock(blockposioncake, blockposioncake.getUnlocalizedName().substring(5));
  29.     System.out.println(blockposioncake.getUnlocalizedName().substring(5));
  30.    
  31.     //Creeper Cake Blue
  32.     blockcreepercakeblue = new Blockcreepercakeblue(Material.cake).setBlockName("blockcreepercakeblue").setBlockTextureName("foodmod:blockcreepercakeblue").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  33.     GameRegistry.registerBlock(blockcreepercakeblue, blockcreepercakeblue.getUnlocalizedName().substring(5));
  34.     System.out.println(blockcreepercakeblue.getUnlocalizedName().substring(5));
  35.    
  36.     //Creeper Cake Green
  37.     blockcreepercakegreen = new Blockcreepercakegreen(Material.cake).setBlockName("blockcreepercakegreen").setBlockTextureName("foodmod:blockcreepercakegreen").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  38.     GameRegistry.registerBlock(blockcreepercakegreen, blockcreepercakegreen.getUnlocalizedName().substring(5));
  39.     System.out.println(blockcreepercakegreen.getUnlocalizedName().substring(5));
  40.    
  41.     //Red Velvet Cake
  42.     blockredvelvetcake = new Blockredvelvetcake(Material.cake).setBlockName("blockredvelvetcake").setBlockTextureName("foodmod:blockredvelvetcake").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  43.     GameRegistry.registerBlock(blockredvelvetcake, blockredvelvetcake.getUnlocalizedName().substring(5));
  44.     System.out.println(blockredvelvetcake.getUnlocalizedName().substring(5));
  45.    
  46.     //DeepDishPizza (CakeBlock)
  47.     blockdeepdishpizza = new Blockdeepdishpizza(Material.cake).setBlockName("blockdeepdishpizza").setBlockTextureName("foodmod:blockdeepdishpizza").setHardness(0.5F).setStepSound(Block.soundTypeCloth).setCreativeTab(FoodMod);
  48.     GameRegistry.registerBlock(blockdeepdishpizza, blockdeepdishpizza.getUnlocalizedName().substring(5));
  49.     System.out.println(blockdeepdishpizza.getUnlocalizedName().substring(5));
  50.    
  51.    //Blocks
  52.     //Stove
  53.     blockstove = new Blockstove(Material.anvil).setBlockName("blockstove").setBlockTextureName("foodmod:blockstove").setCreativeTab(FoodMod);
  54.     GameRegistry.registerBlock(blockstove, blockstove.getUnlocalizedName().substring(5));
  55.     System.out.println(blockstove.getUnlocalizedName().substring(5));
  56.    
  57.     //Microwave
  58.     blockmicrowave = new Blockmicrowave(Material.iron).setBlockName("blockmicrowave").setBlockTextureName("foodmod:blockmicrowave").setCreativeTab(FoodMod);
  59.     GameRegistry.registerBlock(blockmicrowave, blockmicrowave.getUnlocalizedName().substring(5));
  60.     System.out.println(blockmicrowave.getUnlocalizedName().substring(5));
  61.    
  62.    
  63.     //Fridge
  64.    
  65.    
  66.     //Sugar Ore
  67.     blocksugarore = new Blocksugarore(Material.ground).setBlockName("blocksugarore").setBlockTextureName("foodmod:blocksugarore").setHardness(3F).setStepSound(Block.soundTypeStone).setCreativeTab(FoodMod);
  68.     setHarvestLevel("pickaxe",1);
  69.     GameRegistry.registerBlock(blocksugarore, blocksugarore.getUnlocalizedName().substring(5));
  70.    
  71.     System.out.println(blocksugarore.getUnlocalizedName().substring(5));
  72.    
  73.     //Sugar Bricks
  74.     blocksugarbricks = new Blocksugarbricks(Material.ground).setBlockName("blocksugarbricks").setBlockTextureName("foodmod:blocksugarbricks").setHardness(3F).setStepSound(Block.soundTypeStone).setCreativeTab(FoodMod);
  75.     GameRegistry.registerBlock(blocksugarbricks, blocksugarbricks.getUnlocalizedName().substring(5));
  76.     setHarvestLevel("pickaxe",1);
  77.     System.out.println(blocksugarbricks.getUnlocalizedName().substring(5));
  78.    
  79.     //Sugar Block
  80.     blocksugar = new Blocksugar(Material.ground).setBlockName("blocksugar").setBlockTextureName("foodmod:blocksugar").setHardness(3F).setStepSound(Block.soundTypeStone).setCreativeTab(FoodMod);
  81.     GameRegistry.registerBlock(blocksugar, blocksugar.getUnlocalizedName().substring(5));
  82.     setHarvestLevel("pickaxe",1);
  83.     System.out.println(blocksugar.getUnlocalizedName().substring(5));
  84.    
  85.     //Food TNT
  86.     blockfoodtnt = new Blockfoodtnt(Material.ground).setStepSound(Block.soundTypeGravel).setBlockName("blockfoodtnt").setBlockTextureName("foodmod:blockfoodtnt").setCreativeTab(FoodMod);
  87.     GameRegistry.registerBlock(blockfoodtnt, blockfoodtnt.getUnlocalizedName().substring(5));
  88.     System.out.println(blockfoodtnt.getUnlocalizedName().substring(5));
  89.    
  90.     //Light Block
  91.     blocklight = new Blocklight(Material.ground).setBlockName("blocklight").setBlockTextureName("foodmod:blocklight").setCreativeTab(FoodMod);
  92.     GameRegistry.registerBlock(blocklight, blocklight.getUnlocalizedName().substring(5));
  93.     System.out.println(blocklight.getUnlocalizedName().substring(5));
  94.    
  95.     //Test Portal
  96.     blocktestportal = new Blocktestportal(Material.portal).setBlockName("blocktestportal").setBlockTextureName("foodmod:blocktestportal");
  97.     GameRegistry.registerBlock(blocktestportal, blocktestportal.getUnlocalizedName().substring(5));
  98.     System.out.println(blocktestportal.getUnlocalizedName().substring(5));
  99.    
  100.     //Peppermint Log
  101.     blockpeppermintlog = new Blockpeppermintlog(Material.wood).setBlockName("blockpeppermintlog").setBlockTextureName("foodmod:blockpeppermintlog").setCreativeTab(FoodMod);
  102.     GameRegistry.registerBlock(blockpeppermintlog, blockpeppermintlog.getUnlocalizedName().substring(5));
  103.     System.out.println(blockpeppermintlog.getUnlocalizedName().substring(5));
  104.    
  105.     //Cherry leaves
  106.     Cherryleaves = new Cherryleaves(Material.leaves).setBlockName("Cherryleaves").setHardness(0.2F).setStepSound(Block.soundTypeGrass).setBlockTextureName("foodmod:leaves_cherry").setCreativeTab(FoodMod);
  107.     GameRegistry.registerBlock(Cherryleaves, Cherryleaves.getUnlocalizedName().substring(5));
  108.     System.out.println(Cherryleaves.getUnlocalizedName().substring(5));
  109.    
  110.    
  111.     //jtrent238 Head
  112.      jtrent238skull = new jtrent238skull(Material.ground).setBlockName("jtrent238skull").setBlockTextureName("foodmod:jtrent238skull").setCreativeTab(FoodMod);
  113.      GameRegistry.registerBlock(jtrent238skull, jtrent238skull.getUnlocalizedName().substring(5));
  114.      System.out.println(jtrent238skull.getUnlocalizedName().substring(5));
  115.      
  116.      //Oven
  117.      BlockOven = new BlockOven(Material.anvil).setBlockName("BlockOven").setBlockTextureName("foodmod:BlockOven").setCreativeTab(FoodMod);
  118.      GameRegistry.registerBlock(BlockOven, BlockOven.getUnlocalizedName().substring(5));
  119.      System.out.println(BlockOven.getUnlocalizedName().substring(5));
  120.      
  121.      //Cherry Workbench
  122.      blockcherryworkbench = new Blockcherryworkbench(Material.wood).setBlockName("blockcherryworkbench").setHardness(2.5F).setStepSound(Block.soundTypeWood).setBlockTextureName("foodmod:cherryworkbench").setCreativeTab(FoodMod);
  123.      GameRegistry.registerBlock(blockcherryworkbench, blockcherryworkbench.getUnlocalizedName().substring(5));
  124.      System.out.println(blockcherryworkbench.getUnlocalizedName().substring(5));
  125.      
  126.      //Cherry Planks
  127.      blockcherryplanks = new Blockcherryplanks(Material.wood).setBlockName("blockcherryplanks").setHardness(2F).setStepSound(Block.soundTypeWood).setBlockTextureName("foodmod:blockcherryplanks").setCreativeTab(FoodMod);
  128.      GameRegistry.registerBlock(blockcherryplanks, blockcherryplanks.getUnlocalizedName().substring(5));
  129.      System.out.println(blockcherryplanks.getUnlocalizedName().substring(5));
  130.      
  131.      //Candy Stone
  132.      blockcandystone = new Blockcandystone(Material.ground).setBlockName("blockcandystone").setHardness(1.5F).setStepSound(Block.soundTypeStone).setBlockTextureName("foodmod:blockcandystone").setCreativeTab(FoodMod);
  133.      GameRegistry.registerBlock(blockcandystone, blockcandystone.getUnlocalizedName().substring(5));
  134.      System.out.println(blockcandystone.getUnlocalizedName().substring(5));
  135.      
  136.      //Candy Dirt
  137.      blockcandydirt = new blockcandydirt(Material.grass).setBlockName("blockcandydirt").setHardness(0.5F).setStepSound(Block.soundTypeGravel).setBlockTextureName("foodmod:blockcandydirt").setCreativeTab(FoodMod);
  138.      GameRegistry.registerBlock(blockcandydirt, blockcandydirt.getUnlocalizedName().substring(5));
  139.      System.out.println(blockcandydirt.getUnlocalizedName().substring(5));
  140.      
  141.      //Candy Grass
  142.      blockcandygrass = new blockcandygrass(Material.grass).setBlockName("blockcandygrass").setHardness(0.6F).setStepSound(Block.soundTypeGrass).setBlockTextureName("foodmod:blockcandygrass").setCreativeTab(FoodMod);
  143.      GameRegistry.registerBlock(blockcandygrass, blockcandygrass.getUnlocalizedName().substring(5));
  144.      System.out.println(blockcandygrass.getUnlocalizedName().substring(5));
  145.      
  146.      //Candy Portal
  147.     // blockcandyportal = new Blockcandyportal(Material.portal).setBlockName("blockcandyportal").setHardness(100F).setBlockTextureName("foodmod:blockcandyportal").setCreativeTab(FoodMod);
  148.     // GameRegistry.registerBlock(blockcandyportal, blockcandyportal.getUnlocalizedName().substring(5));
  149.     // System.out.println(blockcandyportal.getUnlocalizedName().substring(5));
Advertisement
Add Comment
Please, Sign In to add comment