Try and fix cable inv rendering
This commit is contained in:
parent
624d8fb93a
commit
e0f63fd0c5
3 changed files with 62 additions and 1 deletions
|
@ -33,6 +33,7 @@ import techreborn.blocks.BlockOre;
|
|||
import techreborn.blocks.BlockOre2;
|
||||
import techreborn.blocks.BlockStorage;
|
||||
import techreborn.blocks.BlockStorage2;
|
||||
import techreborn.blocks.cable.EnumCableType;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.ModItems;
|
||||
|
@ -176,6 +177,10 @@ public class RegisterItemJsons {
|
|||
String[] name = BlockStorage2.types.clone();
|
||||
registerBlockstate(ModBlocks.STORAGE2, i, name[i]);
|
||||
}
|
||||
|
||||
for (EnumCableType cableType : EnumCableType.values()) {
|
||||
registerBlockstate(ModBlocks.CABLE, cableType.ordinal(), "inv_" +cableType.getName().toLowerCase());
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerBlocks() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue