public void WritePacket(IMcStream stream) { stream.WriteDouble(X); stream.WriteDouble(Y); stream.WriteDouble(Stance); stream.WriteDouble(Z); stream.WriteBoolean(OnGround); }
public void WritePacket(IMcStream stream) { stream.WriteDouble(X); stream.WriteDouble(Y); stream.WriteDouble(Z); stream.WriteSingle(Radius); stream.WriteInt32(AffectedBlocks.Length); for (var i = 0; i < AffectedBlocks.Length; i++) { stream.WriteInt8(AffectedBlocks[i].Item1); stream.WriteInt8(AffectedBlocks[i].Item2); stream.WriteInt8(AffectedBlocks[i].Item3); } }