Spigot Automated Crafting 2.5

Transforms droppers into automatic item crafters!

  1. Let me give it a quick go on the newest version again!

    Edit: still won't take items out of the dropper.
    What items are supposed to be taken out from the dropper to the hopper?
    #61 dkajlw, Jul 1, 2021
    Last edited: Jul 1, 2021
  2. MineDaveXD, it literally doesn't even work in Paper. Something is very wrong..
  3. I've just tested the plugin on purpur and it appears to work perfectly fine. What problems are you experiencing?

    Also, I've looked into the taking items out of the autocrater with a hopper thing. I didn't remember before but it's actually blocked on purpose for autocrafters. It's so that hoppers wouldn't take ingredients out of autocrafters. It was made so you push the items into a neighbouring container and then hopper them out of there. It is a separate point to allow you to remove the leftover items, I'll consider having the autocrafter also drop those instead of adding them back to the inventory.
    #63 MineDaveXD, Jul 3, 2021
    Last edited: Jul 3, 2021
  4. The issue is that you can't take items out of droppers... All this time I thought you meant you added functionality to allow hoppers to take items out.
    By the way, just let hoppers take ingredients out please... you can use a vanilla redstone item filter to easily take out only the items you want.
  5. Papermc 1.17 version 130

    [Mon, 26. Jul 2021 03:56:33 UTC WARN] java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "nl.dgoossens.autocraft.api.CraftingRecipe.itemConstructor" is null [Mon, 26. Jul 2021 03:56:33 UTC WARN] at nl.dgoossens.autocraft.api.CraftingRecipe.getContainerItem(CraftingRecipe.java:64)
    [Mon, 26. Jul 2021 03:56:33 UTC WARN] at nl.dgoossens.autocraft.helpers.BukkitRecipe.lambda$takeMaterials$11(BukkitRecipe.java:240) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1694) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at nl.dgoossens.autocraft.helpers.BukkitRecipe.takeMaterials(BukkitRecipe.java:233) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at nl.dgoossens.autocraft.MainCrafterTick.lambda$run$0(MainCrafterTick.java:77) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at java.base/java.util.Optional.ifPresent(Optional.java:178) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at nl.dgoossens.autocraft.MainCrafterTick.run(MainCrafterTick.java:36) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1490) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:479) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1188) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) [Mon, 26. Jul 2021 03:56:33 UTC WARN] at java.base/java.lang.Thread.run(Thread.java:831) [Mon, 26. Jul 2021 03:56:33 UTC WARN] java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "nl.dgoossens.autocraft.api.CraftingRecipe.itemConstructor" is null
  6. Possibly part of the PaperTickList issues? Update paper to latest versions and check. They fixed PaperTickList not too long ago
  7. I'm pretty sure you're using v2.4? That version does not support 1.17, use v2.5.
  8. can you add translations to config? :)
  9. I cant seem to get fireworks or firework stars to work. anyway to fix this?
  10. The autocrafters unfortunately can't craft fireworks. The fireworks recipes are all non-standard so to make them work it'd need specific code just for it. It's on the todo-list but I don't have much time to work on the plugin. It's open source though so you can patch it in yourself if you're able to.
  11. Hello Mr. Developer,
    I'm just curious if you will update this plugin for 1.18? I just tried the plugin on an experimental 1.18-rc3 build of paper and get the following.

    Code (Text):
    [18:39:12 INFO]: [AutomatedCrafting] Enabling AutomatedCrafting v2.5
    [18:39:12 WARN]: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "nl.dgoossens.autocraft.helpers.SerializedItem.parseMethod" is null
    [18:39:12 WARN]:        at AutomatedCrafting-2.5.jar//nl.dgoossens.autocraft.helpers.SerializedItem.getItem(SerializedItem.java:74)
    [18:39:12 WARN]:        at AutomatedCrafting-2.5.jar//nl.dgoossens.autocraft.CrafterRegistryImpl.load(CrafterRegistryImpl.java:196)
    [18:39:12 WARN]:        at AutomatedCrafting-2.5.jar//nl.dgoossens.autocraft.api.CrafterRegistry.<init>(CrafterRegistry.java:27)
    [18:39:12 WARN]:        at AutomatedCrafting-2.5.jar//nl.dgoossens.autocraft.CrafterRegistryImpl.<init>(CrafterRegistryImpl.java:41)
    [18:39:12 WARN]:        at AutomatedCrafting-2.5.jar//nl.dgoossens.autocraft.AutomatedCrafting.onEnable(AutomatedCrafting.java:44)
    [18:39:12 WARN]:        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    [18:39:12 WARN]:        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
    [18:39:12 WARN]:        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500)
    [18:39:12 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:565)
    [18:39:12 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:479)
    [18:39:12 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:286)
    [18:39:12 WARN]:        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1201)
    [18:39:12 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
    [18:39:12 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
    Of course I understand you would want to wait updating until the first stable builds of 1.18 if you plan on updating it at all.
  12. It might be a while before I have time to do a 1.18 update as I'm quite busy with other projects. The plugin is open source though, so if anyone else has time to update it they can make an MR.