2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.knockback_resistance",
|
2021-10-08 12:59:03 +02:00
|
|
|
"type": "object",
|
2021-10-08 13:04:13 +02:00
|
|
|
"title": "Knockback Resistance",
|
2021-10-08 12:59:03 +02:00
|
|
|
"additionalProperties": false,
|
2022-07-20 21:14:28 +01:00
|
|
|
"description": "Determines the amount of knockback resistance that the item has.",
|
|
|
|
|
"$comment": "UNDOCUMENTED",
|
2021-10-08 12:59:03 +02:00
|
|
|
"required": [],
|
|
|
|
|
"properties": {
|
2022-07-20 21:14:28 +01:00
|
|
|
"value": {
|
|
|
|
|
"title": "Value",
|
2021-10-11 18:10:42 +02:00
|
|
|
"type": "number",
|
2022-07-20 21:14:28 +01:00
|
|
|
"default": 1.0,
|
|
|
|
|
"description": "Percentage of knockback to reduce with 1.0 being 100% reduction.",
|
|
|
|
|
"$comment": "UNDOCUMENTED",
|
2022-07-13 22:10:02 +01:00
|
|
|
"maximum": 1
|
2021-10-11 18:10:42 +02:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
2022-07-20 21:14:28 +01:00
|
|
|
"value": 1.0
|
2021-10-11 18:10:42 +02:00
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|