feat: new chunk load toggle

also fixes item frames / paintings in dlc worlds
This commit is contained in:
Fireblade committed 2026-07-24 15:14:27 -04:00
1 parent 261700ea8b
commit 306d1c9fb7
10 files changed
+50 -6

No files matched your search

+4
View File
@@ -846,6 +846,10 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket()
{
data |= 0x100;
}
if (frame->placedByTutorial)
{
data |= 0x200;
}
shared_ptr<AddEntityPacket> packet = std::make_shared<AddEntityPacket>(e, AddEntityPacket::ITEM_FRAME, data, yRotp, xRotp, xp, yp, zp);
packet->x = Mth::floor(frame->xTile * 32.0f);
packet->y = Mth::floor(frame->yTile * 32.0f);