{
  "format_version": "1.21.0",
  "minecraft:entity": {
    "description": {
      "identifier": "energistics_expansion:solar_generator",
      "is_summonable": true,
      "is_spawnable": false
    },
    "component_groups": {
      "energistics_expansion:despawn": {
        "minecraft:instant_despawn": {}
      }
    },
    "components": {
      "minecraft:despawn": {
        "despawn_from_distance": {
          "min_distance": 10,
          "max_distance": 20
        }
      },
      "minecraft:timer": {
        "time": 60,
        "time_down_event": {
          "event": "energistics_expansion:despawn"
        }
      },
      "minecraft:inside_block_notifier": {
        "block_list": [
          {
            "block": {
              "name": "air"
            },
            "entered_block_event": {
              "event": "energistics_expansion:despawn",
              "target": "self"
            }
          }
        ]
      },
      "minecraft:breathable": {
        "breathes_water": true
      },
      "minecraft:physics": {
        "has_gravity": false,
        "has_collision": false
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "deals_damage": false
        }
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": false
      },
      "minecraft:knockback_resistance": {
        "value": 1
      },
      "minecraft:collision_box": {
        "width": 1,
        "height": 1
      },
      "minecraft:inventory": {
        "container_type": "container",
        "inventory_size": 5
      },
      "minecraft:type_family": {
        "family": ["fluffyalien_energisticscore:machine_entity"]
      }
    },
    "events": {
      "energistics_expansion:despawn": {
        "add": {
          "component_groups": ["energistics_expansion:despawn"]
        }
      }
    }
  }
}
