Combat Data
The combat customization component is responsible for defining a bee's survival ability and hostility:
Is the bee passive?
Does it lose its stinger after attacking?
Does it inflict poison?
Can it take damage?
General attributes of the entity such as:
Max health
Armor
Attack damage
Knockback
Any registered attribute vanilla or modded can be customized
Identifier
The root JSON of the combat customization component looks like this:
The identifier of the component is as such:
Customization Options
isPassive
isPassive
When true
, the bee will not attack entities back.
Name: Passive
Key: isPassive
Type: Boolean
Default: false
removeStingerOnAttack
removeStingerOnAttack
When true
, the bees stinger will be removed on attack. If a bees stinger is removed, it has a chance of randomly dying a bit after the stinger was removed.
Name: Remove Stinger
Key: removeStingerOnAttack
Type: Boolean
Default: true
inflictsPoison
inflictsPoison
When true
, the targeted entity will be inflicted with poison when attacked.
Name: Inflict Poison
Key: inflictsPoison
Type: Boolean
Default: true
isInvulnerable
isInvulnerable
When true
, the bee will not take any damage.
Name: Invulnerable
Key: isInvulnerable
Type: Boolean
Default: false
attributes
attributes
A map of attributes and their values. The keys are the Attribute ID's and the values are the attribute value.
Last updated