Crossbow Cartridges: Difference between revisions

Jump to navigation Jump to search
(Add Axolotl, Tnt, and Torches)
Line 1: Line 1:
{{ModuleInfobox|name=Crossbow Cartridges|creator=Denniss|type=Stand Alone|versions=1.14+}}This modules allows players to shoot different items from a crossbow.
{{ModuleInfobox|name=Crossbow Cartridges|creator=Denniss|type=Stand Alone|versions=1.14+}}This modules allows players to shoot various items from a crossbow.
==Features==
==Features==
[[File:Pufferfish launching.gif|thumb|320x320px|Launching a Pufferfish]]
[[File:Pufferfish launching.gif|thumb|320x320px|Launching a Pufferfish]]
When holding a crossbow loaded with an arrow, certain items held in the offhand can be shot. When the player shoots the arrow, the item and the arrow will be consumed. Below is a list of all items that can be shot from the offhand.
Certain items, when held in the offhand, can be launched by shooting a crossbow. When the player shoots the arrow, the item and the arrow will be consumed.  
 
===Valid Items===
Below is a list of all items that can be shot from the offhand.


{| class="wikitable"
{| class="wikitable"
Line 13: Line 16:
|-
|-
|{{Stack|Splash Potion of Poison}} Splash Potions
|{{Stack|Splash Potion of Poison}} Splash Potions
|All potion data is stored, so custom potions will work as well
{{Stack|Lingering Potion of Regeneration}} Lingering Potions
|All potion data is stored.
Note: Due to a visual bug, the potion might not be visible mid-air
|-
|{{Stack|TNT}} TNT
|A primed TNT is launched
|-
|-
|{{Stack|Lingering Potion of Regeneration}} Lingering Potions
|{{Stack|Fire Charge}} Fire Charge
|All potion data is stored, so custom potions will work as well
|A small fireball is fired at high speed without gravity
|-
|-
|{{Stack|Torch}} Torch (Any type)
|{{Stack|Torch}} Torch (Any type)  
|A torch is placed on the block it lands on if possible;  
|A torch is placed on the block it lands on if possible;  
otherwise, a torch item will drop at the location
otherwise, a torch item will drop at the location
|-
|{{Stack|Fire Charge}} Fire Charge
|A small fireball is fired at high speed without gravity
|-
|{{Stack|TNT}} TNT
|A primed TNT is launched
|-
|-
|{{Stack|String}} String (Tripwire)
|{{Stack|String}} String (Tripwire)
|Only if the player is standing inside a tripwire hook; tripwire can be placed up to 40 blocks long
| Only if the player is standing inside a tripwire hook;  
* Tripwire can be placed up to 40 blocks long.
* If a tripwire hook is present in the player's inventory, it will be placed at the end of the tripwire line on a solid block if possible.
|}
|}
===Multishot===
If the crossbow has the Multishot enchantment, some of the items make use of the functionality:
* {{Stack|TNT}} TNT, {{Stack|Fire Charge}} Fire Charges, and {{Stack|Torch}} Torches can shoot up to 3 of this item, taking 1 item from the player for each of these.
* {{Stack|Bucket of Pufferfish}} Buckets of Fish/Axolotl will shoot 2 additional "dead" duplicates to the side, which disappear shortly after and are purely visual.
===Spectral and Tipped Arrows===
Besides normal arrows, some of the functionality of the special arrows works as well:
* {{Stack|Spectral Arrow}} Spectral Arrows: The glowing effect is applied to the launched entity.
* {{Stack|Tipped Arrow}} Tipped Arrows: The effect on the tipped arrow is applied to the launched entity, although this is only effective on a mob in a bucket.


===Technical Details===
===Technical Details===
Fish and potions will follow the exact motion the arrow had. When firing a torch, the arrow will still be shot and can damage players as well.
The items as projectiles will copy the exact motion as the arrow would have had.  
 
When shooting a torch however, the arrow will still be shot. If an entity is hit instead of a block, the arrow/torch will be lost.


===Advancements===
===Advancements===
Line 41: Line 57:
!Requirement
!Requirement
|-
|-
|{{Advancement|Bucket of Tropical Fish|Fish Launcher|Launch a fish using a crossbow}}
|{{Advancement|Bucket of Tropical Fish|Sealife Slingshot|Launch an aquatic animal using a crossbow}}
|Hold a bucket of fish in the offhand when firing a crossbow
| Hold a mob in a bucket in the offhand when shooting a crossbow
|-
|-
|{{Advancement|String|Almost a Grappling Hook|Create a 40-block long string line using a crossbow}}
|{{Advancement|Tripwire Hook|Almost a Grappling Hook|Create a 40-block long tripwire circuit using a crossbow}}
|Hold at least 40 string in the offhand when firing a crossbow to create a 40 block long line of tripwire
| Hold at least 40 string in the offhand with a tripwire hook in your inventory, when shooting a crossbow, to create a maximum size tripwire circuit
|}
|}


Line 51: Line 67:
{{Download|url=https://gm4.co/modules/crossbow-cartridges}}
{{Download|url=https://gm4.co/modules/crossbow-cartridges}}


== Previous Versions ==
==Previous Versions==
=== MC 1.14 Version ===
===MC 1.14 Version ===
In the MC 1.14 Version string could not be fired with a crossbow.
In the MC 1.14 Version string could not be fired with a crossbow.


Line 73: Line 89:
|23 Aug 2021
|23 Aug 2021
|Added TNT, Axolotl, and more torches
|Added TNT, Axolotl, and more torches
|-
|1.18
|08 Feb 2022
|Added functionality of Multishot, Spectral/Tipped Arrows
|}
|}


[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Stand Alone Modules]]
[[Category:Stand Alone Modules]]
46

edits

Navigation menu