Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by loordgek

  1. https://mcforge.readthedocs.io/en/latest/networking/
  2. you need to tell the server that it needs to change the slot
  3. https://www.curseforge.com/minecraft/mc-mods/building-gadgets
  4. read what diesieben07 linked you and try it its not that hard
  5. https://mcforge.readthedocs.io/en/1.13.x/datastorage/capabilities/
  6. https://github.com/MinecraftForge/MinecraftForge/blob/1.17.x/src/main/java/net/minecraftforge/event/world/SleepFinishedTimeEvent.java#L54
  7. what are you trying to do 9 out of 10 there are ways to do something that doesn't involve mixin/asm
  8. https://mcforge.readthedocs.io/en/1.13.x/datastorage/capabilities/
  9. click the green box it tells wat to do
  10. that is because the slots are still linked to the first backpack
  11. 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)
  12. 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
  13. 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 ?
  14. you dont have enough memory https://cubedhost.com/help/en/articles/1648388-how-do-i-allocate-more-memory-to-my-minecraft-launcher-client-side
  15. there is no super public class AltarSerializable implements ICapabilitySerializable he returns null in getCapability
  16. you dont need to get server player
  17. GuiOpenEvent is fired on the client
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.