Concurrent Chunk Management Engine (Fabric)

Concurrent Chunk Management Engine (Fabric)

231k Downloads

Log spam with Supplementaries

TropheusJ opened this issue ยท 1 comments

commented

Describe the bug
Log is spammed with warnings when generating chunks when Supplementaries is installed.

[03:42:46] [C2ME worker #2/WARN] (Minecraft) Block Entity at class_2338{x=727, y=24, z=-1325} for block Block{supplementaries:urn} doesn't exist
[03:42:46] [Server thread/WARN] (C2ME Async Serialization Manager) Block entities size mismatch! expected 3 but got 0
[03:42:46] [C2ME worker #6/WARN] (Minecraft) Block Entity at class_2338{x=792, y=-11, z=-1676} for block Block{supplementaries:urn} doesn't exist

To Reproduce
Steps to reproduce the behavior:

  1. Install Supplementaries and C2ME
  2. generate new chunks that contain Supplementaries' cave_urns feature

Expected behavior
no log spam

Screenshots
N/A

Runtime info (please complete the following information):

  • Minecraft version: 1.20.1
  • Mod version: mc1.20.1-0.2.0+alpha.11.0

Crash reports / logs
https://mclo.gs/mvXriN1

Other mods
visible in modpack readme (+ C2ME and Teabridge server only)

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.

Additional context
I would try the latest version, but Supplementaries has not yet updated, and I don't think the relevant code in C2ME has changed anyway.

This is likely due to the weird way Supplementaries urns handle block entities. They extend EntityBlock, so state.hasBlockEntity() returns true. However, createBlockEntity only returns a non-null value when the block does not contain loot, which is defined by the blockstate. This is valid behavior, just unusual.

commented

That behavior is quite unusual and these logs are purely for troubleshooting. I'll hide these logs behind a flag later.