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:
AllayArea Effect CloudArmadilloArmor StandArrowBatBeeBlazeBoatBoggedBreezeWind ChargeCamelCamel HuskCatCave SpiderBoat with ChestMinecart with ChestChickenCodMinecart with Command BlockCopper GolemCowCreeperCushionDolphinDonkeyDragon FireballDrownedEggElder GuardianEnder CrystalEnder PearlEndermanEndermiteEvokerEye of EnderFireballFirework RocketFishing HookFoxGhastGuardianHappy GhastHoglinMinecart with HopperHorseHuskIron GolemLightning BoltLingering PotionLlamaLlama SpitMagma CubeMinecartMooshroomMuleOcelotPandaParchedParrotPhantomPigPiglinPiglin BrutePillagerPlayerPolar BearPufferfishRabbitRavagerSalmonSheepShulkerShulker BulletSilverfishSkeletonSkeleton HorseSlimeSmall FireballSnifferSnow GolemSnowballSpiderPotionSquidStrayStriderSulfur CubeTridentBlock of TNTMinecart with TNTTrader LlamaTripod CameraTropical FishTurtleVexVillagerVillagerVindicatorWandering TraderWind ChargeWitchWitherWither SkeletonWither SkullWither SkullWolfBottle o' EnchantingExperience OrbZoglinZombieZombie HorseZombified PiglinZombie VillagerZombie Villager
Related components
physicscollision_boxtype_familynameableis_hidden_when_invisiblepushable_by_blockpushable_by_entitylootcan_climbis_babyballoonableambient_sound_intervalvariantpushablepersistentis_tameddimension_boundis_saddledinput_ground_controlledis_shakingmark_variantrenders_when_invisiblecan_flyannotation.break_door