Skip to content

behavior.knockback_roar -> knockback_strength is not allowed. #349

@legopitstop

Description

@legopitstop

Describe the bug
knockback_strength is not valid in behavior.knockback_roar

To Reproduce

  1. Create a new entity.
  2. Add the below component to the entity.
"minecraft:behavior.knockback_roar": {
      "attack_time": 0.1,
      "cooldown_time": 0.2,
      "duration": 0.2,
      "priority": 0,
      "knockback_damage": 15,
      "knockback_strength": 15, // not valid
      "knockback_range": 10
    }
  1. See the error in the console.

Expected behavior

The schema warns the user that knockback_strength is not valid.

Screenshots

Error in console.
Image

Snippet that raised the above error.
Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions