minecraft:conditional_bandwidth_optimization

Dynamic value

Properties

This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.

Example from the game files

This is how vanilla Boat uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:conditional_bandwidth_optimization": {
    "conditional_values": [
      {
        "conditional_values": [
          {
            "subject": "self",
            "test": "is_moving"
          }
        ],
        "max_dropped_ticks": 0,
        "max_optimized_distance": 0.0,
        "use_motion_prediction_hints": true
      }
    ],
    "default_values": {
      "max_dropped_ticks": 20,
      "max_optimized_distance": 60.0,
      "use_motion_prediction_hints": true
    }
  }
}

Used by 116

Vanilla entities with minecraft:conditional_bandwidth_optimization in their definition:

Related components