{
	"format_version": "1.10.0",
	"minecraft:entity": {
		"description": {
			"identifier": "addon:ammo_table",
			"runtime_identifier": "minecraft:shulker",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"minecraft:nmsl": {
				"minecraft:behavior.trade_with_player": {},
				"minecraft:economy_trade_table": {
					"display_name": "entity.addon:ammo_table.name",
					"table": "trading/ammo_table.json",
					"new_screen": true,
					"persist_trades": true
				}
			}
		},
		"components": {
				      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 0 : 0"
            },
			"minecraft:collision_box": {
				"width": 1,
				"height": 1
			},
			"minecraft:loot": {
				"table": "loot_tables/ammo_table.json"
			},
			"minecraft:health": {
				"value": 2,
				"max": 2
			},
			"minecraft:physics": {}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": ["minecraft:nmsl"]
				}
			}
		}
	}
}