added test firebox
This commit is contained in:
@@ -8,6 +8,7 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
|
||||
import nmd.primal.forgecraft.init.ModBlocks;
|
||||
import nmd.primal.forgecraft.init.ModItems;
|
||||
import nmd.primal.forgecraft.proxy.CommonProxy;
|
||||
//import nmd.primal.forgecraft.common.init.*;
|
||||
@@ -34,7 +35,9 @@ public class ForgeCraft
|
||||
public void preInit(FMLPreInitializationEvent event)
|
||||
{
|
||||
ModItems.init();
|
||||
ModBlocks.init();
|
||||
ModItems.register();
|
||||
ModBlocks.register();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
||||
@@ -5,6 +5,7 @@ import net.minecraft.item.Item;
|
||||
import net.minecraftforge.fml.client.config.GuiConfigEntries;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import nmd.primal.forgecraft.init.ModItems;
|
||||
//import nmd.primal.forgecraft.Item.ModItems;
|
||||
|
||||
/**
|
||||
@@ -27,8 +28,7 @@ public class ModInfo {
|
||||
//public static final String UPDATE_JSON = "";
|
||||
|
||||
public enum ForgecraftItems {
|
||||
TEST("test", "ItemTest"),
|
||||
CHEESE("cheese", "ItemCheese");
|
||||
TEST("test", "ItemTest");
|
||||
|
||||
private String unlocalizedName;
|
||||
private String registryName;
|
||||
@@ -47,22 +47,33 @@ public class ModInfo {
|
||||
|
||||
}
|
||||
|
||||
/** GUI IDs **/
|
||||
//public static final int WORKTABLE_BASIC = 0;
|
||||
//public static final int WORKTABLE_SHELF = 1;
|
||||
//public static final int WORKTABLE_CHEST = 2;
|
||||
//public static final int STORAGE_CRATE = 4;
|
||||
//public static final int CHEST_NETHER = 5;
|
||||
//public static final int QUERN = 6;
|
||||
//public static final int KLIN = 7;
|
||||
//public static final int OVEN = 8;
|
||||
public enum ForgecraftBlocks {
|
||||
TEST_BLOCK("test_block", "test_block");
|
||||
|
||||
private String unlocalizedName;
|
||||
private String registryName;
|
||||
|
||||
ForgecraftBlocks(String unlocalizedName, String registryName) {
|
||||
this.unlocalizedName = unlocalizedName;
|
||||
this.registryName = registryName;
|
||||
}
|
||||
|
||||
public String getUnlocalizedName() {
|
||||
return unlocalizedName;
|
||||
}
|
||||
public String getRegistryName() {
|
||||
return registryName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/** Creative Tabs **/
|
||||
/*public static CreativeTabs TAB_FORGECRAFT = new CreativeTabs(MOD_ID) {
|
||||
|
||||
public static CreativeTabs TAB_FORGECRAFT = new CreativeTabs(MOD_ID)
|
||||
{
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Item getTabIconItem() { return ModItems.test; }
|
||||
public Item getTabIconItem() {
|
||||
return ModItems.test;
|
||||
}
|
||||
};
|
||||
*/
|
||||
}
|
||||
49
src/main/java/nmd/primal/forgecraft/blocks/TestBlock.java
Normal file
49
src/main/java/nmd/primal/forgecraft/blocks/TestBlock.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package nmd.primal.forgecraft.blocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import nmd.primal.forgecraft.ModInfo;
|
||||
|
||||
/**
|
||||
* Created by kitsu on 11/26/2016.
|
||||
*/
|
||||
public class TestBlock extends Block {
|
||||
|
||||
public TestBlock(Material material) {
|
||||
super(material);
|
||||
setUnlocalizedName(ModInfo.ForgecraftBlocks.TEST_BLOCK.getUnlocalizedName());
|
||||
setRegistryName(ModInfo.ForgecraftBlocks.TEST_BLOCK.getRegistryName());
|
||||
setCreativeTab(ModInfo.TAB_FORGECRAFT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFullCube(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFullyOpaque(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean shouldSideBeRendered(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
44
src/main/java/nmd/primal/forgecraft/init/ModBlocks.java
Normal file
44
src/main/java/nmd/primal/forgecraft/init/ModBlocks.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package nmd.primal.forgecraft.init;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
import nmd.primal.forgecraft.blocks.TestBlock;
|
||||
import nmd.primal.forgecraft.items.ItemTest;
|
||||
|
||||
/**
|
||||
* Created by kitsu on 11/26/2016.
|
||||
*/
|
||||
public class ModBlocks {
|
||||
|
||||
public static Block testBlock;
|
||||
|
||||
public static void init() {
|
||||
|
||||
testBlock = new TestBlock(Material.CACTUS);
|
||||
}
|
||||
|
||||
public static void register() {
|
||||
registerBlock(testBlock);
|
||||
|
||||
}
|
||||
|
||||
private static void registerBlock(Block block) {
|
||||
GameRegistry.register(testBlock);
|
||||
ItemBlock item = new ItemBlock(block);
|
||||
item.setRegistryName(block.getRegistryName());
|
||||
GameRegistry.register(item);
|
||||
}
|
||||
|
||||
public static void registerRenders() {
|
||||
registerRender(testBlock);
|
||||
}
|
||||
|
||||
private static void registerRender(Block block) {
|
||||
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory"));
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,9 @@
|
||||
package nmd.primal.forgecraft.init;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.main.GameConfiguration;
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.fml.common.MinecraftDummyContainer;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
import nmd.primal.forgecraft.ModInfo;
|
||||
import nmd.primal.forgecraft.items.ItemCheese;
|
||||
import nmd.primal.forgecraft.items.ItemTest;
|
||||
|
||||
/**
|
||||
@@ -16,22 +12,22 @@ import nmd.primal.forgecraft.items.ItemTest;
|
||||
public class ModItems {
|
||||
|
||||
public static Item test;
|
||||
public static Item cheese;
|
||||
//public static Item cheese;
|
||||
|
||||
public static void init() {
|
||||
|
||||
test = new ItemTest();
|
||||
cheese = new ItemCheese();
|
||||
//cheese = new ItemCheese();
|
||||
}
|
||||
|
||||
public static void register() {
|
||||
|
||||
GameRegistry.register(test);
|
||||
GameRegistry.register(cheese);
|
||||
//GameRegistry.register(cheese);
|
||||
}
|
||||
|
||||
public static void registerRenders() {
|
||||
registerRender(cheese);
|
||||
//registerRender(cheese);
|
||||
registerRender(test);
|
||||
}
|
||||
|
||||
|
||||
26
src/main/java/nmd/primal/forgecraft/items/BaseItem.java
Normal file
26
src/main/java/nmd/primal/forgecraft/items/BaseItem.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package nmd.primal.forgecraft.items;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import nmd.primal.forgecraft.ModInfo;
|
||||
|
||||
/**
|
||||
* Created by kitsu on 11/26/2016.
|
||||
*/
|
||||
public class BaseItem extends Item
|
||||
{
|
||||
public BaseItem()
|
||||
{
|
||||
this.setCreativeTab(ModInfo.TAB_FORGECRAFT);
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.getRegistryName().toString();
|
||||
}
|
||||
|
||||
public static boolean isHidden()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package nmd.primal.forgecraft.items;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import nmd.primal.forgecraft.ModInfo;
|
||||
|
||||
/**
|
||||
* Created by kitsu on 11/26/2016.
|
||||
*/
|
||||
public class ItemCheese extends Item {
|
||||
|
||||
public ItemCheese() {
|
||||
super();
|
||||
setUnlocalizedName(ModInfo.ForgecraftItems.CHEESE.getUnlocalizedName());
|
||||
setRegistryName(ModInfo.ForgecraftItems.CHEESE.getRegistryName());
|
||||
setCreativeTab(CreativeTabs.MATERIALS);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package nmd.primal.forgecraft.items;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import nmd.primal.forgecraft.ModInfo;
|
||||
@@ -7,11 +8,12 @@ import nmd.primal.forgecraft.ModInfo;
|
||||
/**
|
||||
* Created by kitsu on 11/26/2016.
|
||||
*/
|
||||
public class ItemTest extends Item {
|
||||
public class ItemTest extends BaseItem {
|
||||
|
||||
public ItemTest() {
|
||||
setUnlocalizedName(ModInfo.ForgecraftItems.TEST.getUnlocalizedName());
|
||||
setRegistryName(ModInfo.ForgecraftItems.TEST.getRegistryName());
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package nmd.primal.forgecraft.proxy;
|
||||
|
||||
import nmd.primal.forgecraft.init.ModBlocks;
|
||||
import nmd.primal.forgecraft.init.ModItems;
|
||||
|
||||
import static nmd.primal.forgecraft.init.ModItems.*;
|
||||
@@ -13,6 +14,7 @@ public class ClientProxy implements CommonProxy {
|
||||
public void init() {
|
||||
|
||||
ModItems.registerRenders();
|
||||
ModBlocks.registerRenders();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"variants": {
|
||||
"normal": { "model": "forgecraft:test_block"}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||
"textures": {
|
||||
"texture": "forgecraft:blocks/firebox_pins",
|
||||
"texture2": "forgecraft:blocks/firebox_racks"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Back",
|
||||
"from": [ 0, 8, 0 ],
|
||||
"to": [ 16, 16, 2 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 14.5, 16, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 0, 16, 2 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 0, 16, 8 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 0, 16, 8 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 0, 1, 8 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 15, 0, 16, 8 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Bot",
|
||||
"from": [ 0, 5, 0 ],
|
||||
"to": [ 16, 8, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 8, 16, 9 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 8, 16, 9 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 8, 16, 9 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 8, 16, 9 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "AirSideLeft",
|
||||
"from": [ 0, 8, 2 ],
|
||||
"to": [ 2, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 2, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 0, 1.5, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "AirSideRight",
|
||||
"from": [ 14, 8, 2 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 14, 0, 16, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 15, 1, 16, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 0, 1, 8 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 15, 0, 16, 8 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 1, 0, 16, 8 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 0, 15, 8 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Front0",
|
||||
"from": [ 2, 8, 14 ],
|
||||
"to": [ 4, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 16, 6, 10 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 13, 8, 16, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Front1",
|
||||
"from": [ 12, 8, 14 ],
|
||||
"to": [ 14, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 2, 16, 6.5 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 11, 15, 15, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 1, 0, 5, 8 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 5, 0, 9.5, 8 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 15, 0, 16, 8 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 0, 1, 8 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Front2",
|
||||
"from": [ 4, 13, 14 ],
|
||||
"to": [ 12, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 5, 0, 11, 1 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 4.5, 12.5, 15.5, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 5, 0, 11, 4 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 5, 0, 11, 4 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 15, 0, 16, 4 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 0, 1, 4 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Holder0",
|
||||
"from": [ 6, 15, 2 ],
|
||||
"to": [ 7, 16, 14 ],
|
||||
"rotation": { "origin": [ 6, 15, 2 ], "axis": "z", "angle": -45 },
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture2" },
|
||||
"up": { "uv": [ 0, 0, 3, 16 ], "texture": "#texture2" },
|
||||
"north": { "uv": [ 0, 0, 4.5, 16 ], "texture": "#texture2" },
|
||||
"south": { "uv": [ 0, 15, 3.5, 0 ], "texture": "#texture2" },
|
||||
"west": { "uv": [ 0, 15, 3.5, 0 ], "texture": "#texture2" },
|
||||
"east": { "uv": [ 16, 15, 12, 0 ], "texture": "#texture2" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Holder1",
|
||||
"from": [ 11.5, 15, 2 ],
|
||||
"to": [ 12.5, 16, 14 ],
|
||||
"rotation": { "origin": [ 11.5, 15, 2 ], "axis": "z", "angle": -45 },
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 16, 0, 16 ], "texture": "#texture2" },
|
||||
"up": { "uv": [ 0, 0, 0, 0 ], "texture": "#texture2" },
|
||||
"north": { "uv": [ 16, 15, 16, 16 ], "texture": "#texture2" },
|
||||
"south": { "uv": [ 0, 15, 0, 16 ], "texture": "#texture2" },
|
||||
"west": { "uv": [ 0, 15, 0, 16 ], "texture": "#texture2" },
|
||||
"east": { "uv": [ 16, 15, 16, 16 ], "texture": "#texture2" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Holder2",
|
||||
"from": [ 3, 15, 2 ],
|
||||
"to": [ 4, 16, 14 ],
|
||||
"rotation": { "origin": [ 3, 15, 2 ], "axis": "z", "angle": -45 },
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 16, 0, 16 ], "texture": "#texture2" },
|
||||
"up": { "uv": [ 0, 0, 0, 0 ], "texture": "#texture2" },
|
||||
"north": { "uv": [ 16, 15, 16, 16 ], "texture": "#texture2" },
|
||||
"south": { "uv": [ 0, 15, 0, 16 ], "texture": "#texture2" },
|
||||
"west": { "uv": [ 0, 15, 0, 16 ], "texture": "#texture2" },
|
||||
"east": { "uv": [ 16, 15, 16, 16 ], "texture": "#texture2" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Holder3",
|
||||
"from": [ 9, 15, 2 ],
|
||||
"to": [ 10, 16, 14 ],
|
||||
"rotation": { "origin": [ 9, 15, 2 ], "axis": "z", "angle": -45 },
|
||||
"faces": {
|
||||
"down": { "uv": [ 7, 16, 10, 0 ], "texture": "#texture2" },
|
||||
"up": { "uv": [ 0, 0, 5, 16 ], "texture": "#texture2" },
|
||||
"north": { "uv": [ 10, 16, 8.5, 0 ], "texture": "#texture2" },
|
||||
"south": { "uv": [ 8, 16, 9.5, 0 ], "texture": "#texture2" },
|
||||
"west": { "uv": [ 5, 16, 6.5, 0 ], "texture": "#texture2" },
|
||||
"east": { "uv": [ 16, 16, 14.5, 0 ], "texture": "#texture2" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Leg0",
|
||||
"from": [ 12, 0, 0 ],
|
||||
"to": [ 16, 5, 4 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 12, 12, 16, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 12, 0, 16, 4 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Leg1",
|
||||
"from": [ 0, 0, 12 ],
|
||||
"to": [ 4, 5, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 4, 4 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 12, 4, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Leg2",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 4, 5, 4 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 12, 4, 16 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 0, 4, 4 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Leg3",
|
||||
"from": [ 12, 0, 12 ],
|
||||
"to": [ 16, 5, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 12, 0, 16, 4 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 12, 12, 16, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 12, 11, 16, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 11, 4, 16 ], "texture": "#texture" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "forgecraft:items/cheese"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "forgecraft:blocks/test_block"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 310 B |
Binary file not shown.
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 451 B |
Reference in New Issue
Block a user