public override byte[] Write() { List <byte> tosend = new List <byte>(); tosend.AddRange(McDouble.ToBytes(X)); tosend.AddRange(McDouble.ToBytes(FeetY)); tosend.AddRange(McDouble.ToBytes(Z)); tosend.AddRange(McBoolean.ToBytes(OnGround)); return(tosend.ToArray()); }
public override byte[] Write() { return(McBoolean.ToBytes(OnGround)); }