Skip to content

Instantly share code, notes, and snippets.

View GodBleak's full-sized avatar

GodBleak GodBleak

View GitHub Profile
@GodBleak
GodBleak / anvilGUI.ts
Last active January 14, 2022 23:07
A typescript wrapper for [AnvilGUI](https://github.com/WesJD/AnvilGUI); a class to "Easily use anvil guis to get a user's input".
import * as types from '@grakkit/types-paper';
interface onComplete<R>{
/**
* Called when the inventory output slot is clicked
*
* @param player **The player who the Anvil GUI was opened for**
* ***
* @param text **The text entered by the player in the renaming field of the anvil GUI**
* ***