minecraft:conditional_bandwidth_optimization for you with a switch.Get GodCraftOverview
minecraft:conditional_bandwidth_optimization is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Controls how often the server sends this entity's position to players, to save network traffic. You can set different update rates for different situations.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
conditional_values | List | none | Update settings that apply only when their conditions are true. |
default_values | JSON Object | none | Update settings used when no condition matches. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:conditional_bandwidth_optimization": {
"conditional_values": {},
"default_values": {}
}
}