Make the mod not load when put on a server
Closed this issue · 3 comments
xbony2 commented
(because it crashed, obviously)
eli edit:
1.7- 1.8
- 1.9
- 1.11
- 1.12
elifoster commented
Regarding 1.7:
[14:43:39] <SatanicSanta> GregoriusTechneticies: peter told me to ask you how you make a mod client only in 1.7 so this is me doing that
[14:43:55] <OvermindDL1> A mod client only in 1.7?
[14:44:01] <SatanicSanta> yes
[14:45:42] <@GregoriusTechneticies> Im not 100% sure
[14:46:00] <SatanicSanta> PeterRabbit: welp
[14:46:01] <@GregoriusTechneticies> there is some flag in some @Mod annotation
[14:46:06] <SatanicSanta> thats 1.8+
[14:46:14] <@GregoriusTechneticies> no thats 1.7.10
[14:46:36] <OvermindDL1> Do you mean a client-only mod?
[14:46:39] <overbot> Qwertygiy: there are @Side.Only tags in1.7.10
[14:46:49] <SatanicSanta> OvermindDL1: yes
[14:46:53] <@GregoriusTechneticies> I dont know wtf he wants XD
[14:47:04] <OvermindDL1> That makes a *lot* more sense then a mod client only in 1.7... ^.^;
[14:47:22] <SatanicSanta> GregoriusTechneticies: I'm looking at @Mod right now on latest Forge and there is nothing of the sort
[14:47:22] <OvermindDL1> I remember how in older MC's, but in 1.6 or 1.7 or so it was made much harder, still possible, but much much harder
[14:47:31] <OvermindDL1> It used to be there
[14:47:33] <OvermindDL1> That is what was removed
[14:48:05] <SatanicSanta> well, clientSideOnly and serverSideOnly exist in 1.8 again idk
[14:52:25] <PeterRabbit> SatanicSanta: look at the source for some 1.7.10 client side only mods
[14:52:47] <@GregoriusTechneticies> oh wait
[14:52:53] <@GregoriusTechneticies> now I know how that works
[14:53:03] <@GregoriusTechneticies> there is literally no restriction at all
[14:53:11] <@GregoriusTechneticies> you can have mods on the client that arent on the server
[14:54:45] <overbot> Qwertygiy: I would guess you can do @SideOnly(Side.CLIENT) on everything, but like Greg says... don't think you really need to
[15:01:26] <SatanicSanta> no you shouldnt do that
[15:01:36] <@GregoriusTechneticies> well but you have to
[15:01:39] <SatanicSanta> no
[15:02:00] <SatanicSanta> you should only use @SideOnly(Side.CLIENT) when you are overriding things that use it
[15:02:07] <@GregoriusTechneticies> oh that yeah
[15:02:11] <@GregoriusTechneticies> thats ofc only client
[15:02:20] <@GregoriusTechneticies> I mean the "dont use anything at all"
[15:02:25] <@GregoriusTechneticies> it will work anyways
[15:02:41] <SatanicSanta> yeah PeterRabbit is just complaining about it
[15:04:45] <SatanicSanta> PeterRabbit: so it looks like there is nothing i can do
[15:04:51] <PeterRabbit> SatanicSanta: u suk
[15:04:52] <SatanicSanta> PeterRabbit: so youll just have to live with that
[15:05:06] <PeterRabbit> SatanicSanta: I just won't use any of your mods in my packs for 1.7.10
[15:05:09] <SatanicSanta> PeterRabbit: fortunaetly for not you i did release 1.8, 1.9, 1.11, and 1.12 versions with the fix
[15:05:36] <@GregoriusTechneticies> now I remember, people jsut dont do a server version check at all, thats how to properly do it
[15:05:45] <@GregoriusTechneticies> so again its a "do nothing" solution
[15:06:02] <SatanicSanta> well less work for me tbh
[15:06:07] <@GregoriusTechneticies> go complain at forge if you think its shitty because all mods do that :P
[15:06:16] <SatanicSanta> they dont maintain 1.7 iirc
xbony2 commented
I just needed it for 1.12 ¯_(ツ)_/¯
elifoster commented
Well, the issue was present on all of those versions so 🤷♂️