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

forge 1.16.5 36.1.2 server error


Recommended Posts

Download the server and go to java -Xms1G -Xmx8G -jar forge-1.16.5-36.1.2.jar
pause
 And changed the name to start.bat


2021-03-27 22:41:02,795 main WARN Advanced terminal features are not available in this environment
[22:41:02] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.2 , --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge]
[22:41:02] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x534df152) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x534df152
        at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
        at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
        at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)
        at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
An error has occurred

  • Like 1
Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • I never had forge before, I am a first-time-installer and installed it, nevest version and still experience it. Changed attack key to LeftCtrl key, not mouse button. How can I fix that there? MC 1.16.5 forge-36.1.17 No attack problems in Minecraft Vanilla version with attack key set to LeftCtrl.
    • Elaborate on "won't open".
    • I have a problem with the installer but it won't open for me from mac and windows....
    • That is one use case, yes. Capabilities attached to "foreign objects" such as the player entity using AttachCapabilityEvent can be used to store data associated with that object.   You're referring to IItemHandler here, one capability. The benefits of using capabilities over directly implemented interfaces on TileEntities (or other objects) are mostly decoupling and code-reuse. Instead of implementing the inventory mechanics from scratch every time you simply create a new ItemStackHandler, which is a ready-made inventory implementation. Additionally, you are not forced to implement the interface yourself, getCapability can return whatever instance you want. It could even delegate to some other tile entity nearby, or whatever.   I think I answered this above already.
    • I use a translator, so I'm sorry if my English is unnatural. Well, as the title says, I'm pretty sure I understand what Capability is, but there are a few things I don't understand. -Is it correct to understand that Capability is for holding arbitrary data by associating it with an object such as a player or TileEntity? -In many cases, it seems recommended to use Capability instead of implementing IInventory when creating a TileEntity with an inventory, why? What are the drawbacks of implementing Vanilla's I Inventory and what are the benefits of using Capability? -Although it overlaps a little with the second question, when implementing Magic Point in Player, of course it is not possible to rewrite the Vanilla Player class, so it is necessary to link the player and Magic Point instance using Capability. I understand that. But should I use Capability for new entity and tile entities as well? Is it even a very simple inheritance of Vanilla's ChestTileEntity?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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