Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/12/20 in all areas

  1. I misread. Anyway, if you look at the class you'd see this: public T create(C settings) { return (T)(this.factory.apply(settings); } Notice the name of the function. "Create" as in "get me a new one."
    1 point
  2. Because this line: currentInventory = e.player.inventory.mainInventory; Creates a copy of a pointer to a list, it does not clone the list (changing one inherently changes the other).
    1 point
  3. Sam, I almost split your response out and locked it because people legitimately do that...
    1 point
  4. Because no one wrote it. Welcome to open source development. All the json data files are already detailed on the official wiki, why would Forge have to do it again?
    1 point
  5. Google has a JSON library, which is included in your workspace.
    1 point
  6. You're asking why Forge doesn't support you just browsing and screwing with any piece of JSON data that Forge might not even know about?
    1 point
  7. It simply means that version is no longer supported by these forums, and threads asking for help will generally get closed, with a request the user update to a modern version (essentially the last 2 major versions, as of right now 1.14 and 1.15) Info on the versions supported can be found at the top of the page by clicking the "New LTS system" link.
    1 point
  8. Hey, I'm currently working on a mod and for some reason, the join listener isn't called. I've probably made somne stupid mistake and I'm gonna facepalm when realizing, but still, can someone help me? @EventHandler public void init(FMLInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new PlayerJoinListener()); proxy.init(event); } @SubscribeEvent public void onJoin(PlayerLoggedInEvent event) { System.out.println("test"); event.player.addChatComponentMessage(new ChatComponentText("test")); }
    0 points
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.