mc-beta-server/server/entities/Item.ts

13 lines
326 B
TypeScript
Raw Normal View History

2023-04-17 02:05:11 +01:00
import { World } from "../World";
import { ItemStack } from "../containers/ItemStack";
import { Entity } from "./Entity";
export class EntityItem extends Entity {
public age:number;
public constructor(world:World, x:number, y:number, z:number, itemStack:ItemStack) {
super(world);
this.age = 0;
this.health = 5;
}
}