Jump to content

JustBomb

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by JustBomb

  1. I'm not sure what I did but now it is only giving me 4 errors:

     

    > Task :compileJava FAILED
    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:4: error: cannot find symbol
    import net.minecraft.client.Minecraft;
                               ^
      symbol:   class Minecraft
      location: package net.minecraft.client
    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:34: error: cannot access Block
            LOGGER.info("DIRT BLOCK >> {}", ForgeRegistries.BLOCKS.getKey(Blocks.DIRT));
                                                                                ^
      class file for net.minecraft.world.level.block.Block not found
    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:34: error: cannot access IForgeRegistry
            LOGGER.info("DIRT BLOCK >> {}", ForgeRegistries.BLOCKS.getKey(Blocks.DIRT));
                                                                  ^
      class file for net.minecraftforge.registries.IForgeRegistry not found
    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:47: error: cannot find symbol
                LOGGER.info("MINECRAFT NAME >> {}", Minecraft.getInstance().getUser().getName());
                                                    ^
      symbol:   variable Minecraft
      location: class ClientModEvents
    4 errors

  2. D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:4: error: cannot find symbol
    import net.minecraft.client.Minecraft;
                               ^
      symbol:   class Minecraft
      location: package net.minecraft.client

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:5: error: cannot find symbol
    import net.minecraft.world.item.CreativeModeTab;
                                   ^
      symbol:   class CreativeModeTab
      location: package net.minecraft.world.item

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:6: error: cannot find symbol
    import net.minecraft.world.item.Item;
                                   ^
      symbol:   class Item
      location: package net.minecraft.world.item

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:7: error: cannot find symbol
    import net.minecraft.world.level.block.Block;
                                          ^
      symbol:   class Block
      location: package net.minecraft.world.level.block

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:9: error: cannot find symbol
    import net.minecraft.world.level.block.state.BlockBehaviour;
                                                ^
      symbol:   class BlockBehaviour
      location: package net.minecraft.world.level.block.state

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:10: error: cannot find symbol
    import net.minecraft.world.level.material.Material;
                                             ^
      symbol:   class Material
      location: package net.minecraft.world.level.material

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:40: error: cannot access Block
            LOGGER.info("DIRT BLOCK >> {}", ForgeRegistries.BLOCKS.getKey(Blocks.DIRT));
                                                                                ^
      class file for net.minecraft.world.level.block.Block not found

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:40: error: cannot access IForgeRegistry
            LOGGER.info("DIRT BLOCK >> {}", ForgeRegistries.BLOCKS.getKey(Blocks.DIRT));
                                                                  ^
      class file for net.minecraftforge.registries.IForgeRegistry not found

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

    D:\Minecraft Custom Mods\UpgradedMC1\src\main\java\net\nick\upgradedminecraft\UpgradedMinecraft.java:53: error: cannot find symbol
                LOGGER.info("MINECRAFT NAME >> {}", Minecraft.getInstance().getUser().getName());
                                                    ^
      symbol:   variable Minecraft
      location: class ClientModEvents

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.