mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
27 lines
611 B
C++
27 lines
611 B
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#include "Pig.hpp"
|
|
#include "world/level/Level.hpp"
|
|
|
|
Pig::Pig(Level* level, float x, float y, float z) : Mob(level)
|
|
{
|
|
setSize(1.5f, 0.5f);
|
|
field_84 = field_8C;
|
|
|
|
setPos(x, y, z);
|
|
field_3C.x = x;
|
|
field_3C.y = y;
|
|
field_3C.z = z;
|
|
}
|
|
|
|
Model *Pig::getModel()
|
|
{
|
|
return &m_model;
|
|
}
|