Package mods.railcraft.common.blocks.tracks

Examples of mods.railcraft.common.blocks.tracks.EnumTrackMeta.ordinal()


                            setActive(false);
                        }
                        placeRail = false;
                    } else if (TrackTools.isRailBlockAt(worldObj, x, y, z)) {
                        if (!dir.isEqual(TrackTools.getTrackMeta(worldObj, this, x, y, z))) {
                            worldObj.setBlockMetadataWithNotify(x, y, z, dir.ordinal(), 3);
                            setDelay(STANDARD_DELAY);
                        }
                    } else if (worldObj.isAirBlock(x, y, z) || replaceableBlocks.contains(worldObj.getBlock(x, y, z))) {
                        placeRail = true;
                        setDelay(STANDARD_DELAY);
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.