代码示例来源:origin: SonarSonic/Calculator public static void travelToDimension(List<EntityPlayer> players, TileEntityTeleporter tile) { for (EntityPlayer entity : players) { int currentDimension = entity.world.provider.getDimension(); BlockCoords coords = tile.getCoords(); if (coords.getDimension(...