minecraft:reflect_projectiles
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 Breeze uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:reflect_projectiles": {
"azimuth_angle": "180.0 + Math.random(-20.0, 20.0)",
"reflected_projectiles": [
"xp_bottle",
"thrown_trident",
"shulker_bullet",
"dragon_fireball",
"arrow",
"snowball",
"egg",
"fireball",
"splash_potion",
"ender_pearl",
"wither_skull",
"wither_skull_dangerous",
"small_fireball",
"lingering_potion",
"llama_spit",
"fireworks_rocket",
"fishing_hook"
],
"reflection_scale": "0.5"
}
}Used by 1
Vanilla entities with minecraft:reflect_projectiles in their definition:
Related components
physicscollision_boxtype_familyconditional_bandwidth_optimizationnameableis_hidden_when_invisiblepushable_by_blockpushable_by_entitylootcan_climbis_babyballoonableambient_sound_intervalvariantpushablepersistentis_tameddimension_boundis_saddledinput_ground_controlledis_shakingmark_variantrenders_when_invisiblecan_fly