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

Started by NCubs on

Topic category: Help with MCreator software

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Joined Oct 2021
Points:

User statistics:

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

I'm having the same problem

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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. 

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have the same problme but…
Fri, 11/04/2022 - 02:04

i have the same problme but with 2022.2

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Same problem with 2023.1
Tue, 04/18/2023 - 12:54

Same problem with 2023.1

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so how are we going to fix…
Sun, 11/05/2023 - 16:16

so how are we going to fix this?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump. any solution?
Thu, 02/22/2024 - 07:37

bump. any solution?