Mojira Archive
MCM-1077

circle_around_anchor no longer allows negative height below target

Partner Rank:

3

Partner Team Reporting:

Everbloom Studios

Verification builds:

1.16.0.55, 1.16.0.2

Summary:

The minecraft:circle_around_anchor behavior no longer allows negative values in 
height_above_target_range. This used to allow the mob to circle a set amount of blocks below their target. Now it just displays an error and clamps it to zero.
Impact:

Screws up the behavior of all bosses in an upcoming map, never flying below their target and thus always relying on a failsafe mechanism that takes 20 seconds to activate.

Repro Steps:

  1. Create and join the provided world.
  2. Compare the altitude of the flying giant phantom and the totem particle circle (which is the target of the phantom).

Observed Results:

The phantom flies at the same altitude as their target.

You might also see a content error about the height being negative and how it's getting clamped to zero.

Expected Results:

The phantom flies 10 blocks below the target.

Screenshots/Videos attached: Yes/No

Yes

Regression Builds:

1.16.0.53

Notes:

There is a workaround, which is setting the height_above_target_range to 0, and the height_offset_range to the intended negative value. This effectively transforms the behavior from:
"circle 10 blocks below (no longer allowed) with a variance of ±0"
to
"circle 0 blocks above with a variance of -10"
which effectively does the same thing but getting around the completely arbitrary restriction of the base height needing to be non-negative.

Fixed

Energyxxer

2020-06-08, 09:54 PM

2020-06-15, 10:16 PM

2020-06-15, 10:16 PM

0

0

Future Release

-