{"format_version":"1.20.70","minecraft:entity":{"description":{"identifier":"inmine_zhs:guide_book","is_experimental":false,"is_spawnable":false,"is_summonable":true,"animations":{"actions_controller":"controller.animation.inmine_guide_book.actions","spawn":"animation.inmine_zhs.guide_book.spawn","close":"animation.inmine_zhs.guide_book.close","turn_right":"animation.inmine_zhs.guide_book.turn_right","turn_left":"animation.inmine_zhs.guide_book.turn_left"},"scripts":{"animate":["actions_controller"]},"properties":{"inmine:guide_book_page":{"type":"int","client_sync":true,"range":[1,10],"default":1},"inmine:guide_book_actions":{"type":"enum","values":["none","turn_page","close","open","turn_right","turn_left"],"client_sync":true,"default":"open"}}},"components":{"minecraft:type_family":{"family":["inmine_zhs:guide_book"]},"minecraft:collision_box":{"height":1.05,"width":1.05},"minecraft:custom_hit_test":{"hitboxes":[{"pivot":[0,0.5,0],"width":1,"height":1}]},"minecraft:damage_sensor":{"triggers":[{"on_damage":{"event":"inmine:guide_book_close","target":"self","filters":{"test":"enum_property","domain":"inmine:guide_book_actions","value":"none"}},"deals_damage":false},{"deals_damage":false}]},"minecraft:interact":{"interactions":[{"swing":true,"cooldown":1,"interact_text":"action.interact.inmine_zhs:guide_book.turn_page","on_interact":{"event":"inmine:guide_book_turn_page","target":"self","filters":{"any_of":[{"test":"enum_property","domain":"inmine:guide_book_actions","value":"none"},{"test":"enum_property","domain":"inmine:guide_book_actions","value":"turn_page"}]}}}]},"minecraft:breathable":{"breathes_water":true},"minecraft:pushable":{"is_pushable":false,"is_pushable_by_piston":false},"minecraft:physics":{},"minecraft:fire_immune":{},"minecraft:persistent":{},"minecraft:conditional_bandwidth_optimization":{}},"component_groups":{"guide_book:despawn":{"minecraft:instant_despawn":{}}},"events":{"inmine_common:despawn":{"add":{"component_groups":["guide_book:despawn"]}},"inmine:guide_book_close":{"set_property":{"inmine:guide_book_actions":"close"}},"inmine:guide_book_turn_page":{"set_property":{"inmine:guide_book_actions":"turn_page"},"queue_command":{"command":"scriptevent inmine_zhs:guide_book turn-page","target":"other"}},"inmine:guide_book_set_action_none":{"set_property":{"inmine:guide_book_actions":"none"}}}}}