The minecraft:ender_dragon uses a value that is 100x higher than 1.0, I've increased the max cap on this component to at least that amount.
Found in the vanilla behavior pack.
ender_dragon.json
```
"minecraft:knockback_resistance": {
"value": 100,
"max": 100
}
```
Also added another example:
{
"value": 100
}
28 lines
650 B
JSON
28 lines
650 B
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.knockback_resistance",
|
|
"type": "object",
|
|
"title": "Knockback Resistance",
|
|
"additionalProperties": false,
|
|
"description": "Determines the amount of knockback resistance that the item has.",
|
|
"$comment": "UNDOCUMENTED",
|
|
"required": [],
|
|
"properties": {
|
|
"value": {
|
|
"title": "Value",
|
|
"type": "number",
|
|
"default": 1.0,
|
|
"description": "Percentage of knockback to reduce with 1.0 being 100% reduction.",
|
|
"$comment": "UNDOCUMENTED",
|
|
"maximum": 100
|
|
}
|
|
},
|
|
"examples": [
|
|
{
|
|
"value": 1.0
|
|
},
|
|
{
|
|
"value": 100
|
|
}
|
|
]
|
|
}
|