miyo6032 / bosses-of-mass-destruction

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

Server lag caused by multipart entity lib #120

Open someaddons opened 3 months ago

someaddons commented 3 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

miyo6032 commented 1 month 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