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.

uwucat

Members
  • Joined

  • Last visited

  1. minecraft 1.12 for the code i want it to help me to count the total amount of crystals in inventory code link : https://pastebin.com/DAGqSdM2
  2. uwucat joined the community
  3. the title above is leading to java.lang.IllegalAccessError: tried to access field net.minecraft.item.ItemStack.field_77994_a from class but i cant find the reason so welp for more detail: if (Minecraft.getMinecraft().player != null) { for (int i = 0; i < 45; i++) { ItemStack itemStack = Minecraft.getMinecraft().player.inventory.getStackInSlot(i); int stacksize = Minecraft.getMinecraft().player.inventory.getStackInSlot(i).stackSize; if (itemStack.getItem() == Items.END_CRYSTAL) { crystalCount += stacksize; } } }

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.