Java 类net.minecraft.server.WorldMap 实例源码

项目:DiffUtils    文件:CraftServer_1710.java   
@Override
@Deprecated
public CraftMapView getMap(short id) {
    PersistentCollection collection = console.worlds.get(0).worldMaps;
    WorldMap worldmap = (WorldMap) collection.get(WorldMap.class, "map_" + id);
    if (worldmap == null) {
        return null;
    }
    return worldmap.mapView;
}
项目:DiffUtils    文件:CraftServer_1710.java   
@Override
public CraftMapView createMap(World world) {
    Validate.notNull(world, "World cannot be null");

    net.minecraft.server.ItemStack stack = new net.minecraft.server.ItemStack(Items.MAP, 1, -1);
    WorldMap worldmap = Items.MAP.getSavedMap(stack, ((CraftWorld) world).getHandle());
    return worldmap.mapView;
}
项目:CraftBukkit    文件:CraftServer.java   
@Override
@Deprecated
public CraftMapView getMap(short id) {
    PersistentCollection collection = console.worlds.get(0).worldMaps;
    WorldMap worldmap = (WorldMap) collection.get(WorldMap.class, "map_" + id);
    if (worldmap == null) {
        return null;
    }
    return worldmap.mapView;
}
项目:CraftBukkit    文件:CraftServer.java   
@Override
public CraftMapView createMap(World world) {
    Validate.notNull(world, "World cannot be null");

    net.minecraft.server.ItemStack stack = new net.minecraft.server.ItemStack(Items.MAP, 1, -1);
    WorldMap worldmap = Items.MAP.getSavedMap(stack, ((CraftWorld) world).getHandle());
    return worldmap.mapView;
}
项目:Almura-Server    文件:CraftServer.java   
public CraftMapView getMap(short id) {
    WorldMapCollection collection = console.worlds.get(0).worldMaps;
    WorldMap worldmap = (WorldMap) collection.get(WorldMap.class, "map_" + id);
    if (worldmap == null) {
        return null;
    }
    return worldmap.mapView;
}
项目:Almura-Server    文件:CraftServer.java   
public CraftMapView createMap(World world) {
    Validate.notNull(world, "World cannot be null");

    net.minecraft.server.ItemStack stack = new net.minecraft.server.ItemStack(Item.MAP, 1, -1);
    WorldMap worldmap = Item.MAP.getSavedMap(stack, ((CraftWorld) world).getHandle());
    return worldmap.mapView;
}
项目:Tweakkit-Server    文件:CraftServer.java   
@Override
@Deprecated
public CraftMapView getMap(short id) {
    PersistentCollection collection = console.worlds.get(0).worldMaps;
    WorldMap worldmap = (WorldMap) collection.get(WorldMap.class, "map_" + id);
    if (worldmap == null) {
        return null;
    }
    return worldmap.mapView;
}
项目:Tweakkit-Server    文件:CraftServer.java   
@Override
public CraftMapView createMap(World world) {
    Validate.notNull(world, "World cannot be null");

    net.minecraft.server.ItemStack stack = new net.minecraft.server.ItemStack(Items.MAP, 1, -1);
    WorldMap worldmap = Items.MAP.getSavedMap(stack, ((CraftWorld) world).getHandle());
    return worldmap.mapView;
}
项目:Craft-city    文件:CraftServer.java   
public CraftMapView getMap(short id) {
    WorldMapCollection collection = console.worlds.get(0).worldMaps;
    WorldMap worldmap = (WorldMap) collection.get(WorldMap.class, "map_" + id);
    if (worldmap == null) {
        return null;
    }
    return worldmap.mapView;
}
项目:Craft-city    文件:CraftServer.java   
public CraftMapView createMap(World world) {
    Validate.notNull(world, "World cannot be null");

    net.minecraft.server.ItemStack stack = new net.minecraft.server.ItemStack(Item.MAP, 1, -1);
    WorldMap worldmap = Item.MAP.getSavedMap(stack, ((CraftWorld) world).getHandle());
    return worldmap.mapView;
}
项目:CraftBukkit    文件:CraftMapRenderer.java   
public CraftMapRenderer(CraftMapView mapView, WorldMap worldMap) {
    super(false);
    this.worldMap = worldMap;
}
项目:CraftBukkit    文件:CraftMapView.java   
public CraftMapView(WorldMap worldMap) {
    this.worldMap = worldMap;
    addRenderer(new CraftMapRenderer(this, worldMap));
}
项目:Craftbukkit    文件:CraftMapRenderer.java   
public CraftMapRenderer(CraftMapView mapView, WorldMap worldMap) {
    super(false);
    this.worldMap = worldMap;
}
项目:Craftbukkit    文件:CraftMapView.java   
public CraftMapView(WorldMap worldMap) {
    this.worldMap = worldMap;
    addRenderer(new CraftMapRenderer(this, worldMap));
}
项目:Almura-Server    文件:CraftMapRenderer.java   
public CraftMapRenderer(CraftMapView mapView, WorldMap worldMap) {
    super(false);
    this.worldMap = worldMap;
}
项目:Almura-Server    文件:CraftMapView.java   
public CraftMapView(WorldMap worldMap) {
    this.worldMap = worldMap;
    addRenderer(new CraftMapRenderer(this, worldMap));
}
项目:Tweakkit-Server    文件:CraftMapRenderer.java   
public CraftMapRenderer(CraftMapView mapView, WorldMap worldMap) {
    super(false);
    this.worldMap = worldMap;
}
项目:Tweakkit-Server    文件:CraftMapView.java   
public CraftMapView(WorldMap worldMap) {
    this.worldMap = worldMap;
    addRenderer(new CraftMapRenderer(this, worldMap));
}
项目:SpigotSource    文件:CraftMapRenderer.java   
public CraftMapRenderer(CraftMapView mapView, WorldMap worldMap) {
    super(false);
    this.worldMap = worldMap;
}
项目:SpigotSource    文件:CraftMapView.java   
public CraftMapView(WorldMap worldMap) {
    this.worldMap = worldMap;
    addRenderer(new CraftMapRenderer(this, worldMap));
}
项目:Craft-city    文件:CraftMapRenderer.java   
public CraftMapRenderer(CraftMapView mapView, WorldMap worldMap) {
    super(false);
    this.worldMap = worldMap;
}
项目:Craft-city    文件:CraftMapView.java   
public CraftMapView(WorldMap worldMap) {
    this.worldMap = worldMap;
    addRenderer(new CraftMapRenderer(this, worldMap));
}