#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
#  This Datapack was generated for private distribution only  #
# ----------------------------------------------------------- #
#                         DATAPACK INFO                       #
# ----------------------------------------------------------- #
#     Author: GenMode                                         #
#     Twitter: @DatapackGen                                   #
#     URL: https://github.com/GenMode/Minecraft/wiki          #
#                                                             #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#


# If Block
execute if block ~ ~ ~ minecraft:chiseled_bookshelf[facing=east] run function data_api:item/tags/book/check_position {mode:"2", rangeA:"68..100", rangeB:"34..67", rangeC:"0..33"}
execute if block ~ ~ ~ minecraft:chiseled_bookshelf[facing=north] run function data_api:item/tags/book/check_position {mode:"0", rangeA:"68..100", rangeB:"34..67", rangeC:"0..33"}
execute if block ~ ~ ~ minecraft:chiseled_bookshelf[facing=south] run function data_api:item/tags/book/check_position {mode:"0", rangeA:"0..33", rangeB:"34..67", rangeC:"68..100"}
execute if block ~ ~ ~ minecraft:chiseled_bookshelf[facing=west] run function data_api:item/tags/book/check_position {mode:"2", rangeA:"0..33", rangeB:"34..67", rangeC:"68..100"}
