Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ItemStack result = new SpoutItemStack(TestPlugin.testBlock, 1);
- SpoutShapedRecipe recipe = new SpoutShapedRecipe(result); //Note: ABC is the bottom row, CBC is the middle row, BCB is the top row
- recipe.shape("ABC", "CBC", "BCB");
- recipe.setIngredient('A', MaterialData.goldenApple);
- recipe.setIngredient('B', MaterialData.bedrock);
- recipe.setIngredient('C', TestPlugin.testBlock);
- SpoutManager.getMaterialManager().registerSpoutRecipe(recipe);
Add Comment
Please, Sign In to add comment