A feature-rich Minecraft plugin which enhances gaming experience
git clone git://soophie.de/poppy
6
import org.bukkit.Location;7
import org.bukkit.Material;8
import org.bukkit.NamespacedKey;9
import org.bukkit.WorldCreator;10
import org.bukkit.WorldType;11
import org.bukkit.block.Block;12
import org.bukkit.command.Command;13
import org.bukkit.command.CommandSender;
101
NamespacedKey key = new NamespacedKey(this, "leather");102
FurnaceRecipe recipe = new FurnaceRecipe(key, new ItemStack(Material.LEATHER), Material.ROTTEN_FLESH, 1, 200);103
Bukkit.addRecipe(recipe);105
new WorldCreator("creative")106
.type(WorldType.FLAT)107
.generateStructures(false)108
.createWorld();109
}111
@Override