Incompatible types: BlockGetter cannot be converted to LevelAccessor

Started by BPSMods on

Topic category: Help with modding (Java Edition)

Last seen on 11:57, 14. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Incompatible types: BlockGetter cannot be converted to LevelAccessor

I have a procedure which returns text to special information inside of block/item and it returns block NBT tag. It throws error, saying Incompatible types: BlockGetter cannot be converted to LevelAccessor. Is this possible to fix or it is impossible to get NBT tag for special info text?

Last seen on 11:57, 14. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm it kinda works with item…
Fri, 02/23/2024 - 10:10

nvm it kinda works with item nbt

Last seen on 11:57, 14. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok thank you
Sun, 02/25/2024 - 08:35

ok thank you