Main Mod file not compiling properly

Started by Hi... on Tue, 07/07/2020 - 22:08

Topic category: Help with MCreator software

Last seen on 21:35, 1. Aug 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Main Mod file not compiling properly
Wed, 07/08/2020 - 20:18 (edited)

 it was just the version i was using
 

Edited by Hi... on Wed, 07/08/2020 - 20:18
Last seen on 21:35, 1. Aug 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
 symbol:   class Item  …
Tue, 07/07/2020 - 22:09

 symbol:   class Item
  location: class MCreatorEluciingot
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciingot.java:19: error: cannot find symbol
   public void registerModels(ModelRegistryEvent event) {
                              ^
  symbol:   class ModelRegistryEvent
  location: class MCreatorEluciingot
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciingot.java:23: error: cannot find symbol
   public static class ItemCustom extends Item {
                                          ^
  symbol:   class Item
  location: class MCreatorEluciingot
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciingot.java:38: error: cannot find symbol
      public int getMaxItemUseDuration(ItemStack itemstack) {
                                       ^
  symbol:   class ItemStack
  location: class ItemCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciingot.java:43: error: cannot find symbol
      public float getDestroySpeed(ItemStack par1ItemStack, IBlockState par2Block) {
                                   ^
  symbol:   class ItemStack
  location: class ItemCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciingot.java:43: error: cannot find symbol
      public float getDestroySpeed(ItemStack par1ItemStack, IBlockState par2Block) {
                                                            ^
  symbol:   class IBlockState
  location: class ItemCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:6: error: cannot find symbol
   public static final Block block = null;
                       ^
  symbol:   class Block
  location: class MCreatorEluciOre
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:20: error: cannot find symbol
   public void registerModels(ModelRegistryEvent event) {
                              ^
  symbol:   class ModelRegistryEvent
  location: class MCreatorEluciOre
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:24: error: cannot find symbol
   public static class BlockCustom extends Block {
                                           ^
  symbol:   class Block
  location: class MCreatorEluciOre
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:39: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
                                  ^
  symbol:   class IBlockState
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:39: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
                                                     ^
  symbol:   class IBlockAccess
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:39: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
                                                                               ^
  symbol:   class BlockPos
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorEluciOre.java:39: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
             ^
  symbol:   class MapColor
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarBranch.java:6: error: cannot find symbol
   public static final Item block = null;
                       ^
  symbol:   class Item
  location: class MCreatorGigasCedarBranch
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarBranch.java:19: error: cannot find symbol
   public void registerModels(ModelRegistryEvent event) {
                              ^
  symbol:   class ModelRegistryEvent
  location: class MCreatorGigasCedarBranch
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarBranch.java:23: error: cannot find symbol
   public static class ItemCustom extends Item {
                                          ^
  symbol:   class Item
  location: class MCreatorGigasCedarBranch
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarBranch.java:38: error: cannot find symbol
      public int getMaxItemUseDuration(ItemStack itemstack) {
                                       ^
  symbol:   class ItemStack
  location: class ItemCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarBranch.java:43: error: cannot find symbol
      public float getDestroySpeed(ItemStack par1ItemStack, IBlockState par2Block) {
                                   ^
  symbol:   class ItemStack
  location: class ItemCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarBranch.java:43: error: cannot find symbol
      public float getDestroySpeed(ItemStack par1ItemStack, IBlockState par2Block) {
                                                            ^
  symbol:   class IBlockState
  location: class ItemCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:8: error: cannot find symbol
   public static final Block block = null;
                       ^
  symbol:   class Block
  location: class MCreatorGigasCedarWood
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:22: error: cannot find symbol
   public void registerModels(ModelRegistryEvent event) {
                              ^
  symbol:   class ModelRegistryEvent
  location: class MCreatorGigasCedarWood
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:27: error: cannot find symbol
   public void generateWorld(Random random, int chunkX, int chunkZ, World world, int dimID, IChunkGenerator cg, IChunkProvider cp) {
                                                                    ^
  symbol:   class World
  location: class MCreatorGigasCedarWood
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:27: error: cannot find symbol
   public void generateWorld(Random random, int chunkX, int chunkZ, World world, int dimID, IChunkGenerator cg, IChunkProvider cp) {
                                                                                            ^
  symbol:   class IChunkGenerator
  location: class MCreatorGigasCedarWood
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:27: error: cannot find symbol
   public void generateWorld(Random random, int chunkX, int chunkZ, World world, int dimID, IChunkGenerator cg, IChunkProvider cp) {
                                                                                                                ^
  symbol:   class IChunkProvider
  location: class MCreatorGigasCedarWood
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:62: error: cannot find symbol
   public static class BlockCustom extends Block {
                                           ^
  symbol:   class Block
  location: class MCreatorGigasCedarWood
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:77: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
                                  ^
  symbol:   class IBlockState
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:77: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
                                                     ^
  symbol:   class IBlockAccess
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:77: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
                                                                               ^
  symbol:   class BlockPos
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:77: error: cannot find symbol
      public MapColor getMapColor(IBlockState state, IBlockAccess blockAccess, BlockPos pos) {
             ^
  symbol:   class MapColor
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:82: error: cannot find symbol
      public boolean canSustainPlant(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing direction,
                                     ^
  symbol:   class IBlockState
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:82: error: cannot find symbol
      public boolean canSustainPlant(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing direction,
                                                        ^
  symbol:   class IBlockAccess
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:82: error: cannot find symbol
      public boolean canSustainPlant(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing direction,
                                                                            ^
  symbol:   class BlockPos
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorGigasCedarWood.java:82: error: cannot find symbol
      public boolean canSustainPlant(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing direction,
                                                                                          ^
  symbol:   class EnumFacing
  location: class BlockCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorNightSkyBlade.java:9: error: cannot find symbol
   public static final Item block = null;
                       ^
  symbol:   class Item
  location: class MCreatorNightSkyBlade
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorNightSkyBlade.java:28: error: cannot find symbol
   public void registerModels(ModelRegistryEvent event) {
                              ^
  symbol:   class ModelRegistryEvent
  location: class MCreatorNightSkyBlade
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorSAOmaterials.java:8: error: cannot find symbol
   public static CreativeTabs tab = new CreativeTabs("tabsaomaterials") {
                 ^
  symbol:   class CreativeTabs
  location: class MCreatorSAOmaterials
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorSAOswords.java:8: error: cannot find symbol
   public static CreativeTabs tab = new CreativeTabs("tabsaoswords") {
                 ^
  symbol:   class CreativeTabs
  location: class MCreatorSAOswords
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:25: error: cannot find symbol
   static class BiomeGenCustom extends Biome {
                                       ^
  symbol:   class Biome
  location: class MCreatorZuburg
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:20: error: cannot find symbol
   public void init(FMLInitializationEvent event) {
                    ^
  symbol:   class FMLInitializationEvent
  location: class MCreatorZuburg
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:55: error: cannot find symbol
      public int getGrassColorAtPos(BlockPos pos) {
                                    ^
  symbol:   class BlockPos
  location: class BiomeGenCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:61: error: cannot find symbol
      public int getFoliageColorAtPos(BlockPos pos) {
                                      ^
  symbol:   class BlockPos
  location: class BiomeGenCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:72: error: cannot find symbol
      public WorldGenAbstractTree getRandomTreeFeature(Random rand) {
             ^
  symbol:   class WorldGenAbstractTree
  location: class BiomeGenCustom
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:77: error: cannot find symbol
   static class CustomTree extends WorldGenAbstractTree {
                                   ^
  symbol:   class WorldGenAbstractTree
  location: class MCreatorZuburg
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:83: error: cannot find symbol
      public boolean generate(World world, Random rand, BlockPos position) {
                              ^
  symbol:   class World
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:83: error: cannot find symbol
      public boolean generate(World world, Random rand, BlockPos position) {
                                                        ^
  symbol:   class BlockPos
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:153: error: cannot find symbol
      private void addVines(World world, BlockPos pos) {
                            ^
  symbol:   class World
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:153: error: cannot find symbol
      private void addVines(World world, BlockPos pos) {
                                         ^
  symbol:   class BlockPos
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:163: error: cannot find symbol
      protected boolean canGrowInto(Block blockType) {
                                    ^
  symbol:   class Block
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:171: error: cannot find symbol
      protected void setDirtAt(World world, BlockPos pos) {
                               ^
  symbol:   class World
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:171: error: cannot find symbol
      protected void setDirtAt(World world, BlockPos pos) {
                                            ^
  symbol:   class BlockPos
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:177: error: cannot find symbol
      public boolean isReplaceable(World world, BlockPos pos) {
                                   ^
  symbol:   class World
  location: class CustomTree
C:\Users\Benii\MCreatorWorkspaces\sao_mod\build\sources\main\java\net\mcreator\sao_mod\MCreatorZuburg.java:177: error: cannot find symbol
      public boolean isReplaceable(World world, BlockPos pos) {
                                                ^
  symbol:   class BlockPos
  location: class CustomTree
100 errors
: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
BUILD FAILED in 1s
5 actionable tasks: 3 executed, 2 up-to-date
C:\Users\Benii\MCreatorWorkspaces\sao_mod>
Task completed with return code 0 in 1875 milliseconds