Entity Compile Errors [1.17.1]

Started by jadenquinn8 on

Topic category: Help with MCreator software

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Compile Errors [1.17.1]

I recently decided to update my mods again, this time from 1.16.5 to 1.17.1, when I encountered this error on two of my entities on the Dreams Mod:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Executing Gradle task: build
Build info: MCreator 2021.3.45419 EAP (45419), forge-1.17.1, 64-bit, 32698 MB, Windows 10, JVM 16.0.1, JAVA_HOME: O:\Google Sackup\MCreator.EAP.2021.3.b45419.Windows.64bit\MCreatorEAP20213b45419\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\jaden\MCreatorWorkspaces\dreamsdev\src\main\java\to\us\iredmc\dreams\entity\BadboyhaloEntity.java:169: error: method register in class SpawnPlacements cannot be applied to given types;  SpawnPlacements.register(DreamsModEntities.BADBOYHALO, SpawnPlacements.Type.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES,
    ^
 required: EntityType<T>,Type,Types,SpawnPredicate<T>
 found: EntityType<BadboyhaloEntity>,Type,Types,Monster::c[...]Rules
 reason: inference variable T has incompatible bounds
 equality constraints: BadboyhaloEntity
 lower bounds: Monster,Mob
 where T is a type-variable:
 T extends Mob declared in method <T>register(EntityType<T>,Type,Types,SpawnPredicate<T>)
C:\Users\jaden\MCreatorWorkspaces\dreamsdev\src\main\java\to\us\iredmc\dreams\entity\SkeppyEntity.java:124: error: method register in class SpawnPlacements cannot be applied to given types;  SpawnPlacements.register(DreamsModEntities.SKEPPY, SpawnPlacements.Type.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES,
    ^
 required: EntityType<T>,Type,Types,SpawnPredicate<T>
 found: EntityType<SkeppyEntity>,Type,Types,Monster::c[...]Rules
 reason: inference variable T has incompatible bounds
 equality constraints: SkeppyEntity
 lower bounds: Monster,Mob
 where T is a type-variable:
 T extends Mob declared in method <T>register(EntityType<T>,Type,Types,SpawnPredicate<T>)
2 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
BUILD FAILED in 2s
1 actionable task: 1 executed
 
BUILD FAILED
Task completed in 5 seconds

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I copied that straight from the build log, I don't know what it's pointing out, it looks like Minecraft modding code, I don't know what's wrong with it. I went into the element and checked to see if something got corrupted that I could see, but I still didn't see anything unusual.

Any ideas on why this is happening, and more specifically what I should be doing to fix this?

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the same problem too, I'm…
Mon, 11/15/2021 - 14:42

the same problem too, I'm really looking forward to the MCreator team fixing this problem

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen this problem is…
Wed, 11/17/2021 - 10:33

@Klemen this problem is created because the .net folder is not created in the modification folders