@Override
public MovingObjectPosition collisionRayTrace(World world, int i, int j, int k, Vec3 vec3d, Vec3 vec3d1) {
TileEntity tile = world.getTileEntity(i, j, k);
if (tile instanceof TileTrack) {
ITrackInstance track = ((TileTrack) tile).getTrackInstance();
if (track instanceof ITrackCustomShape)
return ((ITrackCustomShape) track).collisionRayTrace(vec3d, vec3d1);
}
return super.collisionRayTrace(world, i, j, k, vec3d, vec3d1);
}