I need help cause mcreator does'nt compile my mod

Started by ElSrSalchicha on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help cause mcreator does'nt compile my mod

No matter what i do, mcreator does not compile my mod and also does'nt tell me which element gives me error

Screenshot

Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.12.2, 64-bit, 8142 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\block\SnikerBlockBlock.java:4: error: cannot find symbol import net.minecraftforge.registries.ObjectHolder;
                                    ^
  symbol:   class ObjectHolder
  location: package net.minecraftforge.registries
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\block\SnikerBlockBlock.java:5: error: cannot find symbol import net.minecraftforge.common.ToolType;
                                ^
  symbol:   class ToolType
  location: package net.minecraftforge.common
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\block\SnikerBlockBlock.java:12: error: cannot find symbol import net.minecraft.item.BlockItem;
                         ^
  symbol:   class BlockItem
  location: package net.minecraft.item
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\block\SnikerBlockBlock.java:15: error: cannot find symbol import net.minecraft.block.BlockState;
                          ^
  symbol:   class BlockState
  location: package net.minecraft.block
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:9: error: package net.minecraftforge.forgespi.language does not exist import net.minecraftforge.forgespi.language.ModFileScanData;
                                           ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:10: error: package net.minecraftforge.fml.network does not exist import net.minecraftforge.fml.network.NetworkEvent;
                                     ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:11: error: package net.minecraftforge.fml.event.server does not exist import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
                                          ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:12: error: package net.minecraftforge.fml.event.lifecycle does not exist import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
                                             ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:13: error: package net.minecraftforge.fml.event.lifecycle does not exist import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
                                             ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:14: error: cannot find symbol import net.minecraftforge.fml.ModList;
                             ^
  symbol:   class ModList
  location: package net.minecraftforge.fml
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:16: error: package net.minecraftforge.api.distmarker does not exist import net.minecraftforge.api.distmarker.OnlyIn;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:17: error: package net.minecraftforge.api.distmarker does not exist import net.minecraftforge.api.distmarker.Dist;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:21: error: package net.minecraft.tags does not exist import net.minecraft.tags.Tag;
                         ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:24: error: cannot find symbol import net.minecraft.entity.EntityType;
                           ^
  symbol:   class EntityType
  location: package net.minecraft.entity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:46: error: cannot find symbol    public final List<Supplier<EntityType<?>>> entities = new ArrayList<>();
                              ^
  symbol:   class EntityType
  location: class PersonalizadasModModElements
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:75: error: package NetworkEvent does not exist          BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
                                            ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:96: error: cannot find symbol    public List<Supplier<EntityType<?>>> getEntities() {
                        ^
  symbol:   class EntityType
  location: class PersonalizadasModModElements
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:117: error: cannot find symbol       public void init(FMLCommonSetupEvent event) {
                       ^
  symbol:   class FMLCommonSetupEvent
  location: class ModElement
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:120: error: cannot find symbol       public void serverLoad(FMLServerStartingEvent event) {
                             ^
  symbol:   class FMLServerStartingEvent
  location: class ModElement
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\PersonalizadasModModElements.java:124: error: cannot find symbol       public void clientLoad(FMLClientSetupEvent event) {
                             ^
  symbol:   class FMLClientSetupEvent
  location: class ModElement
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\block\SnikerBlockBlock.java:49: error: cannot find symbol       public List<ItemStack> getDrops(BlockState state, LootContext.Builder builder) {
                                      ^
  symbol:   class BlockState
  location: class CustomBlock
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\block\SnikerBlockBlock.java:57: error: cannot find symbol       public void neighborChanged(BlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos fromPos, boolean moving) {
                                  ^
  symbol:   class BlockState
  location: class CustomBlock
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:4: error: cannot find symbol import net.minecraftforge.registries.ForgeRegistries;
                                    ^
  symbol:   class ForgeRegistries
  location: package net.minecraftforge.registries
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:5: error: package net.minecraftforge.fml.network does not exist import net.minecraftforge.fml.network.NetworkHooks;
                                     ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:6: error: package net.minecraftforge.fml.network does not exist import net.minecraftforge.fml.network.FMLPlayMessages;
                                     ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:7: error: package net.minecraftforge.fml.javafmlmod does not exist import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:8: error: package net.minecraftforge.fml.event.lifecycle does not exist import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
                                             ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:10: error: package net.minecraftforge.eventbus.api does not exist import net.minecraftforge.eventbus.api.SubscribeEvent;
                                      ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:12: error: package net.minecraftforge.api.distmarker does not exist import net.minecraftforge.api.distmarker.OnlyIn;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:13: error: package net.minecraftforge.api.distmarker does not exist import net.minecraftforge.api.distmarker.Dist;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:15: error: cannot find symbol import net.minecraft.world.gen.Heightmap;
                              ^
  symbol:   class Heightmap
  location: package net.minecraft.world.gen
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:19: error: cannot find symbol import net.minecraft.util.Hand;
                         ^
  symbol:   class Hand
  location: package net.minecraft.util
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:21: error: cannot find symbol import net.minecraft.network.IPacket;
                            ^
  symbol:   class IPacket
  location: package net.minecraft.network
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:22: error: cannot find symbol import net.minecraft.item.SpawnEggItem;
                         ^
  symbol:   class SpawnEggItem
  location: package net.minecraft.item
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:25: error: cannot find symbol import net.minecraft.entity.player.PlayerEntity;
                                  ^
  symbol:   class PlayerEntity
  location: package net.minecraft.entity.player
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:26: error: cannot find symbol import net.minecraft.entity.monster.MonsterEntity;
                                   ^
  symbol:   class MonsterEntity
  location: package net.minecraft.entity.monster
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:27: error: package net.minecraft.entity.ai.goal does not exist import net.minecraft.entity.ai.goal.SwimGoal;
                                   ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:28: error: package net.minecraft.entity.ai.goal does not exist import net.minecraft.entity.ai.goal.RandomWalkingGoal;
                                   ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:29: error: package net.minecraft.entity.ai.goal does not exist import net.minecraft.entity.ai.goal.MeleeAttackGoal;
                                   ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:30: error: package net.minecraft.entity.ai.goal does not exist import net.minecraft.entity.ai.goal.LookRandomlyGoal;
                                   ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:31: error: package net.minecraft.entity.ai.goal does not exist import net.minecraft.entity.ai.goal.HurtByTargetGoal;
                                   ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:33: error: cannot find symbol import net.minecraft.entity.EntityType;
                           ^
  symbol:   class EntityType
  location: package net.minecraft.entity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:35: error: cannot find symbol import net.minecraft.entity.EntityClassification;
                           ^
  symbol:   class EntityClassification
  location: package net.minecraft.entity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:37: error: cannot find symbol import net.minecraft.entity.CreatureAttribute;
                           ^
  symbol:   class CreatureAttribute
  location: package net.minecraft.entity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:38: error: package net.minecraft.client.renderer.entity.model does not exist import net.minecraft.client.renderer.entity.model.BipedModel;
                                                 ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:39: error: cannot find symbol import net.minecraft.client.renderer.entity.layers.BipedArmorLayer;
                                                  ^
  symbol:   class BipedArmorLayer
  location: package net.minecraft.client.renderer.entity.layers
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:40: error: cannot find symbol import net.minecraft.client.renderer.entity.BipedRenderer;
                                           ^
  symbol:   class BipedRenderer
  location: package net.minecraft.client.renderer.entity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:52: error: cannot find symbol    public static EntityType entity = null;
                 ^
  symbol:   class EntityType
  location: class DanielEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:69: error: cannot find symbol    public void init(FMLCommonSetupEvent event) {
                    ^
  symbol:   class FMLCommonSetupEvent
  location: class DanielEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:92: error: cannot find symbol    public static class CustomEntity extends MonsterEntity {
                                            ^
  symbol:   class MonsterEntity
  location: class DanielEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:93: error: package FMLPlayMessages does not exist       public CustomEntity(FMLPlayMessages.SpawnEntity packet, World world) {
                                         ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:97: error: cannot find symbol       public CustomEntity(EntityType<CustomEntity> type, World world) {
                          ^
  symbol:   class EntityType
  location: class CustomEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:104: error: cannot find symbol       public IPacket<?> createSpawnPacket() {
             ^
  symbol:   class IPacket
  location: class CustomEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:119: error: cannot find symbol       public CreatureAttribute getCreatureAttribute() {
             ^
  symbol:   class CreatureAttribute
  location: class CustomEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:138: error: cannot find symbol       public boolean processInteract(PlayerEntity sourceentity, Hand hand) {
                                     ^
  symbol:   class PlayerEntity
  location: class CustomEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielEntity.java:138: error: cannot find symbol       public boolean processInteract(PlayerEntity sourceentity, Hand hand) {
                                                                ^
  symbol:   class Hand
  location: class CustomEntity
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:4: error: cannot find symbol import net.minecraftforge.registries.ForgeRegistries;
                                    ^
  symbol:   class ForgeRegistries
  location: package net.minecraftforge.registries
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:5: error: package net.minecraftforge.fml.network does not exist import net.minecraftforge.fml.network.NetworkHooks;
                                     ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:6: error: package net.minecraftforge.fml.network does not exist import net.minecraftforge.fml.network.FMLPlayMessages;
                                     ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:7: error: package net.minecraftforge.fml.javafmlmod does not exist import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:9: error: package net.minecraftforge.eventbus.api does not exist import net.minecraftforge.eventbus.api.SubscribeEvent;
                                      ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:11: error: package net.minecraftforge.api.distmarker does not exist import net.minecraftforge.api.distmarker.OnlyIn;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:12: error: package net.minecraftforge.api.distmarker does not exist import net.minecraftforge.api.distmarker.Dist;
                                        ^
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:17: error: cannot find symbol import net.minecraft.network.IPacket;
                            ^
  symbol:   class IPacket
  location: package net.minecraft.network
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:18: error: cannot find symbol import net.minecraft.item.SpawnEggItem;
                         ^
  symbol:   class SpawnEggItem
  location: package net.minecraft.item
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:21: error: cannot find symbol import net.minecraft.inventory.EquipmentSlotType;
                              ^
  symbol:   class EquipmentSlotType
  location: package net.minecraft.inventory
C:\Users\elsrs\MCreatorWorkspaces\personalizadasmod\build\sources\main\java\net\mcreator\personalizadasmod\entity\DanielmilosEntity.java:22: error: cannot find symbol import net.minecraft.entity.player.PlayerEntity;
                                  ^
  symbol:   class PlayerEntity
  location: package net.minecraft.entity.player

 

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's because you have errors…
Mon, 11/30/2020 - 06:09

It's because you have errors on the code so Mcreator can't compile it, this is because your code need to be fixed.