#Newer version causing weird lighting issues. Could use some help!

1 messages · Page 1 of 1 (latest)

vestal tinsel
#

I tried to fix it and it doesn't even show up at all. I last updated my addon in 1.20.30, it stopped working sometime in 1.21. I am currently on version 1.21.72

#

This is the block JSON:

  "format_version": "1.20.30",
  "minecraft:block": {
    "description": {
      "identifier": "cav:polished_chert",
      "menu_category": {
        "category": "nature",
        "group": "itemGroup.name.stone"
      }
    },
    "components": {
      "minecraft:collision_box": true,
      "minecraft:selection_box": true,
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 0.6
      },
      "tag:stone": {},
      "tag:diamond_pick_diggable": {},
      "tag:gold_pick_diggable": {},
      "tag:iron_pick_diggable": {},
      "tag:stone_pick_diggable": {},
      "tag:wood_pick_diggable": {},
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 30
      },
      "minecraft:material_instances": {
        "*": {
          "texture": "polished_chert",
          "render_method": "opaque"
        }
      },
      "minecraft:map_color": "#8c8b87",
      "minecraft:loot": "loot_tables/blocks/polished_chert.json"
    }
  }
} ```
#

This is what I tried to do, but it stopped working:

    "format_version": "1.21.70",
    "minecraft:block": {
        "description": {
            "identifier": "cav:amphibolite_bricks",
            "menu_category": {
                "category": "construction",
                "group": "itemGroup.name.stoneBrick"
            }
        },
        "components": {
            "minecraft:light_dampening": 15,
            "minecraft:collision_box": true,
            "minecraft:selection_box": true,
            "minecraft:destructible_by_mining": {
                "seconds_to_destroy": 0.6
            },
            "tag:stone": {},
            "tag:diamond_pick_diggable": {},
            "tag:gold_pick_diggable": {},
            "tag:iron_pick_diggable": {},
            "tag:stone_pick_diggable": {},
            "tag:wood_pick_diggable": {},
            "minecraft:destructible_by_explosion": {
                "explosion_resistance": 30
            },
            "minecraft:material_instances": {
                "*": {
                    "texture": "amphibolite_bricks",
                    "render_method": "opaque"
                }
            },
            "minecraft:map_color": "#4c4b4b",
            "minecraft:loot": "loot_tables/blocks/amphibolite_bricks.json"
        }
    }
}```
true pollen
#

Use minecraft:geometry inside the components

"components": {
    "minecraft:geometry": "minecraft:geometry.full_block"
}
charred aspen
#

iirc you could also use block.json to assign your texture, that way you wouldnt need to have a geometry

vestal tinsel
vestal tinsel
whole yacht
true pollen
whole yacht
#

Like just between lantern and normal block