Package codechicken.microblock

Examples of codechicken.microblock.BlockMicroMaterial


        for (int i = 0; i < maxMeta; i++)
            registerMultipart(block, i);
    }

    private static void registerMultipart(Block block, int meta) {
        MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(block, meta), block.getUnlocalizedName() + (meta == 0 ? "" : "_" + meta));
    }
View Full Code Here


    public static void registerBlock (Block block, int metastart, int metaend)
    {
        for (int meta = metastart; meta <= metaend; meta++)
        {
            String identifier = new String(block.getUnlocalizedName());
            MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(block, meta), identifier + meta);
        }
    }
View Full Code Here

TOP

Related Classes of codechicken.microblock.BlockMicroMaterial

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.