#Newer version causing weird lighting issues. Could use some help!
1 messages · Page 1 of 1 (latest)
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"
}
}
}```
Use minecraft:geometry inside the components
"components": {
"minecraft:geometry": "minecraft:geometry.full_block"
}
iirc you could also use block.json to assign your texture, that way you wouldnt need to have a geometry
Thank you! I will try that
I actually am doing both. I added that to the individual block files to fix a bug caused in 1.19, can’t remember what it was though. I started this in 1.16, so I have to fix something every year or two :P
What are all the geometry things available to use
Only full_block and cross
And how can I give a block a custom hit box
*Collision box
Like just between lantern and normal block