Examples of breakLinks()


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

    }
    ILinkageManager linkMan = CartTools.getLinkageManager(world);
    if(linkMan == null) {
      return;
    }
    linkMan.breakLinks(cart);
  }

  public static void recreateLink(EntityMinecart existingCart, EntityMinecart newCart) {
    if(existingCart == null || newCart == null) {
      return;
View Full Code Here

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

    @Override
    public void onMinecartPass(EntityMinecart cart) {
        if (isPowered()) {
            ILinkageManager lm = CartTools.getLinkageManager(cart.worldObj);
            if (decouple) {
                lm.breakLinks(cart);
                LinkageManager.printDebug("Reason For Broken Link: Passed Decoupler Track.");
            } else {
                lm.createLink(taggedCart, cart);
                taggedCart = cart;
            }
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.