Updated knockback_resistance component's max value (#168)
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
}
This commit is contained in:
@@ -13,12 +13,15 @@
|
|||||||
"default": 1.0,
|
"default": 1.0,
|
||||||
"description": "Percentage of knockback to reduce with 1.0 being 100% reduction.",
|
"description": "Percentage of knockback to reduce with 1.0 being 100% reduction.",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"maximum": 1
|
"maximum": 100
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"value": 1.0
|
"value": 1.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": 100
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user