Lag with "Rat" mod
Andarael opened this issue ยท 2 comments
When the 3D model of the "archeologist hat" is rendered ingame insane lag occurs.
Also the console output for the game is spammed with repeating messages, this occurs regardless of the "archeologist hat" rendering.
The console messages snippet (It wont be possible to get all the logs, there are 1M+ lines from ~10mn of testing) :
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer com.github.alexthe666.rats.client.model.ModelArcheologistHat.top
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:231]: Added to fieldToOriginalMap id: null, boxes: 1, submodels: 1
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:assignPart:345]: Bounds: box[-3.5, -4.5, -3.5 -> 3.5, 0.0, 3.5]
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer com.github.alexthe666.rats.client.model.ModelArcheologistHat.dimple
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:231]: Added to fieldToOriginalMap id: null, boxes: 1, submodels: null
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:assignPart:345]: Bounds: box[-1.0, -4.5, -1.0 -> 1.0, 0.0, 1.0]
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer net.minecraft.client.model.ModelBiped.field_78116_c
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:231]: Added to fieldToOriginalMap id: null, boxes: 1, submodels: 1
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:assignPart:345]: Bounds: box[-7.0, -13.5, -5.0 -> 7.0, 0.0, 5.0]
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer net.minecraft.client.model.ModelBiped.field_178720_f
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:231]: Added to fieldToOriginalMap id: null, boxes: 1, submodels: null
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:assignPart:345]: Bounds: box[0.0, 0.0, -2.0 -> 8.0, 12.0, 2.0]
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer net.minecraft.client.model.ModelBiped.field_178721_j
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:231]: Added to fieldToOriginalMap id: null, boxes: 1, submodels: null
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:assignPart:345]: Bounds: box[-3.9000000953674316, 0.0, -2.0 -> 0.10000002384185791, 24.0, 2.0]
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer net.minecraft.client.model.ModelBiped.field_178722_k
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:231]: Added to fieldToOriginalMap id: null, boxes: 1, submodels: null
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:assignPart:345]: Bounds: box[-0.10000002384185791, 0.0, -2.0 -> 3.9000000953674316, 24.0, 2.0]
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.ArmorModelFactory:getArmorModel:23]: Creating a custom armor model from com.github.alexthe666.rats.client.model.ModelArcheologistHat@7f228aba
[22:09:05] [Client thread/INFO] [STDOUT]: [goblinbob.mobends.standard.client.model.armor.MutatedArmorModel:mutate:216]: ArmorField: public net.minecraft.client.model.ModelRenderer com.github.alexthe666.rats.client.model.ModelArcheologistHat.brim
Hey! Thanks for the report. This is indeed very strange, this would only happen if the instance of the armor was recreated by the mod every frame. Is there source-code available for the mod anywhere?
This is the link to source from curseforge : https://github.com/Alex-the-666/Rats
I may add to my previous post :
- MC version 1.12.2,
- MoBend ver : 1.0.0-beta-20.06.20 (1.12.2),
- Rats ver : 3.2.14-1.12.2
I Assumed the problem is with MoBends since the error logs comes from this mod. But this might instead be caused by the rat mod, since it is the only mod i found so far that doesn't play well with MoBends.
I will post an issue to the rat mod, but I don't know if it will be fixed, since rats for 1.12.2 wasn't updated in a long time