Fixed model loading errors for sapling and plates
This commit is contained in:
parent
7b4178eba8
commit
c4916f5c7e
2 changed files with 27 additions and 14 deletions
|
@ -121,43 +121,53 @@ public class RegisterItemJsons {
|
||||||
registerBlockstateMultiItem(ModItems.BRONZE_HOE, "bronze_hoe", "items/tool/tool");
|
registerBlockstateMultiItem(ModItems.BRONZE_HOE, "bronze_hoe", "items/tool/tool");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String[] name = ItemIngots.types.clone();
|
||||||
for (int i = 0; i < ItemIngots.types.length; ++i) {
|
for (int i = 0; i < ItemIngots.types.length; ++i) {
|
||||||
String[] name = ItemIngots.types.clone();
|
|
||||||
registerBlockstate(ModItems.INGOTS, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.INGOTS, i, name[i], "items/materials/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemGems.types.clone();
|
||||||
for (int i = 0; i < ItemGems.types.length; ++i) {
|
for (int i = 0; i < ItemGems.types.length; ++i) {
|
||||||
String[] name = ItemGems.types.clone();
|
|
||||||
registerBlockstate(ModItems.GEMS, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.GEMS, i, name[i], "items/materials/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemPlates.types.clone();
|
||||||
for (int i = 0; i < ItemPlates.types.length; ++i) {
|
for (int i = 0; i < ItemPlates.types.length; ++i) {
|
||||||
String[] name = ItemPlates.types.clone();
|
if (!name[i].equals(ModItems.META_PLACEHOLDER)) {
|
||||||
registerBlockstate(ModItems.PLATES, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.PLATES, i, name[i], "items/materials/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemNuggets.types.clone();
|
||||||
for (int i = 0; i < ItemNuggets.types.length; ++i) {
|
for (int i = 0; i < ItemNuggets.types.length; ++i) {
|
||||||
String[] name = ItemNuggets.types.clone();
|
if (!name[i].equals(ModItems.META_PLACEHOLDER)) {
|
||||||
registerBlockstate(ModItems.NUGGETS, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.NUGGETS, i, name[i], "items/materials/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemDusts.types.clone();
|
||||||
for (int i = 0; i < ItemDusts.types.length; ++i) {
|
for (int i = 0; i < ItemDusts.types.length; ++i) {
|
||||||
String[] name = ItemDusts.types.clone();
|
if (!name[i].equals(ModItems.META_PLACEHOLDER)) {
|
||||||
registerBlockstate(ModItems.DUSTS, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.DUSTS, i, name[i], "items/materials/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemDustsSmall.types.clone();
|
||||||
for (int i = 0; i < ItemDustsSmall.types.length; ++i) {
|
for (int i = 0; i < ItemDustsSmall.types.length; ++i) {
|
||||||
String[] name = ItemDustsSmall.types.clone();
|
if (!name[i].equals(ModItems.META_PLACEHOLDER)) {
|
||||||
registerBlockstate(ModItems.SMALL_DUSTS, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.SMALL_DUSTS, i, name[i], "items/materials/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemParts.types.clone();
|
||||||
for (int i = 0; i < ItemParts.types.length; ++i) {
|
for (int i = 0; i < ItemParts.types.length; ++i) {
|
||||||
String[] name = ItemParts.types.clone();
|
if (!name[i].equals(ModItems.META_PLACEHOLDER)) {
|
||||||
registerBlockstate(ModItems.PARTS, i, name[i], "items/materials/");
|
registerBlockstate(ModItems.PARTS, i, name[i], "items/materials/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
name = ItemUpgrades.types.clone();
|
||||||
for (int i = 0; i < ItemUpgrades.types.length; ++i) {
|
for (int i = 0; i < ItemUpgrades.types.length; ++i) {
|
||||||
String[] name = ItemUpgrades.types.clone();
|
|
||||||
registerBlockstate(ModItems.UPGRADES, i, name[i], "items/misc/");
|
registerBlockstate(ModItems.UPGRADES, i, name[i], "items/misc/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,9 @@
|
||||||
},
|
},
|
||||||
"acacia": {
|
"acacia": {
|
||||||
"model": "cross"
|
"model": "cross"
|
||||||
|
},
|
||||||
|
"dark_oak": {
|
||||||
|
"model": "cross"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"stage": {
|
"stage": {
|
||||||
|
|
Loading…
Reference in a new issue