Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.knager.customrecipe;
- import org.bukkit.material.*;
- import org.bukkit.inventory.*;
- import org.bukkit.plugin.java.*;
- import net.minecraft.server.v1_12_R1.Material;
- public class CustomRecipe extends JavaPlugin {
- public void onEnable() {
- }
- ItemStack sand = new ItemStack(Material.SAND, 1);
- ShapedRecipe sand = new ShapedRecipe(gravel);
- gravel.shape("*")
- gravel.setIngredient('*', Material.SAND);
- getServer().addRecipe(gravel);
- }
- public void onDisable() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement