Check if skin texture height is 64 or 32, slim skins, better slim skins parameters, zombie villager fix.

Co-authored-by: ItzSonicFaner <165782267+ItzSonicFaner@users.noreply.github.com>
Reviewed-on: https://codeberg.org/piebot/LegacyEvolved/pulls/1
Co-authored-by: ItzSonicFaner <itzsonicfaner@noreply.codeberg.org>
Co-committed-by: ItzSonicFaner <itzsonicfaner@noreply.codeberg.org>
This commit is contained in:
ItzSonicFaner
2026-03-27 15:35:15 +01:00
committed by neoapps-dev
co-authored by ItzSonicFaner
parent 3919152a95
commit 84c228e80f
54 changed files with 983 additions and 103 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#include "stdafx.h"
#include "ModelPart.h"
#include "VillagerZombieModel.h"
#include "../Minecraft.World/Mth.h"
#include "..\Minecraft.World\Mth.h"
void VillagerZombieModel::_init(float g, float yOffset, bool isArmor)
{
@@ -25,12 +25,12 @@ void VillagerZombieModel::_init(float g, float yOffset, bool isArmor)
head->compile(1.0f/16.0f);
}
VillagerZombieModel::VillagerZombieModel() : HumanoidModel(0, 0, 64, 64)
VillagerZombieModel::VillagerZombieModel() : HumanoidModel(0, 0, 64, 64, false, true, true)
{
_init(0, 0, false);
}
VillagerZombieModel::VillagerZombieModel(float g, float yOffset, bool isArmor) : HumanoidModel(g, 0, 64, isArmor ? 32 : 64)
VillagerZombieModel::VillagerZombieModel(float g, float yOffset, bool isArmor) : HumanoidModel(g, 0, 64, isArmor ? 32 : 64 , false, true, isArmor ? true : false)
{
_init(g, yOffset, isArmor);
}