
OmniCrossbow adds a new enchantment, Omni, which lets you load any item into your crossbow by holding it in your offhand. The projectile you shoot varies based on the item.
There are many unique item behaviors with more to come in future updates! Slime and honey offer new movement tech, many items are high explosives or beam attacks, blocks get placed and tools mine blocks, and much more!
Full List of Effects
- Thrown items like snowballs, eggs, ender pearls, etc. fly further than by hand
- Spawn eggs, entity buckets, and other entity-creating items (armor stand, boat, minecart, etc.) launch that entity
- Snowballs freeze mobs for a few seconds like powder snow
- TNT launches a TNT
- Falling blocks like sand, anvil, and dripstone launch as falling blocks
- Wither skeleton skulls shoot wither skulls
- Dragon's breath shoots dragon fireballs
- Slimeballs bounce off of surfaces and knocks back hit entities very far
- Magma Creams bounce off surfaces and pierce and ignite entities
- Honey Bottles create a honey slick that you can slide down walls on and prevent fall damage
- Fishing Rods work like grappling hooks, pulling light mobs towards you or you towards blocks and heavy mobs
- Blocks place themselves
- Dyes can dye blocks if the crafting recipe exists (paintball!)
- Blaze Rods create a beam of fire that instantly burns through flammable blocks
- Blaze Powder creates a spray of fire projectiles
- Breeze Rods create a concentrated wind stream that pushes mobs very far
- Glowstone Dust, Glow Ink Sacs, and Glow Berries give mobs glowing
- Eyes of Ender let you see from the eye's POV and move it around
- End Crystals fly slowly and create a large explosion, and can be punched to fly faster but cause a smaller explosion
- Firework Stars explode
- Amethyst Shards deal 8 damage and shatter on impact
- Crossbows fire upon hitting a block or entity
- Spears deal the appropriate kinetic damage
- Tools mine the appropriate blocks
- Weapons deal the appropriate damage
- Lightning Rods strike lightning if it's thundering
- Chorus Fruit teleports mobs randomly
- Gunpowder creates a small explosion
- Regular potions apply the effect directly
- Equipment (armor) will equip or replace existing equipment
- Bells and Note Blocks play sound on impact
- Items not otherwise handled attempt to simulate a right-click, e.g. waxing copper
- Echo Shard: ???
- Nether Star: ???
If you have an idea for an item effect, suggest it on GitHub!
Omni is a treasure enchantment. An Omni enchanted book can be obtained from Ominous Vaults. Additionally, one pillager in the last wave of a raid will have a crossbow enchanted with Omni and is guaranteed to drop its crossbow, however it may result in a bit of chaos trying to take it down...
Locked & Loaded is recommended, as Omni has good synergy with Multichambered, and projectiles such as blaze powder will do more damage due to ignoring invulnerability ticks.
Compat
A lot of modded items should work out-of-the-box, including tools, melee weapons, foods, blocks, spawn eggs, mob buckets, minecarts, and boats.
- Kitchen Projectiles: Shooting a knife will create a KP thrown knife projectile that sticks in blocks
- Nether Archives: Blaze lantern can be shot
Credits
- Certain features in this mod were inspired by Enchancement, Content SMP, and Ultrakill
- The ender eye FPV code was based on RC Toys by nanorover59
- One sound effect from Undertale
≤1.21.1 description
Multichambered
Multichambered lets you load multiple shots and fire them one by one, like a revolver. Crouch and use a crossbow to load additional shots when loaded, and use normally to fire. You can load different types of ammo, and the first item you load will be the first item you shoot (so in terms of data structures it's a queue not a stack).
| Level | Capacity |
|---|---|
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
Multichambered has a max level of 3 (III) and is incompatible with Multishot and Quick Charge.
Compat
If Enchancement is installed, Multichambered will be removed and Omni or Scatter will also act as Multichambered III.
Crossbow Scoping works with Omni and Multichambered.
Under Enchiridion, Omni is categorized as primary and Multichambered is categorized as secondary.
All Versions
+ Add Version- Fix hand animation playing when dropping remainders
- Minor cleanup
- Port to 26.3
- [26.3 only]
omnicrossbow:projectile_behaviorandomnicrossbow:impact_behaviorregistries are now reloadable, i.e. they can be reloaded without relogging with the/reloadcommand - Fix ink sac & glow ink sac using the wrong particles
- Port to 26.3
- [26.3 only]
omnicrossbow:projectile_behaviorandomnicrossbow:impact_behaviorregistries are now reloadable, i.e. they can be reloaded without relogging with the/reloadcommand - Fix ink sac & glow ink sac using the wrong particles
- Port to 26.3
- [26.3 only]
omnicrossbow:projectile_behaviorandomnicrossbow:impact_behaviorregistries are now reloadable, i.e. they can be reloaded without relogging with the/reloadcommand - Fix ink sac & glow ink sac using the wrong particles
- Port to 26.2
- Sulfur spikes act the same as pointed dripstone
- Item Behavior: Ink Sac inflicts blindness
- Item Behavior: Glow Ink Sac inflicts blindness & glowing
<summary>Datapack changes</summary>
- Move
omnicrossbow:damageimpact action type toomnicrossbow:melee_damage - Add
omnicrossbow:damageimpact action type which allows specifying damage type & doesn't apply item attribute modifiers, unlikeomnicrossbow:melee_damage
</details>
- Fix ammo not rendering when Continuity is installed
This is a one-time update, it will not be maintained.
- Allow disabling ammo rendering
- Install [McQoy](https://modrinth.com/mod/mcqoy) for a config GUI
- Add optional
nbtfield toomnicrossbow:spawn_projectileandomnicrossbow:spawn_entityprojectile actions to merge nbt with the spawned entity - Fix loyalty not working on Kitchen Projectiles knives
- Fix weird desync when trying to load a usable item in a crossbow
- Fix crossbow deleting itself when loaded from offhand
- Add compat for Blaze Lantern from [Nether Archives](https://modrinth.com/mod/nether-archives)
- Add compat for thrown knives when [Kitchen Projectiles](https://modrinth.com/mod/kitchen-projectiles) is installed
- Loyalty is not working currently
- Remove unused sound files
- Fix modrinth URL in metadata
- Complete rewrite for 26.1
- Behaviors are now data-driven with datapacks
- This means easier mod compat in the future, and easy(ish) datapack customization for features you want to add or modify
- <details>
- There is no documentation and I'm not sure I'll be writing it anytime soon, so for now see [source code](https://github.com/ThePotatoArchivist/OmniCrossbow/tree/main/src/main/generated/data/omnicrossbow/omnicrossbow) for examples
projectile_behaviorcontrols what happens when the item is fired- If no conditions match it will fire a Custom Item Projectile
impact_behaviorcontrols what happens when a Custom Item Projectile hits something
</details>
- Compatibility with mods that modify crossbow rendering should be better
- Now works with multishot, if added via commands
- Attempts to prevent item duplication
- Pillagers with Omni will shoot items randomly selected from a pool
- Omni is now a treasure enchantment and can only be obtained from ominous vaults and a pillager in the final wave of a raid
- New item behaviors
- Magma cream: Bounces and sets things on fire
- Spear: Charge attack
- Crossbow: fires when hitting something
- Feather: deals no damage
- Pointed dripstone: spawns falling block, damage and break on landing
- Shears: gives players haircut (disables hat layer)
- Cobweb: Can place itself midair upon hitting an entity
- Other changes
- Ender eye: can be moved while viewing
- Honey slick can no longer be re-bottled
- Various interactions have received polish such as particles & sound
- Minor differences in behavior may be present due to rewrite
- Multichambered has been moved to [Locked & Loaded](https://modrinth.com/mod/locked-loaded), installing it should allow seamless migration (but take backups)
- Add grapple hook sounds
- Prevent grappled mobs from attacking
- Stop grapple velocity when grappled mob reaches target
- Slightly buff wind charge knockback
- Make breeze rods reset downwards velocity like blaze powder
- Buff nether star damage
- Buff sonic boom knockback
- Fix tool weapons breaking blocks when hitting entities
- Fix any tool breaking shovel-mineable blocks
- Replace ender eye block texture overlay with blindness fog
- Fixes sinytra issue
- Backport fix for remap crash
This is only to make 1.20.1 playable and 1.20.1 will not receive new features.
- Remove changes made for BlanketCon
- Add fishing rod behavior: grappling hook
- Disable fire charges and wind charges
- Disable spawning falling blocks
- Allow trial spawners to spawn mobs even when gamerule mobspawning is off
- Exclude non-vanilla items from right click simulation unless tagged
- Fix area command permission level
- Change death message
- Fix crash with player containers
- Fix disabled item deletion
- Add
temporaryarea type for placing temporary blocks - Add temporary honey slick and temporary cobweb that disappear after 30 seconds
- Add entity id matching whitelist
- Fix modded boats
- Require permission level 3 for areas command
mostly fixed issues with Pierced
- Add enchiridion compat
- Add adventure mode & arealib support (adventure mode players can only use world-modifying crossbow ammo in areas)
- Remove endereye seeing through blocks with fog
- Fix crash outside dev
- Allow force-feeding
- Add tag to disable actions (
#omnicrossbow:disable_action) - Fix cobwebs applying Weaving instead of getting placed
- Fix remainder duplication