Posted August 23, 20223 yr 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 Edited August 23, 20223 yr by JustBomb
August 23, 20223 yr Author 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
August 24, 20223 yr Why would you need that? You just to need make your repository public in the "change visibility" settings. Then post a link to it. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
August 24, 20223 yr That's not how GitHub works. Upload your Project via a Git client (recommend is Github Desktop) and not via the files upload. And not in a .zip file.
August 24, 20223 yr I'm not be able to reproduce the error in Eclipse. I suspect you didn't setup the Project properly before importing it into your IDE. Check out this page to see how you should setup your Project.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.