54 $result->actorUniqueId = $actorUniqueId;
55 $result->actorRuntimeId = $actorRuntimeId;
56 $result->item = $item;
57 $result->position = $position;
58 $result->motion = $motion;
59 $result->metadata = $metadata;
60 $result->isFromFishing = $isFromFishing;
65 $this->actorUniqueId =
CommonTypes::getActorUniqueId($in);
66 $this->actorRuntimeId = CommonTypes::getActorRuntimeId($in);
67 $this->item = CommonTypes::getItemStackWrapper($in);
68 $this->position = CommonTypes::getVector3($in);
69 $this->motion = CommonTypes::getVector3($in);
70 $this->metadata = CommonTypes::getEntityMetadata($in);
71 $this->isFromFishing = CommonTypes::getBool($in);
75 CommonTypes::putActorUniqueId($out, $this->actorUniqueId);
76 CommonTypes::putActorRuntimeId($out, $this->actorRuntimeId);
77 CommonTypes::putItemStackWrapper($out, $this->item);
78 CommonTypes::putVector3($out, $this->position);
79 CommonTypes::putVector3Nullable($out, $this->motion);
80 CommonTypes::putEntityMetadata($out, $this->metadata);
81 CommonTypes::putBool($out, $this->isFromFishing);