1. Wiki
  2. /Entities
  3. /minecraft:conditional_bandwidth_optimization

minecraft:conditional_bandwidth_optimization

Don't want to write this by hand? GodCraft sets minecraft:conditional_bandwidth_optimization for you with a switch.Get GodCraft

Overview

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

FieldTypeDefaultDescription
conditional_valuesListnoneUpdate settings that apply only when their conditions are true.
default_valuesJSON ObjectnoneUpdate 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": {}
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more