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.

Jordanske

Members
  • Joined

  • Last visited

Everything posted by Jordanske

  1. My problem is that i don't know how i can access the specific inventory from the entity where the player is interacting with.
  2. But singleplayer needs GUI. and that is my problem.
  3. Hello, I am porting my mod (Cart Mod) to smp and have 2 little problems that i do not know how to solve. 1. My items use onItemRightClick() and Minecraft.objectMouseOver to interact with an entity. What the problem is that the server can't use objectMouseOver ofcourse, and other functions like "useItemOnEntity" i can't interact with the EntityPlayer. 2. In the getGuiElement() I need to return the GUI, and my GUI needs an inventory. how can i access the entity that the player is interacting with from my mod_*? public Object getGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { return new GuiChestCart(player.inventory, inventory1 , inventory2); } If need any more information just ask

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.