-
Posts
2 -
Joined
-
Last visited
Posts posted by ItsPayne
-
-
Just downloaded MDK for 1.17.1, set up my project in IntelliJ IDEA Community 2021.1.3, but there's an error "Exception in thread "main" java.lang.module.ResolutionException: Module jline.terminal reads more than one module named cpw.mods.securejarhandler". Java version is 16.0.2. If I'll try to change it, there'll be new module instead of "jline.terminal". Here's the full log:
Exception in thread "main" java.lang.module.ResolutionException: Module jline.terminal reads more than one module named cpw.mods.securejarhandler at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:908) at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:729) at java.base/java.lang.module.Resolver.finish(Resolver.java:379) at java.base/java.lang.module.Configuration.<init>(Configuration.java:140) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:298) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:77) Process finished with exit code 1
Any ideas to fix it?
[1.18.1] How to spawn a random mob
in Modder Support
Posted
Hey guys!
I'm a newbie in Minecraft modding, so I'm trying to make a simple mod that can "change" existing mobs to a random one through the event class:
It should happen every minute, but for a debug proccess I changed a value to a second. Everything's almost done, but I just can't understand how to get list of entity types and spawn a mob with a type of random types' list element correctly. Can someone help me?