MCreator Problem export any mod (build faild)

Started by jeremi999bag on Thu, 04/15/2021 - 08:00

Topic category: Help with MCreator software

Last seen on 10:01, 28. Apr 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
MCreator Problem export any mod (build faild)
Thu, 04/15/2021 - 10:21 (edited)

hello I have a problem, I have been trying to export my mod for some time but there is a problem when I try to save or edit it show me "Build failed" no mod element is damaged because no new mod wants to save. I tried uninstalling and reinstalling in .exe and .zip but always the same effect. I deleted all files related to Java and MCreator. The problem started with buying a new pc pad, but it's not his fault. if anyone knows how to help I will be grateful.

and I see this:

Executing Gradle task: runClient
Build info: MCreator 2020.5.47520, forge-1.14.4, 64-bit, 8115 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Users\jeremi999bag\Desktop\MCreator20205\jdk
Download https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeG…
Download https://files.minecraftforge.net/maven/net/minecraftforge/artifactural/…
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3
Download https://files.minecraftforge.net/maven/cpw/mods/modlauncher/maven-metad…
> Task :compileJava FAILED
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\block\ReinforcedironoreBlock.java:30: error: package military_workspace.world.dimension does not exist import military_workspace.world.dimension.NormalworldDimension;
^
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\block\SteeloreBlock.java:30: error: package military_workspace.world.dimension does not exist import military_workspace.world.dimension.NormalworldDimension;
^
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\item\NormalworldItem.java:14: error: package military_workspace.world.dimension does not exist import military_workspace.world.dimension.NormalworldDimension;
^
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\item\OREDIMENTIONItem.java:14: error: package military_workspace.world.dimension does not exist import military_workspace.world.dimension.OREDIMENTIONDimension;
^
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\DestractionWorldBiome.java:20: error: cannot find symbol import net.minecraft.world.gen.feature.BaseTreeFeatureConfig;
^
symbol: class BaseTreeFeatureConfig
location: package net.minecraft.world.gen.feature
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\DestractionWorldBiome.java:22: error: package net.minecraft.world.gen.blockstateprovider does not exist import net.minecraft.world.gen.blockstateprovider.SimpleBlockStateProvider;
^
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\DestractionWorldBiome.java:112: error: cannot find symbol static class CustomTreeFeature extends AbstractTreeFeature<BaseTreeFeatureConfig> {
^
symbol: class BaseTreeFeatureConfig
location: class DestractionWorldBiome
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\DestractionWorldBiome.java:119: error: cannot find symbol Set<BlockPos> changedBlocks2, MutableBoundingBox bbox, BaseTreeFeatureConfig conf) {
^
symbol: class BaseTreeFeatureConfig
location: class CustomTreeFeature
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\NormalBiome.java:20: error: cannot find symbol import net.minecraft.world.gen.feature.BaseTreeFeatureConfig;
^
symbol: class BaseTreeFeatureConfig
location: package net.minecraft.world.gen.feature
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\NormalBiome.java:22: error: package net.minecraft.world.gen.blockstateprovider does not exist import net.minecraft.world.gen.blockstateprovider.SimpleBlockStateProvider;
^
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\NormalBiome.java:119: error: cannot find symbol static class CustomTreeFeature extends AbstractTreeFeature<BaseTreeFeatureConfig> {
^
symbol: class BaseTreeFeatureConfig
location: class NormalBiome
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\biome\NormalBiome.java:126: error: cannot find symbol Set<BlockPos> changedBlocks2, MutableBoundingBox bbox, BaseTreeFeatureConfig conf) {
^
symbol: class BaseTreeFeatureConfig
location: class CustomTreeFeature
C:\Users\jeremi999bag\MCreatorWorkspaces\military_workspace\src\main\java\military_workspace\world\structure\OfficerStructure.java:27: error: package military_workspace.world.dimension does not exist import military_workspace.world.dimension.NormalworldDimension;
^
13 errors
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 1m 15s
1 actionable task: 1 executed
BUILD FAILED

Edited by jeremi999bag on Thu, 04/15/2021 - 10:21
Try regenerating the code…
Thu, 04/15/2021 - 15:19

Try regenerating the code and make sure you don't have locked mod elements

Last seen on 10:01, 28. Apr 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I regenerating and reinstal…
Sun, 04/18/2021 - 17:45

I regenerating and reinstal but nothing do.

Last seen on 10:01, 28. Apr 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yes i regenerating code and…
Sun, 04/18/2021 - 17:47

Yes i regenerating code and reinstal all MCreator but nothing do.