iMoonDay / OnlyNeedOneChest

Only Need One Chest Minecraft 1.20.1 Fabric Mod
https://legacy.curseforge.com/minecraft/mc-mods/on1chest
MIT License
0 stars 1 forks source link

Client-side mixin being loaded on both sides #6

Open unilock opened 1 week ago

unilock commented 1 week ago

https://github.com/iMoonDay/OnlyNeedOneChest/blob/7d2b44a5d21fc48d89a041d7d0e546fef99bd1dd/src/main/resources/on1chest.mixins.json#L9

net.minecraft.data.client.ModelProvider is a client-side only class, but the mixin targeting it is loaded on both client and server :(

(what does the mixin do, anyway...?)

iMoonDay commented 1 week ago

This is a fix mixin to prevent errors from being reported when executing Data Generation, it doesn't do anything for the mod, I just forgot to remove it at build time.