{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "cc_fairytales:fire_gnome",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"trade_components": {
				"minecraft:behavior.trade_interest": {},
				"minecraft:economy_trade_table": {}
			},
			"sensor_golpeo": {
				"minecraft:damage_sensor": {
					"triggers": [
						{
							"on_damage": {
								"filters": {
									"test": "is_family",
									"subject": "other",
									"value": "player"
								},
								"event": "exploto"
							},
							"deals_damage": true
						}
					]
				}
			},
			"gnome": {
				"minecraft:type_family": {
					"family": [
						"gnome",
						"mob"
					]
				},
				"minecraft:behavior.trade_interest": {
					"priority": 5,
					"within_radius": 6,
					"interest_time": 45,
					"remove_item_time": 1,
					"carried_item_switch_time": 2,
					"cooldown": 2
				},
				"minecraft:economy_trade_table": {
					"display_name": "entity.cc_fairytales:fire_gnome.name",
					"table": "trading/gnome_trades/gnome_trades.json",
					"new_screen": true,
					"persist_trades": true
				}
			},
			"explotacion": {
				"minecraft:explode": {
					"breaks_blocks": true,
					"causes_fire": false,
					"destroy_affected_by_griefing": true,
					"fire_affected_by_griefing": true,
					"fuse_lit": true,
					"power": 4
				}
			}
		},
		"components": {
			"minecraft:physics": {
				"has_gravity": true,
				"has_collision": true
			},
			"minecraft:pushable": {
				"is_pushable": true
			},
			"minecraft:health": {
				"value": 20
			},
			"minecraft:fire_immune": {},
			"minecraft:hide": {},
			"minecraft:collision_box": {
				"width": 0.7,
			"height": 1.2
			},
			"minecraft:nameable": {},
			"minecraft:navigation.walk": {
				"can_path_over_water": false,
				"can_pass_doors": false,
				"can_open_doors": false,
				"avoid_water": true
			},
			"minecraft:follow_range": {
				"value": 128
			},
			"minecraft:movement": {
				"value": 0.3
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 6,
				"probability": 0.02
			},
			"minecraft:behavior.random_look_around": {
				"priority": 6
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:inventory": {
				"inventory_size": 8,
				"private": true
			},
			"minecraft:persistent": {},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.random_stroll": {
				"priority": 5,
				"speed_multiplier": 1
			},
			"minecraft:behavior.trade_with_player": {
				"priority": 2
			},
			"minecraft:behavior.pickup_items": {
				"priority": 4,
				"max_dist": 3,
				"goal_radius": 2,
				"speed_multiplier": 0.5,
				"can_pickup_to_hand_or_equipment": false
			},
			"minecraft:behavior.look_at_trading_player": {
				"priority": 7
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"trade_components",
						"gnome",
						"sensor_golpeo"
					]
				}
			},
			"exploto": {
				"add": {
					"component_groups": [
						"explotacion"
					]
				}
			}
		}
	}
}