My dimension's portal shape .java file is almost empty

Started by NCubs on Tue, 01/18/2022 - 06:40

Topic category: Help with MCreator software

Last seen on 09:31, 29. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
My dimension's portal shape .java file is almost empty
Tue, 01/18/2022 - 07:01 (edited)

Hello, my dimension that i wanted to make, doesn't work at all. The .java file i checked is completely empty, and i don't know why. Does anyone know why?

The dimension java file:

package net.mcreator.ncubsmischief.world.teleporter;

public class TheNylanPortalShape /* failed to load code for net.minecraft.world.level.portal.PortalShape */

...and the console:


Executing Gradle task: build 
Build info: MCreator 2021.3.53117, forge-1.17.1, 64-bit, 4001 MB, Windows 10, JVM 16.0.2, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk 
  
> Configure project : 
The code of this workspace uses official obfuscation mappings provided by Mojang. These mappings fall under their associated license you should be fully aware of. 
(c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, 
but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. 
Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available 
at https://account.mojang.com/documents/minecraft_eula. 
  
> Task :compileJava FAILED 
C:\Users\Admin\MCreatorWorkspaces\ncubs_mischief\src\main\java\net\mcreator\ncubsmischief\world\teleporter\TheNylanPortalShape.java:4: error: reached end of file while parsing 
public class TheNylanPortalShape /* failed to load code for net.minecraft.world.level.portal.PortalShape */ 
                                ^ 
1 error 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Compilation failed; see the compiler error output for details. 
* 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 
BUILD FAILED in 4s 
1 actionable task: 1 executed 
  
BUILD FAILED 
Task completed in 6 seconds 

 

Edited by NCubs on Tue, 01/18/2022 - 07:01
Last seen on 18:15, 27. May 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm having the same problem
Thu, 02/03/2022 - 18:01

I'm having the same problem

Last seen on 03:08, 25. May 2022
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Same here, but with the…
Sun, 03/13/2022 - 20:52

Same here, but with the latest snapshot (2022.1) while trying to port one of my mods to 1.18. I don't understand why this is happening.