Checking for a specific subtype of block

Started by RebelDroideka on

Topic category: Help with MCreator software

Active 8 months ago
Joined Jul 2015
Points:
788

User statistics:

  • Modifications: 3
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
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
Active 3 months ago
Joined Apr 2014
Points:
1222

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 656
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

Active 8 months ago
Joined Jul 2015
Points:
788

User statistics:

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

How, exaclty, would I do that?

Active 2 months ago
Joined Dec 2021
Points:
430

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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