MineColonies

MineColonies

65M Downloads

Server console spam

Closed this issue · 4 comments

commented

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.20

MineColonies Version

1.20.1-1.1.1011-snapshot

Structurize Version

1.20.1-1.0.781-snapshot

Related Mods and their Versions

Forge 47.4.0
Mods in log

Current Behavior

[Server thread/WARN] [minecolonies/]: Stack count mismatch (stack=4 gravel, count=32). ItemStack's count will be ignored.
java.lang.Exception: Stack constructor

^I reported this previously and I thought it was fixed.

Server thread/WARN] [minecolonies/]: Claiming an already claimed workorder! BlockPos{x=-381, y=81, z=-3885} com.minecolonies.core.colony.workorders.WorkOrderDecoration@23765328
java.lang.Exception: null

^This is new

Expected Behavior

Less spam.

Reproduction Steps

Colony loads
Server starts spam

Logs

https://gist.github.com/kezmodius/7c597079846e40ebffffc1d21e89689e

Anything else?

You may have fixed these already as you updated a couple of times since our server did :)

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.
commented

Can confirm this behavior in;

minecolonies-1.1.1025-1.21.1-snapshot

Which is currently shipping in ATM10. This is the full message that I'm receiving on my server. Not sure when it started, but I should note that my colony is relatively large.

It seems to mention the "api.colony.requestsystem" so I'm wondering if, perhaps, it has something to do with a stuck courier request. I did notice my baker is doing nothing, and one of their recipes IS for bread (3 wheat).

[22Aug2025 21:00:09.740] [Server thread/WARN] [minecolonies/]: Stack count mismatch (stack=2 minecraft:wheat, count=3). ItemStack's count will be ignored.
java.lang.Exception: Stack constructor
at TRANSFORMER/[email protected]/com.minecolonies.api.colony.requestsystem.requestable.Stack.(Stack.java:171) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.colony.requestsystem.requestable.Stack.(Stack.java:148) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.colony.requestsystem.requestable.Stack.(Stack.java:127) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractEntityAIBasic.checkIfRequestForItemExistOrCreateAsync(AbstractEntityAIBasic.java:1696) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractEntityAIBasic.checkIfRequestForItemExistOrCreateAsync(AbstractEntityAIBasic.java:1655) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.production.herders.AbstractEntityAIHerder.prepareForHerding(AbstractEntityAIHerder.java:315) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicTransition.getNextState(BasicTransition.java:79) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.transitionToNext(BasicStateMachine.java:163) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.checkTransition(BasicStateMachine.java:149) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.checkTransition(TickRateStateMachine.java:126) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.tick(TickRateStateMachine.java:102) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.AbstractAISkeleton.tick(AbstractAISkeleton.java:64) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.ai.workers.CitizenAI.lambda$registerWorkAI$4(CitizenAI.java:100) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicTransition.getNextState(BasicTransition.java:79) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.transitionToNext(BasicStateMachine.java:163) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.checkTransition(BasicStateMachine.java:149) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.checkTransition(TickRateStateMachine.java:126) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.tick(TickRateStateMachine.java:102) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.citizen.EntityCitizen.lambda$new$11(EntityCitizen.java:265) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicTransition.checkCondition(BasicTransition.java:87) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.basestatemachine.BasicStateMachine.checkTransition(BasicStateMachine.java:138) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.checkTransition(TickRateStateMachine.java:126) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.ai.statemachine.tickratestatemachine.TickRateStateMachine.tick(TickRateStateMachine.java:102) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.api.entity.citizen.AbstractEntityCitizen.aiStep(AbstractEntityCitizen.java:436) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/com.minecolonies.core.entity.citizen.EntityCitizen.aiStep(EntityCitizen.java:690) ~[minecolonies-1.1.1025-1.21.1-snapshot.jar%23802!/:1.1.1025-1.21.1-snapshot]
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2432) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.tick(Mob.java:351) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.observable$track(ServerLevel.java:5485) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.redirect$bff000$observable$onTickNonPassenger(ServerLevel.java:5501) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:774) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:570) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.lambda$tick$2(ServerLevel.java:420) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:400) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1037) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:317) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23549!/:?]
at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]

commented

Most (maybe all) of these have been resolved in subsequent updates. If you're able to update to the latest, it would be worth doing. (Various other bug fixes and enhancements are also present.)

commented

That may be true as I said in my post but I already reported the Stack count mismatch (#11037) a while back and I was just letting you know that whatever fix was done previously did not stick.

commented

FWIW multiple places in the code can give the same log. One of those places may be fixed, another place not yet.
If I’d had to guess, I think this is a crusher or sifter. The previous one, which was fixed, was an animal herder afaik