minecraft:celebrate_hunt

Dynamic value

Properties

This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.

Example from the game files

This is how vanilla Piglin uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:celebrate_hunt": {
    "celebration_targets": {
      "all_of": [
        {
          "test": "is_family",
          "value": "hoglin"
        }
      ]
    },
    "broadcast": true,
    "duration": 10,
    "celebrate_sound": "celebrate",
    "sound_interval": {
      "range_min": 2.0,
      "range_max": 5.0
    },
    "radius": 16
  }
}

Used by 1

Vanilla entities with minecraft:celebrate_hunt in their definition:

Related components