Guest User

Untitled

a guest
Jun 15th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. This code is for my lemon seed which is created in my Items Class with all my other items. Posted lines seperatly so you could see which line(s) i'm talking about.
  2.  
  3. lemon_seed = new ItemSeeds(SlurpiesDonglesBlocks.lemon_crop, Blocks.FARMLAND).setCreativeTab(SlurpiesDongles.tabSlurpiesDongles).setUnlocalizedName("lemon_seed");
  4.  
  5. GameRegistry.registerItem(lemon_seed, lemon_seed.getUnlocalizedName().substring(5));
  6.  
  7. registerRender(lemon_seed);
Advertisement
Add Comment
Please, Sign In to add comment