Lithium (Fabric/NeoForge)

Lithium (Fabric/NeoForge)

36M Downloads

lithium makes productive bees bees and nests unable to spawn

VaporeonScripts opened this issue ยท 17 comments

commented

latest version of lithium
neoforge 1.21.1 .80
arch linux OS
https://mclo.gs/A9bKS1h

commented

The issue seems to be that they are returning the wrong block entity type when calling BlockEntity::getType() during block entity initialization. Lithium uses the method very early to check whether the block at the position supports the block entity.

commented

Marking as external as I think the other mod is violating a very reasonable assumption, i.e. that the block entity type of a block entity is correct from the start.

commented

Aight,ima let U guys find a solution between productive bees and lithium,as I saw on productive bees part

commented

The solution is to disable the optimization

commented

which one specifically?

commented

?

commented

I disabled another one and it worked? Lemme show

commented

Workaround is to add the line
mixin.minimal_nonvanilla.world.block_entity_ticking.support_cache=false
to the lithium.properties file in the config folder and restarting the game.
There should not be lasting damage to your world, since the beehives just weren't ticked when the issue occurred.

commented

mixin.world.block_entity_ticking=false

commented

Yes, the support_cache optimization depends on the general block entity ticking optimization. But disabling that also disables a few other optimizations that might not have a problem

commented

So would be better to disable cache one? So that it fixes the issue while improving perf?

commented

Yes

commented

aight,ty

commented

It seems like the issue may be fixed in the future by productive bees mod authors, will check again in a while.

commented

it got fixed, does this mean i can remove this line?
mixin.minimal_nonvanilla.world.block_entity_ticking.support_cache=false

commented

Yes, if there is a new issue, please make another bug report

commented

Fix on productive bees side (untested so far, but very plausible fix)