Skip to content

Commit

Permalink
fix magic sapling texture
Browse files Browse the repository at this point in the history
close #195
  • Loading branch information
Cheaterpaul committed Oct 13, 2024
1 parent 55850ff commit fcfb638
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"variants": {
"": {
"model": "werewolves:block/jacaranda_sapling"
"model": "werewolves:block/magic_sapling"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cross",
"render_type": "minecraft:cutout",
"textures": {
"cross": "werewolves:block/magic_sapling"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private void createWoodStates() {
simpleBlock(ModBlocks.JACARANDA_SAPLING.get(), models().cross("jacaranda_sapling", modLoc("block/jacaranda_sapling")).renderType(CUTOUT));
simpleBlock(ModBlocks.JACARANDA_LEAVES.get(), models().withExistingParent(modId("block/jacaranda_leaves"), "minecraft:block/leaves").texture("all", modId("block/jacaranda_leaves")).renderType(CUTOUT));

simpleBlock(ModBlocks.MAGIC_SAPLING.get(), models().cross("jacaranda_sapling", modLoc("block/jacaranda_sapling")).renderType(CUTOUT));
simpleBlock(ModBlocks.MAGIC_SAPLING.get(), models().cross("magic_sapling", modLoc("block/magic_sapling")).renderType(CUTOUT));
simpleBlock(ModBlocks.MAGIC_LEAVES.get(), models().withExistingParent(modId("block/magic_leaves"), "minecraft:block/leaves").texture("all", modId("block/magic_leaves")).renderType(CUTOUT));

stairsBlock(ModBlocks.JACARANDA_STAIRS.get(), blockTexture(ModBlocks.JACARANDA_PLANKS.get()));
Expand Down

0 comments on commit fcfb638

Please sign in to comment.