tutorial
This commit is contained in:
parent
ce0e065dfe
commit
3b5a958fa6
2 changed files with 13 additions and 1 deletions
11
README.md
11
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.
|
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
|
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
|
||||||
|
```
|
||||||
|
|
|
@ -86,7 +86,8 @@ public class Main extends JavaPlugin {
|
||||||
recipe.shape("AAA", "ABA", "AAA");
|
recipe.shape("AAA", "ABA", "AAA");
|
||||||
recipe.setIngredient('A', Material.BONE_MEAL);
|
recipe.setIngredient('A', Material.BONE_MEAL);
|
||||||
recipe.setIngredient('B', Material.DIRT);
|
recipe.setIngredient('B', Material.DIRT);
|
||||||
|
|
||||||
|
getServer().addRecipe(recipe);
|
||||||
|
|
||||||
key = new NamespacedKey(this, "SandCactus");
|
key = new NamespacedKey(this, "SandCactus");
|
||||||
item = new ItemStack(Material.CACTUS);
|
item = new ItemStack(Material.CACTUS);
|
||||||
|
|
Loading…
Reference in a new issue