#cardinal_direction not working 1.20.81 **RESOLVED**

1 messages · Page 1 of 1 (latest)

upper turret
#
{
    "format_version": "1.20.80",
    "minecraft:block": {
        "description": {
            "identifier": "custom_block:marker_concrete_3",
            "traits": {
                "minecraft:placement_direction": {
                    "enabled_states": ["minecraft:cardinal_direction"],
                    "y_rotation_offset": 180
                }
            },
            "menu_category": {
                "category": "construction",
                "group": "itemGroup.name.concrete",
                "is_hidden_in_commands": false
            }
        },
        "components": {
            "minecraft:destructible_by_mining": false,
            "minecraft:destructible_by_explosion": false,
            "minecraft:light_dampening": 15,
            "minecraft:light_emission": 0
        },
        "permutations": [
            {
                "condition": "q.block_state('minecraft:cardinal_direction') == 'north'",
                "components": {
                    "minecraft:transformation": { "rotation": [0, 0, 0] }
                }
            },
            {
                "condition": "q.block_state('minecraft:cardinal_direction') == 'west'",
                "components": {
                    "minecraft:transformation": { "rotation": [0, 90, 0] }
                }
            },
            {
                "condition": "q.block_state('minecraft:cardinal_direction') == 'south'",
                "components": {
                    "minecraft:transformation": { "rotation": [0, 180, 0] }
                }
            },
            {
                "condition": "q.block_state('minecraft:cardinal_direction') == 'east'",
                "components": {
                    "minecraft:transformation": { "rotation": [0, 270, 0] }
                }
            }
        ]
    }
}
#

**no content log errors

paper tree
upper turret
paper tree
clever prairie
#

no need to create a 16x16x16 model because mojang already provides one

upper turret
#

what the-

#

how it worked

#

how is this even supposed to work if not inserting geometry component makes block by default i remember

#

cardinal_direction not working 1.20.81 RESOLVED