Mojira Archive
MCM-262

filter not being honored for hurt_by_target in specific circumstance

Verification builds: Release 920093 - 1.5.0.3 BETA
Summary: Component groups not properly being honored by multiple entities in certain circumstances. Hard to explain but reproducible in Mutant Battle Arena using the following steps.

Repro Steps:

  1. Download Mutant Battle Arena
  2. Activate Mutant Battel Mode
  3. go to the llano (green) side of the arena
  4. Summon a zombie using the button
  5. Join the team with the "join team" button
  6. Hit the zombie

Observed Results:

  1. When summoning the zombie, and any other mob, it adds a specific component group that prevents it from attacking anyone with a golden helmet.
  2. The same piece of code is used for ""minecraft:behavior.hurt_by_target":" and ""minecraft:behavior.nearest_attackable_target": "
  3. the mob honors behavior.nearest.target but in this case does not honor the filter for behavior.hurt_by_target.
  4. The Ecru (yellow) side has the exact same components but for a chainmail helmet and both hurt_by and nearest_attackable is honored and works correctly.
  5. I can verify that the component group is being added correctly because of the other components in the group being added.

Expected Results: the llano mobs shouldn't hit you when wearing a golden helmet

Impact: it lessens the feeling that you're joining a team if the mobs are targeting you when you punch them.

I have attached an example behavior being used to verify accuracy and video of how to reproduce. https://youtu.be/Aau_hcnayQ8

Fixed

jigar frobozz

2018-05-16, 11:16 PM

2018-08-13, 07:00 PM

2018-08-13, 07:00 PM

0

0

Future Release

-