Package mods.railcraft.api.core.items

Examples of mods.railcraft.api.core.items.ITrackItem


            if(nextToSuspended)
                return;

            if (trackExist != null && trackStock != null)
                if (trackExist.getItem() instanceof ITrackItem) {
                    ITrackItem trackItem = (ITrackItem) trackExist.getItem();
                    if (trackItem.getPlacedBlock() == block) {
                        TileEntity tile = worldObj.getTileEntity(i, j, k);
                        if (trackItem.isPlacedTileEntity(trackExist, tile)) {
                            int meta = removeOldTrack(i, j, k, block);
                            if (meta != -1)
                                placeNewTrack(i, j, k, SLOT_STOCK, meta);
                        }
                    }
View Full Code Here

TOP

Related Classes of mods.railcraft.api.core.items.ITrackItem

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.