}
} else if (binding == LOCOMOTIVE_MODE_CHANGE) {
for (EntityMinecart cart : train) {
if (cart instanceof EntityLocomotive) {
EntityLocomotive loco = (EntityLocomotive) cart;
if (loco.canControl(entiyPlayer.getGameProfile())) {
LocoMode mode = loco.getMode();
if (mode == LocoMode.RUNNING)
loco.setMode(LocoMode.IDLE);
else
loco.setMode(LocoMode.RUNNING);