Started by
Spleen
on
Topic category: Help with Minecraft modding (Java Edition)
Made a flying mod which worked fine when tested, but once moved onto the server it didn't work.
So I made a REALLY simple one where all the mod is is hit G to fly (survival mode) and that also doesn't work in multiplayer.
The only related server option I can see is allow-flying which of course is set to TRUE.
Am I missing something in the config or is this procedure not supported in multi or something?
bump
could be you need to sync it with the client
how are you making the player fly? show a screen capture of your code blocks or something
Yeah its REALLY simple. theres also a FlyOnKeyPressed that binds it to G. that's the extent of it. What do you mean sync to the client? that sounds an awful lot like the kind of thing that would cause my problem. Thank you so much for helping
Doesnt look like that image link worked, so here
https://www.dropbox.com/s/3z8w9jxlaxr4dkd/fly.png?dl=0
hmm, dont know why it isnt working. maybe try adding a custom code snippet block after your fly block with this code in it: "((EntityPlayerMP)entity).sendPlayerAbilities();"
Is there some way to type that in ? I am having a really hard time finding blocks to drag around to create that.
Ah found the custom code snippet part. Now it doesnt even work in single player. Odd
hmm, i dont know
are your sure you want the player to fly at exactly level 40 and not below or above it?
Your code snippet just made me crash but for some reason once I took it out and tried again it worked?!?!?!?! How crazy is that.
Thank you so much for your help!