Topic category: Help with Minecraft modding (Java Edition)
Im making a mod and, for not apparent reason, mcreator doesnt run minecraft at all. Maybe was for an ore i did, so i made that block dont generate in the world, but this stills the same. Someone helps?
Executing Gradle task: runClient
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 16339 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
org.gradle.tooling.GradleConnectionException: Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform( ExceptionTransformer.java:55 )
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform( ExceptionTransformer.java:29 )
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure( ResultHandlerAdapter.java:43 )
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0( DefaultAsyncConsumerActionExecutor.java:64 )
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute( ExecutorPolicy.java:64 )
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run( ManagedExecutorImpl.java:48 )
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149 )
at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:624 )
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run( ThreadFactoryImpl.java:56 )
at java.lang.Thread.run( Thread.java:748 )
Caused by: org.gradle.api.GradleException: Could not read cache value from 'C:\Users\Samuel\.mcreator\gradle\daemon\4.10.3\registry.bin'.
at org.gradle.cache.internal.SimpleStateCache.deserialize( SimpleStateCache.java:142 )
at org.gradle.cache.internal.SimpleStateCache.access$000( SimpleStateCache.java:34 )
at org.gradle.cache.internal.SimpleStateCache$1.create( SimpleStateCache.java:50 )
at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.readFile( DefaultFileLockManager.java:187 )
at org.gradle.cache.internal.OnDemandFileAccess.readFile( OnDemandFileAccess.java:42 )
at org.gradle.cache.internal.SimpleStateCache.get( SimpleStateCache.java:48 )
at org.gradle.cache.internal.FileIntegrityViolationSuppressingPersistentStateCacheDecorator.get( FileIntegrityViolationSuppressingPersistentStateCacheDecorator.java:33 )
at org.gradle.launcher.daemon.registry.PersistentDaemonRegistry.getAll( PersistentDaemonRegistry.java:69 )
at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect( DefaultDaemonConnector.java:112 )
at org.gradle.launcher.daemon.client.DaemonClient.execute( DaemonClient.java:139 )
at org.gradle.launcher.daemon.client.DaemonClient.execute( DaemonClient.java:93 )
at org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute( DaemonBuildActionExecuter.java:60 )
at org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute( DaemonBuildActionExecuter.java:41 )
at org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute( LoggingBridgingBuildActionExecuter.java:58 )
at org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute( LoggingBridgingBuildActionExecuter.java:37 )
at org.gradle.tooling.internal.provider.ProviderConnection.run( ProviderConnection.java:180 )
at org.gradle.tooling.internal.provider.ProviderConnection.run( ProviderConnection.java:124 )
at org.gradle.tooling.internal.provider.DefaultConnection.getModel( DefaultConnection.java:208 )
at org.gradle.tooling.internal.consumer.connection.CancellableModelBuilderBackedModelProducer.produceModel( CancellableModelBuilderBackedModelProducer.java:54 )
at org.gradle.tooling.internal.consumer.connection.PluginClasspathInjectionSupportedCheckModelProducer.produceModel( PluginClasspathInjectionSupportedCheckModelProducer.java:38 )
at org.gradle.tooling.internal.consumer.connection.AbstractConsumerConnection.run( AbstractConsumerConnection.java:64 )
at org.gradle.tooling.internal.consumer.connection.ParameterValidatingConsumerConnection.run( ParameterValidatingConsumerConnection.java:49 )
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run( DefaultBuildLauncher.java:97 )
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run( DefaultBuildLauncher.java:89 )
at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run( LazyConsumerActionExecutor.java:130 )
at org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run( CancellableConsumerActionExecutor.java:45 )
at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run( ProgressLoggingConsumerActionExecutor.java:61 )
at org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run( RethrowingErrorsConsumerActionExecutor.java:38 )
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0( DefaultAsyncConsumerActionExecutor.java:62 )
... 6 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readBoolean( DataInputStream.java:244 )
at org.gradle.internal.serialize.InputStreamBackedDecoder.readBoolean( InputStreamBackedDecoder.java:51 )
at org.gradle.launcher.daemon.registry.DaemonRegistryContent$Serializer.read( DaemonRegistryContent.java:116 )
at org.gradle.launcher.daemon.registry.DaemonRegistryContent$Serializer.read( DaemonRegistryContent.java:112 )
at org.gradle.cache.internal.SimpleStateCache.deserialize( SimpleStateCache.java:137 )
... 34 more
TASK EXECUTION FAILED
Click on Re-Run the setup, and if it fails again, reply to the thread
Doesnt work, it just gives the same error again
The next solution is to delete the whole .gradle folder in the .mcreator folder
The next setup will take much longer than usual
It is normal as the whole highlighted gradle folder has to be rebuilt
Yeah, it is doing its thing still
Oh, it worked! A lot, lot of thanks!! :D
No problem and happy modding!
Post your CaveCrawler element page
Also, paste logs on pastebin
i dont know what is that pastebin, but anyways thanks! looks that, when seeing in the cave crawler, there was a condition that was really messed up, so now everything works nice again :DDD
Glad i helped :)