mc-beta-server/server/Entities/Entity.js

19 lines
263 B
JavaScript
Raw Normal View History

2021-08-12 05:13:25 +01:00
class Entity {
constructor(x = 0, y = 0, z = 0, yaw = 0, pitch = 0) {
this.x = x;
this.y = y;
this.z = z;
this.yaw = yaw;
this.pitch = pitch;
this.motionX = 0;
this.motionY = 0;
this.motionZ = 0;
}
onTick() {
}
}
module.exports = Entity;