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.

TheLazySquid

Members
  • Joined

  • Last visited

  1. Does anyone know how to change the name/tooltips of an item client-side? I've seen a couple other mods utilize this so I think it's possible. I'm using 1.16, btw.
  2. Well... i'm using 1.12.2 but since this is a 1.16 forum just say i'm using that
  3. I'm making a client side mod that doesn't allow you to close chests with certain items in them... however, I've been encountering difficulties in not only finding out when a player opens a chest, but also reading the contents. Here's my code, for reference: @SubscribeEvent public void openChest(PlayerInteractEvent event){ Minecraft.getMinecraft().player.sendMessage(new TextComponentString(Minecraft.getMinecraft().player.openContainer.toString())); if (Minecraft.getMinecraft().player.openContainer instanceof ContainerChest) { // verify that it's really a chest ContainerChest chest = (ContainerChest)Minecraft.getMinecraft().player.openContainer; // it's now safe to cast IInventory inv = chest.getLowerChestInventory(); //do things with inv } }
  4. I was wondering if there is any way to make titles from the /title command appear on the screen... does anyone know?
  5. Basically, i'm writing a mod that has to do something when you mount a horse. However, whenever the horse is mounted (or dismounted) it fires twice. Here's my code: @SubscribeEvent public void mountEntity(EntityMountEvent event){ Minecraft.getMinecraft().player.sendMessage(new TextComponentString("horse")); } I'm using 1.12.2 if that makes any difference

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.