Guest User

Untitled

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