TabAPI
No reviews yet
API to add tabs to inventory screens
Provides a framework or library for other mods to use.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
An API to add inventory tabs. Natively for 1.20.1 but should work on every version.
Made for SkillZ and based on Globox_Z's LibZ I stripped out the other code and added sidebar functionality.
Disabling Tabs
If a tab has its ID set, you can find it under config/tabapi_tabs.json.
true for enabled, false for disabled.
Developer Tutorial
- Create a tab class by extending
InventoryTab@Nullable Identifier id: The id of the tab. (Should only be set if its a permanent tab and allows it to be disabled)MutableText tooltip: The tooltip when hovered@Nullable Identifier icon: The icon for the tab (If null you can specify an item usinggetItemStackor custom rendering)int preferedPos: Preferred index of the tabboolean customRendering: If specified you have to overridecustomRenderin the tab classClass... screenClasses: All the classes that this tab is able to handle (Most cases only need 1)
- Register said tab with
TabAPI.registerInventoryTaborTabAPI.registerSideInventoryTabin your mods init
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers