Spigot Emerald2Exp 1.2

This plugin allows you to transform the emeralds in exp

  1. GABBOGA99 submitted a new resource:

    Emerald2Exp - This plugin allows you to transform the emeralds in exp

    Read more about this resource...
     
  2. 2 things you definatly should add/edit:

    #1) Make a config for the amount of exp bottles you recieve
    #2) Use ShapeLess Recipes so you don't have to put it in the middle for it to work.
     
  3. mmm ok ! :)
    but for the config to not know how to do because it is a ShaplessRecipe!:(
     
  4. Code (Text):
    saveDefaultConfig();
    ShapelessRecipe exp = new ShapelessRecipe(new ItemStack(Material.EXP_BOTTLE, getConfig().getInt("amount")));
     
  5. mmm ok tanks !
     
  6. Code (Java):
    [00:59:28 WARN]: java.lang.Throwable: Warning: A plugin is creating a recipe using a Deprecated method. This will cause you to receive warnings stating 'Tried to load unrecognized recipe: bukkit:<ID>'. Please ask the author to give their recipe a static key using NamespacedKey.
    [00:59:28 WARN]: at org.bukkit.inventory.ShapelessRecipe.<init>(ShapelessRecipe.java:29)
    [00:59:28 WARN]: at me.GABBOGA99.e2e.Emerald2Exp.onEnable(Emerald2Exp.java:14)
    [00:59:28 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
    [00:59:28 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    [00:59:28 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
    [00:59:28 WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
    [00:59:28 WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
    [00:59:28 WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:487)
    [00:59:28 WARN]: at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298)
    [00:59:28 WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:890)
    [00:59:28 WARN]: at java.lang.Thread.run(Thread.java:748)