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

项目:Zombe-Modpack    文件:NetHandlerPlayClient.java   
/**
 * Handles the spawning of a painting object
 */
public void handleSpawnPainting(SPacketSpawnPainting packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPainting entitypainting = new EntityPainting(this.clientWorldController, packetIn.getPosition(), packetIn.getFacing(), packetIn.getTitle());
    entitypainting.setUniqueId(packetIn.getUniqueId());
    this.clientWorldController.addEntityToWorld(packetIn.getEntityID(), entitypainting);
}
项目:Backmemed    文件:NetHandlerPlayClient.java   
/**
 * Handles the spawning of a painting object
 */
public void handleSpawnPainting(SPacketSpawnPainting packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPainting entitypainting = new EntityPainting(this.clientWorldController, packetIn.getPosition(), packetIn.getFacing(), packetIn.getTitle());
    entitypainting.setUniqueId(packetIn.getUniqueId());
    this.clientWorldController.addEntityToWorld(packetIn.getEntityID(), entitypainting);
}
项目:CustomWorldGen    文件:NetHandlerPlayClient.java   
/**
 * Handles the spawning of a painting object
 */
public void handleSpawnPainting(SPacketSpawnPainting packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPainting entitypainting = new EntityPainting(this.clientWorldController, packetIn.getPosition(), packetIn.getFacing(), packetIn.getTitle());
    entitypainting.setUniqueId(packetIn.getUniqueId());
    this.clientWorldController.addEntityToWorld(packetIn.getEntityID(), entitypainting);
}
项目:ExpandedRailsMod    文件:NetHandlerPlayClient.java   
/**
 * Handles the spawning of a painting object
 */
public void handleSpawnPainting(SPacketSpawnPainting packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    EntityPainting entitypainting = new EntityPainting(this.clientWorldController, packetIn.getPosition(), packetIn.getFacing(), packetIn.getTitle());
    entitypainting.setUniqueId(packetIn.getUniqueId());
    this.clientWorldController.addEntityToWorld(packetIn.getEntityID(), entitypainting);
}
项目:Backmemed    文件:INetHandlerPlayClient.java   
/**
 * Handles the spawning of a painting object
 */
void handleSpawnPainting(SPacketSpawnPainting packetIn);
项目:CustomWorldGen    文件:INetHandlerPlayClient.java   
/**
 * Handles the spawning of a painting object
 */
void handleSpawnPainting(SPacketSpawnPainting packetIn);