Mod build error

Started by Conteek on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 07:46, 30. Jun 2024
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!