Community listing page, reviews may not be monitored by the author.
no-offhand-rocket-use
No reviews yet
A minimal Fabric minecraft mod that disables the use of firework rockets when their in your offhand.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
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
Resources
External Links
About
Description
no-offhand-rocket-use
A minimal Fabric minecraft mod that disables the use of firework rockets when their in your offhand.
How does it work?
It checks if the current hand is OFF_HAND, and if the offHandStack is a type of FireworkRocketItem,
if so it returns ActionResult.FAIL which cancels the use of the rocket.
If the mod is disabled, it simply returns ActionResult.PASS
UseBlockCallback.EVENT.register(((player, world, hand, hitResult) -> {
if (!NoOffhandRocketUseConfig.get().enabled) return ActionResult.PASS;
return hand == Hand.OFF_HAND && player.getOffHandStack().getItem() instanceof FireworkRocketItem ? ActionResult.FAIL : ActionResult.PASS;
}))
Configuration
The mod uses a nooffhandrocketuse.json in the fabric config directory as configuration file.
Enabling / Disabling
You can toggle the mod, using:
/nooffhandrocketuse toggle
This also saves the content to the config file.
Screenshots
Gallery
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
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources