protected override Task SendSpawnPacket(ClientPlayPacketGenerator generator) { return(generator.SpawnObject(AttachedObject.EntityId, AttachedObject.UUID, 2, AttachedObject.Position, AttachedObject.Pitch, AttachedObject.Yaw, 0)); }
protected override Task SendSpawnPacket(ClientPlayPacketGenerator generator) { // for items, the int value is ignored, but should be set to 1 to indicate that velocity is present. return(generator.SpawnObject(AttachedObject.EntityId, AttachedObject.UUID, 2, AttachedObject.Position, AttachedObject.Pitch, AttachedObject.Yaw, 1)); }