Mojira Archive
MC-268410

generic.gravity attribute not working on projectiles or items

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. 

Works As Intended

SatSunFox

2024-02-08, 02:53 PM

2024-04-09, 07:01 AM

2024-04-09, 07:01 AM

2

2

Confirmed

Low

Platform

Commands

24w06a, 24w09a, 24w12a

-