-
Notifications
You must be signed in to change notification settings - Fork 39
Commands
Bookshelf adds several commands that can help you develop and debug mods and modpacks.
The hand command allows you to quickly generate the held item in different ID formats. The usage of this command is /bookshelf hand TYPE_HERE
Tip: The command will produce a chat message that only you can see. Clicking this message will copy the text to your clipboard.
-
STRING
- Outputs the held item as a string. This uses Java'stoString
method. -
INGREDIENT
- Outputs the held item as a JSON ingredient. If the item has NBT the NBT will be included in the output. -
STACKJSON
- Outputs the held item as a JSON string. -
ID
- Outputs the item ID of the held item. -
HOLDER
- Outputs the held item as the Forge ObjectHolder format. -
TAGS
- Outputs the item tags that are on the held item. -
FLUIDS
- Outputs the fluids that are contained within the held item.
The translate command will create a message in chat that only you can see. This message will be translated to the local language that your client is using. The usage of this command is /bookshelf translate translation_key_here
. For example /bookshelf translate time.bookshelf.day.sunday
will display the message Sunday
.
Like the mod? Consider supporting the development of this mod and many others by supporting me on Patreon.