Crust
Crust is a versatile library for mod developers and a convenient toolkit for testing game content. The modification was created to make life easier for both modders and regular players by offering a set of basic game capabilities and useful utilities.
Testing Tools
The main advantage of Crust is special buttons in the inventory interface that can be customized and bound to hotkeys. These buttons execute various commands of your choice. The package includes 19 ready-made buttons and 16 slots for creating your own, where you can assign any required commands. An additional bonus is the ability to configure standard game rules for new worlds when creating them.
Game Modes
Special modes provide additional character abilities, primarily intended for gameplay testing. You can configure starting modes for new players, the required permission level to change them, as well as set server limitations and client preferences.
By default, the only active mode for new players that doesn't require cheat permissions is Magnet.
Available Modes:
• Magnet - Pulls nearby items toward your character • Undying - Complete recovery instead of death • Unbreaking - Regular complete inventory repair (does not prevent damage) • Uneating - Restores hunger level when it drops critically low • Destroy-on-pickup - Clears inventory clutter by destroying unnecessary items • Super vision - Permanent night vision, disables fog and blindness effects • Super speed - Significantly increases running speed
Command Management
All Crust elements work through commands, including mode management and inventory buttons.
Main Commands:
• /crustclean pointer [<player>] - Destroys the item under the cursor
• /crustmode [<player>] - Views active Crust modes
• /crustmode <mode> (disable|<value>) [<players>] - Enables or disables a specific mode
• /crustportal (<portal_type>) [<target>] - Creates an interdimensional portal
• /crustrecover [all|health|hunger|effects] [<targets>] - Restores health/hunger and removes negative effects
Configuration System
Crust offers its own implementation of configuration files as an alternative to standard Forge settings.
Configuration System Features:
- Ease of creation for developers and use for players
- Flexible organization and formatting of configuration files
- Ability to edit settings through the game interface
- Wide selection of ready-made field types and ability to create custom ones
Additional Utilities
For modders, Crust includes various helper tools:
- Advancement load event
- Tile entity area rendering (works only when F3+B is pressed)
- Portal registry for /crustportal command
- Data generation tools (including loot table builder)
- Named setBlock flags and entity/level event codes
- Utilities for working with NBT and mathematical calculations