Mojira Archive
MCM-1355

behavior.summon_entity does not support "other" in the "target" field

Summary:
behavior.summon_entity does not support "other" in the "target" field of the spells

Verification Build:
1.16.200, 1.16.220, 1.16.221, 1.17.0.54

Regression Builds:
probably never worked

Impact:
This reduces the overall versatility of the behavior.summon_entity behavior This results in unnecessary work arounds and additional development time.

Repro Steps:

  1. Download the attached behavior pack
  2. start a new world with the behavior pack
  3. summon an evoker
  4. let it hit you

Observed Results:
the evoker doesn't do any spells at all

Expected Results:
the evoker should do its spells, the circle centered around the target:other and the line directed from the target:other instead of not casting them at all

Notes:
The behavior in question is:

"minecraft:behavior.summon_entity": {
        "priority": 2,
        "summon_choices": [
          {
            "min_activation_range": 0.0,
            "max_activation_range": 3.0,
            "cooldown_time": 5.0,
            "weight": 3,
            "cast_duration": 2.0,
            "particle_color": "#FF664D59",
            "start_sound_event": "cast.spell",
            "sequence": [
              {
                "shape": "circle",
                "target": "other",
                "base_delay": 1.0,
                "delay_per_summon": 0.0,
                "num_entities_spawned": 5,
                "entity_type": "minecraft:evocation_fang",
                "size": 1.5,
                "entity_lifespan": 1.1,
                "sound_event": "prepare.attack"
              },
              {
                "shape": "circle",
                "target": "other",
                "base_delay": 0.15,
                "delay_per_summon": 0.0,
                "num_entities_spawned": 8,
                "entity_type": "minecraft:evocation_fang",
                "size": 2.5,
                "entity_lifespan": 1.1
              }
            ]
          },
          {
            "min_activation_range": 3.0,
            "weight": 3,
            "cooldown_time": 5.0,
            "cast_duration": 2.0,
            "particle_color": "#FF664D59",
            "start_sound_event": "cast.spell",
            "sequence": [
              {
                "shape": "line",
                "target": "other",
                "base_delay": 1.0,
                "delay_per_summon": 0.05,
                "num_entities_spawned": 16,
                "entity_type": "minecraft:evocation_fang",
                "size": 20,
                "entity_lifespan": 1.1
              }
            ]
          }
        ]

 

 

Unresolved

jigar frobozz

2021-05-14, 11:24 PM

2021-05-20, 11:06 PM

0

0

Future Release

-