Mod build error

Started by Conteek on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mod build error

When I try to build a mod, an error appears 

public int getLightBlock(BlockState state, BlockGetter worldIn, BlockPos pos) {
^
symbol: class BlockState
location: class <class>

The console returns this error to each mod file 

Please help me solve this error!