Examples of breakLink()


Examples of mods.railcraft.api.carts.ILinkageManager.breakLink()

                    if (!linkable || (linkable && ((ILinkableCart) cart).isLinkable()))
                        if (linkMap.containsKey(thePlayer)) {
                            ILinkageManager lm = LinkageManager.instance();
                            EntityMinecart last = linkMap.remove(thePlayer);
                            if (lm.areLinked(cart, last)) {
                                lm.breakLink(cart, last);
                                used = true;
                                ChatPlugin.sendLocalizedChat(thePlayer, "railcraft.gui.link.broken");
                                LinkageManager.printDebug("Reason For Broken Link: User removed link.");
                            } else {
                                used = lm.createLink((EntityMinecart) entity, (EntityMinecart) last);
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.