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

generic.gravity attribute not working on projectiles or items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w06a, 24w09a, 24w12a
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      The generic.gravity attribute cannot be applied on some entities such as arrows, items...

      Steps to reproduce:

      Place a command block (repeat, always) with the following command:

      /attribute @e[type=minecraft:arrow,sort=nearest,limit=1] minecraft:generic.gravity base set 0.01

       

      Try to shoot an arrow and nothing will happen (Except a message in the command block output indicating that arrows are not valid entities for this command).

      Having this attribute working on all entities could be a lot better for servers that want to implement custom planets. 

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

              Created:
              Updated:
              Resolved:
              CHK: