Vehicle functionality bug (engine & special ability) (minecraft:area_attack)
Summary: Vehicle functionality bug (engine & special ability) (minecraft:area_attack)
Verification builds: 1.16.0.64_rc0
Impact: Vehicle functionality in City Life 2
Repro Steps:
- Create a world from the City Life 2 template.
- Walk up to the wall of buttons and select a location (e.g. Blockwood).
- Enter a vehicle.
Observed Results:
Vehicle isn't functional.
Expected Results: The engine should sound as you drive the car, and the vehicle should either beep or perform a special ability (depending on the vehicle) when pressing space bar.
The engine sounds won't play because it won't be able to test for the vehicle, and you also won't be able to use the vehicle special ability by pressing space. Also riding helicopters, jetpack, skateboard, scooter and bikes won't do anything.
This is relating to a bug we think where area attack doesn't work on players, that breaks every vehicle functionality in City Life 2.
It's the component used in the pufferfish to apply damage to entities in its range without using AI goals. We used it in City Life 2 to make the player "attack" the entity it's riding to send an event back to the player identifying it and also used to send event from the player pressing space bar to the entity so it executes its special ability. However, in the latest beta minecraft:area_attack doesn't seem to work when used by the player anymore.
Screenshots/Videos attached: Yes