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.

jSherz

Members
  • Joined

  • Last visited

Everything posted by jSherz

  1. How can I register an event / hook a furnace being right clicked?
  2. This is my attempt at sending a packet to do it: Packet102WindowClick wc = new Packet102WindowClick(); wc.window_Id = 2; // Furnace wc.inventorySlot = 2; // Output wc.mouseClick = 0; // Left click wc.holdingShift = true; // Get it all wc.action = minecraft.thePlayer.craftingInventory.getNextTransactionID(minecraft.thePlayer.inventory); wc.itemStack = finishedStack; ModLoader.sendPacket(wc); logger.info("Transferred!"); EDIT: This works!!!!! :D:D:D:D
  3. When I do this, the action only happens client-side. How can I inform the server that an item has moved? Do I need to send a packet?
  4. Transferring items from the player's inventory to the furnace slots or the other way around.
  5. How can I move an item from the furnace to the inventory or vice versa? I've got the part of finding the item in the inventory but what code do I use to move it?

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.