Examples of canMakeSlopes()


Examples of net.minecraft.block.BlockRailBase.canMakeSlopes()

        setBlockBoundsBasedOnState(world, x, y, z);

        if (TrackTools.isRailBlockAt(world, x, y - 1, z)) {
            Block block = WorldPlugin.getBlock(world, x, y - 1, z);
            BlockRailBase railBlock = (BlockRailBase) block;
            if (railBlock.canMakeSlopes(world, x, y - 1, z)) {
                int trackMeta = railBlock.getBasicRailMetadata(world, null, x, y - 1, z);
                int ladderMeta = getLadderFacingMetadata(world, x, y, z);

                int outputMeta = 0;
                if (trackMeta == 0 && ladderMeta == 2)
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.