From 3b5a958fa6c8e6082bdfebcefb739c97f603f433 Mon Sep 17 00:00:00 2001 From: 08draven Date: Tue, 19 Nov 2024 00:13:39 -0500 Subject: [PATCH] tutorial --- README.md | 11 +++++++++++ app/src/main/java/net/xuyezo/main/Main.java | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a3d683..64c92fe 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,14 @@ A PaperMC plugin that turns the whole world into stone platforms. A few extra recipes and things are added for playability. Vague inspiration: https://www.curseforge.com/minecraft/mc-mods/dirt-platform + +## Using +Download this plugin into the ``plugins`` folder of your PaperMC installation directory. Afterwards, edit bukkit.yml to look something like this: + +``` +(...) +worlds: + world: + generator: MinzeoPlugin + biome-provider: MinzeoPlugin +``` diff --git a/app/src/main/java/net/xuyezo/main/Main.java b/app/src/main/java/net/xuyezo/main/Main.java index 6a73ea7..b855718 100644 --- a/app/src/main/java/net/xuyezo/main/Main.java +++ b/app/src/main/java/net/xuyezo/main/Main.java @@ -86,7 +86,8 @@ public class Main extends JavaPlugin { recipe.shape("AAA", "ABA", "AAA"); recipe.setIngredient('A', Material.BONE_MEAL); recipe.setIngredient('B', Material.DIRT); - + + getServer().addRecipe(recipe); key = new NamespacedKey(this, "SandCactus"); item = new ItemStack(Material.CACTUS);