fixed no texture load on pine log added tin ore
This commit is contained in:
parent
f74af42b1e
commit
f9bc47b143
10 changed files with 41 additions and 0 deletions
|
|
@ -13,4 +13,6 @@ public class BlockInit {
|
||||||
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, UtilRings.MODID);
|
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, UtilRings.MODID);
|
||||||
|
|
||||||
public static final RegistryObject<Block> LEAD_ORE = BLOCKS.register("lead_ore", () -> new Block(BlockBehaviour.Properties.copy(Blocks.IRON_ORE)));
|
public static final RegistryObject<Block> LEAD_ORE = BLOCKS.register("lead_ore", () -> new Block(BlockBehaviour.Properties.copy(Blocks.IRON_ORE)));
|
||||||
|
public static final RegistryObject<Block> TIN_ORE = BLOCKS.register("tin_ore", () -> new Block(BlockBehaviour.Properties.copy(Blocks.IRON_ORE)));
|
||||||
|
public static final RegistryObject<Block> PINE_LOG = BLOCKS.register("pine_log", () -> new Block(BlockBehaviour.Properties.copy(Blocks.STONE)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,9 @@ public class CreativeTabInit {
|
||||||
output.accept(ItemsInit.MAGNET_RING.get());
|
output.accept(ItemsInit.MAGNET_RING.get());
|
||||||
output.accept(ItemsInit.GROWTH_RING.get());
|
output.accept(ItemsInit.GROWTH_RING.get());
|
||||||
output.accept(BlockInit.LEAD_ORE.get());
|
output.accept(BlockInit.LEAD_ORE.get());
|
||||||
|
output.accept(BlockInit.TIN_ORE.get());
|
||||||
|
output.accept(BlockInit.PINE_LOG.get());
|
||||||
|
|
||||||
})
|
})
|
||||||
.build()
|
.build()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -39,5 +39,7 @@ public class ItemsInit {
|
||||||
public static final RegistryObject<Item> MAGNET_RING = ITEMS.register("magnet_ring", () -> new MagnetRing(new Item.Properties().stacksTo(1)));
|
public static final RegistryObject<Item> MAGNET_RING = ITEMS.register("magnet_ring", () -> new MagnetRing(new Item.Properties().stacksTo(1)));
|
||||||
public static final RegistryObject<Item> GROWTH_RING = ITEMS.register("growth_ring", () -> new GrowthRing(new Item.Properties().stacksTo(1)));
|
public static final RegistryObject<Item> GROWTH_RING = ITEMS.register("growth_ring", () -> new GrowthRing(new Item.Properties().stacksTo(1)));
|
||||||
public static final RegistryObject<BlockItem> LEAD_ORE_ITEM = ITEMS.register("lead_ore", () -> new BlockItem(BlockInit.LEAD_ORE.get(), new Item.Properties()));
|
public static final RegistryObject<BlockItem> LEAD_ORE_ITEM = ITEMS.register("lead_ore", () -> new BlockItem(BlockInit.LEAD_ORE.get(), new Item.Properties()));
|
||||||
|
public static final RegistryObject<BlockItem> TIN_ORE_ITEM = ITEMS.register("tin_ore", () -> new BlockItem(BlockInit.TIN_ORE.get(), new Item.Properties()));
|
||||||
|
public static final RegistryObject<BlockItem> PINE_LOG_ITEM = ITEMS.register("pine_log", () -> new BlockItem(BlockInit.PINE_LOG.get(), new Item.Properties()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"":{
|
||||||
|
"model": "util_rings:block/pine_log"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"": {
|
||||||
|
"model": "util_rings:block/tin_ore"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -23,5 +23,7 @@
|
||||||
"item.util_rings.tin_nugget": "Tin Nugget",
|
"item.util_rings.tin_nugget": "Tin Nugget",
|
||||||
"item.util_rings.tin_ingot": "Tin Ingot",
|
"item.util_rings.tin_ingot": "Tin Ingot",
|
||||||
"block.util_rings.lead_ore": "Lead Ore",
|
"block.util_rings.lead_ore": "Lead Ore",
|
||||||
|
"block.util_rings.tin_ore": "Tin Ore",
|
||||||
|
"block.util_rings.pine_log": "Pine Log",
|
||||||
"itemGroup.rings_tab": "Utility Rings"
|
"itemGroup.rings_tab": "Utility Rings"
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent":"minecraft:block/cube_all",
|
||||||
|
"textures":{
|
||||||
|
"all":"util_rings:block/pine/log"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent":"minecraft:block/cube_all",
|
||||||
|
"textures":{
|
||||||
|
"all":"util_rings:block/tin_ore"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"parent": "util_rings:block/pine_log"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"parent": "util_rings:block/tin_ore"
|
||||||
|
}
|
||||||
Reference in a new issue