Translations:TrainCarts/API/SignAction/8/en
Jump to navigation
Jump to search
@Override
public void execute(SignActionEvent info) { // When a [train] sign is placed, activate when powered by redstone when the train // goes over the sign, or when redstone is activated. if (info.isTrainSign() && info.isAction(SignActionType.GROUP_ENTER, SignActionType.REDSTONE_ON) && info.isPowered() && info.hasGroup() ) { for (MinecartMember<?> member : info.getGroup()) { sendGreetingForCart(info, member); } return; }