deprecated gradle features were used in this build

Started by Purple1988 on

Topic category: Help with modding (Java Edition)

Last seen on 02:05, 17. Nov 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
deprecated gradle features were used in this build

i keep having this error:

4:13.42 [Server thread/INFO] [minecraft/MinecraftServer]: Dev joined the game
14:13.42 [Server thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID 6bb7324e-bf93-417c-b18a-55d95d22db44
14:13.42 [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:889) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:821) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:84) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:664) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:233) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302] {}
Caused by: java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_302] {}
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:162) ~[forge:?] {re:classloading}
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124) ~[forge:?] {re:classloading}
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110) ~[forge:?] {re:classloading}
at net.minecraft.world.server.ServerChunkProvider.lambda$tickChunks$5(ServerChunkProvider.java:367) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_302] {}
at net.minecraft.world.server.ServerChunkProvider.tickChunks(ServerChunkProvider.java:354) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.server.ServerChunkProvider.tick(ServerChunkProvider.java:329) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.server.ServerWorld.tick(ServerWorld.java:336) ~[forge:?] {re:classloading}
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:885) ~[forge:?] {re:classloading,pl:accesstransformer:B}
... 5 more
AL lib: (EE) alc_cleanup: 1 device not closed
> Task :runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\Conno\.mcreator\gradle\jdks\jdk8u302-b08\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 1m 2s
10 actionable tasks: 3 executed, 7 up-to-date
BUILD FAILED
Task completed in 1 minute and 2 seconds

 

this one is for loading a custom biome, but it has also happened for a mob behavior. 

For the other one, I don't know if it is the same problem but it is very similar