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.

Vic

Members
  • Joined

  • Last visited

Everything posted by Vic

  1. Just change the order then? Or use the z-level.
  2. Something like player.inventory.armorInventory[slot] = null; ?
  3. It's a model right? if you want to rotate a model, you can set the rotation angles for it. Make sure to set the rotation points right though.
  4. Then do that? event.entityPlayer.addChatComponentMessage(new ChatComponentText("Whatevertext")); The other method you mentioned is client side only, you'll have to cast your player to EntityClientPlayerMP. Depends on what you want. And... this.getUnlocalizedName().substring(5) will return "null" if you don't actually set the block name.
  5. What you could do is reacting to the current GUI scale that you can get in the following way: ScaledResolution scaledresolution = new ScaledResolution(this.mc, this.mc.displayWidth, this.mc.displayHeight); int guiScale = scaledresolution.getScaleFactor(); You'd just have to alter the size of your quad. It won't work for buttons and the other elements though, unless you are reverting the scale with glScalef which will screw the whole mouse interaction, you'd have to manually call the methods on these then.

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.