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

Started by NCubs on

Topic category: Help with MCreator software

Active 3 years ago
Joined Jan 2022
Points:
509

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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
Active 14 hours ago
Joined Oct 2021
Points:
656

User statistics:

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

I'm having the same problem

Active 1 year ago
Joined May 2015
Points:
751

User statistics:

  • Modifications: 2
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
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. 

Active 2 years ago
Joined Oct 2022
Points:
378

User statistics:

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

i have the same problme but with 2022.2

Active 2 years ago
Joined Dec 2022
Points:
305

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
same, with 2022.3
Sun, 12/18/2022 - 21:55

same, with 2022.3

Active 1 year ago
Joined Apr 2023
Points:
272

User statistics:

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

Same problem with 2023.1

Active 1 year ago
Joined Nov 2023
Points:
145

User statistics:

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

so how are we going to fix this?

Active 1 year ago
Joined Feb 2024
Points:
122

User statistics:

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

bump. any solution?

Active 3 weeks ago
Joined May 2024
Points:
105

User statistics:

  • Modifications: 2
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
yall got any solutions?
Tue, 06/17/2025 - 14:31

yall got any solutions?