int k = MathHelper.floor_double(cart.posZ);
if (EntityMinecart.getCollisionHandler() != this)
if (other instanceof EntityLivingBase && RailcraftBlocks.getBlockElevator() != null && cart.worldObj.getBlock(i, j, k) == RailcraftBlocks.getBlockElevator())
if (other.boundingBox.minY < cart.boundingBox.maxY) {
other.moveEntity(0, cart.boundingBox.maxY - other.boundingBox.minY, 0);
other.onGround = true;
}
if (MiscTools.getRand().nextFloat() < 0.001f) {
List<EntityMinecart> carts = CartTools.getMinecartsAt(cart.worldObj, i, j, k, 0);