Crossbow Cartridges: Difference between revisions

Added that beehive is a new valid item/block. Added multishot info. Closes https://github.com/Gamemode4Dev/GM4_Datapacks/pull/827
(add pufferfish launch GIF)
(Added that beehive is a new valid item/block. Added multishot info. Closes https://github.com/Gamemode4Dev/GM4_Datapacks/pull/827)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Crossbow Cartridges|creator=Denniss|type=Stand Alone|versions=1.15}}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 shooting a crossbow loaded with an arrow, certain items held in the offhand will be able to be shot. When the player shoots the arrow the item 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 8: Line 12:
!Additional Details
!Additional Details
|-
|-
|Bucket of Fish (Any Type)
|{{Cycle|{{Stack|Bucket of Pufferfish}}{{Stack|Bucket of Cod}}{{Stack|Bucket of Axolotl}}{{Stack|Bucket of Salmon}}{{Stack|Bucket of Tropical Fish}}{{Stack|Bucket of Tadpole}}}} Bucket of aquatic mob
|The player is left with a bucket of water (only the fish is launched)
|The player is left with a bucket of water (only if the aquatic mob is launched)
|-
|-
|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
|-
|-
|Lingering Potions
|{{Stack|TNT}} TNT
|All potion data is stored, so custom potions will work as well
|A primed TNT is launched
|-
|-
|Torch
|{{Stack|Fire Charge}} Fire Charge
|A torch is placed on the block it lands on if possible,
|A small fireball is fired at high speed without gravity
|-
|{{Stack|Torch}} Torch (Any type)
|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
|-
|-
|Fire Charge
|{{Stack|String}} String (Tripwire)
|A small fireball is fired at high speed without gravity
| 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.
|-
|{{Stack|Beehive}}Bee Hive /{{Stack|Bee Nest}} Bee Nest
|Only if in offhand, bee will be shot and the total count in the hive/nest will decrease. All players within 15 blocks of the fired bee will here the sting sound.
|}
|}
===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.
*{{Stack|Beehive}}Bee Hive /{{Stack|Bee Nest}} Bee Nest can shoot up to 3 bees, removing them the nest/hive respectively.
===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 32: Line 59:
|+
|+
!Advancement
!Advancement
!Description
!Requirement
!Requirement
|-
|-
|Fish Launcher
|{{Advancement|Bucket of Tropical Fish|Sealife Slingshot|Launch an aquatic animal using a crossbow}}
|Launch a fish using a crossbow
| Hold a mob in a bucket in the offhand when shooting a crossbow
|Hold a bucket of fish in the offhand when firing 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 with a tripwire hook in your inventory, when shooting a crossbow, to create a maximum size tripwire circuit
|}
|}
==Learn More and Download==
==Learn More and Download==
{{Download|url=https://gm4.co/modules/crossbow-cartridges}}
{{YouTube|url=https://www.youtube.com/watch?v=XJiGvX7l-pI}}{{Download|url=https://gm4.co/modules/crossbow-cartridges}}
 
==Previous Versions==
===MC 1.14 Version ===
In the MC 1.14 Version string could not be fired with a crossbow.
 
==History==
==History==
{| class="wikitable"
{| class="wikitable"
Line 53: Line 87:
|-
|-
|1.15
|1.15
|11 Dec 2019
|05 Aug 2020
|Updated for 1.15 base module
|Added tripwire
|-
|1.17
|23 Aug 2021
|Added TNT, Axolotl, and more torches
|-
|1.18
|08 Feb 2022
|Added functionality of Multishot, Spectral/Tipped Arrows
|-
|1.20
|12 Jun 2023
|Added firing bees from beehive in offhand
|}
|}
[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Stand Alone Modules]]
[[Category:Stand Alone Modules]]
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
250

edits