Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ep19;
- import org.bukkit.Bukkit;
- import org.bukkit.Material;
- import org.bukkit.inventory.ItemStack;
- import org.bukkit.inventory.ShapedRecipe;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Main extends JavaPlugin{
- public void onEnable() {
- ShapedRecipe sh = new ShapedRecipe(new ItemStack(Material.ARMOR_STAND));
- sh.shape(new String[]{ "SSS" ,
- "SPS" ,
- "SSS"}).setIngredient('S', Material.SLIME_BLOCK).setIngredient('P', Material.PRISMARINE);
- Bukkit.addRecipe(sh);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment