Developers
Landing Page
Custom Bees
Custom Bees
  • Creating A Custom Bee
    • The Custom Bee JSON
    • Core Data
    • Render Data
      • Layer Data
      • Color Data
    • Breed Data
      • Bee Family
    • Combat Data
    • Mutation Data
      • Mutation Recipe
        • Mutation Type
    • Trait Data
      • Bee Aura
      • Potion Effect
      • Damage Effect
      • Damage Type
    • Trade Data
Powered by GitBook
On this page
  • Customization Options
  • source
  • hasEntity
  • strength

Was this helpful?

Edit on GitHub
Export as PDF
  1. Creating A Custom Bee
  2. Trait Data

Damage Effect

Customization Options


source

The ResourceLocation for any registered MobEffect, including modded ones.


Name: Damage Source

Key: source

Type: ResourceLocation

Default: minecraft:cactus

Example
{
  "auras": [
    {
      "aura": "DAMAGING",
      "damageEffect": {
        "source": "minecraft:in_fire"
      }
    }
  ]
}

hasEntity

If the damage source is sourced from an entity, this should be marked as true. This allows for the death messages to be displayed correctly in the event the target entity dies.


Name: Has Entity Source

Key: hasEntity

Type: Boolean

Default: false

Example
{
  "auras": [
    {
      "aura": "DAMAGING",
      "damageEffect": {
        "source": "minecraft:thorns",
        "hasEntity": true
      }
    }
  ]
}

strength

The strength of the damage effect.


Name: Strength

Key: strength

Type: Integer

Range: 0 - 20

Default: 0

Example
{
  "auras": [
    {
      "aura": "DAMAGING",
      "potionEffect": {
        "effect": "minecraft:wither",
        "strength": 5
      }
    }
  ]
}

PreviousPotion EffectNextDamage Type

Last updated 1 year ago

Was this helpful?