-
Sending Packets to server
I said I CAN'T do it from server.
-
Sending Packets to server
I'm trying to click in the chosen slot when player opens a gui. I already made a event which checks if gui is correct and I already have chosen slot. Now I only need to click this slot from client side but I have to make it register on the server. So if I click item in chest it makes it click on the server too. Just like the player normally clicked it. I could create a list of coordinates for every slot and then move it to chosen coords and make mouse click in program but I know that there has to be a better way to do it.
-
Sending Packets to server
???. I said it isn't my server and what do you mean by creating a Mob? I don't need any mobs.
-
Sending Packets to server
But I don't think you understand what I mean. I already have gui and a Slot. I need to create mod only for client because I want to use it not on my server. And I want to take an item or click the chosen Slot in the gui. I just need to make server register this action.
-
Sending Packets to server
I don't know how to send a packet that I took item from the slot. I know only how to send IMessage.
-
Sending Packets to server
It doesn't help at all.
-
Sending Packets to server
Hi. I need your help. I want to send a packet to the server which makes mi click item in the chosen slot. I already have gui, Container and Slot but don't know how to send packets. I created channel and Network but there are no tutorials how to send packet to do something in gui. Can somebody help me or send a tutorial where someone tells how to perform actions in gui. Like putting or taking items.
-
java.lang.NoClassDefFoundError: org/json/JSONObject
Never mind. I'm just stupid. Thank you for help!
-
java.lang.NoClassDefFoundError: org/json/JSONObject
Gson is just too complicated. In Json I have JSONObjects which contain all data from json. I don't see anything like this in Gson.
-
java.lang.NoClassDefFoundError: org/json/JSONObject
Because I created my program before and I used other json library. I totally don't know how to use Gson.
-
java.lang.NoClassDefFoundError: org/json/JSONObject
My mod is throwing error and I tottaly don't know why. It only happens when I use mc launcher, when I started minecraft in Intellij it worked perfectly. I don't know what to do. I think it doesn't add json.jar to my mod. And I don't know how to add it correctly. It must be something with build.gradle. I would be glad if someone help me. Caught exception during event FMLCommonSetupEvent dispatch for modid ahflipping java.lang.NoClassDefFoundError: org/json/JSONObject My compiled mod download: link Mod files: link Launcher logs: link
IPS spam blocked by CleanTalk.