ArmorStand Entity + Item

This commit is contained in:
ChristianFalegnami
2026-03-15 23:40:01 +01:00
parent 0bee09ecea
commit 60565f7a5e
49 changed files with 1127 additions and 141 deletions
+5
View File
@@ -675,6 +675,11 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket()
yHeadRotp = Mth::floor(e->getYHeadRot() * 256 / 360);
return std::make_shared<AddMobPacket>(dynamic_pointer_cast<LivingEntity>(e), yRotp, xRotp, xp, yp, zp, yHeadRotp);
}
else if (e->instanceof(eTYPE_ARMORSTAND))
{
yHeadRotp = Mth::floor(e->getYHeadRot() * 256 / 360);
return std::make_shared<AddMobPacket>(dynamic_pointer_cast<LivingEntity>(e), yRotp, xRotp, xp, yp, zp, yHeadRotp);
}
else if (e->instanceof(eTYPE_FISHINGHOOK))
{
shared_ptr<Entity> owner = dynamic_pointer_cast<FishingHook>(e)->owner;