[Bug] Block Overlay not affecting all surrounding blocks
MetalKnight56 opened this issue ยท 2 comments
Version Info
- Minecraft: 1.20.1
- Fusion: 1.1.1
- Forge: 47.3.12
Are you using OptiFine: No
Description of the Bug
The issue itself consists of block overlays not affecting all targeted blocks that are surrounding it. So for example, the overlay of a dirt block on top of stone blocks, only affects a few specific stone blocks that surround the dirt block.
Look at the image for example:

As you may note, the blocks without colors on top of them are not affected by the overlay as i expected.
This is the texture file i made to be able to reference each block side:

The red blob is working just fine as it's not supposed to be affected by any overlays, but there are a few random blocks that are just not affected at all, which's really odd
Steps to Reproduce
{
"fusion": {
"type": "connecting",
"layout": "full",
"render_type": "cutout"
}
}- add the textures to the texture atlas
- add this to the stone model json
{
"loader": "fusion:model",
"type": "connecting",
"parent": "block/block",
"textures": {
"particle": "#all",
"all": "minecraft:block/stone",
"dirt_overlay": "minecraft:block/ct/dirt_overlay"
},
"connections": {
"dirt_overlay": [
{
"type": "match_block",
"block": "minecraft:dirt"
}
]
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "texture": "#all", "cullface": "down" },
"up": { "texture": "#all", "cullface": "up" },
"north": { "texture": "#all", "cullface": "north" },
"south": { "texture": "#all", "cullface": "south" },
"west": { "texture": "#all", "cullface": "west" },
"east": { "texture": "#all", "cullface": "east" }
}
},
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#dirt_overlay", "cullface": "up" }
}
}
]
}Screenshots
As discussed on Discord, the blockstate file for stone uses two models, minecraft:block/stone and minecraft:block/stone_mirrored, which are randomly rotated 180 degrees.
{
"variants": {
"": [
{
"model": "minecraft:block/stone"
},
{
"model": "minecraft:block/stone_mirrored"
},
{
"model": "minecraft:block/stone",
"y": 180
},
{
"model": "minecraft:block/stone_mirrored",
"y": 180
}
]
}
}As only the minecraft:block/stone model was changed and not minecraft:block/stone_mirrored, only those stone blocks which randomly got assigned the minecraft:block/stone model showed the overlay.



