/** * 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); }
/** * Handles the spawning of a painting object */ void handleSpawnPainting(SPacketSpawnPainting packetIn);