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

The crossbow is loading under the loaded state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w09a, 24w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 3, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5 Release Candidate 3, 1.20.5
    • Confirmed
    • Commands, Networking
    • Low
    • Platform

      The crossbow is loading under the loaded state
      Note: My description might be not good.

      The Example To Reproduce:

      • Enter the command /give @s minecraft:command_block to obtain the command block.
      • Place the command block, and change the command block's type to Repeat.
      • Enter the command item replace entity @a container.0 with minecraft:crossbow in the command block.
      • Activate the command block( in any ways), Select the hotbar slot 1(If you haven't selected), then load and fire the crossbow, but you cannot fire, because your hotbar slot 1 is repeat forced replace with unloaded crossbow by the command block, but it showed loaded!
      • Load the crossbow again, and the crossbow is loading under the loaded state(its loading under the unloaded state at the previous version24w07a)!

        Note

        (If you loaded the crossbow, )You enter the command /item replace entity @a container.0 with minecraft:crossbow or activate the command block(On the first executed, or the command block's type is not Repeat), your hotbar slot 1 is still normal replaced.

      • Now unactivate the command block( in any ways), load the crossbow again, your hotbar slot 1 is no longer repeat forced replace with unloaded crossbow by the command block, so you can fire.

       


      弩正在已装填的状态下蓄力
      注:我的描述可能不好。

      重现示例:

      • 输入命令 /give @s minecraft:command_block 以获得命令方块。
      • 放置命令方块,并将命令方块的类型改为循环
      • 在命令方块中输入命令 item replace entity @a container.0 with minecraft:crossbow
      • (以任意方式)激活命令方块,选择快键栏1(如果你未选择),然后将弩蓄力并发射,但你无法发射,因为你的快键栏1被命令方块循环强制替换为未装填的弩,但它显示已装填!
      • 再次将弩蓄力,而且弩正在已装填的状态下蓄力(在上一个版本24w07a中它是正在未装填的状态下蓄力)!

        (如果你已蓄力了该弩,)你输入命令 /item replace entity @a container.0 with minecraft:crossbow 或激活该命令方块(在第一次被执行时,或该命令方块的类型不是循环),你的快键栏1仍然正常被替换。

      • 现在(以任意方式)取消激活命令方块,再次将弩蓄力,你的快键栏1不再被命令方块循环强制替换为未装填的弩,所以你能发射。

       

            Unassigned Unassigned
            ZZY15830007369 ZZY15830007369
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: