Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-250017

UUID launch argument required

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 22w14a
    • 22w15a
    • None
    • Plausible
    • Crash
    • Very Important

    Description

      In 22w14a not using the --uuid argument causes Minecraft to crash very early in the startup process when it tries to calculate a default uuid since the main method uses a method in the Player class to calculate the offline uuid which causes the Entity class to get loaded which causes the EntityDataAccessor class to get loaded which causes the Registry class to get loaded so that the registries for cat variants and frog variants can be used.

      Heres the exception using MCPConfig:

      Exception in thread "main" java.lang.ExceptionInInitializerError
          at net.minecraft.network.syncher.EntityDataSerializers.<clinit>(EntityDataSerializers.java:134)
          at net.minecraft.world.entity.Entity.<clinit>(Entity.java:191)
          at net.minecraft.client.main.Main.main(Main.java:124)
          at mcp.client.Start.main(Start.java:17)
      Caused by: java.lang.IllegalArgumentException: Not bootstrapped (called from registry ResourceKey[minecraft:root / minecraft:root])
          at net.minecraft.server.Bootstrap.m_179916_(Bootstrap.java:109)
          at net.minecraft.server.Bootstrap.m_179912_(Bootstrap.java:102)
          at net.minecraft.core.Registry.<init>(Registry.java:443)
          at net.minecraft.core.WritableRegistry.<init>(WritableRegistry.java:9)
          at net.minecraft.core.MappedRegistry.<init>(MappedRegistry.java:59)
          at net.minecraft.core.Registry.<clinit>(Registry.java:130)
          ... 4 more
       

      the official name for m_179916_ is createBootstrapException and m_179912_ is checkBootstrapCalled.

      Attachments

        Activity

          People

            Unassigned Unassigned
            coehlrich coehlrich
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: