why cant it recognize getItem

Started by Christianfirecup1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why cant it recognize getItem

This is my code it keeps giving me compile errors 

I highlighted the error line

 

https://pastebin.com/BCZGQc4y

Any help would be amazing