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)
    [06:49]
    [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.