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