Examples of blockOnSideHasSolidFace()


Examples of micdoodle8.mods.galacticraft.api.vector.BlockVec3.blockOnSideHasSolidFace()

    public boolean canPlaceBlockAt(World par1World, int x, int y, int z)
    {
        BlockVec3 thisvec = new BlockVec3(x, y, z);
        for (int i = 0; i < 6; i++)
        {
            if (thisvec.blockOnSideHasSolidFace(par1World, i))
            {
                return true;
            }
        }
        return false;
View Full Code Here

Examples of micdoodle8.mods.galacticraft.api.vector.BlockVec3.blockOnSideHasSolidFace()

    @Override
    public int onBlockPlaced(World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metaOld)
    {
        BlockVec3 thisvec = new BlockVec3(x, y, z);

        if (thisvec.blockOnSideHasSolidFace(world, side ^ 1))
        {
            return side ^ 1;
        }

        return metaOld;
View Full Code Here

Examples of micdoodle8.mods.galacticraft.api.vector.BlockVec3.blockOnSideHasSolidFace()

    {
        final int side = par1World.getBlockMetadata(x, y, z);

        BlockVec3 thisvec = new BlockVec3(x, y, z);

        if (thisvec.blockOnSideHasSolidFace(par1World, side))
        {
            return;
        }

        this.dropBlockAsItem(par1World, x, y, z, 0, 0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.