Checking for a specific subtype of block

Started by RebelDroideka on

Topic category: Help with MCreator software

Last seen on 06:13, 17. Jul 2020
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking for a specific subtype of block
Tue, 02/12/2019 - 08:17 (edited)

Please note I am NOT asking how to check what type of block is present at a location, as this topic already addressed.

I am asking how to, for example, test for a specific type of log or wool.

Neither "=" nor "==" work for this purpose. Both trigger on ALL subtypes of "log".

On that note, what is the difference between the two in regards to how MCreator treats them?

Edited by RebelDroideka on Tue, 02/12/2019 - 08:17
Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can check for Log…
Sat, 02/16/2019 - 18:16

you can check for Log Metadata which includes all Log blocks or check for specific log type
all blocks that uses metadata can be used on all or specific one

example blocks:
Stone
Log
Planks
Glass
Wool
Skulls
Sapplings
Plants

Last seen on 06:13, 17. Jul 2020
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How, exaclty, would I do…
Sat, 02/16/2019 - 19:04

How, exaclty, would I do that?

Last seen on 20:36, 27. Mar 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can look for specific…
Wed, 03/27/2024 - 17:23

You can look for specific block tags. Using the "Is [   ] tagged in block tags as [   ]" block, you can check for block types like wool, planks, logs, stone, etc... Also, you can find a list of all the default block tags here:

https://mcreator.net/wiki/minecraft-block-tags-list