08-30-2013, 10:20 PM
I don't quite understand what "negating friction" means, and your code is definitely not "when on a rail". Not to mention it's an unreadable mess of characters, without the spaces around operators it's quite difficult to human-parse.
Slightly offtopic rambling: I keep wondering, should it be BlockBelow? I think the minecart entity actually "rides" inside the rail blocks - the rail block is the entire 1m x 1m x 1m thing, although it is drawn only as the rail at the bottom, so IMHO both the minecart entity's center and pivot (XZ center, Y bottom) lie inside the rail block.
Slightly offtopic rambling: I keep wondering, should it be BlockBelow? I think the minecart entity actually "rides" inside the rail blocks - the rail block is the entire 1m x 1m x 1m thing, although it is drawn only as the rail at the bottom, so IMHO both the minecart entity's center and pivot (XZ center, Y bottom) lie inside the rail block.