WIP: Made cross emissive block use cutout render type to fix transparency.
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "minecraft:block/cross_emissive",
|
"parent": "minecraft:block/cross_emissive",
|
||||||
|
"render_type": "minecraft:cutout",
|
||||||
"textures": {
|
"textures": {
|
||||||
"cross": "firefly_bush_backport:block/firefly_bush",
|
"cross": "firefly_bush_backport:block/firefly_bush",
|
||||||
"cross_emissive": "firefly_bush_backport:block/firefly_bush_emissive"
|
"cross_emissive": "firefly_bush_backport:block/firefly_bush_emissive"
|
||||||
|
@ -26,6 +26,7 @@ public class ModBlockStateProvider extends BlockStateProvider {
|
|||||||
.withExistingParent(name, "block/cross_emissive")
|
.withExistingParent(name, "block/cross_emissive")
|
||||||
.texture("cross", "block/" + name)
|
.texture("cross", "block/" + name)
|
||||||
.texture("cross_emissive", "block/" + name + "_emissive")
|
.texture("cross_emissive", "block/" + name + "_emissive")
|
||||||
|
.renderType("cutout")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user