Examples of endPairing()


Examples of mods.railcraft.api.signals.SignalController.endPairing()

                        tile = world.getTileEntity(cPos.x, cPos.y, cPos.z);
                        if (tile != null && tile instanceof IControllerTile) {
                            SignalController controller = ((IControllerTile) tile).getController();
                            if (receiver.getTile() != controller.getTile()) {
                                controller.registerReceiver(receiver);
                                controller.endPairing();
                                ChatPlugin.sendLocalizedChat(player, "railcraft.gui.tuner.success", controller.getName(), receiver.getName());
                                item.setTagCompound(null);
                                return true;
                            }
                        } else if (world.blockExists(cPos.x, cPos.y, cPos.z)) {
View Full Code Here

Examples of mods.railcraft.api.signals.SignalController.endPairing()

                        ChatPlugin.sendLocalizedChat(player, "railcraft.gui.tuner.start", controller.getName());
                        setControllerData(item, tile);
                        controller.startPairing();
                    } else {
                        ChatPlugin.sendLocalizedChat(player, "railcraft.gui.tuner.stop", controller.getName());
                        controller.endPairing();
                        item.setTagCompound(null);
                    }
                }
            } else
                return false;
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.