Posted April 10, 201510 yr I'm trying to make a furnace-like block, which is currently fully functional except that it's invisible when placed. It's supposed to have two possible states, one for when it's in use and one for when it isn't, and I've tried everything I can think of to make it work. The really odd thing is that when it breaks the correct particles appear. The block class file public class CookingBrazier extends BlockContainer { private String name = "cookingbrazier"; private boolean isBurning; private static boolean keepInventory; public static final PropertyBool ISBURNING = PropertyBool.create("active"); public boolean isOpaqueCube(){ return false; } public boolean isFullCube() { return false; } @SideOnly(Side.CLIENT) public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand) { double d0 = (double)pos.getX() + 0.5D; double d1 = (double)pos.getY() + 0.4D; double d2 = (double)pos.getZ() + 0.5D; worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]); } public String getName(){ return name; } public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos) { setBlockBounds(0.1F, 0.0F, 0.1F, 0.9F, 1F, 0.9F); } public CookingBrazier(boolean isBurning){ super(Material.rock); this.isBurning = isBurning; this.setDefaultState(this.blockState.getBaseState().withProperty(ISBURNING, Boolean.valueOf(false))); this.setCreativeTab(CreativeTabs.tabDecorations); this.setUnlocalizedName("braziermod" + "_" + name); this.setHardness(0.8f); this.setLightLevel(.96f); GameRegistry.registerBlock(this, name); } public TileEntity createNewTileEntity(World worldIn, int meta) { return new TileEntityCookingBrazier(); } public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ) { if (worldIn.isRemote) { return true; } else { TileEntity tileentity = worldIn.getTileEntity(pos); if (tileentity instanceof TileEntityCookingBrazier) { playerIn.displayGUIChest((TileEntityCookingBrazier)tileentity); } return true; } } public void breakBlock(World worldIn, BlockPos pos, IBlockState state) { if (!keepInventory) { TileEntity tileentity = worldIn.getTileEntity(pos); if (tileentity instanceof TileEntityFurnace) { InventoryHelper.dropInventoryItems(worldIn, pos, (TileEntityFurnace)tileentity); worldIn.updateComparatorOutputLevel(pos, this); } } super.breakBlock(worldIn, pos, state); } public static void setState(boolean active, World worldIn, BlockPos pos){ TileEntity tileentity = worldIn.getTileEntity(pos); if(active){ worldIn.setBlockState(pos, BrazierMod.cookingbrazier.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(true))); }else{ worldIn.setBlockState(pos, BrazierMod.cookingbrazier.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(false))); } if (tileentity != null) { tileentity.validate(); worldIn.setTileEntity(pos, tileentity); } } public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) { return this.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(false)); } protected BlockState createBlockState() { return new BlockState(this, new IProperty[] {ISBURNING}); } public IBlockState getStateFromMeta(int meta) { return this.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(isBurning)); } public int getMetaFromState(IBlockState state) { return 0; } public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { worldIn.setBlockState(pos, BrazierMod.cookingbrazier.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(false))); } public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) { worldIn.setBlockState(pos, BrazierMod.cookingbrazier.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(false))); } } Blockstates JSON file { "variants": { "active=true": { "model": "braziermod:raisedbrazier" }, "active=false": { "model": "braziermod:bigbrazier" } } }
April 10, 201510 yr You can add spoiler with %spoiler@Text%/spoiler@ % means [ @ means ] Sorry for my English
April 10, 201510 yr You can add spoiler with %spoiler@Text%/spoiler@ % means [ @ means ] He means: You can add spoilers with [nobbc] Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
April 10, 201510 yr Author You can add spoiler with %spoiler@Text%/spoiler@ % means [ @ means ] He means: You can add spoilers with [nobbc] Text [/nobbc] Yeah, I figured that out eventually. Thanks So can anyone help me with the actual modding problem?
April 10, 201510 yr Can you show us the model JSONs (both), and the client registry (model registry/variant registry). Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
April 10, 201510 yr Author Can you show us the model JSONs (both), and the client registry (model registry/variant registry). bigbrazier { "ambientocclusion": true, "textures": { "Iron Texture": "braziermod:blocks/iron_texture", "Fire": "braziermod:blocks/brazier_top_large_lit", "TableTop": "blocks/crafting_table_top", "TableBottom": "blocks/planks_oak", "particle": "braziermod:blocks/iron_texture" }, "elements": [ { "from": [ 3, 2, 3 ], "to": [ 13, 3, 13 ], "faces": { "north": { "uv": [ 3, 5, 13, 6 ], "texture": "#Iron Texture", "cullface": true }, "south": { "uv": [ 3, 6, 13, 7 ], "texture": "#Iron Texture", "cullface": true }, "east": { "uv": [ 3, 8, 13, 9 ], "texture": "#Iron Texture", "cullface": true }, "west": { "uv": [ 3, 11, 13, 12 ], "texture": "#Iron Texture", "cullface": true }, "up": { "uv": [ 3, 3, 13, 13 ], "texture": "#Fire", "cullface": true }, "down": { "uv": [ 3, 3, 13, 13 ], "texture": "#Iron Texture", "cullface": true } } }, { "from": [ 2, 2, 5 ], "to": [ 3, 4, 11 ], "faces": { "north": { "uv": [ 10, 2, 11, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 9, 5, 10, 7 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 0, 14, 6, 16 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 14, 16, 16 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 6, 3, 7, 9 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 7, 1, 13 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 3, 3, 3 ], "to": [ 4, 4, 5 ], "faces": { "north": { "uv": [ 14, 5, 15, 6 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 1, 8, 3, 9 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 6, 6, 8, 7 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 10, 5, 11, 7 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 11, 5, 12, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 4, 3, 3 ], "to": [ 5, 4, 4 ], "faces": { "north": { "uv": [ 9, 4, 10, 5 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 10, 4, 11, 5 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 11, 4, 12, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 12, 4, 13, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 13, 4, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 2, 2 ], "to": [ 11, 4, 3 ], "faces": { "north": { "uv": [ 1, 8, 7, 10 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 8, 4, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 8, 3, 9, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 9, 5, 10, 7 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 0, 10, 6, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 11, 6, 12 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 11, 3, 3 ], "to": [ 12, 4, 4 ], "faces": { "north": { "uv": [ 5, 6, 6, 7 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 12, 6, 13, 7 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 10, 9, 11, 10 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 8, 11, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 10, 7, 11, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 6, 11, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 12, 3, 3 ], "to": [ 13, 4, 5 ], "faces": { "north": { "uv": [ 10, 3, 11, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 14, 0, 16, 1 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 1, 16, 2 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 2, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 15, 5, 16, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 13, 2, 5 ], "to": [ 14, 4, 11 ], "faces": { "north": { "uv": [ 14, 1, 15, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 13, 3, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 0, 5, 6, 7 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 0, 7, 6, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 8, 5, 9, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 9, 5, 10, 11 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 12, 3, 11 ], "to": [ 13, 4, 13 ], "faces": { "north": { "uv": [ 10, 3, 11, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 11, 3, 12, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 4, 11, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 7, 7, 9, 8 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 8, 6, 9, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 1, 8, 2, 10 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 11, 3, 12 ], "to": [ 12, 4, 13 ], "faces": { "north": { "uv": [ 15, 1, 16, 2 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 11, 2, 12, 3 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 6, 4, 7, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 7, 15, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 2, 13 ], "to": [ 11, 4, 14 ], "faces": { "north": { "uv": [ 6, 3, 12, 5 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 6, 11, 12, 13 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 10, 10, 12 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 11, 10, 12, 12 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 0, 8, 6, 9 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 15, 16, 16 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 4, 3, 12 ], "to": [ 5, 4, 13 ], "faces": { "north": { "uv": [ 5, 5, 6, 6 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 15, 4, 16, 5 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 6, 11, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 3, 3, 11 ], "to": [ 4, 4, 13 ], "faces": { "north": { "uv": [ 10, 2, 11, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 12, 3, 13, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 12, 4, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 4, 16, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 4, 15, 6 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 15, 6, 16, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 4, 1, 4 ], "to": [ 12, 2, 12 ], "faces": { "north": { "uv": [ 5, 4, 13, 5 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 8, 11, 16, 12 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 8, 15, 16, 16 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 3, 15, 11, 16 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 0, 8, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 0, 5 ], "to": [ 11, 1, 11 ], "faces": { "north": { "uv": [ 7, 7, 13, 8 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 0, 3, 6, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 7, 15, 8 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 4, 10, 10, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 8, 5, 14, 11 ], "texture": "#Iron Texture", "cullface": false } } } ] } raisedbrazier { "ambientocclusion": true, "textures": { "Iron Texture": "braziermod:blocks/iron_texture", "Fire": "braziermod:blocks/brazier_top_large_lit", "TableTop": "blocks/crafting_table_top", "TableBottom": "blocks/planks_oak", "particle": "braziermod:blocks/iron_texture" }, "elements": [ { "from": [ 3, 13, 3 ], "to": [ 13, 14, 13 ], "faces": { "north": { "uv": [ 3, 5, 13, 6 ], "texture": "#Iron Texture", "cullface": true }, "south": { "uv": [ 3, 6, 13, 7 ], "texture": "#Iron Texture", "cullface": true }, "east": { "uv": [ 3, 8, 13, 9 ], "texture": "#Iron Texture", "cullface": true }, "west": { "uv": [ 3, 11, 13, 12 ], "texture": "#Iron Texture", "cullface": true }, "up": { "uv": [ 3, 3, 13, 13 ], "texture": "#Fire", "cullface": true }, "down": { "uv": [ 3, 3, 13, 13 ], "texture": "#Iron Texture", "cullface": true } } }, { "from": [ 2, 13, 5 ], "to": [ 3, 15, 11 ], "faces": { "north": { "uv": [ 10, 2, 11, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 9, 5, 10, 7 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 0, 14, 6, 16 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 14, 16, 16 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 6, 3, 7, 9 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 7, 1, 13 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 3, 14, 3 ], "to": [ 4, 15, 5 ], "faces": { "north": { "uv": [ 14, 5, 15, 6 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 1, 8, 3, 9 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 6, 6, 8, 7 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 10, 5, 11, 7 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 11, 5, 12, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 4, 14, 3 ], "to": [ 5, 15, 4 ], "faces": { "north": { "uv": [ 9, 4, 10, 5 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 10, 4, 11, 5 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 11, 4, 12, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 12, 4, 13, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 13, 4, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 13, 2 ], "to": [ 11, 15, 3 ], "faces": { "north": { "uv": [ 1, 8, 7, 10 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 8, 4, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 8, 3, 9, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 9, 5, 10, 7 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 0, 10, 6, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 11, 6, 12 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 11, 14, 3 ], "to": [ 12, 15, 4 ], "faces": { "north": { "uv": [ 5, 6, 6, 7 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 12, 6, 13, 7 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 10, 9, 11, 10 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 8, 11, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 10, 7, 11, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 6, 11, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 12, 14, 3 ], "to": [ 13, 15, 5 ], "faces": { "north": { "uv": [ 10, 3, 11, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 14, 0, 16, 1 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 1, 16, 2 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 2, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 15, 5, 16, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 13, 13, 5 ], "to": [ 14, 15, 11 ], "faces": { "north": { "uv": [ 14, 1, 15, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 13, 3, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 0, 5, 6, 7 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 0, 7, 6, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 8, 5, 9, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 9, 5, 10, 11 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 12, 14, 11 ], "to": [ 13, 15, 13 ], "faces": { "north": { "uv": [ 10, 3, 11, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 11, 3, 12, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 4, 11, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 7, 7, 9, 8 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 8, 6, 9, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 1, 8, 2, 10 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 11, 14, 12 ], "to": [ 12, 15, 13 ], "faces": { "north": { "uv": [ 15, 1, 16, 2 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 11, 2, 12, 3 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 6, 4, 7, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 7, 15, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 13, 13 ], "to": [ 11, 15, 14 ], "faces": { "north": { "uv": [ 6, 3, 12, 5 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 6, 11, 12, 13 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 10, 10, 12 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 11, 10, 12, 12 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 0, 8, 6, 9 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 15, 16, 16 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 4, 14, 12 ], "to": [ 5, 15, 13 ], "faces": { "north": { "uv": [ 5, 5, 6, 6 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 15, 4, 16, 5 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 6, 11, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 3, 14, 11 ], "to": [ 4, 15, 13 ], "faces": { "north": { "uv": [ 10, 2, 11, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 12, 3, 13, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 12, 4, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 4, 16, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 4, 15, 6 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 15, 6, 16, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 4, 12, 4 ], "to": [ 12, 13, 12 ], "faces": { "north": { "uv": [ 5, 4, 13, 5 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 8, 11, 16, 12 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 8, 15, 16, 16 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 3, 15, 11, 16 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 0, 8, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 11, 5 ], "to": [ 11, 12, 11 ], "faces": { "north": { "uv": [ 7, 7, 13, 8 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 0, 3, 6, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 7, 15, 8 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 4, 10, 10, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 8, 5, 14, 11 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 6, 7 ], "to": [ 9, 11, 9 ], "faces": { "north": { "uv": [ 8, 4, 10, 9 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 10, 4, 12, 9 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 14, 11, 16, 16 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 4, 16, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 0, 14, 2, 16 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 1, 10 ], "to": [ 9, 7, 11 ], "faces": { "north": { "uv": [ 9, 2, 11, 8 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 11, 2, 13, 8 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 11, 2, 12, 8 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 15, 2, 16, 8 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 8, 0, 10, 1 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 5, 16, 6 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 5, 1, 7 ], "to": [ 6, 7, 9 ], "faces": { "north": { "uv": [ 9, 4, 10, 10 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 8, 4, 9, 10 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 0, 6, 2, 12 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 3, 12, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 5, 15, 7 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 5, 11, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 1, 5 ], "to": [ 9, 7, 6 ], "faces": { "north": { "uv": [ 9, 0, 11, 6 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 14, 0, 16, 6 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 12, 0, 13, 6 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 13, 0, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 5, 16, 6 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 6, 16, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 10, 1, 7 ], "to": [ 11, 7, 9 ], "faces": { "north": { "uv": [ 4, 8, 5, 14 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 14, 3, 15, 9 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 12, 3, 14, 9 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 3, 12, 9 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 11, 6, 12, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 6, 11, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 9, 6, 7 ], "to": [ 10, 7, 9 ], "faces": { "north": { "uv": [ 14, 2, 15, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 13, 3, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 13, 4, 15, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 13, 4, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 4, 15, 6 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 6, 6 ], "to": [ 9, 7, 7 ], "faces": { "north": { "uv": [ 11, 3, 13, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 11, 3, 13, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 13, 4, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 14, 5, 16, 6 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 10, 7, 12, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 6, 6, 7 ], "to": [ 7, 7, 9 ], "faces": { "north": { "uv": [ 13, 2, 14, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 14, 2, 16, 3 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 3, 16, 4 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 13, 3, 14, 5 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 3, 15, 5 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 6, 9 ], "to": [ 9, 7, 10 ], "faces": { "north": { "uv": [ 14, 0, 16, 1 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 13, 2, 15, 3 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 9, 6, 11, 7 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 9, 7, 11, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 0, 10 ], "to": [ 9, 1, 13 ], "faces": { "north": { "uv": [ 10, 2, 12, 3 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 10, 3, 12, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 10, 4, 13, 5 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 11, 6, 14, 7 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 11, 5, 13, 8 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 12, 5, 14, 8 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 10, 0, 7 ], "to": [ 13, 1, 9 ], "faces": { "north": { "uv": [ 1, 8, 4, 9 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 6, 9, 9, 10 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 9, 5, 11, 6 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 5, 12, 6 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 13, 5, 16, 7 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 8, 2, 11, 4 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 7, 0, 3 ], "to": [ 9, 1, 6 ], "faces": { "north": { "uv": [ 8, 3, 10, 4 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 11, 3, 13, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 11, 3, 14, 4 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 13, 5, 16, 6 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 10, 3, 12, 6 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 14, 4, 16, 7 ], "texture": "#Iron Texture", "cullface": false } } }, { "from": [ 3, 0, 7 ], "to": [ 6, 1, 9 ], "faces": { "north": { "uv": [ 13, 1, 16, 2 ], "texture": "#Iron Texture", "cullface": false }, "south": { "uv": [ 10, 3, 13, 4 ], "texture": "#Iron Texture", "cullface": false }, "east": { "uv": [ 12, 5, 14, 6 ], "texture": "#Iron Texture", "cullface": false }, "west": { "uv": [ 10, 5, 12, 6 ], "texture": "#Iron Texture", "cullface": false }, "up": { "uv": [ 13, 9, 16, 11 ], "texture": "#Iron Texture", "cullface": false }, "down": { "uv": [ 8, 6, 11, 8 ], "texture": "#Iron Texture", "cullface": false } } } ] } They are just placeholders and currently being used by two other blocks just fine. I'm afraid I don't know what a registry is... EDIT: A HA! Perhaps you mean this, from the launcher output? [15:25:31] [Client thread/ERROR] [FML]: Model definition for location braziermod:cookingbrazier#active=true not found [15:25:31] [Client thread/ERROR] [FML]: Model definition for location braziermod:cookingbrazier#active=false not found
April 10, 201510 yr Hi This link might help http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html -TGG
April 10, 201510 yr Author Hi This link might help http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html -TGG Yes, thank you! I added the getRenderType method provided and now I can see the block.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.