My new mod features don't show up on the mod!

Started by Blocky_Beggar on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My new mod features don't show up on the mod!

I made a mod and it was working fine until I added another part to the mod that has a custom model and a few other things but they don't show up on the mod when I put it on Minecraft. I think it has something to do with the gradle because were it says "Gradle idle" instead of a gray square next to it, it has a red square. Also in the console it has errors about the Gradle. Ill send the errors if you need them but at the end of the errors it says "TASK EXECUTION FAILED". Can you tell me how to fix this?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What's the Gradle, take a…
Thu, 05/27/2021 - 23:46

What's the Gradle, take a screenshot or pastebin.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing      Gradle task:…
Fri, 05/28/2021 - 11:14

Executing 
    Gradle task: build

Build 
    info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 8192 MB, Mac OS X, JVM 
    1.8.0_275, JAVA_HOME: 
    /Users/corymcabee/Desktop/MCreator.app/Contents/MacOS/jdk/Contents/Home/jre

BUILD 
    FAILED

Task 
    completed in 4 minutes and 24 seconds


    Task :compileJava FAILED

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:26: 
    error: cannot find symbol 
 
      public final List<Supplier<Block>> blocks = new ArrayList<>();

 
                                 ^

 
     symbol:   class Block

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:27: 
    error: cannot find symbol 
 
      public final List<Supplier<Item>> items = new ArrayList<>();

 
                                 ^

 
     symbol:   class Item

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:28: 
    error: cannot find symbol 
 
      public final List<Supplier<EntityType<?>>> entities = new ArrayList<>();

 
                                 ^

 
     symbol:   class EntityType

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:29: 
    error: cannot find symbol 
 
      public final List<Supplier<Enchantment>> enchantments = new 
    ArrayList<>();

 
                                 ^

 
     symbol:   class Enchantment

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:30: 
    error: cannot find symbol 
 
      public static Map<ResourceLocation, net.minecraft.util.SoundEvent> 
    sounds = new HashMap<>();

 
                        ^

 
     symbol:   class ResourceLocation

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:49: 
    error: package RegistryEvent does not exist 
 
      public void 
    registerSounds(RegistryEvent.Register<net.minecraft.util.SoundEvent> 
    event) {

 
                                              ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:54: 
    error: cannot find symbol 
 
      public <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, 
    PacketBuffer> encoder, Function<PacketBuffer, T> decoder,

 
                                                                            ^

 
     symbol:   class PacketBuffer

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:54: 
    error: cannot find symbol 
 
      public <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, 
    PacketBuffer> encoder, Function<PacketBuffer, T> decoder,

 
                                                                               
                                 ^

 
     symbol:   class PacketBuffer

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:55: 
    error: package NetworkEvent does not exist 
 
            BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {

 
                                               ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:64: 
    error: cannot find symbol 
 
      public List<Supplier<Block>> getBlocks() {

 
                           ^

 
     symbol:   class Block

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:68: 
    error: cannot find symbol 
 
      public List<Supplier<Item>> getItems() {

 
                           ^

 
     symbol:   class Item

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:72: 
    error: cannot find symbol 
 
      public List<Supplier<EntityType<?>>> getEntities() {

 
                           ^

 
     symbol:   class EntityType

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:76: 
    error: cannot find symbol 
 
      public List<Supplier<Enchantment>> getEnchantments() {

 
                           ^

 
     symbol:   class Enchantment

 
     location: class ModModElements

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:93: 
    error: cannot find symbol 
 
         public void init(FMLCommonSetupEvent event) {

 
                          ^

 
     symbol:   class FMLCommonSetupEvent

 
     location: class ModElement

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:96: 
    error: cannot find symbol 
 
         public void serverLoad(FMLServerStartingEvent event) {

 
                                ^

 
     symbol:   class FMLServerStartingEvent

 
     location: class ModElement

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModModElements.java:100: 
    error: cannot find symbol 
 
         public void clientLoad(FMLClientSetupEvent event) {

 
                                ^

 
     symbol:   class FMLClientSetupEvent

 
     location: class ModElement

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:25: 
    error: cannot find symbol 
@Mod("mod")

 
    ^

 
     symbol: class Mod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:29: 
    error: cannot find symbol 
 
      public static final SimpleChannel PACKET_HANDLER = 
    NetworkRegistry.newSimpleChannel(new ResourceLocation("mod", "mod"), () -> 
    PROTOCOL_VERSION,

 
                          ^

 
     symbol:   class SimpleChannel

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:40: 
    error: cannot find symbol 
 
      private void init(FMLCommonSetupEvent event) {

 
                        ^

 
     symbol:   class FMLCommonSetupEvent

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:44: 
    error: cannot find symbol 
 
      public void clientLoad(FMLClientSetupEvent event) {

 
                             ^

 
     symbol:   class FMLClientSetupEvent

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:49: 
    error: package RegistryEvent does not exist 
 
      public void registerBlocks(RegistryEvent.Register<Block> event) {

 
                                              ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:49: 
    error: cannot find symbol 
 
      public void registerBlocks(RegistryEvent.Register<Block> event) {

 
                                                        ^

 
     symbol:   class Block

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:54: 
    error: package RegistryEvent does not exist 
 
      public void registerItems(RegistryEvent.Register<Item> event) {

 
                                             ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:54: 
    error: cannot find symbol 
 
      public void registerItems(RegistryEvent.Register<Item> event) {

 
                                                       ^

 
     symbol:   class Item

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:59: 
    error: package RegistryEvent does not exist 
 
      public void registerEntities(RegistryEvent.Register<EntityType<?>> 
    event) {

 
                                                ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:59: 
    error: cannot find symbol 
 
      public void registerEntities(RegistryEvent.Register<EntityType<?>> 
    event) {

 
                                                          ^

 
     symbol:   class EntityType

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:64: 
    error: package RegistryEvent does not exist 
 
      public void registerEnchantments(RegistryEvent.Register<Enchantment> 
    event) {

 
                                                    ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:64: 
    error: cannot find symbol 
 
      public void registerEnchantments(RegistryEvent.Register<Enchantment> 
    event) {

 
                                                              ^

 
     symbol:   class Enchantment

 
     location: class ModMod

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:69: 
    error: package RegistryEvent does not exist 
 
      public void 
    registerSounds(RegistryEvent.Register<net.minecraft.util.SoundEvent> 
    event) {

 
                                              ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/ModMod.java:79: 
    error: cannot find symbol 
 
         public void serverLoad(FMLServerStartingEvent event) {

 
                                ^

 
     symbol:   class FMLServerStartingEvent

 
     location: class ModModFMLBusEvents

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:5: 
    error: cannot find symbol 
@OnlyIn(Dist.CLIENT)

 
    ^

 
     symbol: class OnlyIn

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:10: 
    error: cannot find symbol 
 
         public void registerModels(ModelRegistryEvent event) {

 
                                    ^

 
     symbol:   class ModelRegistryEvent

 
     location: class ModelRegisterHandler

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:27: 
    error: cannot find symbol 
 
      public static class ModelLavender_Mob extends EntityModel<Entity> {

 
                                                    ^

 
     symbol:   class EntityModel

 
     location: class LavenderBugRenderer

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:27: 
    error: cannot find symbol 
 
      public static class ModelLavender_Mob extends EntityModel<Entity> {

 
                                                                ^

 
     symbol:   class Entity

 
     location: class LavenderBugRenderer

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:28: 
    error: cannot find symbol 
 
         private final ModelRenderer Untena;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:29: 
    error: cannot find symbol 
 
         private final ModelRenderer cube_r1;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:30: 
    error: cannot find symbol 
 
         private final ModelRenderer Body;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:31: 
    error: cannot find symbol 
 
         private final ModelRenderer FrontRight;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:32: 
    error: cannot find symbol 
 
         private final ModelRenderer FrontLeft;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:33: 
    error: cannot find symbol 
 
         private final ModelRenderer BackRight;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:34: 
    error: cannot find symbol 
 
         private final ModelRenderer BackLeft;

 
                       ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:64: 
    error: cannot find symbol 
 
         public void render(MatrixStack matrixStack, IVertexBuilder buffer, 
    int packedLight, int packedOverlay, float red, float green, float blue,

 
                            ^

 
     symbol:   class MatrixStack

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:64: 
    error: cannot find symbol 
 
         public void render(MatrixStack matrixStack, IVertexBuilder buffer, 
    int packedLight, int packedOverlay, float red, float green, float blue,

 
                                                     ^

 
     symbol:   class IVertexBuilder

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:74: 
    error: cannot find symbol 
 
         public void setRotationAngle(ModelRenderer modelRenderer, float x, 
    float y, float z) {

 
                                      ^

 
     symbol:   class ModelRenderer

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderBugRenderer.java:80: 
    error: cannot find symbol 
 
         public void setRotationAngles(Entity e, float f, float f1, float f2, 
    float f3, float f4) {

 
                                       ^

 
     symbol:   class Entity

 
     location: class ModelLavender_Mob

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderGunRenderer.java:5: 
    error: cannot find symbol 
@OnlyIn(Dist.CLIENT)

 
    ^

 
     symbol: class OnlyIn

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/renderer/LavenderGunRenderer.java:10: 
    error: cannot find symbol 
 
         public void registerModels(ModelRegistryEvent event) {

 
                                    ^

 
     symbol:   class ModelRegistryEvent

 
     location: class ModelRegisterHandler

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:13: 
    error: cannot find symbol 
 
      public static EntityType entity = 
    (EntityType.Builder.<CustomEntity>create(CustomEntity::new, 
    EntityClassification.AMBIENT)

 
                    ^

 
     symbol:   class EntityType

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:16: 
    error: cannot find symbol 
 
      public static final EntityType arrow = 
    (EntityType.Builder.<ArrowCustomEntity>create(ArrowCustomEntity::new, 
    EntityClassification.MISC)

 
                          ^

 
     symbol:   class EntityType

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:35: 
    error: cannot find symbol 
 
      public void addFeatureToBiomes(BiomeLoadingEvent event) {

 
                                     ^

 
     symbol:   class BiomeLoadingEvent

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:40: 
    error: cannot find symbol 
 
      public void init(FMLCommonSetupEvent event) {

 
                       ^

 
     symbol:   class FMLCommonSetupEvent

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:46: 
    error: cannot find symbol 
 
         public void onEntityAttributeCreation(EntityAttributeCreationEvent 
    event) {

 
                                               ^

 
     symbol:   class EntityAttributeCreationEvent

 
     location: class EntityAttributesRegisterHandler

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:56: 
    error: cannot find symbol 
 
      public static class CustomEntity extends MonsterEntity implements 
    IRangedAttackMob {

 
                                               ^

 
     symbol:   class MonsterEntity

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:56: 
    error: cannot find symbol 
 
      public static class CustomEntity extends MonsterEntity implements 
    IRangedAttackMob {

 
                                                                        ^

 
     symbol:   class IRangedAttackMob

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:57: 
    error: package FMLPlayMessages does not exist 
 
         public CustomEntity(FMLPlayMessages.SpawnEntity packet, World world) {

 
                                            ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:57: 
    error: cannot find symbol 
 
         public CustomEntity(FMLPlayMessages.SpawnEntity packet, World world) {

 
                                                                 ^

 
     symbol:   class World

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:61: 
    error: cannot find symbol 
 
         public CustomEntity(EntityType<CustomEntity> type, World world) {

 
                             ^

 
     symbol:   class EntityType

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:61: 
    error: cannot find symbol 
 
         public CustomEntity(EntityType<CustomEntity> type, World world) {

 
                                                            ^

 
     symbol:   class World

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:68: 
    error: cannot find symbol 
 
         public IPacket<?> createSpawnPacket() {

 
                ^

 
     symbol:   class IPacket

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:89: 
    error: cannot find symbol 
 
         public CreatureAttribute getCreatureAttribute() {

 
                ^

 
     symbol:   class CreatureAttribute

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:94: 
    error: cannot find symbol 
 
         public net.minecraft.util.SoundEvent getHurtSound(DamageSource ds) {

 
                                                           ^

 
     symbol:   class DamageSource

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:104: 
    error: cannot find symbol 
 
         public boolean attackEntityFrom(DamageSource source, float amount) {

 
                                         ^

 
     symbol:   class DamageSource

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:112: 
    error: cannot find symbol 
 
         public void attackEntityWithRangedAttack(LivingEntity target, float 
    flval) {

 
                                                  ^

 
     symbol:   class LivingEntity

 
     location: class CustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:123: 
    error: cannot find symbol 
 
      private static class ArrowCustomEntity extends AbstractArrowEntity 
    implements IRendersAsItem {

 
                                                     ^

 
     symbol:   class AbstractArrowEntity

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:123: 
    error: cannot find symbol 
 
      private static class ArrowCustomEntity extends AbstractArrowEntity 
    implements IRendersAsItem {

 
                                                                               
         ^

 
     symbol:   class IRendersAsItem

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:122: 
    error: cannot find symbol 
 
      @OnlyIn(value = Dist.CLIENT, _interface = IRendersAsItem.class)

 
       ^

 
     symbol:   class OnlyIn

 
     location: class LavenderBugEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:124: 
    error: package FMLPlayMessages does not exist 
 
         public ArrowCustomEntity(FMLPlayMessages.SpawnEntity packet, World 
    world) {

 
                                                 ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:124: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(FMLPlayMessages.SpawnEntity packet, World 
    world) {

 
                                                                      ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:128: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, World world) {

 
                                  ^

 
     symbol:   class EntityType

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:128: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, World world) {

 
                                                                               
     ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:132: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, double x, double y, double z, World world) {

 
                                  ^

 
     symbol:   class EntityType

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:132: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, double x, double y, double z, World world) {

 
                                                                               
                                   ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:136: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, LivingEntity entity, World world) {

 
                                  ^

 
     symbol:   class EntityType

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:136: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, LivingEntity entity, World world) {

 
                                                                               
     ^

 
     symbol:   class LivingEntity

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:136: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, LivingEntity entity, World world) {

 
                                                                               
                          ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:141: 
    error: cannot find symbol 
 
         public IPacket<?> createSpawnPacket() {

 
                ^

 
     symbol:   class IPacket

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:147: 
    error: cannot find symbol 
 
         public ItemStack getItem() {

 
                ^

 
     symbol:   class ItemStack

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/entity/LavenderBugEntity.java:152: 
    error: cannot find symbol 
 
         protected ItemStack getArrowStack() {

 
                   ^

 
     symbol:   class ItemStack

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/world/biome/LavenderFieldBiome.java:10: 
    error: cannot find symbol 
 
      public static Biome biome;

 
                    ^

 
     symbol:   class Biome

 
     location: class LavenderFieldBiome

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/world/biome/LavenderFieldBiome.java:42: 
    error: cannot find symbol 
 
      public void init(FMLCommonSetupEvent event) {

 
                       ^

 
     symbol:   class FMLCommonSetupEvent

 
     location: class LavenderFieldBiome

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/world/biome/LavenderFieldBiome.java:17: 
    error: package RegistryEvent does not exist 
 
         public void registerBiomes(RegistryEvent.Register<Biome> event) {

 
                                                 ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/world/biome/LavenderFieldBiome.java:17: 
    error: cannot find symbol 
 
         public void registerBiomes(RegistryEvent.Register<Biome> event) {

 
                                                           ^

 
     symbol:   class Biome

 
     location: class BiomeRegisterHandler

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:17: 
    error: cannot find symbol 
 
      public static final Item block = null;

 
                          ^

 
     symbol:   class Item

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:18: 
    error: cannot find symbol 
 
      public static final EntityType arrow = 
    (EntityType.Builder.<ArrowCustomEntity>create(ArrowCustomEntity::new, 
    EntityClassification.MISC)

 
                          ^

 
     symbol:   class EntityType

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:162: 
    error: cannot find symbol 
 
      public static ArrowCustomEntity shoot(World world, LivingEntity entity, 
    Random random, float power, double damage, int knockback) {

 
                                            ^

 
     symbol:   class World

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:162: 
    error: cannot find symbol 
 
      public static ArrowCustomEntity shoot(World world, LivingEntity entity, 
    Random random, float power, double damage, int knockback) {

 
                                                         ^

 
     symbol:   class LivingEntity

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:100: 
    error: cannot find symbol 
 
      public static class ArrowCustomEntity extends AbstractArrowEntity 
    implements IRendersAsItem {

 
                                                    ^

 
     symbol:   class AbstractArrowEntity

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:100: 
    error: cannot find symbol 
 
      public static class ArrowCustomEntity extends AbstractArrowEntity 
    implements IRendersAsItem {

 
                                                                               
        ^

 
     symbol:   class IRendersAsItem

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:99: 
    error: cannot find symbol 
 
      @OnlyIn(value = Dist.CLIENT, _interface = IRendersAsItem.class)

 
       ^

 
     symbol:   class OnlyIn

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:179: 
    error: cannot find symbol 
 
      public static ArrowCustomEntity shoot(LivingEntity entity, LivingEntity 
    target) {

 
                                            ^

 
     symbol:   class LivingEntity

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:179: 
    error: cannot find symbol 
 
      public static ArrowCustomEntity shoot(LivingEntity entity, LivingEntity 
    target) {

 
                                                                 ^

 
     symbol:   class LivingEntity

 
     location: class LavenderGunItem

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:101: 
    error: package FMLPlayMessages does not exist 
 
         public ArrowCustomEntity(FMLPlayMessages.SpawnEntity packet, World 
    world) {

 
                                                 ^

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:101: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(FMLPlayMessages.SpawnEntity packet, World 
    world) {

 
                                                                      ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:105: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, World world) {

 
                                  ^

 
     symbol:   class EntityType

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:105: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, World world) {

 
                                                                               
     ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:109: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, double x, double y, double z, World world) {

 
                                  ^

 
     symbol:   class EntityType

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:109: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, double x, double y, double z, World world) {

 
                                                                               
                                   ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:113: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, LivingEntity entity, World world) {

 
                                  ^

 
     symbol:   class EntityType

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:113: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, LivingEntity entity, World world) {

 
                                                                               
     ^

 
     symbol:   class LivingEntity

 
     location: class ArrowCustomEntity

/Users/corymcabee/MCreatorWorkspaces/mod/src/main/java/net/mcreator/mod/item/LavenderGunItem.java:113: 
    error: cannot find symbol 
 
         public ArrowCustomEntity(EntityType<? extends ArrowCustomEntity> 
    type, LivingEntity entity, World world) {

 
                                                                               
                          ^

 
     symbol:   class World

 
     location: class ArrowCustomEntity

100 
    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 3s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 10 seconds

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It still says gradle caches…
Fri, 05/28/2021 - 13:26

It still says gradle caches got corrupted even when I deleted the folder. How do I uncorrupt the gradle caches?

In some cases, Gradle caches…
Sat, 05/29/2021 - 07:40

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.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what would my user home…
Sun, 05/30/2021 - 13:03

what would my user home folder be?

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found it. The thing you…
Sun, 05/30/2021 - 13:43

I found it. The thing you sent that I should delete didn't come up but I do have a folder in my project folder called gradle. Do I delete that?