Guest User

Untitled

a guest
Feb 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1.  
  2.     ItemStack result = SpoutManager.getMaterialManager().getCustomItemStack(mCraftUnique.testBlock, 1);
  3.     SpoutShapedRecipe recipe = new SpoutShapedRecipe(result);
  4.     //Note: ABC is the bottom row, CBC is the middle row, BCB is the top row
  5.     recipe.shape("ABC", "CBC", "BCB");
  6.     recipe.setIngredient('A', MaterialData.goldenApple);
  7.     recipe.setIngredient('B', MaterialData.bedrock);
  8.     recipe.setIngredient('C', TestPlugin.testBlock);
  9.     SpoutManager.getMaterialManager().registerSpoutRecipe(recipe);
Add Comment
Please, Sign In to add comment