Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Skw972

Members
  • Joined

  • Last visited

  1. I said I CAN'T do it from server.
  2. 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.
  3. ???. I said it isn't my server and what do you mean by creating a Mob? I don't need any mobs.
  4. 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.
  5. I don't know how to send a packet that I took item from the slot. I know only how to send IMessage.
  6. It doesn't help at all.
  7. 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.
  8. Never mind. I'm just stupid. Thank you for help!
  9. 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.
  10. Because I created my program before and I used other json library. I totally don't know how to use Gson.
  11. 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.