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.

loordgek

Members
  • Joined

  • Last visited

Everything posted by loordgek

  1. MAX_DAMAGE_ARRAY is 4 elements long, you want to get element 6 that is why you get ArrayIndexOutOfBoundsException
  2. what is 3 * 7? < that's wrong
  3. https://mcforge.readthedocs.io/en/latest/networking/
  4. you need to tell the server that it needs to change the slot
  5. https://www.curseforge.com/minecraft/mc-mods/building-gadgets
  6. read what diesieben07 linked you and try it its not that hard
  7. https://mcforge.readthedocs.io/en/1.13.x/datastorage/capabilities/
  8. https://github.com/MinecraftForge/MinecraftForge/blob/1.17.x/src/main/java/net/minecraftforge/event/world/SleepFinishedTimeEvent.java#L54
  9. what are you trying to do 9 out of 10 there are ways to do something that doesn't involve mixin/asm
  10. https://mcforge.readthedocs.io/en/1.13.x/datastorage/capabilities/
  11. where did you get forge from
  12. click the green box it tells wat to do
  13. that is because the slots are still linked to the first backpack
  14. works fine for me can you show what you mean
  15. fixed here you are trying to get your capablilty from your backpack w/ no side(null) https://github.com/Zemelua/UMU-Mod/blob/main/src/main/java/io/github/zemelua/umumod/inventory/container/BelongingsUMUPlayerContainer.java#L61 here you check if there is no side(null) https://github.com/Zemelua/UMU-Mod/blob/main/src/main/java/io/github/zemelua/umumod/capability/FunctionalBackpackCapabilityProvider.java#L29 so you never get the capablilty use ifPresent instead of orElse so .ifPresent(add the slots in here)
  16. after a bit of testing i found the problem this.player.getItemStackFromSlot(EquipmentSlotType.CHEST).getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).orElse(new ItemStackHandler(36) .orElse(new ItemStackHandler(36) < that is the problem NEVER EVER do that. you should never return a new object in .orElse
  17. https://github.com/Zemelua/UMU-Mod/blob/main/src/main/java/io/github/zemelua/umumod/inventory/container/BelongingsUMUPlayerContainer.java#L60 what are you doing here ?
  18. you dont have enough memory https://cubedhost.com/help/en/articles/1648388-how-do-i-allocate-more-memory-to-my-minecraft-launcher-client-side

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.