Smithing table
This commit is contained in:
@@ -12,6 +12,8 @@ export interface OpenScreen {
|
||||
properties: Record<string, number>;
|
||||
// what can go into each slot, checked when the player clicks
|
||||
filters: Map<number, (item: ItemStack) => boolean>;
|
||||
// asked before a player takes from an output slot
|
||||
on_take: Map<number, (item: ItemStack) => boolean>;
|
||||
on_close: (() => void)[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user