barribob / bosses-of-mass-destruction

https://www.curseforge.com/minecraft/mc-mods/bosses-of-mass-destruction-alpha
Other
16 stars 21 forks source link

Server lag caused by multipart entity lib #120

Closed someaddons closed 1 month ago

someaddons commented 7 months ago

The multipart library you're including is causing lag: image

https://github.com/miyo6032/MultipartEntities/blob/master/src/main/java/io/github/stuff_stuffs/multipart_entities/mixin/common/MixinBox.java

This mixin causes a simple math operation to become expensive due to injecting into it which creates a new callback object on each invokation

barribob commented 5 months ago

can you send me the spark link - or how you got it to have the lag, can't produce it with a minimal setup