/// <summary> /// Emits smoke to the player. /// </summary> public void SendSmoke(SmokeDirection direction, int x, int y, int z) { SendPacket(new Packet61SoundEffect((int)SoundType.SMOKE, x, y, z, (int)direction)); }
/// <summary> /// Emits smoke to the player at their current position. /// </summary> public void SendSmoke(SmokeDirection direction) { SendSmoke(direction, (int)Math.Floor(Entity.posX), (int)Math.Floor(Entity.posY), (int)Math.Floor(Entity.posZ)); }