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.

Jakob99

Members
  • Joined

  • Last visited

  1. Ok, I figured out what I was doing wrong, i was using the wrong slotID. Thanks for tellong me about PlayerControllerMP::windowClick.
  2. How does one use the debugger
  3. I ran it through intelliJ and the code definitely ran when I pressed the keybind I specified, but nothing in my inventory changed.
  4. I've tried using windowClick with no success. Maybe I'm doing something wrong? ItemStack rst = mc.player.inventory.mainInventory.get(8); int potpos = itemStackPos(potst); ItemStack pot = mc.player.inventory.mainInventory.get(potpos); mc.playerController.windowClick(mc.player.inventoryContainer.windowId, 8, 0, ClickType.PICKUP, mc.player); mc.playerController.windowClick(mc.player.inventoryContainer.windowId, potpos, 0, ClickType.SWAP, mc.player); mc.playerController.windowClick(mc.player.inventoryContainer.windowId, 8, 0, ClickType.PICKUP, mc.player);
  5. I can't seem to figure out how to swap items in inventory so that the server recognises that i did. I read some other forum posts that you need to send packets, but I can't seem to figure them out. I would apreciate if anyone could tell me what packet i need to send and how to do so. Thanks in advance, Jakob99

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.