mc-beta-server/server/tileentities/TileEntity.ts
Holly 18ff5a5910
All checks were successful
Node.js Build / build (20.x) (push) Successful in 5m19s
tile entity base
2024-11-17 08:26:35 +00:00

15 lines
No EOL
429 B
TypeScript

import Block from "../blocks/Block";
import TileEntityType from "../enums/TileEntityType";
import Vec3 from "../Vec3";
export default class TileEntity {
private readonly type: TileEntityType;
private readonly forBlockId: Block;
private readonly position: Vec3;
public constructor(type: TileEntityType, forBlockId: Block, position: Vec3) {
this.type = type;
this.forBlockId = forBlockId;
this.position = position;
}
}