Advertisement
Guest User

Untitled

a guest
Aug 7th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. @Override
  2. public void onEnable() {
  3. ItemStack blaze = new ItemStack(Material.BLAZE_ROD);
  4. ShapedRecipe blazeRod = new ShapedRecipe(blaze);
  5. blazeRod.shape(" "," *"," *");
  6. blazeRod.shape(" "," * "," * ");
  7. blazeRod.shape(" ","* ","* ");
  8. blazeRod.shape("* ","* "," ");
  9. blazeRod.shape(" * "," * "," ");
  10. blazeRod.shape(" *"," *"," ");
  11.  
  12. blazeRod.setIngredient('*', Material.BLAZE_POWDER);
  13.  
  14. ItemStack quartz = new ItemStack(Material.QUARTZ, 4);
  15. ShapedRecipe quartzCrystal = new ShapedRecipe(quartz);
  16. quartzCrystal.shape(" *"," "," ");
  17. quartzCrystal.shape(" * "," "," ");
  18. quartzCrystal.shape("* "," "," ");
  19. quartzCrystal.shape(" "," *"," ");
  20. quartzCrystal.shape(" "," * "," ");
  21. quartzCrystal.shape(" ","* "," ");
  22. quartzCrystal.shape(" "," "," *");
  23. quartzCrystal.shape(" "," "," * ");
  24. quartzCrystal.shape(" "," ","* ");
  25.  
  26. quartzCrystal.setIngredient('*', Material.QUARTZ_BLOCK);
  27.  
  28. getServer().addRecipe(quartzCrystal);
  29. getServer().addRecipe(blazeRod);
  30.  
  31.  
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement