BlockType conditions not working well adding blockstates of slabs
Summary
I'm creating a furniture wich one is placed by means of a skill, which has the condition below, which allows me to set the roof correctly.
ceiling_summon_slab:
TargetConditions:
-blocktype{type=jungle_slab;oak_slab;spruce_slab;birch_slab;acacia_slab;dark_oak_slab;mangrove_slab;CHERRY_SLAB[type=Top];bamboo_slab;bamboo_mosaic_slab;crimson_slab;warped_slab;stone_slab;cobblestone_slab;mossy_cobblestone_slab;smooth_stone_slab;stone_brick_slab;mossy_stone_brick_slab;granite_slab;polished_granite_slab;diorite_slab;polished_diorite_slab;andesite_slab;polished_andesite_slab;cobbled_deepslate_slab;polished_deepslate_slab;deepslate_brick_slab;deepslate_tile_slab;brick_slab;mud_brick_slab;sandstone_slab;smooth_sandstone_slab;cut_sandstone_slab;red_sandstone_slab;smooth_red_sandstone_slab;cut_red_sandstone_slab;prismarine_slab;prismarine_brick_slab;dark_prismarine_slab;nether_brick_slab;red_nether_brick_slab;blackstone_slab;polished_blackstone_slab;polished_blackstone_brick_slab;end_stone_brick_slab;purpur_slab;quartz_slab;smooth_quartz_slab;cut_copper_slab;exposed_cut_copper_slab;weathered_cut_copper_slab;oxidized_cut_copper_slab;waxed_cut_copper_slab;waxed_exposed_cut_copper_slab;waxed_weathered_cut_copper_slab;waxed_oxidized_cut_copper_slab} orElseCast ceiling_summon_block
This skill is first of all executed by the player through this skill:
ceiling_summon_pre:
Skills:
- skill{s=ceiling_summon_slab} @TargetBlock{d=5;it=false}
MythicMobs doesn't support detecting blockstates of slabs. I am trying to make a condition that detects if it is a slab[type=top]
or slab[type=bottom]
and it detects it as if it did not put any type of slab
I am trying to configure the perfect height for each type of furniture, for example:
Steps to reproduce
Just making the same config like I've put.
Current behavior
Basically it's not detecting the types of slabs, like: top,bottom,double
Intended correct behavior
Detect any type of slab
Server log file
I don't get any error on console.
Proposed fixes
Add support for slab types.