mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Fix wand bind mode model
This commit is contained in:
1 parent
ec55bbb8ea
commit
d51ab7262a
2 files changed
+10
-2
No files matched your search
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:item/twig_wand_bind"
|
||||
"layer0": "botania:item/twig_wand",
|
||||
"layer1": "botania:item/twig_wand_top",
|
||||
"layer2": "botania:item/twig_wand_bottom",
|
||||
"layer3": "botania:item/twig_wand_bind"
|
||||
}
|
||||
}
|
||||
@@ -261,12 +261,17 @@ public class ItemModelProvider extends net.minecraftforge.client.model.generator
|
||||
.model(generatedItem(name(tornadoRod) + "_active")).end();
|
||||
items.remove(tornadoRod);
|
||||
|
||||
ModelFile twigwandBind = withExistingParent(name(twigWand) + "_bind", GENERATED)
|
||||
.texture("layer0", prefix("item/" + name(twigWand)))
|
||||
.texture("layer1", prefix("item/" + name(twigWand) + "_top"))
|
||||
.texture("layer2", prefix("item/" + name(twigWand) + "_bottom"))
|
||||
.texture("layer3", prefix("item/" + name(twigWand) + "_bind"));
|
||||
generatedItem(twigWand)
|
||||
.texture("layer1", prefix("item/" + name(twigWand) + "_top"))
|
||||
.texture("layer2", prefix("item/" + name(twigWand) + "_bottom"))
|
||||
.override()
|
||||
.predicate(prefix("bindmode"), 1)
|
||||
.model(generatedItem(name(twigWand) + "_bind")).end();
|
||||
.model(twigwandBind).end();
|
||||
items.remove(twigWand);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user