symbol: class level | ERROR

Started by Pyro_os on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
symbol: class level | ERROR

I get an error after updating from 2023.4 to 2024.1

it says symbol: class level

 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task:…
Mon, 04/15/2024 - 12:57

Executing Gradle task: runClient
Build info: MCreator 2024.1.15821, forge-1.20.1, 64-bit, 32581 MB, Windows 10, JVM 17.0.10, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-04-15-14:50:46
Loaded APIs: geckolib

> Task :compileJava FAILED
C:\Users\Anja\MCreatorWorkspaces\subnautica_flow\src\main\java\net\mcreator\subnauticaflow\block\BloodKelpStemBlock.java:96: error: cannot find symbol protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) {
^
symbol: class Block
location: class BloodKelpStemBlock
C:\Users\Anja\MCreatorWorkspaces\subnautica_flow\src\main\java\net\mcreator\subnauticaflow\block\BloodKelpStemBlock.java:128: error: cannot find symbol public List<ItemStack> getDrops(BlockState state, LootParams.Builder builder) {
^
symbol: class List
location: class BloodKelpStemBlock
C:\Users\Anja\MCreatorWorkspaces\subnautica_flow\src\main\java\net\mcreator\subnauticaflow\block\BloodKelpStemBlock.java:136: error: cannot find symbol public void onPlace(BlockState blockstate, Level world, BlockPos pos, BlockState oldState, boolean moving) {
^
symbol: class Level
location: class BloodKelpStemBlock
C:\Users\Anja\MCreatorWorkspaces\subnautica_flow\src\main\java\net\mcreator\subnauticaflow\block\BloodKelpStemBlock.java:142: error: cannot find symbol public void neighborChanged(BlockState blockstate, Level world, BlockPos pos, Block neighborBlock, BlockPos fromPos, boolean moving) {
^

Do you use any plugins? If…
Mon, 04/15/2024 - 17:06

Do you use any plugins? If yes, try removing them one by one until you find the offending one.

If no plugins are used, please open a valid bug report at https://github.com/MCreator/MCreator/issues and include demo workspace for testing that demonstrates the bug you found

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found the thing that made…
Mon, 04/15/2024 - 19:04

I found the thing that made it bug out. When updating to a newer version, you need to disable geckolib(updated version) and enable it bc if not done it will not detect the "old" geckolib models

 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So just disable the API and…
Mon, 04/15/2024 - 19:05

So just disable the API and let it refractor and then enable it and refractor

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
THANK YOU FOR YOUR GENIUS…
Mon, 04/15/2024 - 20:47

THANK YOU FOR YOUR GENIUS PYRO. 

i have tried basically everything and this worked. thank you so much