My mod doesn´t run minecraft

Started by dansamy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My mod doesn´t run minecraft

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

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
at least does someone know…
Sat, 08/29/2020 - 14:37

at least does someone know how to find older backups? the only ones i found are from yesterday and they dont work too

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know that I can't be…
Sat, 08/29/2020 - 16:25

I know that I can't be repetitive, but I'm truly desperate :(

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try pressing the button that…
Sat, 08/29/2020 - 17:14

Try pressing the button that will "Regenerate Code and Build" or "Build Workspace". If you don't know where these buttons are, go to the top of your screen and locate the "Build and Run" text. Click on that to see a bunch of buttons. Press the hammer icon or the text next to it (Build Workspace) to do exactly that. Or press the tilted orange-ish rectangle icon or the text next to it (Regenerate Code and Build) to do that. I do not know much, these two buttons always just seem to work for me, magically. If it doesn't work, I don't know how to help, sorry. At least reply to say if it was succesful or not, or if you have tried that before.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok I will try that. A…
Sat, 08/29/2020 - 18:04

Ok I will try that. A million thanks!!!

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, sadly it didnt work :(…
Sat, 08/29/2020 - 18:32

Oh, sadly it didnt work :(

The ¨gradle idle¨ at the bottom of the screen is red, but it doesnt show any error as it usually does, it is just red and doesnt let me do anything

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How many mod elements u got?…
Sun, 08/30/2020 - 06:51

How many mod elements u got?

 

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That might have something to…
Sun, 08/30/2020 - 06:58

That might have something to do with it. Incompatible mod elements, custom code written wrong, too many mod elemnts is also something known to cause problems, especially on slower computers.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have never done custom…
Sun, 08/30/2020 - 14:00

I have never done custom code, also i have to say that my computer is pretty fast. I got by now 464 elements.

This is a common problem…
Sun, 08/30/2020 - 14:38

This is a common problem. Gradle Cache oftentimes go corrupt, here's an easy resolution:

Go to this folder in your home folder<home>/.mcreator/gradle

  1. Delete the folder named Caches
  2. Re-open Mcreator
  3. When building your project again, follow the on-screen descriptions

If you did not know, you can go to https://mcreator.net/support/knowledgebase next time to find all thee common problems

If you need any help, please reply to this thread

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sun, 08/30/2020 - 14:54

Error2

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Was that what had to happen…
Sun, 08/30/2020 - 14:54

Was that what had to happen after doing that?

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, i deleted the Cache…
Sun, 08/30/2020 - 15:11

Yeah, i deleted the Cache folder and reopened mcreator, and thats what is now on the screen

 

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The thing failing is the…
Sun, 08/30/2020 - 15:12

The thing failing is the gradle, im pretty sure about that. I dont know what to do with that, though.