{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:shulker",
      "is_experimental": false,
      "is_summonable": true,
      "is_spawnable": true,
      "spawn_category": "monster"
    },
    "components": {
      "minecraft:behavior.hurt_by_target": {
        "entity_types": {
          "filters": {
            "operator": "!=",
            "test": "is_family",
            "subject": "other",
            "value": "shulker"
          }
        },
        "priority": 2
      },
      "minecraft:behavior.look_at_player": {
        "look_time": {
          "min": 1,
          "max": 2
        },
        "look_distance": 6,
        "priority": 1
      },
      "minecraft:behavior.nearest_attackable_target": {
        "must_see": true,
        "entity_types": [
          {
            "filters": {
              "AND": [
                {
                  "test": "is_family",
                  "subject": 1,
                  "operator": 0,
                  "value": "player"
                }
              ]
            }
          }
        ],
        "priority": 3
      },
      "minecraft:behavior.random_look_around": {
        "priority": 8
      },
      "minecraft:behavior.ranged_attack": {
        "attack_interval_max": 3,
        "attack_interval_min": 1,
        "attack_radius": 15
      },
      "minecraft:breathable": {
        "breathes_lava": false,
        "breathes_water": false,
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:conditional_bandwidth_optimization": {
        "default_values": {
          "max_dropped_ticks": 10,
          "max_optimized_distance": 80.0,
          "use_motion_prediction_hints": true
        }
      },
      "minecraft:experience_reward": {
        "on_death": {
          "expression": "query.last_hit_by_player ? 5 : 0",
          "version": 12
        }
      },
      "minecraft:fire_immune": {},
      "minecraft:health": {
        "max": 30,
        "value": 30
      },
      "minecraft:interact": {
        "interactions": [
          {
            "on_interact": {
              "event": "minecraft:turn_black",
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:0"
                      },
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:16"
                      }
                    ]
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_gray",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:8"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_silver",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:7"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_white",
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:15"
                      },
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:19"
                      }
                    ]
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_light_blue",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:12"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_orange",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:14"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_red",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:1"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_blue",
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:4"
                      },
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:18"
                      }
                    ]
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_purple",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:5"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_magenta",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:13"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_pink",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:9"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_brown",
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:3"
                      },
                      {
                        "domain": "hand",
                        "subject": "other",
                        "test": "has_equipment",
                        "value": "dye:17"
                      }
                    ]
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_yellow",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:11"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_lime",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:10"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_green",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:2"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          },
          {
            "on_interact": {
              "event": "minecraft:turn_cyan",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "dye:6"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "subject": "other",
                    "test": "has_ability",
                    "value": "instabuild"
                  }
                ]
              }
            },
            "swing": false,
            "use_item": true
          }
        ]
      },
      "minecraft:is_collidable": {},
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:loot": {
        "table": "loot_tables/entities/shulker.json"
      },
      "minecraft:movement": {
        "max": 0.0,
        "value": 0.0
      },
      "minecraft:movement.basic": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "using_door_annotation": true
      },
      "minecraft:peek": {
        "on_close": {
          "event": "minecraft:on_close"
        },
        "on_open": {
          "event": "minecraft:on_open"
        },
        "on_target_open": {
          "event": "minecraft:on_open"
        }
      },
      "minecraft:physics": {},
      "minecraft:renders_when_invisible": {},
      "minecraft:shooter": {
        "def": "minecraft:shulker_bullet"
      },
      "minecraft:type_family": {
        "family": [
          "shulker",
          "monster",
          "mob"
        ]
      }
    },
    "component_groups": {
      "minecraft:shulker_black": {
        "minecraft:variant": {
          "value": 0
        }
      },
      "minecraft:shulker_red": {
        "minecraft:variant": {
          "value": 1
        }
      },
      "minecraft:shulker_green": {
        "minecraft:variant": {
          "value": 2
        }
      },
      "minecraft:shulker_silver": {
        "minecraft:variant": {
          "value": 7
        }
      },
      "minecraft:shulker_lime": {
        "minecraft:variant": {
          "value": 10
        }
      },
      "minecraft:shulker_blue": {
        "minecraft:variant": {
          "value": 4
        }
      },
      "minecraft:shulker_brown": {
        "minecraft:variant": {
          "value": 3
        }
      },
      "minecraft:shulker_gray": {
        "minecraft:variant": {
          "value": 8
        }
      },
      "minecraft:shulker_cyan": {
        "minecraft:variant": {
          "value": 6
        }
      },
      "minecraft:shulker_light_blue": {
        "minecraft:variant": {
          "value": 12
        }
      },
      "minecraft:shulker_magenta": {
        "minecraft:variant": {
          "value": 13
        }
      },
      "minecraft:shulker_undyed": {
        "minecraft:variant": {
          "value": 16
        }
      },
      "minecraft:shulker_orange": {
        "minecraft:variant": {
          "value": 14
        }
      },
      "minecraft:shulker_pink": {
        "minecraft:variant": {
          "value": 9
        }
      },
      "minecraft:shulker_purple": {
        "minecraft:variant": {
          "value": 5
        }
      },
      "minecraft:shulker_white": {
        "minecraft:variant": {
          "value": 15
        }
      },
      "minecraft:shulker_yellow": {
        "minecraft:variant": {
          "value": 11
        }
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "add": {
          "component_groups": [
            "minecraft:shulker_undyed"
          ]
        }
      },
      "minecraft:turn_magenta": {
        "add": {
          "component_groups": [
            "minecraft:shulker_magenta"
          ]
        }
      },
      "minecraft:turn_green": {
        "add": {
          "component_groups": [
            "minecraft:shulker_green"
          ]
        }
      },
      "minecraft:turn_black": {
        "add": {
          "component_groups": [
            "minecraft:shulker_black"
          ]
        }
      },
      "minecraft:turn_blue": {
        "add": {
          "component_groups": [
            "minecraft:shulker_blue"
          ]
        }
      },
      "minecraft:turn_pink": {
        "add": {
          "component_groups": [
            "minecraft:shulker_pink"
          ]
        }
      },
      "minecraft:turn_brown": {
        "add": {
          "component_groups": [
            "minecraft:shulker_brown"
          ]
        }
      },
      "minecraft:turn_gray": {
        "add": {
          "component_groups": [
            "minecraft:shulker_gray"
          ]
        }
      },
      "minecraft:turn_cyan": {
        "add": {
          "component_groups": [
            "minecraft:shulker_cyan"
          ]
        }
      },
      "minecraft:turn_light_blue": {
        "add": {
          "component_groups": [
            "minecraft:shulker_light_blue"
          ]
        }
      },
      "minecraft:turn_lime": {
        "add": {
          "component_groups": [
            "minecraft:shulker_lime"
          ]
        }
      },
      "minecraft:turn_orange": {
        "add": {
          "component_groups": [
            "minecraft:shulker_orange"
          ]
        }
      },
      "minecraft:turn_purple": {
        "add": {
          "component_groups": [
            "minecraft:shulker_purple"
          ]
        }
      },
      "minecraft:turn_red": {
        "add": {
          "component_groups": [
            "minecraft:shulker_red"
          ]
        }
      },
      "minecraft:turn_silver": {
        "add": {
          "component_groups": [
            "minecraft:shulker_silver"
          ]
        }
      },
      "minecraft:turn_white": {
        "add": {
          "component_groups": [
            "minecraft:shulker_white"
          ]
        }
      },
      "minecraft:turn_yellow": {
        "add": {
          "component_groups": [
            "minecraft:shulker_yellow"
          ]
        }
      }
    }
  }
}