Java 类net.minecraft.network.play.server.S34PacketMaps 实例源码

项目:DecompiledMinecraft    文件:MapData.java   
public Packet getPacket(ItemStack stack)
{
    if (this.field_176105_d)
    {
        this.field_176105_d = false;
        return new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, this.minX, this.minY, this.maxX + 1 - this.minX, this.maxY + 1 - this.minY);
    }
    else
    {
        return this.field_176109_i++ % 5 == 0 ? new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, 0, 0, 0, 0) : null;
    }
}
项目:DecompiledMinecraft    文件:MapData.java   
public Packet getPacket(ItemStack stack)
{
    if (this.field_176105_d)
    {
        this.field_176105_d = false;
        return new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, this.minX, this.minY, this.maxX + 1 - this.minX, this.maxY + 1 - this.minY);
    }
    else
    {
        return this.field_176109_i++ % 5 == 0 ? new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, 0, 0, 0, 0) : null;
    }
}
项目:DecompiledMinecraft    文件:NetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
public void handleMaps(S34PacketMaps packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    MapData mapdata = ItemMap.loadMapData(packetIn.getMapId(), this.gameController.theWorld);
    packetIn.setMapdataTo(mapdata);
    this.gameController.entityRenderer.getMapItemRenderer().updateMapTexture(mapdata);
}
项目:BaseClient    文件:MapData.java   
public Packet getPacket(ItemStack stack)
{
    if (this.field_176105_d)
    {
        this.field_176105_d = false;
        return new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, this.minX, this.minY, this.maxX + 1 - this.minX, this.maxY + 1 - this.minY);
    }
    else
    {
        return this.field_176109_i++ % 5 == 0 ? new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, 0, 0, 0, 0) : null;
    }
}
项目:BaseClient    文件:NetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
public void handleMaps(S34PacketMaps packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    MapData mapdata = ItemMap.loadMapData(packetIn.getMapId(), this.gameController.theWorld);
    packetIn.setMapdataTo(mapdata);
    this.gameController.entityRenderer.getMapItemRenderer().updateMapTexture(mapdata);
}
项目:BaseClient    文件:MapData.java   
public Packet getPacket(ItemStack stack)
{
    if (this.field_176105_d)
    {
        this.field_176105_d = false;
        return new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, this.minX, this.minY, this.maxX + 1 - this.minX, this.maxY + 1 - this.minY);
    }
    else
    {
        return this.field_176109_i++ % 5 == 0 ? new S34PacketMaps(stack.getMetadata(), MapData.this.scale, MapData.this.mapDecorations.values(), MapData.this.colors, 0, 0, 0, 0) : null;
    }
}
项目:BaseClient    文件:NetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified
 * map-identifier and invokes a MapItemRenderer for it
 */
public void handleMaps(S34PacketMaps packetIn) {
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    MapData mapdata = ItemMap.loadMapData(packetIn.getMapId(), this.gameController.theWorld);
    packetIn.setMapdataTo(mapdata);
    this.gameController.entityRenderer.getMapItemRenderer().updateMapTexture(mapdata);
}
项目:Resilience-Client-Source    文件:NetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
public void handleMaps(S34PacketMaps p_147264_1_)
{
    MapData var2 = ItemMap.func_150912_a(p_147264_1_.func_149188_c(), this.gameController.theWorld);
    var2.updateMPMapData(p_147264_1_.func_149187_d());
    this.gameController.entityRenderer.getMapItemRenderer().func_148246_a(var2);
}
项目:Resilience-Client-Source    文件:ItemMap.java   
public Packet func_150911_c(ItemStack p_150911_1_, World p_150911_2_, EntityPlayer p_150911_3_)
{
    byte[] var4 = this.getMapData(p_150911_1_, p_150911_2_).getUpdatePacketData(p_150911_1_, p_150911_2_, p_150911_3_);
    return var4 == null ? null : new S34PacketMaps(p_150911_1_.getItemDamage(), var4);
}
项目:Cauldron    文件:ItemMap.java   
public Packet func_150911_c(ItemStack p_150911_1_, World p_150911_2_, EntityPlayer p_150911_3_)
{
    byte[] abyte = this.getMapData(p_150911_1_, p_150911_2_).getUpdatePacketData(p_150911_1_, p_150911_2_, p_150911_3_);
    return abyte == null ? null : new S34PacketMaps(p_150911_1_.getItemDamage(), abyte);
}
项目:Cauldron    文件:NetHandlerPlayClient.java   
public void handleMaps(S34PacketMaps p_147264_1_)
{
    MapData mapdata = ItemMap.func_150912_a(p_147264_1_.func_149188_c(), this.gameController.theWorld);
    mapdata.updateMPMapData(p_147264_1_.func_149187_d());
    this.gameController.entityRenderer.getMapItemRenderer().func_148246_a(mapdata);
}
项目:Cauldron    文件:ItemMap.java   
public Packet func_150911_c(ItemStack p_150911_1_, World p_150911_2_, EntityPlayer p_150911_3_)
{
    byte[] abyte = this.getMapData(p_150911_1_, p_150911_2_).getUpdatePacketData(p_150911_1_, p_150911_2_, p_150911_3_);
    return abyte == null ? null : new S34PacketMaps(p_150911_1_.getItemDamage(), abyte);
}
项目:Cauldron    文件:NetHandlerPlayClient.java   
public void handleMaps(S34PacketMaps p_147264_1_)
{
    MapData mapdata = ItemMap.func_150912_a(p_147264_1_.func_149188_c(), this.gameController.theWorld);
    mapdata.updateMPMapData(p_147264_1_.func_149187_d());
    this.gameController.entityRenderer.getMapItemRenderer().func_148246_a(mapdata);
}
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
void handleMaps(S34PacketMaps packetIn);
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
void handleMaps(S34PacketMaps packetIn);
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
void handleMaps(S34PacketMaps packetIn);
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
void handleMaps(S34PacketMaps packetIn);
项目:Resilience-Client-Source    文件:INetHandlerPlayClient.java   
/**
 * Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
 * MapItemRenderer for it
 */
void handleMaps(S34PacketMaps var1);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleMaps(S34PacketMaps p_147264_1_);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleMaps(S34PacketMaps p_147264_1_);