feat(TU20/21): Implement la's TU21 patch file

This adds the following:

TU20:
1. Librarians now have a small chance to offer name tags for sale
2. Witches can now spawn at light level 7 or less in any biome or cave
3. Skeletons & Wither Skeletons now rarely spawn anywhere in the Nether

TU21:
1. Minecart entity limit increased
This commit is contained in:
2026-07-08 06:51:34 +03:00
parent bbf3ea9197
commit 6677ae1129
20 changed files with 75 additions and 21 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ void Wolf::setCollarColor(int color)
// 4J-PB added for tooltips
int Wolf::GetSynchedHealth()
{
return getEntityData()->getInteger(DATA_HEALTH_ID);
return getEntityData()->getFloat(DATA_HEALTH_ID);
}
shared_ptr<AgableMob> Wolf::getBreedOffspring(shared_ptr<AgableMob> target)