mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-05-31 09:16:22 +00:00
Support for TU24 has been extended.
Since the TU25 update still requires a lot of work and the TU24 version does not yet include all the features, I have decided to continue working with the TU24 version for now. Merge latest changes from Minecraft Consoles: * Added support for Big-Endian DLCs. * Fix redstone tick persistence on chunk unload. * Fix pistons permanently breaking server-wide on dedicated servers. * Fix Ender Dragon damage and End Poem crash. * Disable font mipmapping to get rid of artifacts on signs. Other: * Music Fixes. * Added missing sounds (Caves, Horse Eat, Sheep Shear, Water Swim, Thorns) * Remove duplicated sounds. * Added High Quality ver of "The End Dragon Alive" music. * Fix Mobs sounds volume. * Added Old Swing Animation Option. * Added Graphics Mode (Potato, Fast, Fancy and Extra) * Fix a small memory leak with signs. * Fixed Pig Zombies attacking creative players.
This commit is contained in:
@@ -678,7 +678,7 @@ bool ServerLevel::tickPendingTicks(bool force)
|
||||
}
|
||||
else
|
||||
{
|
||||
addToTickNextTick(td.x, td.y, td.z, td.tileId, 0);
|
||||
forceAddTileTick(td.x, td.y, td.z, td.tileId, 0, td.priorityTilt); // Is this a good fix?
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1052,9 +1052,14 @@ void ServerLevel::entityAdded(shared_ptr<Entity> e)
|
||||
vector<shared_ptr<Entity> > *es = e->getSubEntities();
|
||||
if (es)
|
||||
{
|
||||
// Reassign sub-entity IDs to be sequential from the parent's ID.
|
||||
// The client assumes this layout when it applies an offset in handleAddMob.
|
||||
int offset = 1;
|
||||
for(auto& i : *es)
|
||||
{
|
||||
i->entityId = e->entityId + offset;
|
||||
entitiesById.emplace(i->entityId, i);
|
||||
offset++;
|
||||
}
|
||||
}
|
||||
entityAddedExtra(e); // 4J added
|
||||
|
||||
Reference in New Issue
Block a user