ModelMenuHelper
Shared constants and utility methods used by the admin content menu, admin model list menu, and craftable items menu.
Properties
Functions
Link copied to clipboard
Builds a right-pointing arrow skull item (for recipe display, etc.).
Link copied to clipboard
Builds the "Back" button skull item.
Link copied to clipboard
Builds a display item for a custom scriptable item in the admin menu.
Link copied to clipboard
Builds a display ItemStack representing a model in the menu.
Link copied to clipboard
Builds a "Next Page" navigation skull item.
Link copied to clipboard
Builds a display ItemStack representing a content pack in the menu.
Link copied to clipboard
Builds a "Previous Page" navigation skull item.
Link copied to clipboard
Link copied to clipboard
Returns all custom item IDs whose source file belongs to the given content pack, sorted alphabetically.
Link copied to clipboard
Link copied to clipboard
Returns all loaded FileModelConverters whose source file belongs to the given content pack, sorted alphabetically by model ID.
Link copied to clipboard
Reads the prepared sibling
.yml settings for a model and returns the list of attached script filenames, or an empty list if none.Link copied to clipboard
Pre-generates the MHF skull items.
Link copied to clipboard