TheRedMezek Posted May 11, 2015 Posted May 11, 2015 I have a model with a texture that has some pixels filled, others left empty so it can be seen through (like vanilla glass). When the model is applied to the block it's supposed to be used on, the empty pixels get filled with white, but when applied to a different block I discovered that the texture worked just fine. I've fiddled with and looked around both blocks' class and blockstate files, and can't figure it out. Intended block which model doesn't work with public class CookingBrazier extends BlockContainer { private String name = "cookingbrazier"; 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) { boolean isBurning = ((Boolean)state.getValue(ISBURNING)).booleanValue(); if(isBurning) { 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]); } } @Override public int getRenderType() { return 3; } 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.circuits); 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); worldIn.setBlockState(pos, BrazierMod.cookingbrazier.getDefaultState().withProperty(ISBURNING, active), 2); 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)); //} public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tileEntity = worldIn.getTileEntity(pos); if (tileEntity instanceof TileEntityCookingBrazier) { TileEntityCookingBrazier tileInventoryFurnace = (TileEntityCookingBrazier)tileEntity; //boolean burningSlots = tileInventoryFurnace.isBurning(); boolean burningSlots = ((Boolean)state.getValue(ISBURNING)).booleanValue(); //burningSlots = MathHelper.clamp_int(burningSlots, 0, 4); return getDefaultState().withProperty(ISBURNING, burningSlots); } return state; } protected BlockState createBlockState() { return new BlockState(this, new IProperty[] {ISBURNING}); } //public IBlockState getStateFromMeta(int meta) //{ //return this.getDefaultState(); //return this.getDefaultState().withProperty(ISBURNING, meta == 1); //return this.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(isBurning)); //} public IBlockState getStateFromMeta(int meta) { return this.getDefaultState().withProperty(ISBURNING, Boolean.valueOf(meta == 1)); } public int getMetaFromState(IBlockState state) { return ((Boolean)state.getValue(ISBURNING)).booleanValue() ? 1 : 0; } } Block which the model works fine with, but doesn't belong to public class Brazier extends BlockTorch { private String name = "brazier"; @Override public boolean isOpaqueCube(){ return false; } @Override public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos) { IBlockAccess world = worldIn; IBlockState state = this.getActualState(world.getBlockState(pos), world, pos); EnumFacing enumfacing = (EnumFacing)state.getValue(FACING); if (enumfacing == EnumFacing.NORTH){ setBlockBounds(0.3F, 0.25F, 0.5F, 0.7F, 0.75F, 1F); }else if (enumfacing == EnumFacing.SOUTH){ setBlockBounds(0.3F, 0.25F, 0F, 0.7F, 0.75F, 0.5F); }else if (enumfacing == EnumFacing.EAST){ setBlockBounds(0F, 0.25F, 0.3F, 0.5F, 0.75F, 0.7F); }else if (enumfacing == EnumFacing.WEST){ setBlockBounds(0.5F, 0.25F, 0.3F, 1F, 0.75F, 0.7F); }else{ setBlockBounds(0.3F, 0.0F, 0.3F, 0.7F, 0.7F, 0.7F); } } @Override public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state) { return new AxisAlignedBB((double)pos.getX() + this.minX, (double)pos.getY() + this.minY, (double)pos.getZ() + this.minZ, (double)pos.getX() + this.maxX, (double)pos.getY() + this.maxY, (double)pos.getZ() + this.maxZ); } @SideOnly(Side.CLIENT) public void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, Random rand) { EnumFacing enumfacing = (EnumFacing)state.getValue(FACING); double d0 = (double)pos.getX() + 0.5D; double d1 = (double)pos.getY() + 0.4D; double d2 = (double)pos.getZ() + 0.5D; double d3 = 0.10D; double d4 = 0.10D; if (enumfacing.getAxis().isHorizontal()) { EnumFacing enumfacing1 = enumfacing.getOpposite(); worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0 + d4 * (double)enumfacing1.getFrontOffsetX(), d1 + d3, d2 + d4 * (double)enumfacing1.getFrontOffsetZ(), 0.0D, 0.0D, 0.0D, new int[0]); } else { worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0, d1, d2, 0.0D, 0.0D, 0.0D, new int[0]); } } public Brazier(){ this.setCreativeTab(CreativeTabs.tabDecorations); this.setUnlocalizedName("braziermod" + "_" + name); this.setHardness(0.8f); this.setLightLevel(.96f); GameRegistry.registerBlock(this, name); } public String getName(){ return name; } } The model { "ambientocclusion": true, "textures": { "Iron": "braziermod:blocks/iron_texture", "Fire": "braziermod:blocks/brazier_top_large_lit", "Iron Bars": "braziermod:blocks/iron_bars", "particle": "braziermod:blocks/iron_texture" }, "elements": [ { "from": [ 3, 13, 3 ], "to": [ 13, 14, 13 ], "faces": { "north": { "uv": [ 3, 5, 13, 6 ], "texture": "#Iron", "cullface": true }, "south": { "uv": [ 3, 6, 13, 7 ], "texture": "#Iron", "cullface": true }, "east": { "uv": [ 3, 8, 13, 9 ], "texture": "#Iron", "cullface": true }, "west": { "uv": [ 3, 11, 13, 12 ], "texture": "#Iron", "cullface": true }, "up": { "uv": [ 3, 3, 13, 13 ], "texture": "#Fire", "cullface": true }, "down": { "uv": [ 3, 3, 13, 13 ], "texture": "#Iron", "cullface": true } } }, { "from": [ 2, 13, 5 ], "to": [ 3, 15, 11 ], "faces": { "north": { "uv": [ 10, 2, 11, 4 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 9, 5, 10, 7 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 0, 14, 6, 16 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 10, 14, 16, 16 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 6, 3, 7, 9 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 0, 7, 1, 13 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 3, 14, 3 ], "to": [ 4, 15, 5 ], "faces": { "north": { "uv": [ 14, 5, 15, 6 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 1, 8, 3, 9 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 6, 6, 8, 7 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 10, 5, 11, 7 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 11, 5, 12, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 4, 14, 3 ], "to": [ 5, 15, 4 ], "faces": { "north": { "uv": [ 9, 4, 10, 5 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 10, 4, 11, 5 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 11, 4, 12, 5 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 12, 4, 13, 5 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 13, 4, 14, 5 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 5, 13, 2 ], "to": [ 11, 15, 3 ], "faces": { "north": { "uv": [ 1, 8, 7, 10 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 8, 4, 14, 6 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 8, 3, 9, 5 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 9, 5, 10, 7 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 0, 10, 6, 11 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 0, 11, 6, 12 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 11, 14, 3 ], "to": [ 12, 15, 4 ], "faces": { "north": { "uv": [ 5, 6, 6, 7 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 12, 6, 13, 7 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 10, 9, 11, 10 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 10, 8, 11, 9 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 10, 7, 11, 8 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 10, 6, 11, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 12, 14, 3 ], "to": [ 13, 15, 5 ], "faces": { "north": { "uv": [ 10, 3, 11, 4 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 14, 0, 16, 1 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 14, 1, 16, 2 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 14, 2, 15, 4 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 15, 5, 16, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 13, 13, 5 ], "to": [ 14, 15, 11 ], "faces": { "north": { "uv": [ 14, 1, 15, 3 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 13, 3, 14, 5 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 0, 5, 6, 7 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 0, 7, 6, 9 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 8, 5, 9, 11 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 9, 5, 10, 11 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 12, 14, 11 ], "to": [ 13, 15, 13 ], "faces": { "north": { "uv": [ 10, 3, 11, 4 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 11, 3, 12, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 9, 4, 11, 5 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 7, 7, 9, 8 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 8, 6, 9, 8 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 1, 8, 2, 10 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 11, 14, 12 ], "to": [ 12, 15, 13 ], "faces": { "north": { "uv": [ 15, 1, 16, 2 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 11, 2, 12, 3 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 6, 4, 7, 5 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 14, 7, 15, 8 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 5, 13, 13 ], "to": [ 11, 15, 14 ], "faces": { "north": { "uv": [ 6, 3, 12, 5 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 6, 11, 12, 13 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 9, 10, 10, 12 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 11, 10, 12, 12 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 0, 8, 6, 9 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 10, 15, 16, 16 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 4, 14, 12 ], "to": [ 5, 15, 13 ], "faces": { "north": { "uv": [ 5, 5, 6, 6 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 13, 5, 14, 6 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 15, 4, 16, 5 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 10, 6, 11, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 3, 14, 11 ], "to": [ 4, 15, 13 ], "faces": { "north": { "uv": [ 10, 2, 11, 3 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 12, 3, 13, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 12, 4, 14, 5 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 14, 4, 16, 5 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 14, 4, 15, 6 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 15, 6, 16, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 4, 12, 4 ], "to": [ 12, 13, 12 ], "faces": { "north": { "uv": [ 5, 4, 13, 5 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 8, 11, 16, 12 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 8, 15, 16, 16 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 3, 15, 11, 16 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 0, 0, 8, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 5, 11, 5 ], "to": [ 11, 12, 11 ], "faces": { "north": { "uv": [ 7, 7, 13, 8 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 0, 3, 6, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 9, 7, 15, 8 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 4, 10, 10, 11 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 8, 5, 14, 11 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 6, 7 ], "to": [ 9, 11, 9 ], "faces": { "north": { "uv": [ 8, 4, 10, 9 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 10, 4, 12, 9 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 14, 11, 16, 16 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 14, 4, 16, 9 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 0, 14, 2, 16 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 1, 10 ], "to": [ 9, 7, 11 ], "faces": { "north": { "uv": [ 9, 2, 11, 8 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 11, 2, 13, 8 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 11, 2, 12, 8 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 15, 2, 16, 8 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 8, 0, 10, 1 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 14, 5, 16, 6 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 5, 1, 7 ], "to": [ 6, 7, 9 ], "faces": { "north": { "uv": [ 9, 4, 10, 10 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 8, 4, 9, 10 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 0, 6, 2, 12 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 10, 3, 12, 9 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 14, 5, 15, 7 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 10, 5, 11, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 1, 5 ], "to": [ 9, 7, 6 ], "faces": { "north": { "uv": [ 9, 0, 11, 6 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 14, 0, 16, 6 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 12, 0, 13, 6 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 13, 0, 14, 6 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 14, 5, 16, 6 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 14, 6, 16, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 10, 1, 7 ], "to": [ 11, 7, 9 ], "faces": { "north": { "uv": [ 4, 8, 5, 14 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 14, 3, 15, 9 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 12, 3, 14, 9 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 10, 3, 12, 9 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 11, 6, 12, 8 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 10, 6, 11, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 9, 6, 7 ], "to": [ 10, 7, 9 ], "faces": { "north": { "uv": [ 14, 2, 15, 3 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 13, 3, 15, 4 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 13, 4, 15, 5 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 13, 4, 14, 6 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 14, 4, 15, 6 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 6, 6 ], "to": [ 9, 7, 7 ], "faces": { "north": { "uv": [ 11, 3, 13, 4 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 11, 3, 13, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 13, 4, 14, 5 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 14, 5, 16, 6 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 10, 7, 12, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 6, 6, 7 ], "to": [ 7, 7, 9 ], "faces": { "north": { "uv": [ 13, 2, 14, 3 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 15, 2, 16, 3 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 14, 2, 16, 3 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 14, 3, 16, 4 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 13, 3, 14, 5 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 14, 3, 15, 5 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 6, 9 ], "to": [ 9, 7, 10 ], "faces": { "north": { "uv": [ 14, 0, 16, 1 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 13, 2, 15, 3 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 14, 3, 15, 4 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 14, 4, 15, 5 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 9, 6, 11, 7 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 9, 7, 11, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 0, 10 ], "to": [ 9, 1, 13 ], "faces": { "north": { "uv": [ 10, 2, 12, 3 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 10, 3, 12, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 10, 4, 13, 5 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 11, 6, 14, 7 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 11, 5, 13, 8 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 12, 5, 14, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 10, 0, 7 ], "to": [ 13, 1, 9 ], "faces": { "north": { "uv": [ 1, 8, 4, 9 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 6, 9, 9, 10 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 9, 5, 11, 6 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 10, 5, 12, 6 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 13, 5, 16, 7 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 8, 2, 11, 4 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 7, 0, 3 ], "to": [ 9, 1, 6 ], "faces": { "north": { "uv": [ 8, 3, 10, 4 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 11, 3, 13, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 11, 3, 14, 4 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 13, 5, 16, 6 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 10, 3, 12, 6 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 14, 4, 16, 7 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 3, 0, 7 ], "to": [ 6, 1, 9 ], "faces": { "north": { "uv": [ 13, 1, 16, 2 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 10, 3, 13, 4 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 12, 5, 14, 6 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 10, 5, 12, 6 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 13, 9, 16, 11 ], "texture": "#Iron", "cullface": false }, "down": { "uv": [ 8, 6, 11, 8 ], "texture": "#Iron", "cullface": false } } }, { "from": [ 3, 14, 3 ], "to": [ 13, 15, 13 ], "faces": { "north": { "uv": [ 0, 0, 0, 0 ], "texture": "#Iron", "cullface": false }, "south": { "uv": [ 0, 0, 0, 0 ], "texture": "#Iron", "cullface": false }, "east": { "uv": [ 0, 0, 0, 0 ], "texture": "#Iron", "cullface": false }, "west": { "uv": [ 0, 0, 0, 0 ], "texture": "#Iron", "cullface": false }, "up": { "uv": [ 2, 2, 12, 12 ], "texture": "#Iron Bars", "cullface": false }, "down": { "uv": [ 0, 0, 0, 0 ], "texture": "#Iron", "cullface": false } } } ] } What the working and non-working models look like: What the blocks look like when using the vanilla glass model: Quote
larsgerrits Posted May 11, 2015 Posted May 11, 2015 Override getBlockLayer() to return EnumWorldBlockLayer.CUTOUT . Quote 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/
Recommended Posts
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.