Cracker's Wither Storm Mod

Cracker's Wither Storm Mod

5M Downloads

[Suggestion]: Config option for Ender Pearls to be loaded as crossbow ammunition from anywhere in the inventory + config for ammuntion priority

pinkygrocket opened this issue ยท 2 comments

commented

Guidelines

  • By checking this box, I am saying that I have read the guidelines and believe to be following them to the best of my ability

Description of feature request

From my understanding while playing Explorer's Eve (feel free to correct me if I'm offbase!), crossbows can only be loaded with Ender Pearls when Ender Pearls are held in the hand. However, given that throwing Ender Pearls is also tied to right-click when the crossbow isn't also held, this has resulted in a few mishaps where Ender Pearls are accidentally thrown and thus wasted. It would also be a nice QOL feature for nomadic playstyles where playing the inventory puzzle while dealing with a Wither Storm may prove fatal.

For config on this:

  • pearlAmmunitionLocationReqirement:
    • HELD_ONLY - Ender Pearls must be held in the main or offhand to be loaded into crossbows.
    • HELD_OR_HOTBAR - Ender Pearls must be in the hotbar, main or offhand to be loaded into crossbows.
    • INVENTORY - Ender Pearls can be anywhere in the player inventory.
  • ammunitionPriority:
    • VANILLA - Crossbows follow vanilla priority rules to select what gets loaded.
    • ENDER_PEARLS_FIRST - Ender Pearls are always loaded in crossbows first if present in the correct location; otherwise, use vanilla rules. This allows for a player to quickly retrieve Ender Pearls and use the crossbow without needing to put away arrows or firework rockets.
commented

I can see this being an issue. At the same time, the pearls do only follow the same logic a rocket would. Although I guess this is kind of a special case

commented

The potential issues from a different priority or location scheme is why I'm suggesting it as a config option; while I'm all for customization and QOL changes, I also don't want something like this to throw existing players through a loop. It's a similar deal to "totem of undying anywhere in the inventory" mods - many people will find it useful, but an unexpected change like that might bite unaware players.