mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-17 19:40:45 +00:00
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:
@@ -22,7 +22,7 @@ protected:
|
||||
|
||||
static const int m_iMaxHSlotC = 12;
|
||||
static const int m_iMaxHCraftingSlotC = 10;
|
||||
static const int m_iMaxVSlotC = 17;
|
||||
static const int m_iMaxVSlotC = 99;
|
||||
static const int m_iMaxDisplayedVSlotC = 3;
|
||||
static const int m_iIngredients3x3SlotC = 9;
|
||||
static const int m_iIngredients2x2SlotC = 4;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user