Mod Elements fail in latest MCreator

Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

MCreator fails to load my mod with a lot of "could not load symbol" errors and I have looked in the common issues page and tried the solution, it seems that the symal errors are gone, but I now see a lot of "conversion errors ", as well as  override or supertype erros

This also only started to happen when I updated to the latest 2020.3 versuib

 

Executing Gradle task: tasks build
Build info: MCreator 2020.3.22116, forge-1.15.2, 64-bit, 12191 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Users\Dempsey\AppData\Roaming\.minecraft\Minecraft Server\MCreator20203\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :tasks
------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------
Build tasks
-----------
assemble - Assembles the outputs of this project.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
classes - Assembles main classes.
clean - Deletes the build directory.
jar - Assembles a jar archive containing the main classes.
testClasses - Assembles test classes.
Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.
Documentation tasks
-------------------
javadoc - Generates Javadoc API documentation for the main source code.
Fg_runs tasks
-------------
genEclipseRuns
genIntellijRuns
genVSCodeRuns
prepareRunClient
prepareRuns
prepareRunServer
runClient
runServer
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'newrandomitems'.
components - Displays the components produced by root project 'newrandomitems'. [incubating]
dependencies - Displays all dependencies declared in root project 'newrandomitems'.
dependencyInsight - Displays the insight into a specific dependency in root project 'newrandomitems'.
dependentComponents - Displays the dependent components of components in root project 'newrandomitems'. [incubating]
help - Displays a help message.
model - Displays the configuration model of root project 'newrandomitems'. [incubating]
projects - Displays the sub-projects of root project 'newrandomitems'.
properties - Displays the properties of root project 'newrandomitems'.
tasks - Displays the tasks runnable from root project 'newrandomitems'.
IDE tasks
---------
cleanEclipse - Cleans all Eclipse files.
eclipse - Generates all Eclipse files.
Verification tasks
------------------
check - Runs all checks.
test - Runs the unit tests.
Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.
To see all tasks and more detail, run gradle tasks --all
To see more detail about a task, run gradle help --task <task>
> Task :compileJava
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackcommandblockBlock.java:133: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholeBlock.java:74: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholeBlock.java:90: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholeBlock.java:92: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockClicked(state, world, pos, entity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholeBlock.java:129: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholeBlock.java:132: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholecontainerBlock.java:101: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholecontainerBlock.java:117: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlackholecontainerBlock.java:120: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:103: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:123: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:126: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:130: error: incompatible types: PlayerEntity cannot be converted to ServerPlayerEntity if (entity instanceof ServerPlayerEntity) {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:131: error: incompatible types: PlayerEntity cannot be converted to ServerPlayerEntity NetworkHooks.openGui((ServerPlayerEntity) entity, new INamedContainerProvider() {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:131: error: is not abstract and does not override abstract method createMenu(int,PlayerInventory,PlayerEntity) in IContainerProvider NetworkHooks.openGui((ServerPlayerEntity) entity, new INamedContainerProvider() {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockCutterBlock.java:137: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BlockMoneyBlock.java:75: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\BluefireBlock.java:103: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\ChangingblockBlock.java:135: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\ChangingblockBlock.java:155: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\ChangingblockBlock.java:158: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\ChaosOreBlockBlock.java:68: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\CompresseddiamondBlock.java:86: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\CompressedGoldBlock.java:75: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\DiamondBlackHoleBlock.java:78: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\DoomPlantBlock.java:132: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\DoomPlantBlock.java:134: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockClicked(state, world, pos, entity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EmeraldBlackHoleBlock.java:78: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:166: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:194: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:196: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity boolean retval = super.removedByPlayer(state, world, pos, entity, willHarvest, fluid);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:227: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:229: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockClicked(state, world, pos, entity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:291: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\EternalscreamBlock.java:294: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\FirstBlockBlock.java:75: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\GoldBlackHoleBlock.java:78: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\HeroBlockBlock.java:86: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\InfinityOreBlock.java:75: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\McdonaldsmealBlock.java:81: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\McdonaldsmealBlock.java:84: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\MrflowerBlock.java:151: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\MrflowerBlock.java:153: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity boolean retval = super.removedByPlayer(state, world, pos, entity, willHarvest, fluid);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\MrflowerBlock.java:165: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\MrflowerBlock.java:167: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockClicked(state, world, pos, entity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\MrflowerBlock.java:178: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\MrflowerBlock.java:181: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\NukeBlock.java:92: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\NukeBlock.java:125: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\NukeBlock.java:128: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\RedFireBlock.java:95: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\RedFireBlock.java:97: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity boolean retval = super.removedByPlayer(state, world, pos, entity, willHarvest, fluid);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\RedFireBlock.java:109: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\RedFireBlock.java:111: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockClicked(state, world, pos, entity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\RedFireBlock.java:135: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\RedFireBlock.java:138: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockActivated(state, world, pos, entity, hand, hit);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\SecondPlantBlock.java:160: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\SecondPlantBlock.java:162: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onBlockClicked(state, world, pos, entity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\StrangeMatterBlock.java:124: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\T77LuckyBlockBlock.java:77: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\T77LuckyBlockBlock.java:97: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\T77LuckyBlockBlock.java:99: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity boolean retval = super.removedByPlayer(state, world, pos, entity, willHarvest, fluid);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\block\TrainBlock.java:110: error: incompatible types: ClientPlayerEntity cannot be converted to PlayerEntity PlayerEntity entity = Minecraft.getInstance().player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\CopperEntity.java:158: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\CopperEntity.java:160: error: no suitable method found for processInteract(net.mcreator.trains77_mod.entity.PlayerEntity,Hand) super.processInteract(sourceentity, hand);
^
method MobEntity.processInteract(net.minecraft.entity.player.PlayerEntity,Hand) is not applicable
(argument mismatch; net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity)
method AgeableEntity.processInteract(net.minecraft.entity.player.PlayerEntity,Hand) is not applicable
(argument mismatch; net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity)
method AnimalEntity.processInteract(net.minecraft.entity.player.PlayerEntity,Hand) is not applicable
(argument mismatch; net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity)
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\CopperEntity.java:164: error: cannot find symbol ItemStack itemstack = sourceentity.getHeldItem(hand);
^
symbol: method getHeldItem(Hand)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\ErroredChickenEntity.java:194: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\ErroredChickenEntity.java:196: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.processInteract(sourceentity, hand);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\ErroredChickenEntity.java:200: error: cannot find symbol ItemStack itemstack = sourceentity.getHeldItem(hand);
^
symbol: method getHeldItem(Hand)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\GlitchedCowEntity.java:152: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\GlitchedCowEntity.java:154: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.processInteract(sourceentity, hand);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\GlitchedCowEntity.java:155: error: cannot find symbol sourceentity.startRiding(this);
^
symbol: method startRiding(CustomEntity)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\GlitchedCowEntity.java:159: error: cannot find symbol ItemStack itemstack = sourceentity.getHeldItem(hand);
^
symbol: method getHeldItem(Hand)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\PugEntity.java:144: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\PugEntity.java:146: error: no suitable method found for processInteract(net.mcreator.trains77_mod.entity.PlayerEntity,Hand) super.processInteract(sourceentity, hand);
^
method MobEntity.processInteract(net.minecraft.entity.player.PlayerEntity,Hand) is not applicable
(argument mismatch; net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity)
method AgeableEntity.processInteract(net.minecraft.entity.player.PlayerEntity,Hand) is not applicable
(argument mismatch; net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity)
method AnimalEntity.processInteract(net.minecraft.entity.player.PlayerEntity,Hand) is not applicable
(argument mismatch; net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity)
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\PugEntity.java:150: error: cannot find symbol ItemStack itemstack = sourceentity.getHeldItem(hand);
^
symbol: method getHeldItem(Hand)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\R2D2Entity.java:123: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\R2D2Entity.java:125: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.processInteract(sourceentity, hand);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\R2D2Entity.java:129: error: cannot find symbol ItemStack itemstack = sourceentity.getHeldItem(hand);
^
symbol: method getHeldItem(Hand)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\SpawnerBossEntity.java:203: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\SpawnerBossEntity.java:205: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.processInteract(sourceentity, hand);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\SpawnerBossEntity.java:209: error: cannot find symbol ItemStack itemstack = sourceentity.getHeldItem(hand);
^
symbol: method getHeldItem(Hand)
location: variable sourceentity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\SpawnerBossEntity.java:239: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\entity\SpawnerBossEntity.java:241: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onCollideWithPlayer(sourceentity);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:75: error: GuiContainerMod is not abstract and does not override abstract method canInteractWith(PlayerEntity) in Container public static class GuiContainerMod extends Container implements Supplier<Map<Integer, Slot>> {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:84: error: incompatible types: net.minecraft.entity.player.PlayerEntity cannot be converted to net.mcreator.trains77_mod.entity.PlayerEntity this.entity = inv.player;
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:99: error: cannot find symbol itemstack = this.entity.getHeldItemMainhand();
^
symbol: method getHeldItemMainhand()
location: variable entity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:101: error: cannot find symbol itemstack = this.entity.getHeldItemOffhand();
^
symbol: method getHeldItemOffhand()
location: variable entity of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:129: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:134: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:166: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity slot.onTake(playerIn, itemstack1);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:252: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:254: error: incompatible types: net.mcreator.trains77_mod.entity.PlayerEntity cannot be converted to net.minecraft.entity.player.PlayerEntity super.onContainerClosed(playerIn);
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:255: error: incompatible types: PlayerEntity cannot be converted to ServerPlayerEntity if (!bound && (playerIn instanceof ServerPlayerEntity)) {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:256: error: cannot find symbol if (!playerIn.isAlive() || playerIn instanceof ServerPlayerEntity && ((ServerPlayerEntity) playerIn).hasDisconnected()) {
^
symbol: method isAlive()
location: variable playerIn of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:256: error: incompatible types: PlayerEntity cannot be converted to ServerPlayerEntity if (!playerIn.isAlive() || playerIn instanceof ServerPlayerEntity && ((ServerPlayerEntity) playerIn).hasDisconnected()) {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:256: error: incompatible types: PlayerEntity cannot be converted to ServerPlayerEntity if (!playerIn.isAlive() || playerIn instanceof ServerPlayerEntity && ((ServerPlayerEntity) playerIn).hasDisconnected()) {
^
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:258: error: cannot find symbol playerIn.dropItem(internal.extractItem(j, internal.getStackInSlot(j).getCount(), false), false);
^
symbol: method dropItem(ItemStack,boolean)
location: variable playerIn of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:262: error: cannot find symbol playerIn.inventory.placeItemBackInInventory(playerIn.world,
^
symbol: variable world
location: variable playerIn of type PlayerEntity
C:\Users\Dempsey\MCreatorWorkspaces\newrandomitems\src\main\java\net\mcreator\trains77_mod\gui\BlockcutterfunctionGui.java:262: error: cannot find symbol playerIn.inventory.placeItemBackInInventory(playerIn.world,
^
symbol: variable inventory
location: variable playerIn of type PlayerEntity
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors
> Task :compileJava FAILED
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.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 14s
2 actionable tasks: 2 executed
BUILD FAILED
Task completed in 16356 milliseconds

Issue comments

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.

Describe the exact steps you did. Usually not following the steps exactly will make this fix fail.

I deleted the entire gradle jar, then made a workspace in 1.15.2 since that was the generator that was failing, then I did build and run - Build Workspace, then Build And Run - Reload Gradle Project and then Build and Run - Regenerate Code and Build

 then I did build and run - Build Workspace, then Build And Run - Reload Gradle Project and then Build and Run - Regenerate Code and Build

In which workspace did you run these?

Sorry but then I am out of ideas :/

Try rebooting PC, then uninstalling MCreator and removing whole .mcreator folder. Then install it back.

Make sure no Antivirus or something like this is blocking MCreator.

I think I just solved it

so I removed all MCreator folders except for the workspace folder as I was using the .zip version, then installed the .exe version and loaded a backup

Ok sorry looking at logs again, now I see the actual problem:

net.mcreator.trains77_mod.entity.PlayerEntity

You added an entity called Player. This will of course not work.

New mod dialog said this:

Do not use existing vanilla names (Dirt, Coal, Diamond, ...)

yet you did :D

So I removed the player entity and I think because of a previous backup I think by then doing what you first suggested it works perfectly! 

Thanks for helping me out!



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.