This mod allows you to see a preview window of a shulker box contents when hovering above it in an inventory by pressing shift.
Help translate ShulkerBoxTooltip on Crowdin!
Please vote for this to be included in vanilla!
- com.misterpemodder:shulkerboxtooltip-common: Platform-agnostic API (with Yarn/intermediary mappings)
- com.misterpemodder:shulkerboxtooltip-common-mojmap: Platform-agnostic API (with official Mojang mappings)
- com.misterpemodder:shulkerboxtooltip-fabric: Fabric Implementation
- com.misterpemodder:shulkerboxtooltip-forge: Forge-specific API + Implementation
- com.misterpemodder:shulkerboxtooltip-neoforge: NeoForge-specific API + Implementation
repositories {
maven { url "https://maven.misterpemodder.com/libs-release/" }
}
dependencies {
// Change to 'shulkerboxtooltip-forge', 'shulkerboxtooltip-neoforge', or 'shulkerboxtooltip-common' depending on the artifact
modImplementation("com.misterpemodder:shulkerboxtooltip-fabric:VERSION") { transitive false }
}
To use the API, implement the ShulkerBoxTooltipApi
interface on a class and register it as a plugin.
On Fabric, add your plugin class as an entry point of type "shulkerboxtooltip"
in your fabric.mod.json
as such:
"entrypoints": {
"shulkerboxtooltip": [
"com.example.mymod.MyShulkerBoxTooltipPlugin"
]
}
On Forge and NeoForge, register your plugin by adding an extension point in your mod's initialization code:
ModLoadingContext.get().registerExtensionPoint(ShulkerBoxTooltipPlugin.class,
() -> new ShulkerBoxTooltipPlugin(MyModShulkerBoxTooltipPlugin::new));
See api source for documentation.