baby rabbits and craftings

incremented vertical slot for crafting table and implemented baby rabbit.
SpawnEgg named with Toast works too
This commit is contained in:
ChristianF
2026-03-13 15:07:11 +01:00
parent c1124d2f26
commit 348e44fe9e
2 changed files with 10 additions and 3 deletions
+9 -2
View File
@@ -46,6 +46,13 @@ ResourceLocation *RabbitRenderer::getTextureLocation(shared_ptr<Entity> entity)
void RabbitRenderer::scale(shared_ptr<LivingEntity> _mob, float a)
{
glScalef(0.65f, 0.65f, 0.65f);
// adult scaling
float s = 0.65f;
// baby scaling
if (_mob->isBaby()) {
s *= 0.8f;
}
glScalef(s, s, s);
}