Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-270289

Can't charge crossbow with air

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w13a
    • None
    • Confirmed
    • Commands

      Before NBT became a component, a crossbow could be charged with air and fired blank shots. Also, it was previously decided not to fix this. (MC-260882)

      However, now that it is a component, the crossbow can only be charged with items that exist as items, and cannot fire blank shots.

       

      For example, the following command will fail to run:

      /give @p crossbow[charged_projectiles=[{id:"air",count:1}]] 1 

            Unassigned Unassigned
            Chuzume Amura Yuka
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: