This commit is contained in:
DaanV2
2021-04-04 13:52:35 +02:00
parent f23e8aae6b
commit 75bd662053
952 changed files with 1050 additions and 1026 deletions

View File

@@ -0,0 +1,66 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.conditional_bandwidth_optimization",
"additionalProperties": false,
"type": "object",
"title": "Conditional Bandwidth Optimization 1.8.0",
"description": "Defines the Conditional Spatial Update Bandwidth Optimizations of this entity.",
"properties": {
"conditional_values": {
"title": "Conditional Values",
"description": "The object containing the conditional bandwidth optimization values.",
"type": "array",
"items": {
"title": "Conditional Value",
"description": "The object containing the conditional bandwidth optimization values.",
"additionalProperties": false,
"properties": {
"max_dropped_ticks": {
"title": "Max Dropped Ticks",
"description": "In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.",
"type": "integer"
},
"max_optimized_distance": {
"title": "Max Optimized Distance",
"description": "The maximum distance considered during bandwidth optimizations. Any value below the max is interpolated to find optimization, and any value greater than or equal to this max results in max optimization.",
"type": "number"
},
"use_motion_prediction_hints": {
"title": "Use Motion Prediction Hints",
"description": "When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.",
"type": "boolean"
},
"conditional_values": {
"title": "Conditional Values",
"description": "Conditions that must be met for these optimization values to be used.",
"type": "array",
"items": { "$ref": "../filters.json" }
}
}
}
},
"default_values": {
"title": "Default Values",
"description": "The object containing the default bandwidth optimization values.",
"type": "object",
"additionalProperties": false,
"properties": {
"max_dropped_ticks": {
"title": "Max Dropped Ticks",
"description": "In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.",
"type": "integer"
},
"max_optimized_distance": {
"title": "Max Optimized Distance",
"description": "The maximum distance considered during bandwidth optimizations. Any value below the max is interpolated to find optimization, and any value greater than or equal to this max results in max optimization.",
"type": "number"
},
"use_motion_prediction_hints": {
"title": "Use Motion Prediction Hints",
"description": "When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.",
"type": "boolean"
}
}
}
}
}