klikli-dev / theurgy

An open-source magic mod built around classical alchemy to replicate and transmutate matter, and create magical artifacts.
https://www.curseforge.com/minecraft/mc-mods/theurgy
13 stars 9 forks source link

Random disconnacts from caloric_flux_emitter follow_projectile #223

Open schindlershadow opened 1 day ago

schindlershadow commented 1 day ago

Describe the bug Getting disconnected randomly from caloric_flux_emitter follow_projectile

Description: Packet handling error

java.lang.IllegalStateException: Invalid entity data item type for field 10 on entity FollowProjectile['entity.theurgy.follow_projectile'/5205, l='ClientLevel', x=-18420.57, y=35.00, z=-8028.71]: old=(-18440.5, 65.5, -8050.5)(class net.minecraft.world.phys.Vec3), new=[net.minecraft.core.particles.ColorParticleOption@5bd3a823](class java.util.ArrayList)
    at TRANSFORMER/minecraft@1.21.1/net.minecraft.network.syncher.SynchedEntityData.assignValue(SynchedEntityData.java:125) ~[client-1.21.1-20240808.144430-srg.jar%23431!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at TRANSFORMER/minecraft@1.21.1/net.minecraft.network.syncher.SynchedEntityData.assignValues(SynchedEntityData.java:115) ~[client-1.21.1-20240808.144430-srg.jar%23431!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}

To Reproduce Steps to reproduce the behavior:

  1. Place caloric_flux_emitter connected to some block
  2. wait for DC

Expected behavior no DC

Screenshots image

System (please complete the following information):

Additional context DC log: https://pastebin.com/raw/htLrL7Qj may be from sodium render?

sometimes crashes client after DC

schindlershadow commented 1 day ago

seems like some kind of incompatibility with Connectivity https://www.curseforge.com/minecraft/mc-mods/connectivity havent DCed once after disabling it on client side

klikli-dev commented 2 hours ago

@schindlershadow can you open a report on connectivity's issue page and link here? I believe they should be able to tell us more, as they are networking experts.

Based on the error message I believe that with that mod present minecraft expects certain limitations when entities are synchronized, but a quick check of the follow projectile entity does not tell me what that may be as I just use normal neoforge stuff as far as I can see