Fabric Shield Lib

Fabric Shield Lib

3M Downloads

Server not working

Maxdesigna7x opened this issue ยท 11 comments

commented

seams to when put in mods servers folder not load fine, LAN server.

commented
  1. What version of the library are you using?
  2. Does the version match what the mod requires?
  3. And if yes, please describe further.
commented

Also could you please post a Pastebin of the full error log.

commented

I ran the file on a server myself and got an error log https://pastebin.com/yX6tAyMW

commented

Line 76 is

public static final EntityModelLayer fabric_shield_model_layer = new EntityModelLayer(new Identifier(MOD_ID, "fabric_shield"),"main");

Probably another dev environment check would be good to have. We could split the making and the assigning of the variable so that it is assigned inside of the onInitialize dev check

commented

Problems i see:

"Contributors" tag in fabric.mod.json

[16:24:58] [main/WARN]: @mixin target net.minecraft.class_756 was not found fabricshieldlib.mixins.json:RendererMixin

Line 76 in FabricShieldLib

commented

I have a commit that should fix this issue

commented

it's because the RendererMixin should be under "client" in fabricshieldlib.mixins.json it's trying to inject into rendering code that doesn't exist on the server.

commented

but there also might be more stuff running on the serverside that is clientside only

commented

Im going to commit a change in a second that should fix the model_layer problem.

commented

Sorry, I added commit that moves the modelLayer, and renderBanner to the Client in a new commit

commented

Fixed in 1.4.2