mc-beta-server/server/blocks/Block.ts
2023-04-09 04:19:10 +01:00

26 lines
No EOL
353 B
TypeScript

export class Block {
public readonly blockId:number;
public constructor(blockId:number) {
this.blockId = blockId;
}
static stone = new Block(1);
static grass = new Block(2);
static dirt = new Block(3);
static bedrock = new Block(7);
static waterStill = new Block(9);
static wood = new Block(17);
static leaves = new Block(18);
}