How do I check the block state of an existing block?

Started by Plantt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I check the block state of an existing block?

Hi, I'm attempting to create a block that checks if there is a furnace below it as well as if the furnace is active. But after some searching on the Minecraft wiki I found out that whether a furnace is lit is not stored in the NBT tags, but rather in block states. How would I check the block state of a furnace to see if it's active?