import{ItemStack as t}from"@minecraft/server";import{DisplayContext as r}from"./context";export class GlassTable{colour;constructor(t){this.colour=t}typeId(){return this.colour?"top"===this.colour?"bc_ds:glass_table_top":`bc_ds:${this.colour}_glass_table`:"bc_ds:glass_table"}supportsItem(t){return!0}displayContext(){return r.Table}maxStackSize(){return 1}maxItems(){return 1}lockedRotation(){return!0}calculateRotation(t,r){return({north:4,east:6,south:0,west:2})[r]}}