Builder AI error
Nyinxie opened this issue · 2 comments
Is there an existing issue for this?
- I have searched the existing issues.
Are you using the latest MineColonies Version?
- I am running the latest beta/release version of MineColonies for my Minecraft version.
I am also running the latest versions of other mods that are part of my problem.
Did you check on the Wiki? or ask on Discord?
- I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.
What were you playing at the time? Were you able to reproduce it in both settings?
- Single Player
- Multi Player
Minecraft Version
1.21
MineColonies Version
1.1.1139
Structurize Version
1.0.790
Related Mods and their Versions
Neoforge 1.21.1 - 21.1.209
block UI 1.0.206
domum 1.0.221
Minecolonies_compatibility 3.4
Minecolonies_letsdo 2.0
minecolonies_tweaks 3.4
Current Behavior
[05:54:49] [Server thread/ERROR] [minecolonies/]: Pausing Citizen Lilian C. Ashby (com.minecolonies.job.builder) in colony:1 at BlockPos{x=-3368, y=64, z=1019} for 400 Seconds because of error:
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: java.lang.RuntimeException: Attempted to load class it/hurts/shatterbyte/clavis/common/client/render/LockWorldRenderer for invalid dist DEDICATED_SERVER
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.common.asm.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:60)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:94)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:57)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:190)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$20(ModuleClassLoader.java:298)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:311)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:298)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:214)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/it.hurts.shatterbyte.clavis.common.LockManager.isLocked(LockManager.java:82)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity.unpackLootTable(RandomizableContainerBlockEntity.java:514)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity.getItem(RandomizableContainerBlockEntity.java:57)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.neoforged.neoforge.items.wrapper.InvWrapper.getStackInSlot(InvWrapper.java:43)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.structurize.api.ItemStackUtils.deepExtractItemHandler(ItemStackUtils.java:87)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.structurize.api.ItemStackUtils.lambda$getItemStacksOfTileEntity$0(ItemStackUtils.java:69)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.structurize.api.ItemStackUtils.lambda$getItemStacksOfTileEntity$1(ItemStackUtils.java:69)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.common.fakelevel.SingleBlockFakeLevel.useFakeLevelContext(SingleBlockFakeLevel.java:110)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.structurize.api.ItemStackUtils.getItemStacksOfTileEntity(ItemStackUtils.java:67)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.placementhandlers.GeneralBlockPlacementHandler.getRequiredItems(GeneralBlockPlacementHandler.java:111)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.structurize.placement.StructurePlacer.getResourceRequirements(StructurePlacer.java:554)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.ldtteam.structurize.placement.StructurePlacer.executeStructureStep(StructurePlacer.java:170)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractEntityAIStructureWithWorkOrder.requestMaterials(AbstractEntityAIStructureWithWorkOrder.java:256)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractEntityAIStructureWithWorkOrder.requestMaterialsState(AbstractEntityAIStructureWithWorkOrder.java:205)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractEntityAIStructureWithWorkOrder.loadRequirements(AbstractEntityAIStructureWithWorkOrder.java:162)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicTransition.getNextState(BasicTransition.java:104)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.transitionToNext(BasicStateMachine.java:181)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.checkTransition(BasicStateMachine.java:172)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.checkTransition(TickRateStateMachine.java:126)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.tick(TickRateStateMachine.java:102)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractAISkeleton.tick(AbstractAISkeleton.java:63)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.CitizenAI.lambda$registerWorkAI$6510a9$2(CitizenAI.java:100)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicTransition.getNextState(BasicTransition.java:104)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.transitionToNext(BasicStateMachine.java:181)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.checkTransition(BasicStateMachine.java:172)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.checkTransition(TickRateStateMachine.java:126)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.tick(TickRateStateMachine.java:102)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.citizen.EntityCitizen.lambda$new$a8d948bd$3(EntityCitizen.java:267)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicTransition.checkCondition(BasicTransition.java:113)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.checkTransition(BasicStateMachine.java:161)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.checkTransition(TickRateStateMachine.java:126)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.tick(TickRateStateMachine.java:102)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.api.entity.citizen.AbstractEntityCitizen.aiStep(AbstractEntityCitizen.java:436)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/com.minecolonies.core.entity.citizen.EntityCitizen.aiStep(EntityCitizen.java:702)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2432)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.tick(Mob.java:351)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.observable$track(ServerLevel.java:5990)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.redirect$cdh000$observable$onTickNonPassenger(ServerLevel.java:6006)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:774)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:576)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.lambda$tick$2(ServerLevel.java:420)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:400)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1037)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:317)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
[05:54:49] [Server thread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:651]: at java.base/java.lang.Thread.run(Thread.java:1583)
[05:54:49] [Server thread/WARN] [minecolonies/]: AI history for citizen error:literal{Current state:}[siblings=[literal{LOAD_STRUCTURE
}[style={color=gold}]]]
Expected Behavior
walk around and build
Reproduction Steps
install mods, play on dedicated server,
Logs
https://gist.github.com/Nyinxie/dc6ffe9f09633e9371e6627a9bec5d6a
Anything else?
No response
Footer
Viewers
- Add a 👍 reaction to the bug report if you are also affected. This helps the bug report become more visible without cluttering the comments.
⚠️ Only add a comment if you have new insights or background information not already mentioned. Off-topic or "+1" comments will be deleted to keep the discussion focused.
at it.hurts.shatterbyte.clavis.common.LockManager.isLocked(LockManager.java:82)
It looks like Clavis doesn’t like when items in an inventory are queried on a server, as it loads a class which should not exist on the server (which sounds strange to me, as inventory logic is typically handled on the server rather than on the client side)
This seems to be a bug on their side