diff --git a/.github/workflows/deploy_on_glib_manager.yml b/.github/workflows/deploy_on_glib_manager.yml deleted file mode 100644 index ecb31b3527..0000000000 --- a/.github/workflows/deploy_on_glib_manager.yml +++ /dev/null @@ -1,41 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Deploy release on glib manager - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - tags: - - '*' - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "deploy" - deploy: - # The type of runner that the job will run on - runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 10 - # Deploys to the server - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - name: Test - run: | - echo $RELEASE_VERSION - echo ${{ env.RELEASE_VERSION }} - - name: deploy - uses: swznd/sftp-deploy@master - with: - local_path: '/datapacks/Glib/' - host: ${{ secrets.SFTP_IP }} - port: ${{ secrets.SFTP_PORT }} - user: ${{ secrets.SFTP_USER }} - password: ${{ secrets.SFTP_PASSWORD }} - remote_path: /datapacks/release/${{ env.RELEASE_VERSION }}/ - ignore: .github/**,.gitignore,**/.gitignore,**/.git/**, /advancements/, /data/, /DIM-1/, /DIM1/, /entities/, /generated/, /playerdata/, /poi/, /region/ /stats/, /level.dat, /level.dat_old, /session.lock, /uid.dat, /docs/, /generators/ \ No newline at end of file diff --git a/.github/workflows/deploy_on_glib_manager_master.yml b/.github/workflows/deploy_on_glib_manager_master.yml deleted file mode 100644 index c8f023c95c..0000000000 --- a/.github/workflows/deploy_on_glib_manager_master.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Deploy dev version on glib manager - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [master] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "deploy" - deploy: - # The type of runner that the job will run on - runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 10 - # Deploys to the server - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - name: Test - run: | - echo $RELEASE_VERSION - echo ${{ env.RELEASE_VERSION }} - - name: deploy - uses: swznd/sftp-deploy@master - with: - local_path: '/datapacks/Glib/' - host: ${{ secrets.SFTP_IP }} - port: ${{ secrets.SFTP_PORT }} - user: ${{ secrets.SFTP_USER }} - password: ${{ secrets.SFTP_PASSWORD }} - remote_path: /datapacks/dev/${{ env.RELEASE_VERSION }}/ - ignore: .github/**,.gitignore,**/.gitignore,**/.git/**, /advancements/, /data/, /DIM-1/, /DIM1/, /entities/, /generated/, /playerdata/, /poi/, /region/ /stats/, /level.dat, /level.dat_old, /session.lock, /uid.dat, /docs/, /generators/ \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..51e4d634fb --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: πŸ§ͺ Test datapacks +on: [push, pull_request, workflow_dispatch] + +env: + FABRIC_SERVER: https://meta.fabricmc.net/v2/versions/loader/1.20.4/0.15.7/1.0.0/server/jar + FABRIC_API: https://cdn.modrinth.com/data/P7dR8mSH/versions/9p2sguD7/fabric-api-0.96.4%2B1.20.4.jar + PACKTEST: https://cdn.modrinth.com/data/XsKUhp45/versions/18smpIeE/packtest-1.6-mc1.20.4.jar + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + - name: Download and prepare files + run: | + curl -o server.jar $FABRIC_SERVER + mkdir mods + curl -o mods/fabric-api.jar $FABRIC_API + curl -o mods/packtest.jar $PACKTEST + mkdir -p world + cp -r datapacks world/datapacks + - name: Run tests + run: | + java -Xmx2G -Dpacktest.auto -Dpacktest.auto.annotations -jar server.jar nogui diff --git a/assets/command_storage_bs.dat b/assets/command_storage_bs.dat index 3c5f6e9224..d66a5d4d77 100644 Binary files a/assets/command_storage_bs.dat and b/assets/command_storage_bs.dat differ diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/__clean__.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/__clean__.mcfunction deleted file mode 100644 index 7def112d5c..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/__clean__.mcfunction +++ /dev/null @@ -1,90 +0,0 @@ -#__________________________________________________ -# INFO Copyright Β© 2021 Altearn. - -# Authors: A~Z -# Contributors: -# MC Version: -# Last check: - -# Original path: bs.core:clean -# Documentation: -# Note: -# - Please be aware that using this function will delete each and every score used by Bookshelf, -# thus losing all data which may have been stored on them WITHOUT ANY POSSIBILITY OF RETRIEVAL. -# -# - If you intent on disabling the gunivers-lib for now but may reuse it later with saved data, unload it without activating this function. -# - Otherwise, if you want to remove it for good, use the shutdown function who will call this then unload the gunivers-lib in the same tick, -# avoiding recreation of some scores. - -#__________________________________________________ -# PARAMETERS - -#__________________________________________________ -# INIT - -#__________________________________________________ -# CONFIG - -#__________________________________________________ -# CODE - - # ~~ Global ~~ -scoreboard objectives remove bs -scoreboard objectives remove bs.config -scoreboard objectives remove bs.const -scoreboard objectives remove bs.data -scoreboard objectives remove bs.debug -scoreboard objectives remove bs.out.0 -scoreboard objectives remove bs.out.1 -scoreboard objectives remove bs.out.2 -scoreboard objectives remove bs.out.3 -scoreboard objectives remove bs.out.4 -scoreboard objectives remove bs.out.5 -scoreboard objectives remove bs.out.6 -scoreboard objectives remove bs.out.7 -scoreboard objectives remove bs.out.8 -scoreboard objectives remove bs.out.9 -scoreboard objectives remove bs.in.0 -scoreboard objectives remove bs.in.1 -scoreboard objectives remove bs.in.2 -scoreboard objectives remove bs.in.3 -scoreboard objectives remove bs.in.4 -scoreboard objectives remove bs.in.5 -scoreboard objectives remove bs.in.6 -scoreboard objectives remove bs.in.7 -scoreboard objectives remove bs.in.8 -scoreboard objectives remove bs.in.9 - - # ~~ Health ~~ -scoreboard objectives remove bs.ttl - - # ~~ Id ~~ -scoreboard objectives remove bs.id -scoreboard objectives remove bs.id.target -scoreboard objectives remove bs.id.parent - - # ~~ Link ~~ -scoreboard objectives remove bs.link.rx -scoreboard objectives remove bs.link.ry -scoreboard objectives remove bs.link.rz -scoreboard objectives remove bs.link.rv -scoreboard objectives remove bs.link.rh -scoreboard objectives remove bs.link.lx -scoreboard objectives remove bs.link.ly -scoreboard objectives remove bs.link.lz -scoreboard objectives remove bs.link.to - - # ~~ Location ~~ -scoreboard objectives remove bs.loc.x -scoreboard objectives remove bs.loc.y -scoreboard objectives remove bs.loc.z - - # ~~ Orientation ~~ -scoreboard objectives remove bs.ori.v -scoreboard objectives remove bs.ori.h - - # ~~ Vectors ~~ -scoreboard objectives remove bs.vector.x -scoreboard objectives remove bs.vector.y -scoreboard objectives remove bs.vector.z -scoreboard objectives remove bs.collision diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/__load__.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/__load__.mcfunction deleted file mode 100644 index 03a1a10031..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/__load__.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -tellraw @a [{"text":"\n Thank you for using Bookshelf!\n","color":"dark_aqua","bold":true},{"text":" Share us your creations on twitter! ","color":"gray","bold":false},{"text":"@Gunivers_\n\n","color":"gold","bold":false,"clickEvent":{"action":"open_url","value":"https://twitter.com/Gunivers_"},"hoverEvent":{"action":"show_text","contents":"Visit our Twitter page"}},{"text":" > Open menu\n","color":"gold","bold":false,"clickEvent":{"action":"run_command","value":"/function bs:menu"},"hoverEvent":{"action":"show_text","contents":"Click to open the Bookshelf menu"}}] - -function bs.core:import/scores -function bs.core:import/constants - -execute as @e[tag=bs.debug] run function bs.core:entity/safe_kill - -scoreboard objectives add bs.metadata dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Active Modules","color":"aqua"}] -scoreboard players reset * bs.metadata - -# Module list -function bs:menu -function #bs.biome:help -function bs.block:_ -function bs.cache:_ -function #bs.color:help -function bs.health:_ -function bs.id:_ -function bs.item:_ -function bs.link:_ -function bs.location:_ -function bs.mapedit:_ -function bs.math:_ -function bs.memory:_ -function bs.move:_ -function bs.orientation:_ -function bs.schedule:_ -function bs.smartmove:_ -function bs.time:_ -function bs.tree:_ -function bs.vector:_ -function bs.view:_ -function #bs.weather:help -function bs.xp:_ -function bs.example:_ diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/__shutdown__.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/__shutdown__.mcfunction deleted file mode 100644 index 5244bb0fb9..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/__shutdown__.mcfunction +++ /dev/null @@ -1,29 +0,0 @@ -##__________________________________________________ -# INFO Copyright Β© 2021 Altearn. - -# Authors: A~Z -# Contributors: -# MC Version: -# Last check: - -# Original path: bs.core:shutdown -# Documentation: https://bs-core.readthedocs.io//core -# Parallelizable: -# Note: -# Remove the gunivers-lib trailing scores, then unload it. -# See bs.core:clean for more. - -#__________________________________________________ -# PARAMETERS - -#__________________________________________________ -# INIT - -#__________________________________________________ -# CONFIG - -#__________________________________________________ -# CODE - -function bs:clean -datapack disable gunivers-lib diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/__tick__.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/__tick__.mcfunction deleted file mode 100644 index 64fd9e942f..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/__tick__.mcfunction +++ /dev/null @@ -1,14 +0,0 @@ -# Bookshelf Menu -execute if score menu.refresh bs.data matches 5.. run scoreboard players set menu.refresh bs.data 0 -scoreboard players add menu.refresh bs.data 1 -execute if entity @a[tag=bs.menu.active] run function bs:menu/dispatch - -# Debug Id -scoreboard players add @e bs.debug.id 0 -execute as @e[scores={bs.debug.id=0},limit=1] run scoreboard players add debug.id bs.data 1 -execute as @e[scores={bs.debug.id=0},limit=1] run scoreboard players operation @s bs.debug.id = debug.id bs.data - -# Life time -scoreboard players add @e bs.lifetime 1 -kill @e[scores={bs.lifetime=-1}] - diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/display_tick.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/display_tick.mcfunction deleted file mode 100644 index 1cdf53ae36..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/display_tick.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -scoreboard objectives add bs dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Debug","color":"aqua"}] -execute store result score @s bs run time query gametime -tellraw @s ["",{"text":"\n"},{"text":"β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ ","color":"black"},{"text":"Tick ","color":"gray"},{"score":{"name":"@s","objective":"bs"},"color":"gray"},{"text":" β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ","color":"black"},{"text":"\n "}] -scoreboard objectives remove bs diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/cube.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/cube.mcfunction deleted file mode 100644 index 63116bcdd5..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/cube.mcfunction +++ /dev/null @@ -1,14 +0,0 @@ -particle minecraft:end_rod ~0.5 ~ ~0.5 0 0.25 0 0 10 force @s -particle minecraft:end_rod ~-0.5 ~ ~0.5 0 0.25 0 0 10 force @s -particle minecraft:end_rod ~0.5 ~ ~-0.5 0 0.25 0 0 10 force @s -particle minecraft:end_rod ~-0.5 ~ ~-0.5 0 0.25 0 0 10 force @s - -particle minecraft:end_rod ~ ~0.5 ~0.5 0.25 0 0 0 10 force @s -particle minecraft:end_rod ~ ~0.5 ~-0.5 0.25 0 0 0 10 force @s -particle minecraft:end_rod ~ ~-0.5 ~0.5 0.25 0 0 0 10 force @s -particle minecraft:end_rod ~ ~-0.5 ~-0.5 0.25 0 0 0 10 force @s - -particle minecraft:end_rod ~0.5 ~0.5 ~ 0 0 0.25 0 10 force @s -particle minecraft:end_rod ~-0.5 ~0.5 ~ 0 0 0.25 0 10 force @s -particle minecraft:end_rod ~0.5 ~-0.5 ~ 0 0 0.25 0 10 force @s -particle minecraft:end_rod ~-0.5 ~-0.5 ~ 0 0 0.25 0 10 force @s \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.1/child/line_0.1.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.1/child/line_0.1.mcfunction deleted file mode 100644 index 254c02dfa3..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.1/child/line_0.1.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -execute at @s run tp @s ^ ^ ^0.1 -execute at @s run particle dust 0.008 0.541 0.949 0.2 ~ ~ ~ 0.2 0.2 0.2 0 0 normal - -scoreboard players remove debug.draw_line bs 1 - -execute if entity @s[distance=..0.1] run kill @s[type=!player] -execute if score debug.draw_line bs.in.0 matches ..0 run kill @s -execute as @s unless entity @s[distance=..0.1] run function bs.core:debug/draw/line_0.1/child/line_0.1 diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.1_ata.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.1_ata.mcfunction deleted file mode 100644 index 87c0de62c6..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.1_ata.mcfunction +++ /dev/null @@ -1,16 +0,0 @@ -execute at @s run function bs.core:entity/summon -execute at @s run tag @e[tag=bs.new,limit=1,sort=nearest] add bs.debug.draw_line -execute at @s run tag @e[tag=bs.new,limit=1,sort=nearest] remove bs.new - -function bs.core:entity/summon -tag @e[tag=bs.new,limit=1,sort=nearest] add bs.debug.draw_line.dest -tag @e[tag=bs.new,limit=1,sort=nearest] remove bs.new - -execute as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] at @s facing entity @e[tag=bs.debug.draw_line.dest,limit=1,sort=nearest] feet run tp @s ~ ~ ~ ~ ~ - -execute as @e[tag=bs.debug.draw_line.dest] run function bs.core:entity/safe_kill - -scoreboard players set debug.draw_line bs 200 -execute unless entity @e[tag=bs.debug.draw_line,distance=..0.5] as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] run function bs.core:debug/draw/line_0.1/child/line_0.1 - -execute as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] run function bs.core:entity/safe_kill diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.5/child/line_0.5.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.5/child/line_0.5.mcfunction deleted file mode 100644 index 9601704bc0..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.5/child/line_0.5.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -execute at @s run tp @s ^ ^ ^0.5 -execute at @s run particle dust 0.008 0.541 0.949 0.2 ~ ~ ~ 0.2 0.2 0.2 0 0 normal - -scoreboard players remove debug.draw_line bs 1 - -execute if entity @s[distance=..0.5] run kill @s[type=!player] -execute if score debug.draw_line bs.in.0 matches ..0 run kill @s -execute as @s unless entity @s[distance=..0.5] run function bs.core:debug/draw/line_0.5/child/line_0.5 diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.5_ata.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.5_ata.mcfunction deleted file mode 100644 index e7801076a1..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_0.5_ata.mcfunction +++ /dev/null @@ -1,16 +0,0 @@ -execute at @s run function bs.core:entity/summon -execute at @s run tag @e[tag=bs.new,limit=1,sort=nearest] add bs.debug.draw_line -execute at @s run tag @e[tag=bs.new,limit=1,sort=nearest] remove bs.new - -function bs.core:entity/summon -tag @e[tag=bs.new,limit=1,sort=nearest] add bs.debug.draw_line.dest -tag @e[tag=bs.new,limit=1,sort=nearest] remove bs.new - -execute as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] at @s facing entity @e[tag=bs.debug.draw_line.dest,limit=1,sort=nearest] feet run tp @s ~ ~ ~ ~ ~ - -execute as @e[tag=bs.debug.draw_line.dest] run function bs.core:entity/safe_kill - -scoreboard players set debug.draw_line bs 200 -execute unless entity @e[tag=bs.debug.draw_line,distance=..0.5] as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] run function bs.core:debug/draw/line_0.5/child/line_0.5 - -execute as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] run function bs.core:entity/safe_kill diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_1.0/child/line_1.0.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_1.0/child/line_1.0.mcfunction deleted file mode 100644 index cfe7730597..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_1.0/child/line_1.0.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -execute at @s run tp @s ^ ^ ^0.5 -execute at @s run particle dust 0.008 0.541 0.949 0.2 ~ ~ ~ 0.2 0.2 0.2 0 0 normal - -scoreboard players remove debug.draw_line bs 1 - -execute if entity @s[distance=..0.5] run kill @s[type=!player] -execute if score debug.draw_line bs.in.0 matches ..0 run kill @s -execute as @s unless entity @s[distance=..0.5] run function bs.core:debug/draw/line_1.0/child/line_1.0 diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_1.0_ata.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_1.0_ata.mcfunction deleted file mode 100644 index c70b288b7a..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/draw/line_1.0_ata.mcfunction +++ /dev/null @@ -1,16 +0,0 @@ -execute at @s run function bs.core:entity/summon -execute at @s run tag @e[tag=bs.new,limit=1,sort=nearest] add bs.debug.draw_line -execute at @s run tag @e[tag=bs.new,limit=1,sort=nearest] remove bs.new - -function bs.core:entity/summon -tag @e[tag=bs.new,limit=1,sort=nearest] add bs.debug.draw_line.dest -tag @e[tag=bs.new,limit=1,sort=nearest] remove bs.new - -execute as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] at @s facing entity @e[tag=bs.debug.draw_line.dest,limit=1,sort=nearest] feet run tp @s ~ ~ ~ ~ ~ - -execute as @e[tag=bs.debug.draw_line.dest] run function bs.core:entity/safe_kill - -scoreboard players set debug.draw_line bs 200 -execute unless entity @e[tag=bs.debug.draw_line,distance=..0.5] as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] run function bs.core:debug/draw/line_1.0/child/line_1.0 - -execute as @e[tag=bs.debug.draw_line,limit=1,sort=nearest] run function bs.core:entity/safe_kill diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/error/entity_info.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/error/entity_info.mcfunction deleted file mode 100644 index 0fd872d807..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/error/entity_info.mcfunction +++ /dev/null @@ -1 +0,0 @@ -tellraw @a[tag=bs.debug] [{"text":" Entity: ","color":"red"},{"selector":"@s","color":"green"},{"text":" Debug ID: ","color":"red"},{"score":{"name":"@s","objective":"bs.debug"},"color":"green"}] diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/info/end_debug.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/info/end_debug.mcfunction deleted file mode 100644 index 6f16c9bbc7..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/info/end_debug.mcfunction +++ /dev/null @@ -1 +0,0 @@ -tellraw @a[tag=bs.debug] [{"text":"< ------------------------------","color":"green"}] diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/info/entity_info.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/info/entity_info.mcfunction deleted file mode 100644 index 76bb94afc6..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/debug/message/info/entity_info.mcfunction +++ /dev/null @@ -1 +0,0 @@ -tellraw @a[tag=bs.debug] [{"text":" Entity: ","color":"dark_gray"},{"selector":"@s","color":"gold"},{"text":" Debug ID: ","color":"dark_gray"},{"score":{"name":"@s","objective":"bs.debug"},"color":"gold"}] diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/entity/safe_kill.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/entity/safe_kill.mcfunction deleted file mode 100644 index 2b99f6952a..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/entity/safe_kill.mcfunction +++ /dev/null @@ -1,30 +0,0 @@ -#__________________________________________________ -# INFO Copyright Β© 2021 Altearn. - -# Authors: Leirof -# Contributors: -# MC Version: 1.16.1 -# Last check: - -# Original path: bs.core:entity/safe_kill -# Parallelizable: true - -#__________________________________________________ -# PARAMETERS - -#__________________________________________________ -# INIT - -#__________________________________________________ -# CONFIG - -#__________________________________________________ -# CODE - -tag @e[tag=bs.core.entity.safekill.excluded] remove bs.core.entity.safekill.excluded - -scoreboard players reset @s[type=!player,tag=!bs.permanent] -tp @s[type=!player,tag=!bs.permanent] ~ 0 ~ -kill @s[type=!player,tag=!bs.permanent] - -tag @s add bs.core.entity.safekill.excluded \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/entity/summon.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/entity/summon.mcfunction deleted file mode 100644 index 8fce1ab697..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/entity/summon.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -# Clear old bs.new entities -execute as @e[tag=bs.new] run function bs.core:entity/safe_kill - -# Creating marker -summon marker ~ ~ ~ {Tags:["bs","bs.new"]} - -# Putting the marker in the correct orientation -tp @e[tag=bs.new] ~ ~ ~ ~ ~ - -# Trying to link the creator of this entity -scoreboard players operation @e[tag=bs.new,limit=1,sort=nearest] bs.id.parent = @s bs.id diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/import/constants.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/import/constants.mcfunction deleted file mode 100644 index d63d824e0a..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/import/constants.mcfunction +++ /dev/null @@ -1,163 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors: Lot of people -# Contributors: - -# Version: 1.0 -# Created: 05/08/2023 (23w31a) -# Last modification: 07/08/2023 (23w31a) - -# Documentation: -# Dependencies: -# Note: - -# CODE ------------------------------------------------------------------------ - -# Particular numbers -scoreboard players set pi bs.const 3142 -scoreboard players set pi2 bs.const 314 -scoreboard players set pi3 bs.const 3142 -scoreboard players set pi6 bs.const 3141593 -scoreboard players set max_int bs.const 2147483647 - -# Classic numbers -scoreboard players set -2 bs.const -2 -scoreboard players set -1 bs.const -1 -scoreboard players set 0 bs.const 0 -scoreboard players set 1 bs.const 1 -scoreboard players set 2 bs.const 2 -scoreboard players set 3 bs.const 3 -scoreboard players set 4 bs.const 4 -scoreboard players set 5 bs.const 5 -scoreboard players set 6 bs.const 6 -scoreboard players set 7 bs.const 7 -scoreboard players set 8 bs.const 8 -scoreboard players set 9 bs.const 9 -scoreboard players set 10 bs.const 10 -scoreboard players set 11 bs.const 11 -scoreboard players set 12 bs.const 12 -scoreboard players set 13 bs.const 13 -scoreboard players set 14 bs.const 14 -scoreboard players set 15 bs.const 15 -scoreboard players set 16 bs.const 16 -scoreboard players set 17 bs.const 17 -scoreboard players set 18 bs.const 18 -scoreboard players set 19 bs.const 19 -scoreboard players set 20 bs.const 20 -scoreboard players set 21 bs.const 21 -scoreboard players set 22 bs.const 22 -scoreboard players set 23 bs.const 23 -scoreboard players set 24 bs.const 24 -scoreboard players set 25 bs.const 25 -scoreboard players set 26 bs.const 26 -scoreboard players set 29 bs.const 29 -scoreboard players set 30 bs.const 30 -scoreboard players set 31 bs.const 31 -scoreboard players set 32 bs.const 32 -scoreboard players set 37 bs.const 37 -scoreboard players set 40 bs.const 40 -scoreboard players set 41 bs.const 41 -scoreboard players set 43 bs.const 43 -scoreboard players set 45 bs.const 45 -scoreboard players set 47 bs.const 47 -scoreboard players set 50 bs.const 50 -scoreboard players set 53 bs.const 53 -scoreboard players set 59 bs.const 59 -scoreboard players set 60 bs.const 60 -scoreboard players set 61 bs.const 61 -scoreboard players set 62 bs.const 62 -scoreboard players set 64 bs.const 64 -scoreboard players set 67 bs.const 67 -scoreboard players set 70 bs.const 70 -scoreboard players set 71 bs.const 71 -scoreboard players set 73 bs.const 73 -scoreboard players set 74 bs.const 74 -scoreboard players set 79 bs.const 79 -scoreboard players set 80 bs.const 80 -scoreboard players set 83 bs.const 83 -scoreboard players set 89 bs.const 89 -scoreboard players set 90 bs.const 90 -scoreboard players set 97 bs.const 97 -scoreboard players set 100 bs.const 100 -scoreboard players set 101 bs.const 101 -scoreboard players set 112 bs.const 112 -scoreboard players set 119 bs.const 119 -scoreboard players set 120 bs.const 120 -scoreboard players set 128 bs.const 128 -scoreboard players set 135 bs.const 135 -scoreboard players set 180 bs.const 180 -scoreboard players set 197 bs.const 197 -scoreboard players set 200 bs.const 200 -scoreboard players set 212 bs.const 212 -scoreboard players set 225 bs.const 225 -scoreboard players set 256 bs.const 256 -scoreboard players set 270 bs.const 270 -scoreboard players set 283 bs.const 283 -scoreboard players set 300 bs.const 300 -scoreboard players set 307 bs.const 307 -scoreboard players set 315 bs.const 315 -scoreboard players set 360 bs.const 360 -scoreboard players set 400 bs.const 400 -scoreboard players set 500 bs.const 500 -scoreboard players set 512 bs.const 512 -scoreboard players set 600 bs.const 600 -scoreboard players set 640 bs.const 640 -scoreboard players set 693 bs.const 693 -scoreboard players set 700 bs.const 700 -scoreboard players set 720 bs.const 720 -scoreboard players set 785 bs.const 785 -scoreboard players set 800 bs.const 800 -scoreboard players set 900 bs.const 900 -scoreboard players set 1000 bs.const 1000 -scoreboard players set 1001 bs.const 1001 -scoreboard players set 1012 bs.const 1012 -scoreboard players set 1023 bs.const 1023 -scoreboard players set 1024 bs.const 1024 -scoreboard players set 1292 bs.const 1292 -scoreboard players set 1500 bs.const 1500 -scoreboard players set 1024 bs.const 1024 -scoreboard players set 2000 bs.const 2000 -scoreboard players set 2001 bs.const 2001 -scoreboard players set 2048 bs.const 2048 -scoreboard players set 2303 bs.const 2303 -scoreboard players set 3000 bs.const 3000 -scoreboard players set 4000 bs.const 4000 -scoreboard players set 4096 bs.const 4096 -scoreboard players set 4214 bs.const 4214 -scoreboard players set 5000 bs.const 5000 -scoreboard players set 6000 bs.const 6000 -scoreboard players set 6500 bs.const 6500 -scoreboard players set 6931 bs.const 6931 -scoreboard players set 7000 bs.const 7000 -scoreboard players set 8000 bs.const 8000 -scoreboard players set 9000 bs.const 9000 -scoreboard players set 10000 bs.const 10000 -scoreboard players set 11500 bs.const 11500 -scoreboard players set 15500 bs.const 15500 -scoreboard players set 16807 bs.const 16807 -scoreboard players set 17364 bs.const 17364 -scoreboard players set 18000 bs.const 18000 -scoreboard players set 23026 bs.const 23026 -scoreboard players set 24000 bs.const 24000 -scoreboard players set 28125 bs.const 28125 -scoreboard players set 30000 bs.const 30000 -scoreboard players set 31623 bs.const 31623 -scoreboard players set 32400 bs.const 32400 -scoreboard players set 36000 bs.const 36000 -scoreboard players set 36288 bs.const 36288 -scoreboard players set 40500 bs.const 40500 -scoreboard players set 50436 bs.const 50436 -scoreboard players set 65521 bs.const 65521 -scoreboard players set 65536 bs.const 65536 -scoreboard players set 90000 bs.const 90000 -scoreboard players set 100000 bs.const 100000 -scoreboard players set 117500 bs.const 117500 -scoreboard players set 118998 bs.const 118998 -scoreboard players set 166667 bs.const 166667 -scoreboard players set 180000 bs.const 180000 -scoreboard players set 270000 bs.const 270000 -scoreboard players set 1000000 bs.const 1000000 -scoreboard players set 2302585 bs.const 2302585 -scoreboard players set 405000000 bs.const 405000000 -scoreboard players set 324000000 bs.const 324000000 diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/import/scores.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/import/scores.mcfunction deleted file mode 100644 index 9d622f5350..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/import/scores.mcfunction +++ /dev/null @@ -1,45 +0,0 @@ -# Inputs -scoreboard objectives add bs.in.0 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 0","color":"aqua"}] -scoreboard objectives add bs.in.1 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 1","color":"aqua"}] -scoreboard objectives add bs.in.2 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 2","color":"aqua"}] -scoreboard objectives add bs.in.3 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 3","color":"aqua"}] -scoreboard objectives add bs.in.4 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 4","color":"aqua"}] -scoreboard objectives add bs.in.5 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 5","color":"aqua"}] -scoreboard objectives add bs.in.6 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 6","color":"aqua"}] -scoreboard objectives add bs.in.7 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 7","color":"aqua"}] -scoreboard objectives add bs.in.8 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 8","color":"aqua"}] -scoreboard objectives add bs.in.9 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Input 9","color":"aqua"}] - -# Options -scoreboard objectives add bs.opt.0 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Option 0","color":"aqua"}] -scoreboard objectives add bs.opt.1 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Option 1","color":"aqua"}] -scoreboard objectives add bs.opt.2 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Option 2","color":"aqua"}] - -# Outputs -scoreboard objectives add bs.out.0 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 0","color":"aqua"}] -scoreboard objectives add bs.out.1 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 1","color":"aqua"}] -scoreboard objectives add bs.out.2 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 2","color":"aqua"}] -scoreboard objectives add bs.out.3 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 3","color":"aqua"}] -scoreboard objectives add bs.out.4 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 4","color":"aqua"}] -scoreboard objectives add bs.out.5 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 5","color":"aqua"}] -scoreboard objectives add bs.out.6 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 6","color":"aqua"}] -scoreboard objectives add bs.out.7 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 7","color":"aqua"}] -scoreboard objectives add bs.out.8 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 8","color":"aqua"}] -scoreboard objectives add bs.out.9 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Output 9","color":"aqua"}] - -# Global data -scoreboard objectives add bs.data dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Data","color":"aqua"}] - -# Configruation variables -scoreboard objectives add bs.config dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Config","color":"aqua"}] - -# Constants -scoreboard objectives add bs.const dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Constants","color":"aqua"}] - -# Debug data -scoreboard objectives add bs.debug dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Debug","color":"aqua"}] - -# Lifetime -scoreboard objectives add bs.lifetime dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Lifetime","color":"aqua"}] - - diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/0.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/0.mcfunction deleted file mode 100644 index 3e2995bab1..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/0.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/0 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.0 = @s bs.out.0 diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/1.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/1.mcfunction deleted file mode 100644 index e774e6a866..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/1.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/1 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.1 = @s bs.out.1 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/2.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/2.mcfunction deleted file mode 100644 index d508a9c95a..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/2.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/2 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.2 = @s bs.out.2 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/3.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/3.mcfunction deleted file mode 100644 index 5438104686..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/3.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/3 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.3 = @s bs.out.3 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/4.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/4.mcfunction deleted file mode 100644 index 6ed888f29d..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/4.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/4 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.4 = @s bs.out.4 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/5.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/5.mcfunction deleted file mode 100644 index 1a35a050a0..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/5.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/5 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.5 = @s bs.out.5 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/6.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/6.mcfunction deleted file mode 100644 index 7749142ec9..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/6.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/6 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.6 = @s bs.out.6 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/7.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/7.mcfunction deleted file mode 100644 index 751b9baefb..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/7.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/7 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.7 = @s bs.out.7 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/8.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/8.mcfunction deleted file mode 100644 index 4348865404..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/8.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/8 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.8 = @s bs.out.8 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/9.mcfunction b/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/9.mcfunction deleted file mode 100644 index ed026d4abc..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/functions/out_to_in/9.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. - -# Authors : Majoras16 -# Contributors : - -# Version: 1.0 -# Created: 27/04/2023 (1.19.2) -# Last verification: 27/04/2023 (1.19.2) -# Last modification: 27/04/2023 (1.19.2) - -# Original path : bs.core:out_to_in/9 -# Documentation : https://bookshelf.docs.gunivers.net/en/latest/core#out_to_in -# Note : - -# INIT ------------------------------------------------------------------------ - -# CONFIG ---------------------------------------------------------------------- - -# CODE ------------------------------------------------------------------------ - -scoreboard players operation @s bs.in.9 = @s bs.out.9 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/structures/base_plateforme_cell.nbt b/datapacks/Bookshelf Dev/data/bs.core/structures/base_plateforme_cell.nbt deleted file mode 100644 index db52cfa47c..0000000000 Binary files a/datapacks/Bookshelf Dev/data/bs.core/structures/base_plateforme_cell.nbt and /dev/null differ diff --git a/datapacks/Bookshelf Dev/data/bs.core/structures/cache.nbt b/datapacks/Bookshelf Dev/data/bs.core/structures/cache.nbt deleted file mode 100644 index b180e1a43d..0000000000 Binary files a/datapacks/Bookshelf Dev/data/bs.core/structures/cache.nbt and /dev/null differ diff --git a/datapacks/Bookshelf Dev/data/bs.core/structures/example_systems/blackhole.nbt b/datapacks/Bookshelf Dev/data/bs.core/structures/example_systems/blackhole.nbt deleted file mode 100644 index b9afe53eb7..0000000000 Binary files a/datapacks/Bookshelf Dev/data/bs.core/structures/example_systems/blackhole.nbt and /dev/null differ diff --git a/datapacks/Bookshelf Dev/data/bs.core/structures/example_systems/lgdir.nbt b/datapacks/Bookshelf Dev/data/bs.core/structures/example_systems/lgdir.nbt deleted file mode 100644 index 9e28c2a577..0000000000 Binary files a/datapacks/Bookshelf Dev/data/bs.core/structures/example_systems/lgdir.nbt and /dev/null differ diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/air.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/air.json deleted file mode 100644 index 776c0ccdb1..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/air.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:air", - "minecraft:cave_air", - "minecraft:void_air" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/created_from/_redstone.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/created_from/_redstone.json deleted file mode 100644 index 741f00d635..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/created_from/_redstone.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:target", - "minecraft:redstone_block", - "minecraft:redstone_lamp", - "minecraft:note_block", - "minecraft:dispenser", - "minecraft:dropper", - "minecraft:observer" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/created_from/_sands.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/created_from/_sands.json deleted file mode 100644 index 8bfb54ab8f..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/created_from/_sands.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:sand", - "minecraft:sandstone", - "minecraft:chiseled_sandstone", - "minecraft:cut_sandstone", - "minecraft:smooth_sandstone", - "minecraft:red_sand", - "minecraft:red_sandstone", - "minecraft:chiseled_red_sandstone", - "minecraft:cut_red_sandstone", - "minecraft:smooth_red_sandstone", - "minecraft:glass", - "minecraft:glass_pane" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/all.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/all.json deleted file mode 100644 index 3c739f15b6..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/all.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#bs.core:glass/glass_blocks", - "#bs.core:glass/glass_panes" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/glass_blocks.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/glass_blocks.json deleted file mode 100644 index dc2c0d021b..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/glass_blocks.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:glass", - "minecraft:white_stained_glass", - "minecraft:orange_stained_glass", - "minecraft:magenta_stained_glass", - "minecraft:light_blue_stained_glass", - "minecraft:yellow_stained_glass", - "minecraft:lime_stained_glass", - "minecraft:pink_stained_glass", - "minecraft:gray_stained_glass", - "minecraft:light_gray_stained_glass", - "minecraft:cyan_stained_glass", - "minecraft:purple_stained_glass", - "minecraft:blue_stained_glass", - "minecraft:brown_stained_glass", - "minecraft:green_stained_glass", - "minecraft:red_stained_glass", - "minecraft:black_stained_glass" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/glass_panes.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/glass_panes.json deleted file mode 100644 index e98f09cb4e..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/glass/glass_panes.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:glass_pane", - "minecraft:white_stained_glass_pane", - "minecraft:orange_stained_glass_pane", - "minecraft:magenta_stained_glass_pane", - "minecraft:light_blue_stained_glass_pane", - "minecraft:yellow_stained_glass_pane", - "minecraft:lime_stained_glass_pane", - "minecraft:pink_stained_glass_pane", - "minecraft:gray_stained_glass_pane", - "minecraft:light_gray_stained_glass_pane", - "minecraft:cyan_stained_glass_pane", - "minecraft:purple_stained_glass_pane", - "minecraft:blue_stained_glass_pane", - "minecraft:brown_stained_glass_pane", - "minecraft:green_stained_glass_pane", - "minecraft:red_stained_glass_pane", - "minecraft:black_stained_glass_pane" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/material/all.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/material/all.json deleted file mode 100644 index 3227b6fdbe..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/material/all.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:coal_ore", - "minecraft:coal_block", - "minecraft:lapis_ore", - "minecraft:redstone_ore", - "minecraft:diamond_ore", - "minecraft:emerald_ore", - "minecraft:lapis_block", - "minecraft:quartz_block", - "minecraft:nether_gold_ore", - "minecraft:redstone_block", - "minecraft:diamond_block", - "minecraft:emerald_block", - "minecraft:gold_block", - "minecraft:gilded_blackstone" - ] -} diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/material/ore.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/material/ore.json deleted file mode 100644 index 8b726c45f5..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/material/ore.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:iron_ore", - "minecraft:gold_ore", - "minecraft:iron_block", - "minecraft:gold_block", - "minecraft:ancient_debris", - "minecraft:netherite_block" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/redstone/pressure_plates.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/redstone/pressure_plates.json deleted file mode 100644 index e9e2d3dcd5..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/redstone/pressure_plates.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "replace": false, - "values": [ - "#minecraft:wooden_pressure_plates", - "minecraft:stone_pressure_plate", - "minecraft:light_weighted_pressure_plate", - "minecraft:heavy_weighted_pressure_plate" - - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/redstone/redstone.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/redstone/redstone.json deleted file mode 100644 index 0db90185cf..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/redstone/redstone.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "replace": false, - "values": [ - "#bs.core:redstone/pressure_plates", - "#minecraft:buttons", - "minecraft:redstone_wire", - "minecraft:lever", - "minecraft:redstone_torch", - "minecraft:redstone_wall_torch", - "minecraft:tripwire_hook", - "minecraft:tripwire", - "minecraft:repeater", - "minecraft:comparator", - "minecraft:daylight_detector" - ] -} diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/skulls.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/skulls.json deleted file mode 100644 index 6071cf1ce1..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/skulls.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:skeleton_skull", - "minecraft:wither_skeleton_skull", - "minecraft:player_head", - "minecraft:zombie_head", - "minecraft:creeper_head", - "minecraft:dragon_head" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/farming.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/farming.json deleted file mode 100644 index 57381893ab..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/farming.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:potatoes", - "minecraft:sugar_cane", - "minecraft:carrots", - "minecraft:wheat", - "minecraft:beetroots", - "minecraft:cocoa", - "minecraft:pumpkin_stem", - "minecraft:melon_stem", - "minecraft:nether_wart" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/flowers.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/flowers.json deleted file mode 100644 index 189e4d2495..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/flowers.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:dandelion", - "minecraft:poppy", - "minecraft:azure_bluet", - "minecraft:blue_orchid", - "minecraft:allium", - "minecraft:red_tulip", - "minecraft:orange_tulip", - "minecraft:white_tulip", - "minecraft:pink_tulip", - "minecraft:oxeye_daisy", - "minecraft:lilac", - "minecraft:rose_bush", - "minecraft:peony", - "minecraft:cornflower", - "minecraft:lily_of_the_valley", - "minecraft:wither_rose", - "minecraft:sunflower" - ], - "other block": [ - "minecraft:chorus_plant", - "minecraft:chorus_flower" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/grass.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/grass.json deleted file mode 100644 index fbe28d2e8a..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/grass.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:grass", - "minecraft:seagrass", - "minecraft:tall_seagrass", - "minecraft:kelp", - "minecraft:kelp_plant", - "minecraft:tall_grass", - "minecraft:fern", - "minecraft:large_fern" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/mushroom.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/mushroom.json deleted file mode 100644 index c942580044..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/mushroom.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:brown_mushroom", - "minecraft:red_mushroom" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/vegetal.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/vegetal.json deleted file mode 100644 index a5bcdb91b8..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/vegetal.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "replace": false, - "values": [ - "#minecraft:saplings", - "#minecraft:leaves", - "#bs.core:vegetals/flowers", - "#bs.core:vegetals/grass", - "#bs.core:vegetals/mushroom", - "#bs.core:vegetals/farming", - "minecraft:dead_bush", - "minecraft:sea_pickle", - "minecraft:lily_pad", - "minecraft:vine" - ] -} diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/fence_gates.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/fence_gates.json deleted file mode 100644 index d798a4c73f..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/fence_gates.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:oak_fence_gate", - "minecraft:spruce_fence_gate", - "minecraft:birch_fence_gate", - "minecraft:jungle_fence_gate", - "minecraft:acacia_fence_gate", - "minecraft:dark_oak_fence_gate" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/fences.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/fences.json deleted file mode 100644 index 893271d266..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/fences.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:oak_fence", - "minecraft:spruce_fence", - "minecraft:birch_fence", - "minecraft:jungle_fence", - "minecraft:acacia_fence", - "minecraft:dark_oak_fence" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/trapdoors.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/trapdoors.json deleted file mode 100644 index 25e10a7a22..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/vegetals/wood/trapdoors.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:oak_trapdoor", - "minecraft:spruce_trapdoor", - "minecraft:birch_trapdoor", - "minecraft:jungle_trapdoor", - "minecraft:acacia_trapdoor", - "minecraft:dark_oak_trapdoor" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/agriculture.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/agriculture.json deleted file mode 100644 index b14a96a066..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/agriculture.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:composter", - "minecraft:barrel", - "minecraft:loom" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/forge.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/forge.json deleted file mode 100644 index 08ea18a58e..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/forge.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:blast_furnace", - "minecraft:smithing_table", - "minecraft:grindstone" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/other.json b/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/other.json deleted file mode 100644 index 6205f1c762..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/blocks/village/other.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:smoker", - "minecraft:cartography_table", - "minecraft:brewing_stand", - "minecraft:fletching_table", - "minecraft:cauldron", - "minecraft:lectern", - "minecraft:stonecutter" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/armors.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/armors.json deleted file mode 100644 index 0373a59628..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/armors.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:leather_helmet", - "minecraft:leather_chestplate", - "minecraft:leather_leggings", - "minecraft:leather_boots", - "minecraft:chainmail_helmet", - "minecraft:chainmail_chestplate", - "minecraft:chainmail_leggings", - "minecraft:chainmail_boots", - "minecraft:iron_helmet", - "minecraft:iron_chestplate", - "minecraft:iron_leggings", - "minecraft:iron_boots", - "minecraft:diamond_helmet", - "minecraft:diamond_chestplate", - "minecraft:diamond_leggings", - "minecraft:diamond_boots", - "minecraft:golden_helmet", - "minecraft:golden_chestplate", - "minecraft:golden_leggings", - "minecraft:golden_boots", - "minecraft:turtle_helmet", - "minecraft:elytra", - "minecraft:netherite_helmet", - "minecraft:netherite_chestplate", - "minecraft:netherite_leggings", - "minecraft:netherite_boots" - ] -} diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/chainmail.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/chainmail.json deleted file mode 100644 index b6d621e5fb..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/chainmail.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:chainmail_helmet", - "minecraft:chainmail_chestplate", - "minecraft:chainmail_leggings", - "minecraft:chainmail_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/diamond.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/diamond.json deleted file mode 100644 index ff5eb7cb3c..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/diamond.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:diamond_helmet", - "minecraft:diamond_chestplate", - "minecraft:diamond_leggings", - "minecraft:diamond_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/golden.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/golden.json deleted file mode 100644 index f4a37a8187..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/golden.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:golden_helmet", - "minecraft:golden_chestplate", - "minecraft:golden_leggings", - "minecraft:golden_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/iron.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/iron.json deleted file mode 100644 index a5f5ccad4f..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/iron.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:iron_helmet", - "minecraft:iron_chestplate", - "minecraft:iron_leggings", - "minecraft:iron_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/leather.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/leather.json deleted file mode 100644 index f86c686ada..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/leather.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:leather_helmet", - "minecraft:leather_chestplate", - "minecraft:leather_leggings", - "minecraft:leather_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/netherite.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/netherite.json deleted file mode 100644 index 8a709563f5..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/netherite.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:netherite_helmet", - "minecraft:netherite_chestplate", - "minecraft:netherite_leggings", - "minecraft:netherite_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/special.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/special.json deleted file mode 100644 index 8198788a47..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/material/special.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:turtle_helmet", - "minecraft:elytra" - ] -} diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/body.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/body.json deleted file mode 100644 index 5967b8415a..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/body.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:leather_chestplate", - "minecraft:chainmail_chestplate", - "minecraft:iron_chestplate", - "minecraft:diamond_chestplate", - "minecraft:golden_chestplate", - "minecraft:elytra", - "minecraft:netherite_chestplate" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/boots.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/boots.json deleted file mode 100644 index 116ebbcf1d..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/boots.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:leather_boots", - "minecraft:chainmail_boots", - "minecraft:iron_boots", - "minecraft:diamond_boots", - "minecraft:golden_boots", - "minecraft:netherite_boots" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/helmet.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/helmet.json deleted file mode 100644 index f07bdc136c..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/helmet.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:leather_helmet", - "minecraft:chainmail_helmet", - "minecraft:iron_helmet", - "minecraft:diamond_helmet", - "minecraft:golden_helmet", - "minecraft:turtle_helmet", - "minecraft:netherite_helmet" - ] -} diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/leggings.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/leggings.json deleted file mode 100644 index c56e47a54b..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/armors/parts/leggings.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:leather_leggings", - "minecraft:chainmail_leggings", - "minecraft:iron_leggings", - "minecraft:diamond_leggings", - "minecraft:golden_leggings", - "minecraft:netherite_leggings" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/foods/apples.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/foods/apples.json deleted file mode 100644 index 2ca423f5fa..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/foods/apples.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:apple", - "minecraft:golden_apple", - "minecraft:enchanted_golden_apple" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.core/tags/items/foods/cooked.json b/datapacks/Bookshelf Dev/data/bs.core/tags/items/foods/cooked.json deleted file mode 100644 index 906fca31e4..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.core/tags/items/foods/cooked.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "minecraft:cooked_cod", - "minecraft:cooked_salmon", - "minecraft:cooked_chicken", - "minecraft:cooked_mutton", - "minecraft:cooked_rabbit", - "minecraft:cooked_beef" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/__help__.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/__help__.mcfunction new file mode 100644 index 0000000000..1ebd9fece0 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/__help__.mcfunction @@ -0,0 +1,6 @@ +# INFO ------------------------------------------------------------------------ +# Copyright Β© 2024 Gunivers Community. + +# CODE ------------------------------------------------------------------------ + +tellraw @s [{"text": "[bs.dump documentation]", "color": "dark_aqua", "clickEvent": {"action": "open_url", "value": "https://bookshelf.docs.gunivers.net/en/latest/modules/dump.html"}, "hoverEvent": {"action": "show_text", "contents": "Click to open URL"}}] diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/__load__.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/__load__.mcfunction new file mode 100644 index 0000000000..02be34d68c --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/__load__.mcfunction @@ -0,0 +1,22 @@ +# INFO ------------------------------------------------------------------------ +# Copyright Β© 2024 Gunivers Community. + +# CODE ------------------------------------------------------------------------ + +forceload add -30000000 1600 +execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"]} + +scoreboard objectives add bs.const dummy [{"text":"BS ","color":"dark_gray"},{"text":"Constants","color":"aqua"}] +scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] + +scoreboard players set 3 bs.const 3 + +data modify storage bs:const dump set value { \ + key: "#3CE9F2", \ + type: "#FB7F4A", \ + string: "#6ED856", \ + number: "#FFAA32", \ + bracket_1: "#0099FF", \ + bracket_2: "#FFD700", \ + bracket_3: "#FF60FC", \ +} diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/__unload__.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/__unload__.mcfunction new file mode 100644 index 0000000000..ea62792146 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/__unload__.mcfunction @@ -0,0 +1,14 @@ +# INFO ------------------------------------------------------------------------ +# Copyright Β© 2024 Gunivers Community. + +# CODE ------------------------------------------------------------------------ + +kill B5-0-0-0-2 +forceload remove -30000000 1600 + +scoreboard objectives remove bs.const +scoreboard objectives remove bs.data + +data remove storage bs:const dump +data remove storage bs:data dump +data remove storage bs:out dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/expand.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/expand.mcfunction new file mode 100644 index 0000000000..a9b61eddd3 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/expand.mcfunction @@ -0,0 +1,4 @@ +data modify storage bs:out dump set value ['{"text":"","color":"#cccccc"}'] +$data modify storage bs:data dump set value [{var:$(var),indent:'"\\u2000"',expand:1}] +function bs.dump:format/any +tellraw @s [{"type":"nbt","storage":"bs:out","nbt":"dump[]","separator":"","interpret":true}] diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/any.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/any.mcfunction new file mode 100644 index 0000000000..aa341d7eab --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/any.mcfunction @@ -0,0 +1,7 @@ +execute if data storage bs:data dump[-1].var[] run return run function bs.dump:format/array/array +execute if data storage bs:data dump[-1].var{} run return run function bs.dump:format/compound/compound + +data modify storage bs:ctx _ set value [[0b],[0s],[0],[0l],[0f],[0d],[""]] +execute store success score #success bs.data run data modify storage bs:ctx _[] append from storage bs:data dump[-1].var +execute if score #success bs.data matches 1 unless data storage bs:ctx _[-1][1] run return run function bs.dump:format/number with storage bs:const dump +execute if score #success bs.data matches 1 run function bs.dump:format/string/string with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/array.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/array.mcfunction new file mode 100644 index 0000000000..65b1616df8 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/array.mcfunction @@ -0,0 +1,17 @@ +execute store result score #dump.count bs.data if data storage bs:data dump[-1].var[] +execute store result score #dump.expand bs.data run data get storage bs:data dump[-1].expand + +execute if score #dump.count bs.data matches 0 run return run function bs.dump:format/array/empty +execute if score #dump.count bs.data matches ..3 \ + unless data storage bs:data dump[-1].var[][] \ + unless data storage bs:data dump[-1].var[{}] \ + run return run function bs.dump:format/array/compact/compact + +execute if score #dump.expand bs.data matches 0 run return run function bs.dump:format/array/collapse + +function bs.dump:format/bracket/open with storage bs:const dump +function bs.dump:format/array/loop +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent +data remove storage bs:out dump[-1] +function bs.dump:format/bracket/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/collapse.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/collapse.mcfunction new file mode 100644 index 0000000000..63b0e3e493 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/collapse.mcfunction @@ -0,0 +1,3 @@ +function bs.dump:format/bracket/open with storage bs:const dump +function bs.dump:format/collapse/collapse +function bs.dump:format/bracket/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/compact/compact.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/compact/compact.mcfunction new file mode 100644 index 0000000000..cc53ce9748 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/compact/compact.mcfunction @@ -0,0 +1,3 @@ +function bs.dump:format/bracket/open with storage bs:const dump +function bs.dump:format/array/compact/loop +function bs.dump:format/bracket/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/compact/loop.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/compact/loop.mcfunction new file mode 100644 index 0000000000..2268d743fb --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/compact/loop.mcfunction @@ -0,0 +1,8 @@ +data modify storage bs:data dump append from storage bs:data dump[-1] +data modify storage bs:data dump[-1].var set from storage bs:data dump[-1].var[0] +function bs.dump:format/any +data remove storage bs:data dump[-1] +data remove storage bs:data dump[-1].var[0] + +execute if data storage bs:data dump[-1].var[0] run data modify storage bs:out dump append value '", "' +execute if data storage bs:data dump[-1].var[0] run function bs.dump:format/array/compact/loop diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/empty.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/empty.mcfunction new file mode 100644 index 0000000000..cd28917f41 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/empty.mcfunction @@ -0,0 +1,2 @@ +function bs.dump:format/bracket/open with storage bs:const dump +function bs.dump:format/bracket/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/loop.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/loop.mcfunction new file mode 100644 index 0000000000..fa8850f06b --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/array/loop.mcfunction @@ -0,0 +1,12 @@ +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent + +data modify storage bs:data dump append from storage bs:data dump[-1] +data modify storage bs:data dump[-1].var set from storage bs:data dump[-1].var[0] +execute store result storage bs:data dump[-1].expand int .99999999 run data get storage bs:data dump[-1].expand +function bs.dump:format/any +data remove storage bs:data dump[-1] +data remove storage bs:data dump[-1].var[0] + +execute if data storage bs:data dump[-1].var[0] run data modify storage bs:out dump append value '", "' +execute if data storage bs:data dump[-1].var[0] run function bs.dump:format/array/loop diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/brace/close.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/brace/close.mcfunction new file mode 100644 index 0000000000..0cccd2c7f9 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/brace/close.mcfunction @@ -0,0 +1,6 @@ +execute store result score #dump.depth bs.data if data storage bs:data dump[] +scoreboard players operation #dump.depth bs.data %= 3 bs.const + +$execute if score #dump.depth bs.data matches 0 run data modify storage bs:out dump append value '{"text":"}","color":"$(bracket_1)"}' +$execute if score #dump.depth bs.data matches 1 run data modify storage bs:out dump append value '{"text":"}","color":"$(bracket_2)"}' +$execute if score #dump.depth bs.data matches 2 run data modify storage bs:out dump append value '{"text":"}","color":"$(bracket_3)"}' diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/brace/open.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/brace/open.mcfunction new file mode 100644 index 0000000000..0bfdf790fa --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/brace/open.mcfunction @@ -0,0 +1,6 @@ +execute store result score #dump.depth bs.data if data storage bs:data dump[] +scoreboard players operation #dump.depth bs.data %= 3 bs.const + +$execute if score #dump.depth bs.data matches 0 run data modify storage bs:out dump append value '{"text":"{","color":"$(bracket_1)"}' +$execute if score #dump.depth bs.data matches 1 run data modify storage bs:out dump append value '{"text":"{","color":"$(bracket_2)"}' +$execute if score #dump.depth bs.data matches 2 run data modify storage bs:out dump append value '{"text":"{","color":"$(bracket_3)"}' diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/bracket/close.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/bracket/close.mcfunction new file mode 100644 index 0000000000..f264d7d582 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/bracket/close.mcfunction @@ -0,0 +1,6 @@ +execute store result score #dump.depth bs.data if data storage bs:data dump[] +scoreboard players operation #dump.depth bs.data %= 3 bs.const + +$execute if score #dump.depth bs.data matches 0 run data modify storage bs:out dump append value '{"text":"]","color":"$(bracket_1)"}' +$execute if score #dump.depth bs.data matches 1 run data modify storage bs:out dump append value '{"text":"]","color":"$(bracket_2)"}' +$execute if score #dump.depth bs.data matches 2 run data modify storage bs:out dump append value '{"text":"]","color":"$(bracket_3)"}' diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/bracket/open.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/bracket/open.mcfunction new file mode 100644 index 0000000000..eaddf9d3ef --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/bracket/open.mcfunction @@ -0,0 +1,6 @@ +execute store result score #dump.depth bs.data if data storage bs:data dump[] +scoreboard players operation #dump.depth bs.data %= 3 bs.const + +$execute if score #dump.depth bs.data matches 0 run data modify storage bs:out dump append value '{"text":"[","color":"$(bracket_1)"}' +$execute if score #dump.depth bs.data matches 1 run data modify storage bs:out dump append value '{"text":"[","color":"$(bracket_2)"}' +$execute if score #dump.depth bs.data matches 2 run data modify storage bs:out dump append value '{"text":"[","color":"$(bracket_3)"}' diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/collapse/collapse.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/collapse/collapse.mcfunction new file mode 100644 index 0000000000..c6052332e3 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/collapse/collapse.mcfunction @@ -0,0 +1,5 @@ +data modify entity B5-0-0-0-2 text set value '{"storage":"bs:data","nbt":"dump[-1].var"}' +data modify entity B5-0-0-0-2 text set value '{"entity":"B5-0-0-0-2","nbt":"text"}' +data modify storage bs:data dump[-1].var set from entity B5-0-0-0-2 text +data modify storage bs:data dump[-1].var set string storage bs:data dump[-1].var 3 -3 +function bs.dump:format/collapse/event with storage bs:data dump[-1] diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/collapse/event.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/collapse/event.mcfunction new file mode 100644 index 0000000000..b585b242be --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/collapse/event.mcfunction @@ -0,0 +1,3 @@ +data modify entity B5-0-0-0-2 text set value '[{"text":" ","color":"#999999"},{"score":{"name":"#dump.count","objective":"bs.data"}},{"text":" entries "}]' +data modify storage bs:out dump append from entity B5-0-0-0-2 text +$data modify storage bs:out dump append value "[\"\",{\"text\":\"βŒŠπŸ“„βŒ‰\",\"color\":\"#cccccc\",\"bold\":true,\"clickEvent\":{\"action\":\"copy_to_clipboard\",\"value\":\"$(var)\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Click to copy\"}},\" \",{\"text\":\"βŒŠβ¬‡βŒ‰\",\"color\":\"#cccccc\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/function bs.dump:expand {var:$(var)}\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Click to expand\"}},\" \"]" diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/collapse.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/collapse.mcfunction new file mode 100644 index 0000000000..b9cc2edbe1 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/collapse.mcfunction @@ -0,0 +1,3 @@ +function bs.dump:format/brace/open with storage bs:const dump +function bs.dump:format/collapse/collapse +function bs.dump:format/brace/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/compound.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/compound.mcfunction new file mode 100644 index 0000000000..1192a15f0f --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/compound.mcfunction @@ -0,0 +1,13 @@ +execute store result score #dump.count bs.data run data get storage bs:data dump[-1].var +execute store result score #dump.expand bs.data run data get storage bs:data dump[-1].expand + +execute if score #dump.count bs.data matches 0 run return run function bs.dump:format/compound/empty +execute if score #dump.expand bs.data matches 0 run return run function bs.dump:format/compound/collapse + +function bs.dump:format/brace/open with storage bs:const dump +function bs.dump:key/get +function bs.dump:format/compound/loop with storage bs:data dump[-1] +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent +data remove storage bs:out dump[-1] +function bs.dump:format/brace/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/empty.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/empty.mcfunction new file mode 100644 index 0000000000..839af4583d --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/empty.mcfunction @@ -0,0 +1,2 @@ +function bs.dump:format/brace/open with storage bs:const dump +function bs.dump:format/brace/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/key.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/key.mcfunction new file mode 100644 index 0000000000..3a8568eca6 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/key.mcfunction @@ -0,0 +1,4 @@ +execute unless data storage bs:ctx {_:":"} run data modify storage bs:data dump[-1].key set string storage bs:data dump[-1].key 1 -1 +$execute unless data storage bs:ctx {_:":"} run data modify entity B5-0-0-0-2 text set value '[{"storage":"bs:ctx","nbt":"_"},{"storage":"bs:data","nbt":"dump[-1].key","color":"$(key)"},{"storage":"bs:ctx","nbt":"_"},{"text":": "}]' +$execute if data storage bs:ctx {_:":"} run data modify entity B5-0-0-0-2 text set value '[{"storage":"bs:data","nbt":"dump[-1].key","color":"$(key)"},{"text":": "}]' +data modify storage bs:out dump append from entity B5-0-0-0-2 text diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/loop.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/loop.mcfunction new file mode 100644 index 0000000000..db47ed1eec --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/compound/loop.mcfunction @@ -0,0 +1,15 @@ +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent + +data modify storage bs:data dump append from storage bs:data dump[-1] +$data modify storage bs:data dump[-1].var set from storage bs:data dump[-1].var.$(key) +execute store result storage bs:data dump[-1].expand int .99999999 run data get storage bs:data dump[-1].expand +function bs.dump:format/compound/key with storage bs:const dump +function bs.dump:format/any +data remove storage bs:data dump[-1] +$data remove storage bs:data dump[-1].var.$(key) + +execute store result score #dump.count bs.data run data get storage bs:data dump[-1].var +execute if score #dump.count bs.data matches 1.. run data modify storage bs:out dump append value '", "' +execute if score #dump.count bs.data matches 1.. run function bs.dump:key/get +execute if score #dump.count bs.data matches 1.. run function bs.dump:format/compound/loop with storage bs:data dump[-1] diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/number.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/number.mcfunction new file mode 100644 index 0000000000..64899f10b5 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/number.mcfunction @@ -0,0 +1,4 @@ +execute unless data storage bs:ctx _[2][1] run data modify storage bs:data dump[-1]._ set string storage bs:data dump[-1].var -1 +execute unless data storage bs:ctx _[2][1] run data modify storage bs:data dump[-1].var set string storage bs:data dump[-1].var 0 -1 +$data modify entity B5-0-0-0-2 text set value '[{"storage":"bs:data","nbt":"dump[-1].var","color":"$(number)"},{"storage":"bs:data","nbt":"dump[-1]._","color":"$(type)"}]' +data modify storage bs:out dump append from entity B5-0-0-0-2 text diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/score.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/score.mcfunction new file mode 100644 index 0000000000..6f7f17db10 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/score.mcfunction @@ -0,0 +1,2 @@ +$data modify entity B5-0-0-0-2 text set value '{"score":{"name":"#dump.var","objective":"bs.data"},"color":"$(number)"}' +data modify storage bs:out dump append from entity B5-0-0-0-2 text diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/string/string.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/string/string.mcfunction new file mode 100644 index 0000000000..a41e86faf4 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/string/string.mcfunction @@ -0,0 +1,7 @@ +data modify entity B5-0-0-0-2 text set value '{"storage":"bs:ctx","nbt":"_[-1]"}' +data modify storage bs:data dump[-1].var set string entity B5-0-0-0-2 text +function bs.dump:format/string/unquote with storage bs:data dump[-1] +data modify storage bs:data dump[-1]._ set string storage bs:data dump[-1].var -2 -1 +data modify storage bs:data dump[-1].var set string storage bs:data dump[-1].var 5 -2 +$data modify entity B5-0-0-0-2 text set value '[{"storage":"bs:data","nbt":"dump[-1]._"},{"storage":"bs:data","nbt":"dump[-1].var","color":"$(string)"},{"storage":"bs:data","nbt":"dump[-1]._"}]' +data modify storage bs:out dump append from entity B5-0-0-0-2 text diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/string/unquote.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/string/unquote.mcfunction new file mode 100644 index 0000000000..a962ba7da4 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/string/unquote.mcfunction @@ -0,0 +1 @@ +$data modify storage bs:data dump[-1].var set value $(var) diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/format/undefined.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/undefined.mcfunction new file mode 100644 index 0000000000..7c93494295 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/format/undefined.mcfunction @@ -0,0 +1 @@ +$data modify storage bs:out dump append value '{"text":"undefined","color":"$(number)"}' diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/any.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/any.mcfunction new file mode 100644 index 0000000000..ad820285ce --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/any.mcfunction @@ -0,0 +1,5 @@ +execute if data storage bs:data dump[-1].var[] run return run function bs.dump:interpret/array/array +execute if data storage bs:data dump[-1].var{} run return run function bs.dump:interpret/compound/compound + +execute store success score #success bs.data run function bs.dump:interpret/path/path with storage bs:data dump[-1] +execute if score #success bs.data matches 0 run function bs.dump:interpret/score with storage bs:data dump[-1] diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/array.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/array.mcfunction new file mode 100644 index 0000000000..7e834a429d --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/array.mcfunction @@ -0,0 +1,14 @@ +execute store result score #dump.count bs.data if data storage bs:data dump[-1].var[] + +execute if score #dump.count bs.data matches 0 run return run function bs.dump:format/array/empty +execute if score #dump.count bs.data matches ..3 \ + unless data storage bs:data dump[-1].var[][] \ + unless data storage bs:data dump[-1].var[{}] \ + run return run function bs.dump:interpret/array/compact/compact + +function bs.dump:format/bracket/open with storage bs:const dump +function bs.dump:interpret/array/loop +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent +data remove storage bs:out dump[-1] +function bs.dump:format/bracket/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/compact/compact.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/compact/compact.mcfunction new file mode 100644 index 0000000000..b2edc53e74 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/compact/compact.mcfunction @@ -0,0 +1,3 @@ +function bs.dump:format/bracket/open with storage bs:const dump +execute if score #dump.count bs.data matches 1.. run function bs.dump:interpret/array/compact/loop +function bs.dump:format/bracket/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/compact/loop.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/compact/loop.mcfunction new file mode 100644 index 0000000000..bec6f200fe --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/compact/loop.mcfunction @@ -0,0 +1,8 @@ +data modify storage bs:data dump append from storage bs:data dump[-1] +data modify storage bs:data dump[-1].var set from storage bs:data dump[-1].var[0] +function bs.dump:interpret/any +data remove storage bs:data dump[-1] +data remove storage bs:data dump[-1].var[0] + +execute if data storage bs:data dump[-1].var[0] run data modify storage bs:out dump append value '", "' +execute if data storage bs:data dump[-1].var[0] run function bs.dump:interpret/array/compact/loop diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/loop.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/loop.mcfunction new file mode 100644 index 0000000000..9c18fb953f --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/array/loop.mcfunction @@ -0,0 +1,11 @@ +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent + +data modify storage bs:data dump append from storage bs:data dump[-1] +data modify storage bs:data dump[-1].var set from storage bs:data dump[-1].var[0] +function bs.dump:interpret/any +data remove storage bs:data dump[-1] +data remove storage bs:data dump[-1].var[0] + +execute if data storage bs:data dump[-1].var[0] run data modify storage bs:out dump append value '", "' +execute if data storage bs:data dump[-1].var[0] run function bs.dump:interpret/array/loop diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/compound/compound.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/compound/compound.mcfunction new file mode 100644 index 0000000000..0c7cb0446a --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/compound/compound.mcfunction @@ -0,0 +1,10 @@ +execute store result score #dump.count bs.data run data get storage bs:data dump[-1].var +execute if score #dump.count bs.data matches 0 run return run function bs.dump:format/compound/empty + +function bs.dump:format/brace/open with storage bs:const dump +function bs.dump:key/get +function bs.dump:interpret/compound/loop with storage bs:data dump[-1] +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent +data remove storage bs:out dump[-1] +function bs.dump:format/brace/close with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/compound/loop.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/compound/loop.mcfunction new file mode 100644 index 0000000000..5133fc55f6 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/compound/loop.mcfunction @@ -0,0 +1,14 @@ +data modify storage bs:out dump append value '"\\n"' +data modify storage bs:out dump append from storage bs:data dump[].indent + +data modify storage bs:data dump append from storage bs:data dump[-1] +$data modify storage bs:data dump[-1].var set from storage bs:data dump[-1].var.$(key) +function bs.dump:format/compound/key with storage bs:const dump +function bs.dump:interpret/any +data remove storage bs:data dump[-1] +$data remove storage bs:data dump[-1].var.$(key) + +execute store result score #dump.count bs.data run data get storage bs:data dump[-1].var +execute if score #dump.count bs.data matches 1.. run data modify storage bs:out dump append value '", "' +execute if score #dump.count bs.data matches 1.. run function bs.dump:key/get +execute if score #dump.count bs.data matches 1.. run function bs.dump:interpret/compound/loop with storage bs:data dump[-1] diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/cast.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/cast.mcfunction new file mode 100644 index 0000000000..5094e8e533 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/cast.mcfunction @@ -0,0 +1 @@ +$data modify storage bs:data dump[-1].expand set value $(_) diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/guard.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/guard.mcfunction new file mode 100644 index 0000000000..14aab8d426 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/guard.mcfunction @@ -0,0 +1,2 @@ +return 1 +$data get $(var) 0 diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/init.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/init.mcfunction new file mode 100644 index 0000000000..4ed6283f91 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/init.mcfunction @@ -0,0 +1,3 @@ +execute store result storage bs:ctx x int 1 run scoreboard players set #dump.cursor bs.data -2 +execute store result storage bs:ctx y int 1 run scoreboard players set #dump.cursor bs.data -1 +function bs.dump:interpret/path/expand/parse/next with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/next.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/next.mcfunction new file mode 100644 index 0000000000..3b9e9fcecc --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/next.mcfunction @@ -0,0 +1,5 @@ +$data modify storage bs:ctx _ set string storage bs:data dump[-1].var $(x) $(y) +execute if data storage bs:ctx {_:" "} run return run function bs.dump:interpret/path/expand/parse/terminate with storage bs:ctx +execute store result storage bs:ctx y int 1 run scoreboard players get #dump.cursor bs.data +execute store result storage bs:ctx x int 1 run scoreboard players remove #dump.cursor bs.data 1 +function bs.dump:interpret/path/expand/parse/next with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/terminate.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/terminate.mcfunction new file mode 100644 index 0000000000..dd4bc918f2 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/expand/parse/terminate.mcfunction @@ -0,0 +1,3 @@ +$data modify storage bs:ctx _ set string storage bs:data dump[-1].var $(y) +$data modify storage bs:data dump[-1].var set string storage bs:data dump[-1].var 0 $(x) +function bs.dump:interpret/path/expand/cast with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/path.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/path.mcfunction new file mode 100644 index 0000000000..0b131434cf --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/path.mcfunction @@ -0,0 +1,8 @@ +execute store success score #success bs.data run function bs.dump:interpret/path/expand/guard with storage bs:data dump[-1] +execute if score #success bs.data matches 0 run function bs.dump:interpret/path/expand/parse/init with storage bs:ctx +execute if score #success bs.data matches 1 run data modify storage bs:data dump[-1].expand set value 2 + +function bs.dump:interpret/path/populate with storage bs:data dump[-1] +return run function bs.dump:format/any + +$data get $(var) diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/populate.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/populate.mcfunction new file mode 100644 index 0000000000..14008e5423 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/path/populate.mcfunction @@ -0,0 +1,3 @@ +$execute store success score #success bs.data run data get $(var) +execute if score #success bs.data matches 0 run data modify storage bs:data dump[-1].var set value {} +$execute if score #success bs.data matches 1 run data modify storage bs:data dump[-1].var set from $(var) diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/score.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/score.mcfunction new file mode 100644 index 0000000000..4c50f2fe5a --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/interpret/score.mcfunction @@ -0,0 +1,4 @@ +$execute store success score #success bs.data run scoreboard players get $(var) +execute if score #success bs.data matches 0 run return run function bs.dump:format/undefined with storage bs:const dump +$scoreboard players operation #dump.var bs.data = $(var) +function bs.dump:format/score with storage bs:const dump diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/key/get.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/get.mcfunction new file mode 100644 index 0000000000..e283e9983e --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/get.mcfunction @@ -0,0 +1,9 @@ +data modify entity B5-0-0-0-2 text set value '{"storage":"bs:data","nbt":"dump[-1].var"}' +function bs.dump:key/unquote with entity B5-0-0-0-2 + +data modify storage bs:ctx _ set string storage bs:data dump[-1].key 1 2 +execute store result storage bs:ctx x int 1 run scoreboard players set #dump.cursor bs.data 2 +execute store result storage bs:ctx y int 1 run scoreboard players add #dump.cursor bs.data 1 +execute if data storage bs:ctx {_:'"'} run return run function bs.dump:key/parse/quoted/double with storage bs:ctx +execute if data storage bs:ctx {_:"'"} run return run function bs.dump:key/parse/quoted/single with storage bs:ctx +function bs.dump:key/parse/unquoted with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/quoted/double.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/quoted/double.mcfunction new file mode 100644 index 0000000000..af4f640fbe --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/quoted/double.mcfunction @@ -0,0 +1,6 @@ +$data modify storage bs:ctx _ set string storage bs:data dump[-1].key $(x) $(y) +execute store result storage bs:ctx x int 1 run scoreboard players get #dump.cursor bs.data +execute store result storage bs:ctx y int 1 run scoreboard players add #dump.cursor bs.data 1 +execute unless score #dump.escape bs.data matches 1 if data storage bs:ctx {_:'"'} run return run function bs.dump:key/parse/terminate with storage bs:ctx +execute store result score #dump.escape bs.data if data storage bs:ctx {_:"\\"} +function bs.dump:key/parse/quoted/double with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/quoted/single.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/quoted/single.mcfunction new file mode 100644 index 0000000000..4e97916b8b --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/quoted/single.mcfunction @@ -0,0 +1,6 @@ +$data modify storage bs:ctx _ set string storage bs:data dump[-1].key $(x) $(y) +execute store result storage bs:ctx x int 1 run scoreboard players get #dump.cursor bs.data +execute store result storage bs:ctx y int 1 run scoreboard players add #dump.cursor bs.data 1 +execute unless score #dump.escape bs.data matches 1 if data storage bs:ctx {_:"'"} run return run function bs.dump:key/parse/terminate with storage bs:ctx +execute store result score #dump.escape bs.data if data storage bs:ctx {_:"\\"} +function bs.dump:key/parse/quoted/single with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/terminate.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/terminate.mcfunction new file mode 100644 index 0000000000..e012fd1c0a --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/terminate.mcfunction @@ -0,0 +1 @@ +$data modify storage bs:data dump[-1].key set string storage bs:data dump[-1].key 1 $(x) diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/unquoted.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/unquoted.mcfunction new file mode 100644 index 0000000000..c344b7a6f7 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/parse/unquoted.mcfunction @@ -0,0 +1,5 @@ +$data modify storage bs:ctx _ set string storage bs:data dump[-1].key $(x) $(y) +execute if data storage bs:ctx {_:":"} run return run function bs.dump:key/parse/terminate with storage bs:ctx +execute store result storage bs:ctx x int 1 run scoreboard players get #dump.cursor bs.data +execute store result storage bs:ctx y int 1 run scoreboard players add #dump.cursor bs.data 1 +function bs.dump:key/parse/unquoted with storage bs:ctx diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/key/unquote.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/unquote.mcfunction new file mode 100644 index 0000000000..b0cf30522e --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/key/unquote.mcfunction @@ -0,0 +1 @@ +$data modify storage bs:data dump[-1].key set value $(text) diff --git a/datapacks/Bookshelf Dev/data/bs.dump/functions/var.mcfunction b/datapacks/Bookshelf Dev/data/bs.dump/functions/var.mcfunction new file mode 100644 index 0000000000..c673ea980b --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/functions/var.mcfunction @@ -0,0 +1,20 @@ +# INFO ------------------------------------------------------------------------ +# Copyright Β© 2024 Gunivers Community. + +# Authors: Aksiome +# Contributors: + +# Version: 1.0 +# Created: 02/03/2024 (1.20.4) +# Last modification: 02/03/2024 (1.20.4) + +# Documentation: https://bookshelf.docs.gunivers.net/en/latest/modules/dump.html +# Dependencies: +# Note: Thanks to tryashtar and PiggyPig for inspiring the idea behind this module. + +# CODE ------------------------------------------------------------------------ + +data modify storage bs:out dump set value ['[{"text":"[","color":"#cccccc"},{"selector":"@s"},"] β‡’ "]'] +$data modify storage bs:data dump set value [{var:$(var),indent:'"\\u2000"'}] +function bs.dump:interpret/any +tellraw @a {"type":"nbt","storage":"bs:out","nbt":"dump[]","separator":"","interpret":true} diff --git a/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/help.json b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/help.json new file mode 100644 index 0000000000..dc627dd767 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/help.json @@ -0,0 +1,5 @@ +{ + "values": [ + "bs.dump:__help__" + ] +} diff --git a/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/load.json b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/load.json new file mode 100644 index 0000000000..8a9a1489f9 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "bs.dump:__load__" + ] +} diff --git a/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/unload.json b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/unload.json new file mode 100644 index 0000000000..183b1ca344 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/unload.json @@ -0,0 +1,5 @@ +{ + "values": [ + "bs.dump:__unload__" + ] +} diff --git a/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/var.json b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/var.json new file mode 100644 index 0000000000..8d2e014810 --- /dev/null +++ b/datapacks/Bookshelf Dev/data/bs.dump/tags/functions/var.json @@ -0,0 +1,5 @@ +{ + "values": [ + "bs.dump:var" + ] +} diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/_.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/_.mcfunction deleted file mode 100644 index bce60f1697..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/_.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -tellraw @s [{"text": "[bs.mapedit documentation]", "color": "dark_aqua", "clickEvent": {"action": "open_url", "value": "https://mc-bookshelf.rtfd.io/en/latest/mapedit.html"}, "hoverEvent": {"action": "show_text", "contents": "Click to open URL"}}] -scoreboard players set module.mapedit bs.metadata 1 \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/esphere.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/esphere.mcfunction deleted file mode 100644 index 3ac421a8ce..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/esphere.mcfunction +++ /dev/null @@ -1,29 +0,0 @@ - -#equoi sphere = r^2 = (x-a)^2+(y-b)^2+(z-b)^2 - -scoreboard players set @s SphereSum 0 - -#X -scoreboard players operation @s SphereCalc = @s Centre_X -scoreboard players operation @s SphereCalc -= @s Set_X -scoreboard players operation @s SphereCalc *= @s SphereCalc -scoreboard players operation @s SphereSum += @s SphereCalc - -#Y -scoreboard players operation @s SphereCalc = @s Centre_Y -scoreboard players operation @s SphereCalc -= @s Set_Y -scoreboard players operation @s SphereCalc *= @s SphereCalc -scoreboard players operation @s SphereSum += @s SphereCalc - -#Z -scoreboard players operation @s SphereCalc = @s Centre_Z -scoreboard players operation @s SphereCalc -= @s Set_Z -scoreboard players operation @s SphereCalc *= @s SphereCalc -scoreboard players operation @s SphereSum += @s SphereCalc - -scoreboard players operation @s SphereCalc = @s Rayon -scoreboard players remove @s SphereCalc 1 -scoreboard players operation @s SphereCalc *= @s SphereCalc - - -execute if score @s SphereSum <= @s Rayon2 if score @s SphereSum >= @s SphereCalc run execute at @s run function bs.block:convert/id_to_block \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/replace.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/replace.mcfunction deleted file mode 100644 index 013eeee763..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/replace.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -#on recupre le block actulle - -execute at @s run function bs.block:convert/block_to_id - -#var tmp car ReaplceID sert ds plutieur cas -scoreboard players operation @s ActualBlockID = @s bs.block.id -#Si le block est a remplacer on le remplace -execute if score @s ActualBlockID = @s bs.original.id run scoreboard players operation @s bs.block.id = @s bs.replace.id -#Et on set le block - -execute if score @s ActualBlockID = @s bs.original.id run function bs.block:convert/id_to_block \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/set.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/set.mcfunction deleted file mode 100644 index 4a3917586b..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/set.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute at @s run function bs.block:convert/id_to_block \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/sphere.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/sphere.mcfunction deleted file mode 100644 index d4580b787b..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/brush/sphere.mcfunction +++ /dev/null @@ -1,25 +0,0 @@ - -#equoi sphere = r^2 = (x-a)^2+(y-b)^2+(z-b)^2 - -scoreboard players set @s SphereSum 0 - -#X -scoreboard players operation @s SphereCalc = @s Centre_X -scoreboard players operation @s SphereCalc -= @s Set_X -scoreboard players operation @s SphereCalc *= @s SphereCalc -scoreboard players operation @s SphereSum += @s SphereCalc - -#Y -scoreboard players operation @s SphereCalc = @s Centre_Y -scoreboard players operation @s SphereCalc -= @s Set_Y -scoreboard players operation @s SphereCalc *= @s SphereCalc -scoreboard players operation @s SphereSum += @s SphereCalc - -#Z -scoreboard players operation @s SphereCalc = @s Centre_Z -scoreboard players operation @s SphereCalc -= @s Set_Z -scoreboard players operation @s SphereCalc *= @s SphereCalc -scoreboard players operation @s SphereSum += @s SphereCalc - - -execute if score @s SphereSum <= @s Rayon2 run execute at @s run function bs.block:convert/id_to_block \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/centre.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/centre.mcfunction deleted file mode 100644 index fffb0a2818..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/centre.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ - - -# NAME: centre -# PATH: bs.mapedit: - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# OUTPUT: -# - Location : -# - Centre_X (score dummy) -# - Centre_Y (score dummy) -# - Centre_Z (score dummy) - - -# NOTE: -# The positon was place on the score of the entity who execute the function -#INI - -scoreboard objectives add Centre_X dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Center X","color":"aqua"}] -scoreboard objectives add Centre_Y dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Center Y","color":"aqua"}] -scoreboard objectives add Centre_Z dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Center Z","color":"aqua"}] - -scoreboard objectives add Rayon dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Radius","color":"aqua"}] - - -#Position X Y Z du debut -execute at @s store result score @s Centre_X run data get entity @s Pos[0] -execute at @s store result score @s Centre_Y run data get entity @s Pos[1] -execute at @s store result score @s Centre_Z run data get entity @s Pos[2] - -#Pour fair joli -particle dust 0.000 0.000 1.000 1 ~ ~ ~ 0 1 0 0.000000001 100 normal diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/esphere.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/esphere.mcfunction deleted file mode 100644 index a6a815b6b6..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/esphere.mcfunction +++ /dev/null @@ -1,94 +0,0 @@ -# NAME: esphere -# PATH: bs.mapedit:sphere - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# INPUT: -# - Centre Location : -# - Centre_X (score dummy) -# - Centre_Y (score dummy) -# - Centre_Z (score dummy) - - - -# - Block ID -# bs.block.id (score dummy) -# - -# - Rayon -# Rayon (score dummy) - -# OUTPUT: -# - Generate a empty sphere at the center of rayon eguale to the scoreboard - -# NOTE: -# For place the centre use function bs.mapedit:center - -#Ini - - -scoreboard objectives add BrushID dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"BrushID","color":"aqua"}] -scoreboard objectives add SphereCalc dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"SphereCalc","color":"aqua"}] -scoreboard objectives add SphereSum dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"SphereSum","color":"aqua"}] -scoreboard objectives add Rayon2 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Radius 2","color":"aqua"}] - - -#On place les point - -scoreboard players operation @s Pos_xd = @s Centre_X -scoreboard players operation @s Pos_xd += @s Rayon - -scoreboard players operation @s Pos_yd = @s Centre_Y -scoreboard players operation @s Pos_yd += @s Rayon - -scoreboard players operation @s Pos_zd = @s Centre_Z -scoreboard players operation @s Pos_zd += @s Rayon - - -scoreboard players operation @s Pos_xf = @s Centre_X -scoreboard players operation @s Pos_xf -= @s Rayon - -scoreboard players operation @s Pos_yf = @s Centre_Y -scoreboard players operation @s Pos_yf -= @s Rayon - -scoreboard players operation @s Pos_zf = @s Centre_Z -scoreboard players operation @s Pos_zf -= @s Rayon - - -#On initlise tout (factorisation ) - -function bs.mapedit:set/ini - - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon = @s Rayon - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Centre_X = @s Centre_X -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Centre_Y = @s Centre_Y -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Centre_Z = @s Centre_Z - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon = @s Rayon -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon2 = @s Rayon -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon2 *= @s Rayon - - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] bs.block.id = @s bs.block.id - -#3 corespon a la sphere -execute as @s run scoreboard players set @e[tag=spawnSET,limit=1,sort=nearest] BrushID 4 - - - -execute as @e[tag=spawnSET] at @s store result entity @s Pos[0] double 1 run scoreboard players get @s Set_X -execute as @e[tag=spawnSET] at @s store result entity @s Pos[1] double 1 run scoreboard players get @s Set_Y -execute as @e[tag=spawnSET] at @s store result entity @s Pos[2] double 1 run scoreboard players get @s Set_Z - -#On ajout 1 au nb de set en cour -scoreboard players add setCount Set_Option 1 - -#tag @e[tag=spawnSET] remove spawnSET - -#On lance toute la procedure -function bs.mapedit:set/repeate diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/pos1.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/pos1.mcfunction deleted file mode 100644 index a46699eb46..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/pos1.mcfunction +++ /dev/null @@ -1,33 +0,0 @@ - - -# NAME: pos1 -# PATH: bs.mapedit:pos1 - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# OUTPUT: -# - Location : -# - Pos_xd (score dummy) -# - Pos_yd (score dummy) -# - Pos_zd (score dummy) - - -# NOTE: -# The positon was place on the score of the entity who execute the function -#INI - -scoreboard objectives add Pos_xd dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Pos X d","color":"aqua"}] -scoreboard objectives add Pos_yd dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Pos Y d","color":"aqua"}] -scoreboard objectives add Pos_zd dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Pos Z d","color":"aqua"}] - - -#Position X Y Z du debut -execute at @s store result score @s Pos_xd run data get entity @s Pos[0] -execute at @s store result score @s Pos_yd run data get entity @s Pos[1] -execute at @s store result score @s Pos_zd run data get entity @s Pos[2] - -#Pour fair joli -particle dust 0.000 1.000 0.000 1 ~ ~ ~ 0 1 0 0.000000001 100 normal diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/pos2.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/pos2.mcfunction deleted file mode 100644 index cca3a385cf..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/pos2.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ - -# NAME: pos2 -# PATH: bs.mapedit:pos1 - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# OUTPUT: -# - Location : -# - Pos_xf (score dummy) -# - Pos_yf (score dummy) -# - Pos_zf (score dummy) - - -# NOTE: -# The positon was place on the score of the entity who execute the function - -scoreboard objectives add Pos_xf dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Pos X f","color":"aqua"}] -scoreboard objectives add Pos_yf dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Pos Y f","color":"aqua"}] -scoreboard objectives add Pos_zf dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Pos Z f","color":"aqua"}] - -#Postion X Y Z de la fin -execute at @s store result score @s Pos_xf run data get entity @s Pos[0] -execute at @s store result score @s Pos_yf run data get entity @s Pos[1] -execute at @s store result score @s Pos_zf run data get entity @s Pos[2] - - -#Pour fair jolie -particle dust 1.000 0.000 0.000 1 ~ ~ ~ 0 1 0 0.000000001 100 normal diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/replace.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/replace.mcfunction deleted file mode 100644 index 0c77e6986f..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/replace.mcfunction +++ /dev/null @@ -1,73 +0,0 @@ - -# NAME: replace -# PATH: bs.mapedit:replace - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# INPUT: -# - Location 1 : -# - Pos_xd (score dummy) -# - Pos_yd (score dummy) -# - Pos_zd (score dummy) - -# - Location 2 : -# - Pos_xf (score dummy) -# - Pos_yf (score dummy) -# - Pos_zf (score dummy) - -# - Original ID: ID of the block who need to replace -# bs.original.id (score dummy) - -# - Block ID : ID of the new block -# bs.block.id (score dummy) - -# -# OUTPUT: -# - If the block is egale to bs.original.id we replace them by bs.replace.id - -# NOTE: -# To take the postion you can use : function bs.mapedit:pos1 and function bs.mapedit:pos1 - - -#Ini - -scoreboard objectives add BrushID dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"BrushID","color":"aqua"}] - -#ReplaceID id du nouveaux block placer -scoreboard objectives add bs.replace.id dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Replace ID","color":"aqua"}] - -# id du block a remplacer -scoreboard objectives add bs.original.id dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Original ID","color":"aqua"}] - -scoreboard objectives add ActualBlockID dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Actual Block ID","color":"aqua"}] -#-------------------- - -#On initlise tout (factorisation ) - -function bs.mapedit:set/ini - - -#id du nouveaux block -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] bs.replace.id = @s bs.block.id -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] bs.block.id = @s bs.block.id -#ID du block a remplacer -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] bs.original.id = @s bs.original.id - -#1 corespon au setblock -execute as @s run scoreboard players set @e[tag=spawnSET,limit=1,sort=nearest] BrushID 2 - - -execute as @e[tag=spawnSET] at @s store result entity @s Pos[0] double 1 run scoreboard players get @s Set_X -execute as @e[tag=spawnSET] at @s store result entity @s Pos[1] double 1 run scoreboard players get @s Set_Y -execute as @e[tag=spawnSET] at @s store result entity @s Pos[2] double 1 run scoreboard players get @s Set_Z - -#On ajout 1 au nb de set en cour -scoreboard players add setCount Set_Option 1 - -#tag @e[tag=spawnSET] remove spawnSET - -#On lance toute la procedure -function bs.mapedit:set/repeate diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set.mcfunction deleted file mode 100644 index e3417bbb01..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set.mcfunction +++ /dev/null @@ -1,57 +0,0 @@ -# NAME: set -# PATH: bs.mapedit:set - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# INPUT: -# - Location 1 : -# - Pos_xd (score dummy) -# - Pos_yd (score dummy) -# - Pos_zd (score dummy) - -# - Location 2 : -# - Pos_xf (score dummy) -# - Pos_yf (score dummy) -# - Pos_zf (score dummy) - -# - Block ID -# bs.block.id (score dummy) -# -# OUTPUT: -# - Block place bettwen Location 1 and Location 2 - -# NOTE: -# To take the postion you can use : function bs.mapedit:pos1 and function bs.mapedit:pos1 - -#Ini - - -scoreboard objectives add BrushID dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Brush ID","color":"aqua"}] - -#On initlise tout (factorisation ) - -function bs.mapedit:set/ini - - - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] bs.block.id = @s bs.block.id - -#1 corespon au setblock -execute as @s run scoreboard players set @e[tag=spawnSET,limit=1,sort=nearest] BrushID 1 - - - -execute as @e[tag=spawnSET] at @s store result entity @s Pos[0] double 1 run scoreboard players get @s Set_X -execute as @e[tag=spawnSET] at @s store result entity @s Pos[1] double 1 run scoreboard players get @s Set_Y -execute as @e[tag=spawnSET] at @s store result entity @s Pos[2] double 1 run scoreboard players get @s Set_Z - -#On ajout 1 au nb de set en cour -scoreboard players add setCount Set_Option 1 - -#tag @e[tag=spawnSET] remove spawnSET - -#On lance toute la procedure -function bs.mapedit:set/repeate diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/end.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/end.mcfunction deleted file mode 100644 index 8d7b0c889f..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/end.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ - -#on retir un set car il est fini -scoreboard players remove setCount Set_Option 1 -kill @s diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/ini.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/ini.mcfunction deleted file mode 100644 index d15185b5f4..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/ini.mcfunction +++ /dev/null @@ -1,58 +0,0 @@ -#Fichier commun pour initiliser - -#initiliser - -scoreboard objectives add Set_Pos_xd dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Pos X d","color":"aqua"}] -scoreboard objectives add Set_Pos_yd dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Pos Y d","color":"aqua"}] -scoreboard objectives add Set_Pos_zd dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Pos Z d","color":"aqua"}] -scoreboard objectives add Set_Pos_xf dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Pos X f","color":"aqua"}] -scoreboard objectives add Set_Pos_yf dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Pos Y f","color":"aqua"}] -scoreboard objectives add Set_Pos_zf dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Pos Z f","color":"aqua"}] - -scoreboard objectives add Set_X dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set X","color":"aqua"}] -scoreboard objectives add Set_Y dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Y","color":"aqua"}] -scoreboard objectives add Set_Z dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Set Z","color":"aqua"}] - -#Pour chaque parti on affect le plus petit des 2 valleur de sorte que xd<=xf , yd <=yf ect - -#Pour le debut - -scoreboard players operation @s Set_Pos_xd = @s Pos_xd -scoreboard players operation @s Set_Pos_xd < @s Pos_xf - -scoreboard players operation @s Set_Pos_yd = @s Pos_yd -scoreboard players operation @s Set_Pos_yd < @s Pos_yf - -scoreboard players operation @s Set_Pos_zd = @s Pos_zd -scoreboard players operation @s Set_Pos_zd < @s Pos_zf - - - -#Pour la fin -scoreboard players operation @s Set_Pos_xf = @s Pos_xd -scoreboard players operation @s Set_Pos_xf > @s Pos_xf - -scoreboard players operation @s Set_Pos_yf = @s Pos_yd -scoreboard players operation @s Set_Pos_yf > @s Pos_yf - -scoreboard players operation @s Set_Pos_zf = @s Pos_zd -scoreboard players operation @s Set_Pos_zf > @s Pos_zf - -#Summon de l'entitier - -execute at @s run summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:1b,NoGravity:1b,Invisible:0b,Tags:["bs","spawnSET"],CustomName:"{\"text\":\"SetAS\"}"} - -#On transfet les score -#Par la suite on aura plutieure entite ave un systeme id -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Set_Pos_xd = @s Set_Pos_xd -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Set_Pos_yd = @s Set_Pos_yd -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Set_Pos_zd = @s Set_Pos_zd -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Set_Pos_xf = @s Set_Pos_xf -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Set_Pos_yf = @s Set_Pos_yf -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Set_Pos_zf = @s Set_Pos_zf - - -#On place l @e au debut -execute as @e[tag=spawnSET] at @s run scoreboard players operation @s Set_X = @s Set_Pos_xd -execute as @e[tag=spawnSET] at @s run scoreboard players operation @s Set_Y = @s Set_Pos_yd -execute as @e[tag=spawnSET] at @s run scoreboard players operation @s Set_Z = @s Set_Pos_zd diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/repeate.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/repeate.mcfunction deleted file mode 100644 index 5548457d3d..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/repeate.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ - -#Si il reste des set on le rapelle ds 1 tick -execute if score setCount Set_Option matches 0.. run schedule function bs.mapedit:set/repeate 1t - -#On appele le while -function bs.mapedit:set/while \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/run.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/run.mcfunction deleted file mode 100644 index 6b8855f0c6..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/run.mcfunction +++ /dev/null @@ -1,30 +0,0 @@ - -#On place un block en fonction du brush : -#1 set -#2 replace -#3 sphere -#4 esphere - -execute if score @s BrushID matches 1 run function bs.mapedit:brush/set -execute if score @s BrushID matches 2 run function bs.mapedit:brush/replace -execute if score @s BrushID matches 3 run function bs.mapedit:brush/sphere -execute if score @s BrushID matches 4 run function bs.mapedit:brush/esphere - -scoreboard players add @s Set_X 1 - -#Si on arive a la fin des X -execute if score @s Set_X > @s Set_Pos_xf run scoreboard players add @s Set_Z 1 -execute if score @s Set_X > @s Set_Pos_xf run scoreboard players operation @s Set_X = @s Set_Pos_xd - -#Si on arive a la fin des Z -execute if score @s Set_Z > @s Set_Pos_zf run scoreboard players add @s Set_Y 1 -execute if score @s Set_Z > @s Set_Pos_zf run scoreboard players operation @s Set_Z = @s Set_Pos_zd - -#Si on ariive a la fin des Y on a fini retoure dans le while pour en sortire - - -#On ce deplace - -execute as @e[tag=spawnSET] at @s store result entity @s Pos[0] double 1 run scoreboard players get @s Set_X -execute as @e[tag=spawnSET] at @s store result entity @s Pos[1] double 1 run scoreboard players get @s Set_Y -execute as @e[tag=spawnSET] at @s store result entity @s Pos[2] double 1 run scoreboard players get @s Set_Z \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/while.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/while.mcfunction deleted file mode 100644 index ff7b938a03..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/set/while.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -#Sortie du while - -execute as @e[name=SetAS] at @s if score @s Set_Y > @s Set_Pos_yf run function bs.mapedit:set/end - - -#A chaque iteration -execute as @e[name=SetAS] at @s if score @s Set_Y <= @s Set_Pos_yf run function bs.mapedit:set/run - -#fct recusive pour fair un while a change apres car peux cose des pbr -execute as @e[name=SetAS] at @s if score @s Set_Y <= @s Set_Pos_yf run function bs.mapedit:set/while \ No newline at end of file diff --git a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/sphere.mcfunction b/datapacks/Bookshelf Dev/data/bs.mapedit/functions/sphere.mcfunction deleted file mode 100644 index 72df473955..0000000000 --- a/datapacks/Bookshelf Dev/data/bs.mapedit/functions/sphere.mcfunction +++ /dev/null @@ -1,96 +0,0 @@ -# NAME: sphere -# PATH: bs.mapedit:sphere - -# AUTHOR: xam74er1 - -# VERSION: 0.1 -# MINECRAFT: 1.14.X - -# INPUT: -# - Centre Location : -# - Centre_X (score dummy) -# - Centre_Y (score dummy) -# - Centre_Z (score dummy) - - - -# - Block ID -# bs.block.id (score dummy) -# - -# - Rayon -# Rayon (score dummy) - -# OUTPUT: -# - Block place bettwen Location 1 and Location 2 - -# OUTPUT: -# - Generate a full sphere at the center of rayon eguale to the scoreboard - -# NOTE: -# For place the centre use function bs.mapedit:center - -#Ini - - -scoreboard objectives add BrushID dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"BrushID","color":"aqua"}] -scoreboard objectives add SphereCalc dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"SphereCalc","color":"aqua"}] -scoreboard objectives add SphereSum dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"SphereSum","color":"aqua"}] -scoreboard objectives add Rayon2 dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Radius 2","color":"aqua"}] - - -#On place les point - -scoreboard players operation @s Pos_xd = @s Centre_X -scoreboard players operation @s Pos_xd += @s Rayon - -scoreboard players operation @s Pos_yd = @s Centre_Y -scoreboard players operation @s Pos_yd += @s Rayon - -scoreboard players operation @s Pos_zd = @s Centre_Z -scoreboard players operation @s Pos_zd += @s Rayon - - -scoreboard players operation @s Pos_xf = @s Centre_X -scoreboard players operation @s Pos_xf -= @s Rayon - -scoreboard players operation @s Pos_yf = @s Centre_Y -scoreboard players operation @s Pos_yf -= @s Rayon - -scoreboard players operation @s Pos_zf = @s Centre_Z -scoreboard players operation @s Pos_zf -= @s Rayon - - -#On initlise tout (factorisation ) - -function bs.mapedit:set/ini - - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon = @s Rayon - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Centre_X = @s Centre_X -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Centre_Y = @s Centre_Y -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Centre_Z = @s Centre_Z - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon = @s Rayon -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon2 = @s Rayon -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] Rayon2 *= @s Rayon - -execute as @s run scoreboard players operation @e[tag=spawnSET,limit=1,sort=nearest] bs.block.id = @s bs.block.id - -#3 corespon a la sphere -execute as @s run scoreboard players set @e[tag=spawnSET,limit=1,sort=nearest] BrushID 3 - - - -execute as @e[tag=spawnSET] at @s store result entity @s Pos[0] double 1 run scoreboard players get @s Set_X -execute as @e[tag=spawnSET] at @s store result entity @s Pos[1] double 1 run scoreboard players get @s Set_Y -execute as @e[tag=spawnSET] at @s store result entity @s Pos[2] double 1 run scoreboard players get @s Set_Z - -#On ajout 1 au nb de set en cour -scoreboard players add setCount Set_Option 1 - -#tag @e[tag=spawnSET] remove spawnSET - -#On lance toute la procedure -function bs.mapedit:set/repeate diff --git a/datapacks/Bookshelf Dev/data/minecraft/tags/functions/load.json b/datapacks/Bookshelf Dev/data/minecraft/tags/functions/load.json new file mode 100644 index 0000000000..fa60b9dfba --- /dev/null +++ b/datapacks/Bookshelf Dev/data/minecraft/tags/functions/load.json @@ -0,0 +1,16 @@ +{ + "values": [ + { + "id": "#bs.dump:load", + "required": false + }, + { + "id": "#bs.log:load", + "required": false + }, + { + "id": "#bs.test:load", + "required": false + } + ] +} diff --git a/datapacks/Bookshelf Examples/data/bs.example/functions/_.mcfunction b/datapacks/Bookshelf Examples/data/bs.example/functions/_.mcfunction deleted file mode 100644 index e1d78f84c8..0000000000 --- a/datapacks/Bookshelf Examples/data/bs.example/functions/_.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -tellraw @s [{"text": "[gsys.example documentation]", "color": "dark_aqua", "clickEvent": {"action": "open_url", "value": "https://mc-bookshelf.rtfd.io/en/latest/example.html"}, "hoverEvent": {"action": "show_text", "contents": "Click to open URL"}}] -scoreboard players set bs.example bs.metadata 1 \ No newline at end of file diff --git a/datapacks/Bookshelf Examples/data/bs.example/functions/drop_to_place.mcfunction b/datapacks/Bookshelf Examples/data/bs.example/functions/drop_to_place.mcfunction deleted file mode 100644 index 0f9345f5a0..0000000000 --- a/datapacks/Bookshelf Examples/data/bs.example/functions/drop_to_place.mcfunction +++ /dev/null @@ -1,23 +0,0 @@ -execute as @e[type=item,tag=!bs.example.WalkTrail] at @s unless block ~-0.5 ~ ~ air run tag @s add bs.example.drop_to_place -execute as @e[type=item,tag=!bs.example.WalkTrail] at @s unless block ~0.5 ~ ~ air run tag @s add bs.example.drop_to_place -execute as @e[type=item,tag=!bs.example.WalkTrail] at @s unless block ~ ~-0.1 ~ air run tag @s add bs.example.drop_to_place -execute as @e[type=item,tag=!bs.example.WalkTrail] at @s unless block ~ ~0.7 ~ air run tag @s add bs.example.drop_to_place -execute as @e[type=item,tag=!bs.example.WalkTrail] at @s unless block ~ ~ ~-0.5 air run tag @s add bs.example.drop_to_place -execute as @e[type=item,tag=!bs.example.WalkTrail] at @s unless block ~ ~ ~0.5 air run tag @s add bs.example.drop_to_place - - -# Getting item type when the item exist since 1 second -execute as @e[type=item,tag=bs.example.drop_to_place] at @s run function bs.item:get - -# Getting the corresponding block -execute as @e[type=item,tag=bs.example.drop_to_place] at @s run function bs.item:convert_to_block - -# Placing the corresponding block (if it exist) -execute as @e[type=item,tag=bs.example.drop_to_place] at @s run function bs.block:set - -# Little animation, because it's cool -execute as @e[type=item,tag=bs.example.drop_to_place] at @s align xyz positioned ~0.5 ~0.5 ~0.5 run particle minecraft:cloud ~ ~ ~ 0.5 0.5 0.5 0 30 -execute as @e[type=item,tag=bs.example.drop_to_place] at @s run playsound minecraft:block.stone.place block @a[distance=..30] ~ ~ ~ 2 1 1 - -# Killing the item if the block is placed -kill @e[type=item,tag=bs.example.drop_to_place] \ No newline at end of file diff --git a/datapacks/Bookshelf Examples/data/bs.example/functions/lgdir.mcfunction b/datapacks/Bookshelf Examples/data/bs.example/functions/lgdir.mcfunction deleted file mode 100644 index 9377a6db16..0000000000 --- a/datapacks/Bookshelf Examples/data/bs.example/functions/lgdir.mcfunction +++ /dev/null @@ -1,59 +0,0 @@ -# NAME: LGdir -# PATH: bs.system:lgdir - -# AUTHOR: Leirof - -# VERSION: 3.0 -# MINECRAFT: 1.13+ - -# NOTE: This system is just an example of what you can do with our library. -# By executing this function on every players, each time they will use a carrot_on_a_stick, a basic projectile will be shot. -# It is recommended to create your own function/command-block system that reproduce this function to adapt it to your project. - -# INIT -#____________________________________________________________________________________________________ - -scoreboard objectives add lgdir.trigger minecraft.used:minecraft.carrot_on_a_stick - -# CODE: -#____________________________________________________________________________________________________ - -# Summon the projectile when the item is right-clicked -execute at @a[scores={lgdir.trigger=1}] run summon marker ~ ~ ~ {Tags:["lgdir","lgdir.projectile","Debug","bs.debug.move.by_vector","bs.move.DisplayTrajectory"]} -execute at @a[scores={lgdir.trigger=1}] run playsound minecraft:item.trident.throw master @a[distance=..15] ~ ~ ~ 2 2 1 - -# TP of the projectile on the shooting player to get his orientation (the summon command place the entity in default orientation) -execute as @e[tag=lgdir.projectile,tag=!lgdir.old] at @s run tp @s @p[scores={lgdir.trigger=1}] - -# Setting projectile's lifetime to 3 secondes -scoreboard players set @e[tag=lgdir.projectile,scores={bs.lifetime=0..}] bs.lifetime -30 - -# Visual and sound effects -execute at @a[scores={lgdir.trigger=1}] run tp @e[tag=lgdir.projectile,tag=!lgdir.old,limit=1,sort=nearest] @s -execute at @a[scores={lgdir.trigger=1}] run tp @e[tag=lgdir.projectile,tag=!lgdir.old,limit=1,sort=nearest] ~ ~1.7 ~ - -# Resetting the trigger -scoreboard players set @a lgdir.trigger 0 - -# Getting projectile vector -execute as @e[tag=lgdir.projectile,tag=!lgdir.old] at @s run function bs.vector:get_from_orientation - -# Multiplying the speed of the projectile -scoreboard players operation @e[tag=lgdir.projectile,tag=!lgdir.old] bs.vector.x *= 2 bs.const -scoreboard players operation @e[tag=lgdir.projectile,tag=!lgdir.old] bs.vector.y *= 2 bs.const -scoreboard players operation @e[tag=lgdir.projectile,tag=!lgdir.old] bs.vector.z *= 2 bs.const - -scoreboard players remove @e[tag=lgdir.projectile,tag=lgdir.old] bs.vector.y 50 - -# Setting collision to type "bounce on everything" -scoreboard players set @e[tag=lgdir.projectile,tag=!lgdir.old] bs.collision -1 - -# Setting projectile collision precision to 0.1 block -scoreboard players set @e[tag=lgdir.projectile] bs.opt.0 500 - -execute as @e[tag=lgdir.projectile] run function bs.move:by_vector -execute at @e[tag=lgdir.projectile] run particle dust 1 0 0 1 ~ ~ ~ 0.01 0.01 0.01 0 5 force - - -# Identity projectiles as old -tag @e[tag=lgdir.projectile] add lgdir.old \ No newline at end of file diff --git a/datapacks/Bookshelf Examples/data/bs.example/functions/walk_trail.mcfunction b/datapacks/Bookshelf Examples/data/bs.example/functions/walk_trail.mcfunction deleted file mode 100644 index 291fa6a27b..0000000000 --- a/datapacks/Bookshelf Examples/data/bs.example/functions/walk_trail.mcfunction +++ /dev/null @@ -1,20 +0,0 @@ -# Get the block the player is walking on -execute as @a at @s positioned ~ ~ ~ run function bs.block:get -execute as @a at @s if block ~ ~ ~ air positioned ~ ~-0.7 ~ run function bs.block:get - -# Getting the corresponding item -execute as @a at @s run function bs.block:convert_to_item - -# Placing the item -execute as @a at @s positioned ~ ~ ~ positioned ^ ^ ^ run function bs.item:set - -# Make items unpickable and floating -execute as @e[type=minecraft:item,tag=bs.new] run data modify entity @s PickupDelay set value 999999 -execute as @e[type=minecraft:item,tag=bs.new] run data modify entity @s NoGravity set value 1 - -# Setting item's lifetime to 10 seconds -scoreboard players set @e[type=minecraft:item,tag=bs.new] bs.lifetime -201 - -# Remonving there "bs.new" tag -tag @e[type=minecraft:item,tag=bs.new] add bs.example.WalkTrail -tag @e[type=minecraft:item,tag=bs.new] remove bs.new diff --git a/datapacks/Bookshelf Examples/data/bs.move/by_vetor/config/collision/_main.mcfunction b/datapacks/Bookshelf Examples/data/bs.move/by_vetor/config/collision/_main.mcfunction deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/datapacks/Bookshelf Examples/data/bs.move/tags/blocks/pass_through.json b/datapacks/Bookshelf Examples/data/bs.move/tags/blocks/pass_through.json deleted file mode 100644 index 0804b3416f..0000000000 --- a/datapacks/Bookshelf Examples/data/bs.move/tags/blocks/pass_through.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "replace": false, - "values": [ - "#minecraft:banners", - "#minecraft:rails", - "#minecraft:flower_pots", - "#minecraft:wool_carpets", - "#minecraft:doors", - "#bs.core:skulls", - "#bs.core:vegetals/vegetal", - "#bs.core:redstone/redstone", - "#bs.core:vegetals/wood/trapdoors", - "minecraft:fire", - "minecraft:torch", - "minecraft:wall_torch", - "minecraft:ladder", - "minecraft:snow", - "minecraft:nether_portal", - "minecraft:end_portal", - "minecraft:cobweb", - "minecraft:end_gateway", - "minecraft:turtle_egg", - "minecraft:conduit", - "minecraft:end_rod", - "#minecraft:signs", - "minecraft:air", - "minecraft:water", - "minecraft:lava", - "minecraft:iron_bars" - ] -} \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/1.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/1.mcfunction index a6747e1643..235ca36812 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/1.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/1.mcfunction @@ -7,4 +7,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/10.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/10.mcfunction index 0560f03c58..140ebbe890 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/10.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/10.mcfunction @@ -16,4 +16,4 @@ execute if block ~ ~ ~ #bs.block:has_state[rotation=13] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[rotation=14] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"14"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[rotation=15] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"15"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/100.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/100.mcfunction index 4ee7f43527..f62c84997d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/100.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/100.mcfunction @@ -1,4 +1,4 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[hatch=0] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"0"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[hatch=1] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"1"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[hatch=2] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"2"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[hatch=2] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"2"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/101.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/101.mcfunction index d128637c77..bea25bf1d4 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/101.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/101.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[layers=4] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[layers=5] run data modify storage bs:out block.iterable_properties[{name:"layers"}].options[{value:"5"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[layers=6] run data modify storage bs:out block.iterable_properties[{name:"layers"}].options[{value:"6"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[layers=7] run data modify storage bs:out block.iterable_properties[{name:"layers"}].options[{value:"7"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[layers=8] run data modify storage bs:out block.iterable_properties[{name:"layers"}].options[{value:"8"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[layers=8] run data modify storage bs:out block.iterable_properties[{name:"layers"}].options[{value:"8"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/102.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/102.mcfunction index 259a1453d9..5919efb0c4 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/102.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/102.mcfunction @@ -2,4 +2,4 @@ execute if block ~ ~ ~ #bs.block:has_state[mode=load] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"load"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[mode=corner] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"corner"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[mode=data] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"data"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[mode=save] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"save"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[mode=save] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"save"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/103.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/103.mcfunction index b6abcd3e95..8467505612 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/103.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/103.mcfunction @@ -2,4 +2,4 @@ execute if block ~ ~ ~ #bs.block:has_state[dusted=0] run data modify storage bs:out block.iterable_properties[{name:"dusted"}].options[{value:"0"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[dusted=1] run data modify storage bs:out block.iterable_properties[{name:"dusted"}].options[{value:"1"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[dusted=2] run data modify storage bs:out block.iterable_properties[{name:"dusted"}].options[{value:"2"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[dusted=3] run data modify storage bs:out block.iterable_properties[{name:"dusted"}].options[{value:"3"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[dusted=3] run data modify storage bs:out block.iterable_properties[{name:"dusted"}].options[{value:"3"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/104.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/104.mcfunction index fb2aaf7892..4bef4c98e0 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/104.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/104.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[unstable=false] run data modify storage bs:out block.iterable_properties[{name:"unstable"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[unstable=true] run data modify storage bs:out block.iterable_properties[{name:"unstable"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[unstable=true] run data modify storage bs:out block.iterable_properties[{name:"unstable"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/105.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/105.mcfunction index 96e889d453..5c04a6ebb5 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/105.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/105.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[age=0] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"0"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[age=1] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"1"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[age=1] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"1"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/106.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/106.mcfunction index 18cf1c6800..2ad25c0b0d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/106.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/106.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[trial_spawner_state=waiting_for_playe execute if block ~ ~ ~ #bs.block:has_state[trial_spawner_state=active] run data modify storage bs:out block.iterable_properties[{name:"trial_spawner_state"}].options[{value:"active"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[trial_spawner_state=waiting_for_reward_ejection] run data modify storage bs:out block.iterable_properties[{name:"trial_spawner_state"}].options[{value:"waiting_for_reward_ejection"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[trial_spawner_state=ejecting_reward] run data modify storage bs:out block.iterable_properties[{name:"trial_spawner_state"}].options[{value:"ejecting_reward"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[trial_spawner_state=cooldown] run data modify storage bs:out block.iterable_properties[{name:"trial_spawner_state"}].options[{value:"cooldown"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[trial_spawner_state=cooldown] run data modify storage bs:out block.iterable_properties[{name:"trial_spawner_state"}].options[{value:"cooldown"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/107.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/107.mcfunction index 76cd66514a..c8919349f5 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/107.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/107.mcfunction @@ -12,4 +12,4 @@ execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[south=false] run data modify storage bs:out block.iterable_properties[{name:"south"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[south=true] run data modify storage bs:out block.iterable_properties[{name:"south"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/108.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/108.mcfunction index 94410e6bcf..56ccecc886 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/108.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/108.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/109.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/109.mcfunction index 55aa0fa09a..1452869955 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/109.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/109.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[eggs=3] run data modify storage bs:ou execute if block ~ ~ ~ #bs.block:has_state[eggs=4] run data modify storage bs:out block.iterable_properties[{name:"eggs"}].options[{value:"4"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[hatch=0] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"0"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[hatch=1] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"1"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[hatch=2] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"2"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[hatch=2] run data modify storage bs:out block.iterable_properties[{name:"hatch"}].options[{value:"2"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/11.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/11.mcfunction index 8a4f823fe1..546407cfe5 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/11.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/11.mcfunction @@ -3,4 +3,4 @@ execute if block ~ ~ ~ #bs.block:has_state[type=bottom] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[type=double] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"double"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[type=top] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"top"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/110.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/110.mcfunction index 5d5aae2ecd..562415708a 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/110.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/110.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[south=true] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[up=false] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[up=true] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/12.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/12.mcfunction index 8569acda7b..073910fa6a 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/12.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/12.mcfunction @@ -11,4 +11,4 @@ execute if block ~ ~ ~ #bs.block:has_state[shape=inner_right] run data modify st execute if block ~ ~ ~ #bs.block:has_state[shape=outer_left] run data modify storage bs:out block.iterable_properties[{name:"shape"}].options[{value:"outer_left"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[shape=outer_right] run data modify storage bs:out block.iterable_properties[{name:"shape"}].options[{value:"outer_right"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/13.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/13.mcfunction index d8c6dc0654..523511ae92 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/13.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/13.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[open=true] run data modify storage bs execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/14.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/14.mcfunction index 47a921d4f4..3f008a512c 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/14.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/14.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/15.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/15.mcfunction index 29989c49f3..6b40d259d2 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/15.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/15.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[shape=ascending_west] run data modify execute if block ~ ~ ~ #bs.block:has_state[shape=ascending_north] run data modify storage bs:out block.iterable_properties[{name:"shape"}].options[{value:"ascending_north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[shape=ascending_south] run data modify storage bs:out block.iterable_properties[{name:"shape"}].options[{value:"ascending_south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/16.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/16.mcfunction index 849cffa51a..a2e6a35c57 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/16.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/16.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/17.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/17.mcfunction index dc0edf3938..4c715d344d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/17.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/17.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify st execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=none] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"none"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=low] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"low"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=tall] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"tall"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=tall] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"tall"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/18.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/18.mcfunction index 71254148f2..2fe595d2a8 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/18.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/18.mcfunction @@ -2,4 +2,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/19.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/19.mcfunction index 9c1d97f657..0a700e9931 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/19.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/19.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[leaves=none] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[leaves=small] run data modify storage bs:out block.iterable_properties[{name:"leaves"}].options[{value:"small"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[leaves=large] run data modify storage bs:out block.iterable_properties[{name:"leaves"}].options[{value:"large"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[stage=0] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"0"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[stage=1] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"1"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[stage=1] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"1"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/2.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/2.mcfunction index 3bbb25f62b..0e12676571 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/2.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/2.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[hinge=right] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[open=false] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[open=true] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/20.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/20.mcfunction index 616d03c48a..3f19cf4ea2 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/20.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/20.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=up] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"up"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[open=false] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[open=true] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[open=true] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/21.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/21.mcfunction index e193a00c97..7de09e5911 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/21.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/21.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/22.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/22.mcfunction index 0c9fb0adf0..6e8a6ab8d8 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/22.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/22.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[honey_level=1] run data modify storag execute if block ~ ~ ~ #bs.block:has_state[honey_level=2] run data modify storage bs:out block.iterable_properties[{name:"honey_level"}].options[{value:"2"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[honey_level=3] run data modify storage bs:out block.iterable_properties[{name:"honey_level"}].options[{value:"3"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[honey_level=4] run data modify storage bs:out block.iterable_properties[{name:"honey_level"}].options[{value:"4"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[honey_level=5] run data modify storage bs:out block.iterable_properties[{name:"honey_level"}].options[{value:"5"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[honey_level=5] run data modify storage bs:out block.iterable_properties[{name:"honey_level"}].options[{value:"5"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/23.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/23.mcfunction index 2b35dcdd4f..a827760154 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/23.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/23.mcfunction @@ -2,4 +2,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=0] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"0"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=1] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"1"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=2] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"2"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[age=3] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"3"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[age=3] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"3"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/24.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/24.mcfunction index ab4972ccc4..417a8ee1a6 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/24.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/24.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/25.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/25.mcfunction index ca4d75156b..b52d66455b 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/25.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/25.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[tilt=unstable] run data modify storag execute if block ~ ~ ~ #bs.block:has_state[tilt=partial] run data modify storage bs:out block.iterable_properties[{name:"tilt"}].options[{value:"partial"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[tilt=full] run data modify storage bs:out block.iterable_properties[{name:"tilt"}].options[{value:"full"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/26.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/26.mcfunction index e61c748cd0..4d09739fdc 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/26.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/26.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[rotation=11] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[rotation=12] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"12"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[rotation=13] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[rotation=14] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"14"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[rotation=15] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"15"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[rotation=15] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"15"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/27.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/27.mcfunction index 15d34c515a..64b62efa20 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/27.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/27.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[occupied=false] run data modify storage bs:out block.iterable_properties[{name:"occupied"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[occupied=true] run data modify storage bs:out block.iterable_properties[{name:"occupied"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[part=foot] run data modify storage bs:out block.iterable_properties[{name:"part"}].options[{value:"foot"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[part=head] run data modify storage bs:out block.iterable_properties[{name:"part"}].options[{value:"head"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[part=head] run data modify storage bs:out block.iterable_properties[{name:"part"}].options[{value:"head"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/28.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/28.mcfunction index cf14828651..d4a71e1362 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/28.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/28.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[candles=4] run data modify storage bs execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/29.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/29.mcfunction index 70d20bce92..84d9d8affd 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/29.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/29.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/3.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/3.mcfunction index 08f0c1402e..0acbbfe1a5 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/3.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/3.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[south=true] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/30.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/30.mcfunction index 6246c1b3f4..81eb9bc3e2 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/30.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/30.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/31.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/31.mcfunction index 5cc4f644c7..c19cd3f137 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/31.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/31.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/32.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/32.mcfunction index 843a2b68e2..b2f3c4b8a9 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/32.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/32.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/33.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/33.mcfunction index 3d310bf4fa..462804fa6e 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/33.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/33.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/34.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/34.mcfunction index e780d3fbd6..a4c6d75fec 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/34.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/34.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[has_bottle_0=true] run data modify st execute if block ~ ~ ~ #bs.block:has_state[has_bottle_1=false] run data modify storage bs:out block.iterable_properties[{name:"has_bottle_1"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[has_bottle_1=true] run data modify storage bs:out block.iterable_properties[{name:"has_bottle_1"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[has_bottle_2=false] run data modify storage bs:out block.iterable_properties[{name:"has_bottle_2"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[has_bottle_2=true] run data modify storage bs:out block.iterable_properties[{name:"has_bottle_2"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[has_bottle_2=true] run data modify storage bs:out block.iterable_properties[{name:"has_bottle_2"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/35.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/35.mcfunction index b1b2f94cbd..c322432274 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/35.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/35.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[south=false] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[up=true] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[up=false] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/36.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/36.mcfunction index 6c6e0e79f1..7a329ecf45 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/36.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/36.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[drag=true] run data modify storage bs:out block.iterable_properties[{name:"drag"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[drag=false] run data modify storage bs:out block.iterable_properties[{name:"drag"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[drag=false] run data modify storage bs:out block.iterable_properties[{name:"drag"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/37.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/37.mcfunction index 5ac828407d..a9ffcaf395 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/37.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/37.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=11] run data modify storage bs:ou execute if block ~ ~ ~ #bs.block:has_state[age=12] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"12"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=13] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=14] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"14"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[age=15] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"15"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[age=15] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"15"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/38.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/38.mcfunction index 60d0dd4ff2..2b9f747e99 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/38.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/38.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[bites=2] run data modify storage bs:o execute if block ~ ~ ~ #bs.block:has_state[bites=3] run data modify storage bs:out block.iterable_properties[{name:"bites"}].options[{value:"3"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[bites=4] run data modify storage bs:out block.iterable_properties[{name:"bites"}].options[{value:"4"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[bites=5] run data modify storage bs:out block.iterable_properties[{name:"bites"}].options[{value:"5"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[bites=6] run data modify storage bs:out block.iterable_properties[{name:"bites"}].options[{value:"6"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[bites=6] run data modify storage bs:out block.iterable_properties[{name:"bites"}].options[{value:"6"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/39.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/39.mcfunction index 50870c76c9..3732a94f99 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/39.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/39.mcfunction @@ -23,4 +23,4 @@ execute if block ~ ~ ~ #bs.block:has_state[sculk_sensor_phase=inactive] run data execute if block ~ ~ ~ #bs.block:has_state[sculk_sensor_phase=active] run data modify storage bs:out block.iterable_properties[{name:"sculk_sensor_phase"}].options[{value:"active"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[sculk_sensor_phase=cooldown] run data modify storage bs:out block.iterable_properties[{name:"sculk_sensor_phase"}].options[{value:"cooldown"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/4.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/4.mcfunction index b44751216b..37bb4ea57d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/4.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/4.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[in_wall=true] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[open=false] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[open=true] run data modify storage bs:out block.iterable_properties[{name:"open"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/40.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/40.mcfunction index aba18d84aa..134b8bae4b 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/40.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/40.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs execute if block ~ ~ ~ #bs.block:has_state[signal_fire=false] run data modify storage bs:out block.iterable_properties[{name:"signal_fire"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[signal_fire=true] run data modify storage bs:out block.iterable_properties[{name:"signal_fire"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/41.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/41.mcfunction index b8577b37cf..72245bcfe4 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/41.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/41.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=3] run data modify storage bs:out execute if block ~ ~ ~ #bs.block:has_state[age=4] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"4"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=5] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"5"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=6] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"6"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[age=7] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"7"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[age=7] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"7"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/42.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/42.mcfunction index 6d379e261b..087208f534 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/42.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/42.mcfunction @@ -26,4 +26,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=23] run data modify storage bs:ou execute if block ~ ~ ~ #bs.block:has_state[age=24] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"24"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=25] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"25"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[berries=false] run data modify storage bs:out block.iterable_properties[{name:"berries"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[berries=true] run data modify storage bs:out block.iterable_properties[{name:"berries"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[berries=true] run data modify storage bs:out block.iterable_properties[{name:"berries"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/43.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/43.mcfunction index 53c5f90bb1..64907ecfd9 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/43.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/43.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[berries=false] run data modify storage bs:out block.iterable_properties[{name:"berries"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[berries=true] run data modify storage bs:out block.iterable_properties[{name:"berries"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[berries=true] run data modify storage bs:out block.iterable_properties[{name:"berries"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/44.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/44.mcfunction index 91de0f18cb..18f4d95d46 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/44.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/44.mcfunction @@ -3,4 +3,4 @@ execute if block ~ ~ ~ #bs.block:has_state[axis=y] run data modify storage bs:ou execute if block ~ ~ ~ #bs.block:has_state[axis=z] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"z"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[axis=x] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"x"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/45.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/45.mcfunction index 81d7e212e1..d7554a8b7a 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/45.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/45.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=up] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"up"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/46.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/46.mcfunction index 2e1495781c..d5063a5957 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/46.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/46.mcfunction @@ -7,4 +7,4 @@ execute if block ~ ~ ~ #bs.block:has_state[type=single] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[type=left] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"left"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[type=right] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"right"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/47.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/47.mcfunction index 8a3d8187d5..0131c474ae 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/47.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/47.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[slot_3_occupied=true] run data modify execute if block ~ ~ ~ #bs.block:has_state[slot_4_occupied=false] run data modify storage bs:out block.iterable_properties[{name:"slot_4_occupied"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[slot_4_occupied=true] run data modify storage bs:out block.iterable_properties[{name:"slot_4_occupied"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[slot_5_occupied=false] run data modify storage bs:out block.iterable_properties[{name:"slot_5_occupied"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[slot_5_occupied=true] run data modify storage bs:out block.iterable_properties[{name:"slot_5_occupied"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[slot_5_occupied=true] run data modify storage bs:out block.iterable_properties[{name:"slot_5_occupied"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/48.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/48.mcfunction index 8db3807134..e4c0fe2b97 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/48.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/48.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=1] run data modify storage bs:out execute if block ~ ~ ~ #bs.block:has_state[age=2] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"2"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=3] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"3"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=4] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"4"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[age=5] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"5"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[age=5] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"5"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/49.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/49.mcfunction index 8b9825ddd5..535448cc40 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/49.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/49.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[south=true] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[up=false] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[up=true] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/5.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/5.mcfunction index 4715732591..20cba489d0 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/5.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/5.mcfunction @@ -18,4 +18,4 @@ execute if block ~ ~ ~ #bs.block:has_state[rotation=13] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[rotation=14] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"14"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[rotation=15] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"15"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/50.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/50.mcfunction index 9c2cab1392..bd354bd747 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/50.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/50.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=2] run data modify storage bs:out execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/51.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/51.mcfunction index 303875aad8..ba3e39ace5 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/51.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/51.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[mode=compare] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"compare"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[mode=subtract] run data modify storage bs:out block.iterable_properties[{name:"mode"}].options[{value:"subtract"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/52.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/52.mcfunction index e68d18c9d3..49f41e3750 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/52.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/52.mcfunction @@ -7,4 +7,4 @@ execute if block ~ ~ ~ #bs.block:has_state[level=4] run data modify storage bs:o execute if block ~ ~ ~ #bs.block:has_state[level=5] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"5"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[level=6] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"6"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[level=7] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"7"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[level=8] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"8"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[level=8] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"8"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/53.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/53.mcfunction index 1931af7f2c..ea2e95096f 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/53.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/53.mcfunction @@ -2,4 +2,4 @@ execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/54.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/54.mcfunction index 930cf7b07e..af49152fd8 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/54.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/54.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[orientation=up_west] run data modify execute if block ~ ~ ~ #bs.block:has_state[orientation=west_up] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"west_up"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[orientation=east_up] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"east_up"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[triggered=false] run data modify storage bs:out block.iterable_properties[{name:"triggered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[triggered=true] run data modify storage bs:out block.iterable_properties[{name:"triggered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[triggered=true] run data modify storage bs:out block.iterable_properties[{name:"triggered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/55.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/55.mcfunction index 8b33cb809a..8dc87db868 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/55.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/55.mcfunction @@ -16,4 +16,4 @@ execute if block ~ ~ ~ #bs.block:has_state[rotation=11] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[rotation=12] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"12"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[rotation=13] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[rotation=14] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"14"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[rotation=15] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"15"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[rotation=15] run data modify storage bs:out block.iterable_properties[{name:"rotation"}].options[{value:"15"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/56.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/56.mcfunction index 551e083dbf..a0e4c2770c 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/56.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/56.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/57.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/57.mcfunction index b3e444bcd0..3f7731f2a7 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/57.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/57.mcfunction @@ -16,4 +16,4 @@ execute if block ~ ~ ~ #bs.block:has_state[power=11] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[power=12] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"12"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[power=13] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[power=14] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"14"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[power=15] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"15"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[power=15] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"15"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/58.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/58.mcfunction index 60f75ccf8b..c97179e710 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/58.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/58.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/59.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/59.mcfunction index 2f7628f507..ac58b2e47c 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/59.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/59.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=up] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"up"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[triggered=false] run data modify storage bs:out block.iterable_properties[{name:"triggered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[triggered=true] run data modify storage bs:out block.iterable_properties[{name:"triggered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[triggered=true] run data modify storage bs:out block.iterable_properties[{name:"triggered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/6.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/6.mcfunction index 0bd8f3e1c5..c0780ecc73 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/6.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/6.mcfunction @@ -9,4 +9,4 @@ execute if block ~ ~ ~ #bs.block:has_state[distance=6] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[persistent=false] run data modify storage bs:out block.iterable_properties[{name:"persistent"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[persistent=true] run data modify storage bs:out block.iterable_properties[{name:"persistent"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/60.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/60.mcfunction index d0bc7b2ae2..95db03d307 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/60.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/60.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[eye=true] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/61.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/61.mcfunction index aa9483c1ee..5d9675a493 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/61.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/61.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[moisture=3] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[moisture=4] run data modify storage bs:out block.iterable_properties[{name:"moisture"}].options[{value:"4"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[moisture=5] run data modify storage bs:out block.iterable_properties[{name:"moisture"}].options[{value:"5"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[moisture=6] run data modify storage bs:out block.iterable_properties[{name:"moisture"}].options[{value:"6"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[moisture=7] run data modify storage bs:out block.iterable_properties[{name:"moisture"}].options[{value:"7"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[moisture=7] run data modify storage bs:out block.iterable_properties[{name:"moisture"}].options[{value:"7"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/62.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/62.mcfunction index a0881518d6..440b800dde 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/62.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/62.mcfunction @@ -24,4 +24,4 @@ execute if block ~ ~ ~ #bs.block:has_state[south=true] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[up=false] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[up=true] run data modify storage bs:out block.iterable_properties[{name:"up"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/63.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/63.mcfunction index 06bfe5a0a6..7ae7028603 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/63.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/63.mcfunction @@ -12,4 +12,4 @@ execute if block ~ ~ ~ #bs.block:has_state[up=true] run data modify storage bs:o execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=false] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=true] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/64.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/64.mcfunction index 402cffcfc7..f81f93aeac 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/64.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/64.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[snowy=false] run data modify storage bs:out block.iterable_properties[{name:"snowy"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[snowy=true] run data modify storage bs:out block.iterable_properties[{name:"snowy"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[snowy=true] run data modify storage bs:out block.iterable_properties[{name:"snowy"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/65.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/65.mcfunction index a469e4a68d..d9347d4166 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/65.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/65.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[face=floor] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/66.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/66.mcfunction index fa44af0abd..479a24b060 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/66.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/66.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[power=11] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[power=12] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"12"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[power=13] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[power=14] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"14"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[power=15] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"15"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[power=15] run data modify storage bs:out block.iterable_properties[{name:"power"}].options[{value:"15"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/67.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/67.mcfunction index 3dac452fb0..b7f12936c5 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/67.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/67.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/68.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/68.mcfunction index 447932c30d..1c3564ec63 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/68.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/68.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[orientation=up_north] run data modify execute if block ~ ~ ~ #bs.block:has_state[orientation=up_south] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"up_south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[orientation=up_west] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"up_west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[orientation=west_up] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"west_up"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[orientation=east_up] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"east_up"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[orientation=east_up] run data modify storage bs:out block.iterable_properties[{name:"orientation"}].options[{value:"east_up"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/69.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/69.mcfunction index 2f11118b25..96a048b047 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/69.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/69.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[has_record=false] run data modify storage bs:out block.iterable_properties[{name:"has_record"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[has_record=true] run data modify storage bs:out block.iterable_properties[{name:"has_record"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[has_record=true] run data modify storage bs:out block.iterable_properties[{name:"has_record"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/7.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/7.mcfunction index 2bb53cc25a..b3ce8b6353 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/7.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/7.mcfunction @@ -1,4 +1,4 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[axis=y] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"y"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[axis=z] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"z"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[axis=x] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"x"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[axis=x] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"x"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/70.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/70.mcfunction index fe7e3c80d6..b0db0a47fc 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/70.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/70.mcfunction @@ -24,4 +24,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=21] run data modify storage bs:ou execute if block ~ ~ ~ #bs.block:has_state[age=22] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"22"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=23] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"23"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=24] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"24"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[age=25] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"25"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[age=25] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"25"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/71.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/71.mcfunction index 5ab30fbe3a..a22e656fa9 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/71.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/71.mcfunction @@ -2,4 +2,4 @@ execute if block ~ ~ ~ #bs.block:has_state[hanging=false] run data modify storage bs:out block.iterable_properties[{name:"hanging"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[hanging=true] run data modify storage bs:out block.iterable_properties[{name:"hanging"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/72.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/72.mcfunction index 4043f6afce..0d432f9079 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/72.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/72.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[half=lower] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"lower"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[half=upper] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"upper"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[half=upper] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"upper"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/73.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/73.mcfunction index 613038b1ff..4c4c71b855 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/73.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/73.mcfunction @@ -14,4 +14,4 @@ execute if block ~ ~ ~ #bs.block:has_state[level=11] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[level=12] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"12"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[level=13] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[level=14] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"14"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[level=15] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"15"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[level=15] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"15"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/74.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/74.mcfunction index 58daee7ef8..8c57156449 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/74.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/74.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[has_book=false] run data modify storage bs:out block.iterable_properties[{name:"has_book"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[has_book=true] run data modify storage bs:out block.iterable_properties[{name:"has_book"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/75.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/75.mcfunction index c391195107..af0fb2e8cb 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/75.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/75.mcfunction @@ -16,4 +16,4 @@ execute if block ~ ~ ~ #bs.block:has_state[level=12] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[level=13] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"13"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[level=14] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"14"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/76.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/76.mcfunction index 659de4f203..fc233cd058 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/76.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/76.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/77.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/77.mcfunction index 5a6f9b1dbe..d09645305d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/77.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/77.mcfunction @@ -9,4 +9,4 @@ execute if block ~ ~ ~ #bs.block:has_state[hanging=true] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[stage=0] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"0"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[stage=1] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"1"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/78.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/78.mcfunction index aedae26c81..2ebc27ada7 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/78.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/78.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=up] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"up"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[type=normal] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"normal"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[type=sticky] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"sticky"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[type=sticky] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"sticky"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/79.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/79.mcfunction index e52245a6d4..8755c9fca7 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/79.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/79.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[axis=x] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"x"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[axis=z] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"z"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[axis=z] run data modify storage bs:out block.iterable_properties[{name:"axis"}].options[{value:"z"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/8.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/8.mcfunction index 137d542909..a9ce9ed8ac 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/8.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/8.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/80.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/80.mcfunction index 635aa37853..3d790a0000 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/80.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/80.mcfunction @@ -48,4 +48,4 @@ execute if block ~ ~ ~ #bs.block:has_state[note=22] run data modify storage bs:o execute if block ~ ~ ~ #bs.block:has_state[note=23] run data modify storage bs:out block.iterable_properties[{name:"note"}].options[{value:"23"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[note=24] run data modify storage bs:out block.iterable_properties[{name:"note"}].options[{value:"24"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/81.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/81.mcfunction index bd448ffbd9..9cd3a1017e 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/81.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/81.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=north] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"north"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/82.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/82.mcfunction index b780db6d90..0fc8b7e69a 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/82.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/82.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[flower_amount=1] run data modify storage bs:out block.iterable_properties[{name:"flower_amount"}].options[{value:"1"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[flower_amount=2] run data modify storage bs:out block.iterable_properties[{name:"flower_amount"}].options[{value:"2"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[flower_amount=3] run data modify storage bs:out block.iterable_properties[{name:"flower_amount"}].options[{value:"3"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[flower_amount=4] run data modify storage bs:out block.iterable_properties[{name:"flower_amount"}].options[{value:"4"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[flower_amount=4] run data modify storage bs:out block.iterable_properties[{name:"flower_amount"}].options[{value:"4"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/83.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/83.mcfunction index 7cd2c054ec..647ec6680a 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/83.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/83.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"south"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=up] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"up"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"down"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/84.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/84.mcfunction index 0933e71554..c572729e4d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/84.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/84.mcfunction @@ -8,4 +8,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=down] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[short=false] run data modify storage bs:out block.iterable_properties[{name:"short"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[short=true] run data modify storage bs:out block.iterable_properties[{name:"short"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[type=normal] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"normal"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[type=sticky] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"sticky"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[type=sticky] run data modify storage bs:out block.iterable_properties[{name:"type"}].options[{value:"sticky"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/85.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/85.mcfunction index eb5486ae5b..ddc49fab03 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/85.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/85.mcfunction @@ -5,4 +5,4 @@ execute if block ~ ~ ~ #bs.block:has_state[age=2] run data modify storage bs:out execute if block ~ ~ ~ #bs.block:has_state[age=3] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"3"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[age=4] run data modify storage bs:out block.iterable_properties[{name:"age"}].options[{value:"4"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[half=lower] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"lower"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[half=upper] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"upper"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[half=upper] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"upper"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/86.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/86.mcfunction index ac10176874..7c54cd09b7 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/86.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/86.mcfunction @@ -7,4 +7,4 @@ execute if block ~ ~ ~ #bs.block:has_state[thickness=tip_merge] run data modify execute if block ~ ~ ~ #bs.block:has_state[vertical_direction=up] run data modify storage bs:out block.iterable_properties[{name:"vertical_direction"}].options[{value:"up"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[vertical_direction=down] run data modify storage bs:out block.iterable_properties[{name:"vertical_direction"}].options[{value:"down"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/87.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/87.mcfunction index 39d17755c1..ec928a145d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/87.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/87.mcfunction @@ -1,4 +1,4 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[level=1] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"1"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[level=2] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"2"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[level=3] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"3"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[level=3] run data modify storage bs:out block.iterable_properties[{name:"level"}].options[{value:"3"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/88.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/88.mcfunction index 303cafaa8e..6c116f477c 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/88.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/88.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[shape=south_west] run data modify sto execute if block ~ ~ ~ #bs.block:has_state[shape=north_west] run data modify storage bs:out block.iterable_properties[{name:"shape"}].options[{value:"north_west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[shape=north_east] run data modify storage bs:out block.iterable_properties[{name:"shape"}].options[{value:"north_east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/89.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/89.mcfunction index 1cd635cdac..7ed5a9a342 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/89.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/89.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/9.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/9.mcfunction index 16accb797d..bf4f39c17f 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/9.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/9.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[stage=0] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"0"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[stage=1] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"1"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[stage=1] run data modify storage bs:out block.iterable_properties[{name:"stage"}].options[{value:"1"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/90.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/90.mcfunction index 3c482adbdc..a116364c70 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/90.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/90.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=south] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[facing=west] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"west"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage bs:out block.iterable_properties[{name:"facing"}].options[{value:"east"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[lit=true] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[lit=false] run data modify storage bs:out block.iterable_properties[{name:"lit"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/91.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/91.mcfunction index e32215a753..c99a5777fb 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/91.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/91.mcfunction @@ -26,4 +26,4 @@ execute if block ~ ~ ~ #bs.block:has_state[south=up] run data modify storage bs: execute if block ~ ~ ~ #bs.block:has_state[south=side] run data modify storage bs:out block.iterable_properties[{name:"south"}].options[{value:"side"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=none] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"none"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[west=up] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"up"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[west=side] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"side"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[west=side] run data modify storage bs:out block.iterable_properties[{name:"west"}].options[{value:"side"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/92.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/92.mcfunction index c1754262de..6ac2aecad8 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/92.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/92.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[locked=false] run data modify storage bs:out block.iterable_properties[{name:"locked"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[locked=true] run data modify storage bs:out block.iterable_properties[{name:"locked"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[powered=false] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[powered=true] run data modify storage bs:out block.iterable_properties[{name:"powered"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/93.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/93.mcfunction index 763eb88ddd..ba27e1e9f8 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/93.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/93.mcfunction @@ -3,4 +3,4 @@ execute if block ~ ~ ~ #bs.block:has_state[charges=0] run data modify storage bs execute if block ~ ~ ~ #bs.block:has_state[charges=1] run data modify storage bs:out block.iterable_properties[{name:"charges"}].options[{value:"1"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[charges=2] run data modify storage bs:out block.iterable_properties[{name:"charges"}].options[{value:"2"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[charges=3] run data modify storage bs:out block.iterable_properties[{name:"charges"}].options[{value:"3"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[charges=4] run data modify storage bs:out block.iterable_properties[{name:"charges"}].options[{value:"4"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[charges=4] run data modify storage bs:out block.iterable_properties[{name:"charges"}].options[{value:"4"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/94.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/94.mcfunction index b18387d157..6c0535c158 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/94.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/94.mcfunction @@ -10,4 +10,4 @@ execute if block ~ ~ ~ #bs.block:has_state[distance=4] run data modify storage b execute if block ~ ~ ~ #bs.block:has_state[distance=5] run data modify storage bs:out block.iterable_properties[{name:"distance"}].options[{value:"5"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[distance=6] run data modify storage bs:out block.iterable_properties[{name:"distance"}].options[{value:"6"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/95.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/95.mcfunction index 5018d9c28a..e418c86736 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/95.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/95.mcfunction @@ -1,3 +1,3 @@ # This file was automatically generated, do not edit it execute if block ~ ~ ~ #bs.block:has_state[bloom=false] run data modify storage bs:out block.iterable_properties[{name:"bloom"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[bloom=true] run data modify storage bs:out block.iterable_properties[{name:"bloom"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[bloom=true] run data modify storage bs:out block.iterable_properties[{name:"bloom"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/96.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/96.mcfunction index f8fdbb50f2..7834dbe43d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/96.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/96.mcfunction @@ -19,4 +19,4 @@ execute if block ~ ~ ~ #bs.block:has_state[sculk_sensor_phase=inactive] run data execute if block ~ ~ ~ #bs.block:has_state[sculk_sensor_phase=active] run data modify storage bs:out block.iterable_properties[{name:"sculk_sensor_phase"}].options[{value:"active"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[sculk_sensor_phase=cooldown] run data modify storage bs:out block.iterable_properties[{name:"sculk_sensor_phase"}].options[{value:"cooldown"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/97.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/97.mcfunction index 888d969699..17e32ba1d4 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/97.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/97.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[can_summon=true] run data modify stor execute if block ~ ~ ~ #bs.block:has_state[shrieking=false] run data modify storage bs:out block.iterable_properties[{name:"shrieking"}].options[{value:"false"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[shrieking=true] run data modify storage bs:out block.iterable_properties[{name:"shrieking"}].options[{value:"true"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/98.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/98.mcfunction index aa2738181e..9efbb1c56d 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/98.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/98.mcfunction @@ -4,4 +4,4 @@ execute if block ~ ~ ~ #bs.block:has_state[pickles=2] run data modify storage bs execute if block ~ ~ ~ #bs.block:has_state[pickles=3] run data modify storage bs:out block.iterable_properties[{name:"pickles"}].options[{value:"3"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[pickles=4] run data modify storage bs:out block.iterable_properties[{name:"pickles"}].options[{value:"4"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/get/registry/99.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/get/registry/99.mcfunction index 34d27963fe..cb7a3bbaf4 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/get/registry/99.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/get/registry/99.mcfunction @@ -6,4 +6,4 @@ execute if block ~ ~ ~ #bs.block:has_state[facing=east] run data modify storage execute if block ~ ~ ~ #bs.block:has_state[half=lower] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"lower"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[half=upper] run data modify storage bs:out block.iterable_properties[{name:"half"}].options[{value:"upper"}].selected set value 1b execute if block ~ ~ ~ #bs.block:has_state[waterlogged=false] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"false"}].selected set value 1b -execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b \ No newline at end of file +execute if block ~ ~ ~ #bs.block:has_state[waterlogged=true] run data modify storage bs:out block.iterable_properties[{name:"waterlogged"}].options[{value:"true"}].selected set value 1b diff --git a/datapacks/Bookshelf/data/bs.block/functions/load/states_table.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/load/states_table.mcfunction index 42659f69de..82317091d0 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/load/states_table.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/load/states_table.mcfunction @@ -108,4 +108,4 @@ data modify storage bs:const block[{group:106}].iterable_properties set value [{ data modify storage bs:const block[{group:107}].iterable_properties set value [{name:"attached",options:[{index:0,value:"false",state:"attached=false,",property:{attached:"false"}},{index:1,value:"true",state:"attached=true,",property:{attached:"true"}}]},{name:"disarmed",options:[{index:0,value:"false",state:"disarmed=false,",property:{disarmed:"false"}},{index:1,value:"true",state:"disarmed=true,",property:{disarmed:"true"}}]},{name:"east",options:[{index:0,value:"false",state:"east=false,",property:{east:"false"}},{index:1,value:"true",state:"east=true,",property:{east:"true"}}]},{name:"north",options:[{index:0,value:"false",state:"north=false,",property:{north:"false"}},{index:1,value:"true",state:"north=true,",property:{north:"true"}}]},{name:"powered",options:[{index:0,value:"false",state:"powered=false,",property:{powered:"false"}},{index:1,value:"true",state:"powered=true,",property:{powered:"true"}}]},{name:"south",options:[{index:0,value:"false",state:"south=false,",property:{south:"false"}},{index:1,value:"true",state:"south=true,",property:{south:"true"}}]},{name:"west",options:[{index:0,value:"false",state:"west=false,",property:{west:"false"}},{index:1,value:"true",state:"west=true,",property:{west:"true"}}]}] data modify storage bs:const block[{group:108}].iterable_properties set value [{name:"attached",options:[{index:0,value:"false",state:"attached=false,",property:{attached:"false"}},{index:1,value:"true",state:"attached=true,",property:{attached:"true"}}]},{name:"facing",options:[{index:0,value:"north",state:"facing=north,",property:{facing:"north"}},{index:1,value:"south",state:"facing=south,",property:{facing:"south"}},{index:2,value:"west",state:"facing=west,",property:{facing:"west"}},{index:3,value:"east",state:"facing=east,",property:{facing:"east"}}]},{name:"powered",options:[{index:0,value:"false",state:"powered=false,",property:{powered:"false"}},{index:1,value:"true",state:"powered=true,",property:{powered:"true"}}]}] data modify storage bs:const block[{group:109}].iterable_properties set value [{name:"eggs",options:[{index:0,value:"1",state:"eggs=1,",property:{eggs:"1"}},{index:1,value:"2",state:"eggs=2,",property:{eggs:"2"}},{index:2,value:"3",state:"eggs=3,",property:{eggs:"3"}},{index:3,value:"4",state:"eggs=4,",property:{eggs:"4"}}]},{name:"hatch",options:[{index:0,value:"0",state:"hatch=0,",property:{hatch:"0"}},{index:1,value:"1",state:"hatch=1,",property:{hatch:"1"}},{index:2,value:"2",state:"hatch=2,",property:{hatch:"2"}}]}] -data modify storage bs:const block[{group:110}].iterable_properties set value [{name:"east",options:[{index:0,value:"false",state:"east=false,",property:{east:"false"}},{index:1,value:"true",state:"east=true,",property:{east:"true"}}]},{name:"north",options:[{index:0,value:"false",state:"north=false,",property:{north:"false"}},{index:1,value:"true",state:"north=true,",property:{north:"true"}}]},{name:"south",options:[{index:0,value:"false",state:"south=false,",property:{south:"false"}},{index:1,value:"true",state:"south=true,",property:{south:"true"}}]},{name:"up",options:[{index:0,value:"false",state:"up=false,",property:{up:"false"}},{index:1,value:"true",state:"up=true,",property:{up:"true"}}]},{name:"west",options:[{index:0,value:"false",state:"west=false,",property:{west:"false"}},{index:1,value:"true",state:"west=true,",property:{west:"true"}}]}] \ No newline at end of file +data modify storage bs:const block[{group:110}].iterable_properties set value [{name:"east",options:[{index:0,value:"false",state:"east=false,",property:{east:"false"}},{index:1,value:"true",state:"east=true,",property:{east:"true"}}]},{name:"north",options:[{index:0,value:"false",state:"north=false,",property:{north:"false"}},{index:1,value:"true",state:"north=true,",property:{north:"true"}}]},{name:"south",options:[{index:0,value:"false",state:"south=false,",property:{south:"false"}},{index:1,value:"true",state:"south=true,",property:{south:"true"}}]},{name:"up",options:[{index:0,value:"false",state:"up=false,",property:{up:"false"}},{index:1,value:"true",state:"up=true,",property:{up:"true"}}]},{name:"west",options:[{index:0,value:"false",state:"west=false,",property:{west:"false"}},{index:1,value:"true",state:"west=true,",property:{west:"true"}}]}] diff --git a/datapacks/Bookshelf/data/bs.block/functions/load/types_table.mcfunction b/datapacks/Bookshelf/data/bs.block/functions/load/types_table.mcfunction index e6df153477..c32ce4f621 100644 --- a/datapacks/Bookshelf/data/bs.block/functions/load/types_table.mcfunction +++ b/datapacks/Bookshelf/data/bs.block/functions/load/types_table.mcfunction @@ -1,2 +1,2 @@ # This file was automatically generated, do not edit it -data modify storage bs:const block set value [{id:1,group:1,type:"minecraft:acacia_button",item:"minecraft:acacia_button"},{id:2,group:2,type:"minecraft:acacia_door",item:"minecraft:acacia_door"},{id:3,group:3,type:"minecraft:acacia_fence",item:"minecraft:acacia_fence"},{id:4,group:4,type:"minecraft:acacia_fence_gate",item:"minecraft:acacia_fence_gate"},{id:5,group:5,type:"minecraft:acacia_hanging_sign",item:"minecraft:acacia_hanging_sign"},{id:6,group:6,type:"minecraft:acacia_leaves",item:"minecraft:acacia_leaves"},{id:7,group:7,type:"minecraft:acacia_log",item:"minecraft:acacia_log"},{id:8,group:0,type:"minecraft:acacia_planks",item:"minecraft:acacia_planks"},{id:9,group:8,type:"minecraft:acacia_pressure_plate",item:"minecraft:acacia_pressure_plate"},{id:10,group:9,type:"minecraft:acacia_sapling",item:"minecraft:acacia_sapling"},{id:11,group:10,type:"minecraft:acacia_sign",item:"minecraft:acacia_sign"},{id:12,group:11,type:"minecraft:acacia_slab",item:"minecraft:acacia_slab"},{id:13,group:12,type:"minecraft:acacia_stairs",item:"minecraft:acacia_stairs"},{id:14,group:13,type:"minecraft:acacia_trapdoor",item:"minecraft:acacia_trapdoor"},{id:15,group:14,type:"minecraft:acacia_wall_hanging_sign",item:"minecraft:acacia_hanging_sign"},{id:16,group:14,type:"minecraft:acacia_wall_sign",item:"minecraft:acacia_sign"},{id:17,group:7,type:"minecraft:acacia_wood",item:"minecraft:acacia_wood"},{id:18,group:15,type:"minecraft:activator_rail",item:"minecraft:activator_rail"},{id:19,group:0,type:"minecraft:air",item:"minecraft:air"},{id:20,group:0,type:"minecraft:allium",item:"minecraft:allium"},{id:21,group:0,type:"minecraft:amethyst_block",item:"minecraft:amethyst_block"},{id:22,group:16,type:"minecraft:amethyst_cluster",item:"minecraft:amethyst_cluster"},{id:23,group:0,type:"minecraft:ancient_debris",item:"minecraft:ancient_debris"},{id:24,group:0,type:"minecraft:andesite",item:"minecraft:andesite"},{id:25,group:11,type:"minecraft:andesite_slab",item:"minecraft:andesite_slab"},{id:26,group:12,type:"minecraft:andesite_stairs",item:"minecraft:andesite_stairs"},{id:27,group:17,type:"minecraft:andesite_wall",item:"minecraft:andesite_wall"},{id:28,group:18,type:"minecraft:anvil",item:"minecraft:anvil"},{id:29,group:18,type:"minecraft:attached_melon_stem",item:"minecraft:melon_seeds"},{id:30,group:18,type:"minecraft:attached_pumpkin_stem",item:"minecraft:melon_seeds"},{id:31,group:0,type:"minecraft:azalea",item:"minecraft:azalea"},{id:32,group:6,type:"minecraft:azalea_leaves",item:"minecraft:azalea_leaves"},{id:33,group:0,type:"minecraft:azure_bluet",item:"minecraft:azure_bluet"},{id:34,group:19,type:"minecraft:bamboo",item:"minecraft:bamboo"},{id:35,group:7,type:"minecraft:bamboo_block",item:"minecraft:bamboo_block"},{id:36,group:1,type:"minecraft:bamboo_button",item:"minecraft:bamboo_button"},{id:37,group:2,type:"minecraft:bamboo_door",item:"minecraft:bamboo_door"},{id:38,group:3,type:"minecraft:bamboo_fence",item:"minecraft:bamboo_fence"},{id:39,group:4,type:"minecraft:bamboo_fence_gate",item:"minecraft:bamboo_fence_gate"},{id:40,group:5,type:"minecraft:bamboo_hanging_sign",item:"minecraft:bamboo_hanging_sign"},{id:41,group:0,type:"minecraft:bamboo_mosaic",item:"minecraft:bamboo_mosaic"},{id:42,group:11,type:"minecraft:bamboo_mosaic_slab",item:"minecraft:bamboo_mosaic_slab"},{id:43,group:12,type:"minecraft:bamboo_mosaic_stairs",item:"minecraft:bamboo_mosaic_stairs"},{id:44,group:0,type:"minecraft:bamboo_planks",item:"minecraft:bamboo_planks"},{id:45,group:8,type:"minecraft:bamboo_pressure_plate",item:"minecraft:bamboo_pressure_plate"},{id:46,group:0,type:"minecraft:bamboo_sapling",item:"minecraft:bamboo_sapling"},{id:47,group:10,type:"minecraft:bamboo_sign",item:"minecraft:bamboo_sign"},{id:48,group:11,type:"minecraft:bamboo_slab",item:"minecraft:bamboo_slab"},{id:49,group:12,type:"minecraft:bamboo_stairs",item:"minecraft:bamboo_stairs"},{id:50,group:13,type:"minecraft:bamboo_trapdoor",item:"minecraft:bamboo_trapdoor"},{id:51,group:14,type:"minecraft:bamboo_wall_hanging_sign",item:"minecraft:bamboo_hanging_sign"},{id:52,group:14,type:"minecraft:bamboo_wall_sign",item:"minecraft:bamboo_sign"},{id:53,group:20,type:"minecraft:barrel",item:"minecraft:barrel"},{id:54,group:21,type:"minecraft:barrier",item:"minecraft:barrier"},{id:55,group:7,type:"minecraft:basalt",item:"minecraft:basalt"},{id:56,group:0,type:"minecraft:beacon",item:"minecraft:beacon"},{id:57,group:0,type:"minecraft:bedrock",item:"minecraft:bedrock"},{id:58,group:22,type:"minecraft:bee_nest",item:"minecraft:bee_nest"},{id:59,group:22,type:"minecraft:beehive",item:"minecraft:beehive"},{id:60,group:23,type:"minecraft:beetroots",item:"minecraft:beetroot_seeds"},{id:61,group:24,type:"minecraft:bell",item:"minecraft:bell"},{id:62,group:25,type:"minecraft:big_dripleaf",item:"minecraft:big_dripleaf"},{id:63,group:14,type:"minecraft:big_dripleaf_stem",item:"minecraft:big_dripleaf"},{id:64,group:1,type:"minecraft:birch_button",item:"minecraft:birch_button"},{id:65,group:2,type:"minecraft:birch_door",item:"minecraft:birch_door"},{id:66,group:3,type:"minecraft:birch_fence",item:"minecraft:birch_fence"},{id:67,group:4,type:"minecraft:birch_fence_gate",item:"minecraft:birch_fence_gate"},{id:68,group:5,type:"minecraft:birch_hanging_sign",item:"minecraft:birch_hanging_sign"},{id:69,group:6,type:"minecraft:birch_leaves",item:"minecraft:birch_leaves"},{id:70,group:7,type:"minecraft:birch_log",item:"minecraft:birch_log"},{id:71,group:0,type:"minecraft:birch_planks",item:"minecraft:birch_planks"},{id:72,group:8,type:"minecraft:birch_pressure_plate",item:"minecraft:birch_pressure_plate"},{id:73,group:9,type:"minecraft:birch_sapling",item:"minecraft:birch_sapling"},{id:74,group:10,type:"minecraft:birch_sign",item:"minecraft:birch_sign"},{id:75,group:11,type:"minecraft:birch_slab",item:"minecraft:birch_slab"},{id:76,group:12,type:"minecraft:birch_stairs",item:"minecraft:birch_stairs"},{id:77,group:13,type:"minecraft:birch_trapdoor",item:"minecraft:birch_trapdoor"},{id:78,group:14,type:"minecraft:birch_wall_hanging_sign",item:"minecraft:birch_hanging_sign"},{id:79,group:14,type:"minecraft:birch_wall_sign",item:"minecraft:birch_sign"},{id:80,group:7,type:"minecraft:birch_wood",item:"minecraft:birch_wood"},{id:81,group:26,type:"minecraft:black_banner",item:"minecraft:black_banner"},{id:82,group:27,type:"minecraft:black_bed",item:"minecraft:black_bed"},{id:83,group:28,type:"minecraft:black_candle",item:"minecraft:black_candle"},{id:84,group:29,type:"minecraft:black_candle_cake",item:"minecraft:black_candle_cake"},{id:85,group:0,type:"minecraft:black_carpet",item:"minecraft:black_carpet"},{id:86,group:0,type:"minecraft:black_concrete",item:"minecraft:black_concrete"},{id:87,group:0,type:"minecraft:black_concrete_powder",item:"minecraft:black_concrete_powder"},{id:88,group:18,type:"minecraft:black_glazed_terracotta",item:"minecraft:black_glazed_terracotta"},{id:89,group:30,type:"minecraft:black_shulker_box",item:"minecraft:black_shulker_box"},{id:90,group:0,type:"minecraft:black_stained_glass",item:"minecraft:black_stained_glass"},{id:91,group:3,type:"minecraft:black_stained_glass_pane",item:"minecraft:black_stained_glass_pane"},{id:92,group:0,type:"minecraft:black_terracotta",item:"minecraft:black_terracotta"},{id:93,group:18,type:"minecraft:black_wall_banner",item:"minecraft:black_banner"},{id:94,group:0,type:"minecraft:black_wool",item:"minecraft:black_wool"},{id:95,group:0,type:"minecraft:blackstone",item:"minecraft:blackstone"},{id:96,group:11,type:"minecraft:blackstone_slab",item:"minecraft:blackstone_slab"},{id:97,group:12,type:"minecraft:blackstone_stairs",item:"minecraft:blackstone_stairs"},{id:98,group:17,type:"minecraft:blackstone_wall",item:"minecraft:blackstone_wall"},{id:99,group:31,type:"minecraft:blast_furnace",item:"minecraft:blast_furnace"},{id:100,group:26,type:"minecraft:blue_banner",item:"minecraft:blue_banner"},{id:101,group:27,type:"minecraft:blue_bed",item:"minecraft:blue_bed"},{id:102,group:28,type:"minecraft:blue_candle",item:"minecraft:blue_candle"},{id:103,group:29,type:"minecraft:blue_candle_cake",item:"minecraft:blue_candle_cake"},{id:104,group:0,type:"minecraft:blue_carpet",item:"minecraft:blue_carpet"},{id:105,group:0,type:"minecraft:blue_concrete",item:"minecraft:blue_concrete"},{id:106,group:0,type:"minecraft:blue_concrete_powder",item:"minecraft:blue_concrete_powder"},{id:107,group:18,type:"minecraft:blue_glazed_terracotta",item:"minecraft:blue_glazed_terracotta"},{id:108,group:0,type:"minecraft:blue_ice",item:"minecraft:blue_ice"},{id:109,group:0,type:"minecraft:blue_orchid",item:"minecraft:blue_orchid"},{id:110,group:30,type:"minecraft:blue_shulker_box",item:"minecraft:blue_shulker_box"},{id:111,group:0,type:"minecraft:blue_stained_glass",item:"minecraft:blue_stained_glass"},{id:112,group:3,type:"minecraft:blue_stained_glass_pane",item:"minecraft:blue_stained_glass_pane"},{id:113,group:0,type:"minecraft:blue_terracotta",item:"minecraft:blue_terracotta"},{id:114,group:18,type:"minecraft:blue_wall_banner",item:"minecraft:blue_banner"},{id:115,group:0,type:"minecraft:blue_wool",item:"minecraft:blue_wool"},{id:116,group:7,type:"minecraft:bone_block",item:"minecraft:bone_block"},{id:117,group:0,type:"minecraft:bookshelf",item:"minecraft:bookshelf"},{id:118,group:32,type:"minecraft:brain_coral",item:"minecraft:brain_coral"},{id:119,group:0,type:"minecraft:brain_coral_block",item:"minecraft:brain_coral_block"},{id:120,group:32,type:"minecraft:brain_coral_fan",item:"minecraft:brain_coral_fan"},{id:121,group:33,type:"minecraft:brain_coral_wall_fan",item:"minecraft:brain_coral_fan"},{id:122,group:34,type:"minecraft:brewing_stand",item:"minecraft:brewing_stand"},{id:123,group:11,type:"minecraft:brick_slab",item:"minecraft:brick_slab"},{id:124,group:12,type:"minecraft:brick_stairs",item:"minecraft:brick_stairs"},{id:125,group:17,type:"minecraft:brick_wall",item:"minecraft:brick_wall"},{id:126,group:0,type:"minecraft:bricks",item:"minecraft:bricks"},{id:127,group:26,type:"minecraft:brown_banner",item:"minecraft:brown_banner"},{id:128,group:27,type:"minecraft:brown_bed",item:"minecraft:brown_bed"},{id:129,group:28,type:"minecraft:brown_candle",item:"minecraft:brown_candle"},{id:130,group:29,type:"minecraft:brown_candle_cake",item:"minecraft:brown_candle_cake"},{id:131,group:0,type:"minecraft:brown_carpet",item:"minecraft:brown_carpet"},{id:132,group:0,type:"minecraft:brown_concrete",item:"minecraft:brown_concrete"},{id:133,group:0,type:"minecraft:brown_concrete_powder",item:"minecraft:brown_concrete_powder"},{id:134,group:18,type:"minecraft:brown_glazed_terracotta",item:"minecraft:brown_glazed_terracotta"},{id:135,group:0,type:"minecraft:brown_mushroom",item:"minecraft:brown_mushroom"},{id:136,group:35,type:"minecraft:brown_mushroom_block",item:"minecraft:brown_mushroom_block"},{id:137,group:30,type:"minecraft:brown_shulker_box",item:"minecraft:brown_shulker_box"},{id:138,group:0,type:"minecraft:brown_stained_glass",item:"minecraft:brown_stained_glass"},{id:139,group:3,type:"minecraft:brown_stained_glass_pane",item:"minecraft:brown_stained_glass_pane"},{id:140,group:0,type:"minecraft:brown_terracotta",item:"minecraft:brown_terracotta"},{id:141,group:18,type:"minecraft:brown_wall_banner",item:"minecraft:brown_banner"},{id:142,group:0,type:"minecraft:brown_wool",item:"minecraft:brown_wool"},{id:143,group:36,type:"minecraft:bubble_column",item:"minecraft:bubble_column"},{id:144,group:32,type:"minecraft:bubble_coral",item:"minecraft:bubble_coral"},{id:145,group:0,type:"minecraft:bubble_coral_block",item:"minecraft:bubble_coral_block"},{id:146,group:32,type:"minecraft:bubble_coral_fan",item:"minecraft:bubble_coral_fan"},{id:147,group:33,type:"minecraft:bubble_coral_wall_fan",item:"minecraft:bubble_coral_fan"},{id:148,group:0,type:"minecraft:budding_amethyst",item:"minecraft:budding_amethyst"},{id:149,group:37,type:"minecraft:cactus",item:"minecraft:cactus"},{id:150,group:38,type:"minecraft:cake",item:"minecraft:cake"},{id:151,group:0,type:"minecraft:calcite",item:"minecraft:calcite"},{id:152,group:39,type:"minecraft:calibrated_sculk_sensor",item:"minecraft:calibrated_sculk_sensor"},{id:153,group:40,type:"minecraft:campfire",item:"minecraft:campfire"},{id:154,group:28,type:"minecraft:candle",item:"minecraft:candle"},{id:155,group:29,type:"minecraft:candle_cake",item:"minecraft:candle_cake"},{id:156,group:41,type:"minecraft:carrots",item:"minecraft:carrot"},{id:157,group:0,type:"minecraft:cartography_table",item:"minecraft:cartography_table"},{id:158,group:18,type:"minecraft:carved_pumpkin",item:"minecraft:carved_pumpkin"},{id:159,group:0,type:"minecraft:cauldron",item:"minecraft:cauldron"},{id:160,group:0,type:"minecraft:cave_air",item:"minecraft:cave_air"},{id:161,group:42,type:"minecraft:cave_vines",item:"minecraft:glow_berries"},{id:162,group:43,type:"minecraft:cave_vines_plant",item:"minecraft:glow_berries"},{id:163,group:44,type:"minecraft:chain",item:"minecraft:chain"},{id:164,group:45,type:"minecraft:chain_command_block",item:"minecraft:chain_command_block"},{id:165,group:1,type:"minecraft:cherry_button",item:"minecraft:cherry_button"},{id:166,group:2,type:"minecraft:cherry_door",item:"minecraft:cherry_door"},{id:167,group:3,type:"minecraft:cherry_fence",item:"minecraft:cherry_fence"},{id:168,group:4,type:"minecraft:cherry_fence_gate",item:"minecraft:cherry_fence_gate"},{id:169,group:5,type:"minecraft:cherry_hanging_sign",item:"minecraft:cherry_hanging_sign"},{id:170,group:6,type:"minecraft:cherry_leaves",item:"minecraft:cherry_leaves"},{id:171,group:7,type:"minecraft:cherry_log",item:"minecraft:cherry_log"},{id:172,group:0,type:"minecraft:cherry_planks",item:"minecraft:cherry_planks"},{id:173,group:8,type:"minecraft:cherry_pressure_plate",item:"minecraft:cherry_pressure_plate"},{id:174,group:9,type:"minecraft:cherry_sapling",item:"minecraft:cherry_sapling"},{id:175,group:10,type:"minecraft:cherry_sign",item:"minecraft:cherry_sign"},{id:176,group:11,type:"minecraft:cherry_slab",item:"minecraft:cherry_slab"},{id:177,group:12,type:"minecraft:cherry_stairs",item:"minecraft:cherry_stairs"},{id:178,group:13,type:"minecraft:cherry_trapdoor",item:"minecraft:cherry_trapdoor"},{id:179,group:14,type:"minecraft:cherry_wall_hanging_sign",item:"minecraft:cherry_hanging_sign"},{id:180,group:14,type:"minecraft:cherry_wall_sign",item:"minecraft:cherry_sign"},{id:181,group:7,type:"minecraft:cherry_wood",item:"minecraft:cherry_wood"},{id:182,group:46,type:"minecraft:chest",item:"minecraft:chest"},{id:183,group:18,type:"minecraft:chipped_anvil",item:"minecraft:chipped_anvil"},{id:184,group:47,type:"minecraft:chiseled_bookshelf",item:"minecraft:chiseled_bookshelf"},{id:185,group:0,type:"minecraft:chiseled_copper",item:"minecraft:chiseled_copper"},{id:186,group:0,type:"minecraft:chiseled_deepslate",item:"minecraft:chiseled_deepslate"},{id:187,group:0,type:"minecraft:chiseled_nether_bricks",item:"minecraft:chiseled_nether_bricks"},{id:188,group:0,type:"minecraft:chiseled_polished_blackstone",item:"minecraft:chiseled_polished_blackstone"},{id:189,group:0,type:"minecraft:chiseled_quartz_block",item:"minecraft:chiseled_quartz_block"},{id:190,group:0,type:"minecraft:chiseled_red_sandstone",item:"minecraft:chiseled_red_sandstone"},{id:191,group:0,type:"minecraft:chiseled_sandstone",item:"minecraft:chiseled_sandstone"},{id:192,group:0,type:"minecraft:chiseled_stone_bricks",item:"minecraft:chiseled_stone_bricks"},{id:193,group:0,type:"minecraft:chiseled_tuff",item:"minecraft:chiseled_tuff"},{id:194,group:0,type:"minecraft:chiseled_tuff_bricks",item:"minecraft:chiseled_tuff_bricks"},{id:195,group:48,type:"minecraft:chorus_flower",item:"minecraft:chorus_flower"},{id:196,group:49,type:"minecraft:chorus_plant",item:"minecraft:chorus_plant"},{id:197,group:0,type:"minecraft:clay",item:"minecraft:clay"},{id:198,group:0,type:"minecraft:coal_block",item:"minecraft:coal_block"},{id:199,group:0,type:"minecraft:coal_ore",item:"minecraft:coal_ore"},{id:200,group:0,type:"minecraft:coarse_dirt",item:"minecraft:coarse_dirt"},{id:201,group:0,type:"minecraft:cobbled_deepslate",item:"minecraft:cobbled_deepslate"},{id:202,group:11,type:"minecraft:cobbled_deepslate_slab",item:"minecraft:cobbled_deepslate_slab"},{id:203,group:12,type:"minecraft:cobbled_deepslate_stairs",item:"minecraft:cobbled_deepslate_stairs"},{id:204,group:17,type:"minecraft:cobbled_deepslate_wall",item:"minecraft:cobbled_deepslate_wall"},{id:205,group:0,type:"minecraft:cobblestone",item:"minecraft:cobblestone"},{id:206,group:11,type:"minecraft:cobblestone_slab",item:"minecraft:cobblestone_slab"},{id:207,group:12,type:"minecraft:cobblestone_stairs",item:"minecraft:cobblestone_stairs"},{id:208,group:17,type:"minecraft:cobblestone_wall",item:"minecraft:cobblestone_wall"},{id:209,group:0,type:"minecraft:cobweb",item:"minecraft:cobweb"},{id:210,group:50,type:"minecraft:cocoa",item:"minecraft:cocoa_beans"},{id:211,group:45,type:"minecraft:command_block",item:"minecraft:command_block"},{id:212,group:51,type:"minecraft:comparator",item:"minecraft:comparator"},{id:213,group:52,type:"minecraft:composter",item:"minecraft:composter"},{id:214,group:32,type:"minecraft:conduit",item:"minecraft:conduit"},{id:215,group:0,type:"minecraft:copper_block",item:"minecraft:copper_block"},{id:216,group:53,type:"minecraft:copper_bulb",item:"minecraft:copper_bulb"},{id:217,group:2,type:"minecraft:copper_door",item:"minecraft:copper_door"},{id:218,group:21,type:"minecraft:copper_grate",item:"minecraft:copper_grate"},{id:219,group:0,type:"minecraft:copper_ore",item:"minecraft:copper_ore"},{id:220,group:13,type:"minecraft:copper_trapdoor",item:"minecraft:copper_trapdoor"},{id:221,group:0,type:"minecraft:cornflower",item:"minecraft:cornflower"},{id:222,group:0,type:"minecraft:cracked_deepslate_bricks",item:"minecraft:cracked_deepslate_bricks"},{id:223,group:0,type:"minecraft:cracked_deepslate_tiles",item:"minecraft:cracked_deepslate_tiles"},{id:224,group:0,type:"minecraft:cracked_nether_bricks",item:"minecraft:cracked_nether_bricks"},{id:225,group:0,type:"minecraft:cracked_polished_blackstone_bricks",item:"minecraft:cracked_polished_blackstone_bricks"},{id:226,group:0,type:"minecraft:cracked_stone_bricks",item:"minecraft:cracked_stone_bricks"},{id:227,group:54,type:"minecraft:crafter",item:"minecraft:crafter"},{id:228,group:0,type:"minecraft:crafting_table",item:"minecraft:crafting_table"},{id:229,group:55,type:"minecraft:creeper_head",item:"minecraft:creeper_head"},{id:230,group:56,type:"minecraft:creeper_wall_head",item:"minecraft:creeper_head"},{id:231,group:1,type:"minecraft:crimson_button",item:"minecraft:crimson_button"},{id:232,group:2,type:"minecraft:crimson_door",item:"minecraft:crimson_door"},{id:233,group:3,type:"minecraft:crimson_fence",item:"minecraft:crimson_fence"},{id:234,group:4,type:"minecraft:crimson_fence_gate",item:"minecraft:crimson_fence_gate"},{id:235,group:0,type:"minecraft:crimson_fungus",item:"minecraft:crimson_fungus"},{id:236,group:5,type:"minecraft:crimson_hanging_sign",item:"minecraft:crimson_hanging_sign"},{id:237,group:7,type:"minecraft:crimson_hyphae",item:"minecraft:crimson_hyphae"},{id:238,group:0,type:"minecraft:crimson_nylium",item:"minecraft:crimson_nylium"},{id:239,group:0,type:"minecraft:crimson_planks",item:"minecraft:crimson_planks"},{id:240,group:8,type:"minecraft:crimson_pressure_plate",item:"minecraft:crimson_pressure_plate"},{id:241,group:0,type:"minecraft:crimson_roots",item:"minecraft:crimson_roots"},{id:242,group:10,type:"minecraft:crimson_sign",item:"minecraft:crimson_sign"},{id:243,group:11,type:"minecraft:crimson_slab",item:"minecraft:crimson_slab"},{id:244,group:12,type:"minecraft:crimson_stairs",item:"minecraft:crimson_stairs"},{id:245,group:7,type:"minecraft:crimson_stem",item:"minecraft:crimson_stem"},{id:246,group:13,type:"minecraft:crimson_trapdoor",item:"minecraft:crimson_trapdoor"},{id:247,group:14,type:"minecraft:crimson_wall_hanging_sign",item:"minecraft:crimson_hanging_sign"},{id:248,group:14,type:"minecraft:crimson_wall_sign",item:"minecraft:crimson_sign"},{id:249,group:0,type:"minecraft:crying_obsidian",item:"minecraft:crying_obsidian"},{id:250,group:0,type:"minecraft:cut_copper",item:"minecraft:cut_copper"},{id:251,group:11,type:"minecraft:cut_copper_slab",item:"minecraft:cut_copper_slab"},{id:252,group:12,type:"minecraft:cut_copper_stairs",item:"minecraft:cut_copper_stairs"},{id:253,group:0,type:"minecraft:cut_red_sandstone",item:"minecraft:cut_red_sandstone"},{id:254,group:11,type:"minecraft:cut_red_sandstone_slab",item:"minecraft:cut_red_sandstone_slab"},{id:255,group:0,type:"minecraft:cut_sandstone",item:"minecraft:cut_sandstone"},{id:256,group:11,type:"minecraft:cut_sandstone_slab",item:"minecraft:cut_sandstone_slab"},{id:257,group:26,type:"minecraft:cyan_banner",item:"minecraft:cyan_banner"},{id:258,group:27,type:"minecraft:cyan_bed",item:"minecraft:cyan_bed"},{id:259,group:28,type:"minecraft:cyan_candle",item:"minecraft:cyan_candle"},{id:260,group:29,type:"minecraft:cyan_candle_cake",item:"minecraft:cyan_candle_cake"},{id:261,group:0,type:"minecraft:cyan_carpet",item:"minecraft:cyan_carpet"},{id:262,group:0,type:"minecraft:cyan_concrete",item:"minecraft:cyan_concrete"},{id:263,group:0,type:"minecraft:cyan_concrete_powder",item:"minecraft:cyan_concrete_powder"},{id:264,group:18,type:"minecraft:cyan_glazed_terracotta",item:"minecraft:cyan_glazed_terracotta"},{id:265,group:30,type:"minecraft:cyan_shulker_box",item:"minecraft:cyan_shulker_box"},{id:266,group:0,type:"minecraft:cyan_stained_glass",item:"minecraft:cyan_stained_glass"},{id:267,group:3,type:"minecraft:cyan_stained_glass_pane",item:"minecraft:cyan_stained_glass_pane"},{id:268,group:0,type:"minecraft:cyan_terracotta",item:"minecraft:cyan_terracotta"},{id:269,group:18,type:"minecraft:cyan_wall_banner",item:"minecraft:cyan_banner"},{id:270,group:0,type:"minecraft:cyan_wool",item:"minecraft:cyan_wool"},{id:271,group:18,type:"minecraft:damaged_anvil",item:"minecraft:damaged_anvil"},{id:272,group:0,type:"minecraft:dandelion",item:"minecraft:dandelion"},{id:273,group:1,type:"minecraft:dark_oak_button",item:"minecraft:dark_oak_button"},{id:274,group:2,type:"minecraft:dark_oak_door",item:"minecraft:dark_oak_door"},{id:275,group:3,type:"minecraft:dark_oak_fence",item:"minecraft:dark_oak_fence"},{id:276,group:4,type:"minecraft:dark_oak_fence_gate",item:"minecraft:dark_oak_fence_gate"},{id:277,group:5,type:"minecraft:dark_oak_hanging_sign",item:"minecraft:dark_oak_hanging_sign"},{id:278,group:6,type:"minecraft:dark_oak_leaves",item:"minecraft:dark_oak_leaves"},{id:279,group:7,type:"minecraft:dark_oak_log",item:"minecraft:dark_oak_log"},{id:280,group:0,type:"minecraft:dark_oak_planks",item:"minecraft:dark_oak_planks"},{id:281,group:8,type:"minecraft:dark_oak_pressure_plate",item:"minecraft:dark_oak_pressure_plate"},{id:282,group:9,type:"minecraft:dark_oak_sapling",item:"minecraft:dark_oak_sapling"},{id:283,group:10,type:"minecraft:dark_oak_sign",item:"minecraft:dark_oak_sign"},{id:284,group:11,type:"minecraft:dark_oak_slab",item:"minecraft:dark_oak_slab"},{id:285,group:12,type:"minecraft:dark_oak_stairs",item:"minecraft:dark_oak_stairs"},{id:286,group:13,type:"minecraft:dark_oak_trapdoor",item:"minecraft:dark_oak_trapdoor"},{id:287,group:14,type:"minecraft:dark_oak_wall_hanging_sign",item:"minecraft:dark_oak_hanging_sign"},{id:288,group:14,type:"minecraft:dark_oak_wall_sign",item:"minecraft:dark_oak_sign"},{id:289,group:7,type:"minecraft:dark_oak_wood",item:"minecraft:dark_oak_wood"},{id:290,group:0,type:"minecraft:dark_prismarine",item:"minecraft:dark_prismarine"},{id:291,group:11,type:"minecraft:dark_prismarine_slab",item:"minecraft:dark_prismarine_slab"},{id:292,group:12,type:"minecraft:dark_prismarine_stairs",item:"minecraft:dark_prismarine_stairs"},{id:293,group:57,type:"minecraft:daylight_detector",item:"minecraft:daylight_detector"},{id:294,group:32,type:"minecraft:dead_brain_coral",item:"minecraft:dead_brain_coral"},{id:295,group:0,type:"minecraft:dead_brain_coral_block",item:"minecraft:dead_brain_coral_block"},{id:296,group:32,type:"minecraft:dead_brain_coral_fan",item:"minecraft:dead_brain_coral_fan"},{id:297,group:33,type:"minecraft:dead_brain_coral_wall_fan",item:"minecraft:dead_brain_coral_fan"},{id:298,group:32,type:"minecraft:dead_bubble_coral",item:"minecraft:dead_bubble_coral"},{id:299,group:0,type:"minecraft:dead_bubble_coral_block",item:"minecraft:dead_bubble_coral_block"},{id:300,group:32,type:"minecraft:dead_bubble_coral_fan",item:"minecraft:dead_bubble_coral_fan"},{id:301,group:33,type:"minecraft:dead_bubble_coral_wall_fan",item:"minecraft:dead_bubble_coral_fan"},{id:302,group:0,type:"minecraft:dead_bush",item:"minecraft:dead_bush"},{id:303,group:32,type:"minecraft:dead_fire_coral",item:"minecraft:dead_fire_coral"},{id:304,group:0,type:"minecraft:dead_fire_coral_block",item:"minecraft:dead_fire_coral_block"},{id:305,group:32,type:"minecraft:dead_fire_coral_fan",item:"minecraft:dead_fire_coral_fan"},{id:306,group:33,type:"minecraft:dead_fire_coral_wall_fan",item:"minecraft:dead_fire_coral_fan"},{id:307,group:32,type:"minecraft:dead_horn_coral",item:"minecraft:dead_horn_coral"},{id:308,group:0,type:"minecraft:dead_horn_coral_block",item:"minecraft:dead_horn_coral_block"},{id:309,group:32,type:"minecraft:dead_horn_coral_fan",item:"minecraft:dead_horn_coral_fan"},{id:310,group:33,type:"minecraft:dead_horn_coral_wall_fan",item:"minecraft:dead_horn_coral_fan"},{id:311,group:32,type:"minecraft:dead_tube_coral",item:"minecraft:dead_tube_coral"},{id:312,group:0,type:"minecraft:dead_tube_coral_block",item:"minecraft:dead_tube_coral_block"},{id:313,group:32,type:"minecraft:dead_tube_coral_fan",item:"minecraft:dead_tube_coral_fan"},{id:314,group:33,type:"minecraft:dead_tube_coral_wall_fan",item:"minecraft:dead_tube_coral_fan"},{id:315,group:58,type:"minecraft:decorated_pot",item:"minecraft:decorated_pot"},{id:316,group:7,type:"minecraft:deepslate",item:"minecraft:deepslate"},{id:317,group:11,type:"minecraft:deepslate_brick_slab",item:"minecraft:deepslate_brick_slab"},{id:318,group:12,type:"minecraft:deepslate_brick_stairs",item:"minecraft:deepslate_brick_stairs"},{id:319,group:17,type:"minecraft:deepslate_brick_wall",item:"minecraft:deepslate_brick_wall"},{id:320,group:0,type:"minecraft:deepslate_bricks",item:"minecraft:deepslate_bricks"},{id:321,group:0,type:"minecraft:deepslate_coal_ore",item:"minecraft:deepslate_coal_ore"},{id:322,group:0,type:"minecraft:deepslate_copper_ore",item:"minecraft:deepslate_copper_ore"},{id:323,group:0,type:"minecraft:deepslate_diamond_ore",item:"minecraft:deepslate_diamond_ore"},{id:324,group:0,type:"minecraft:deepslate_emerald_ore",item:"minecraft:deepslate_emerald_ore"},{id:325,group:0,type:"minecraft:deepslate_gold_ore",item:"minecraft:deepslate_gold_ore"},{id:326,group:0,type:"minecraft:deepslate_iron_ore",item:"minecraft:deepslate_iron_ore"},{id:327,group:0,type:"minecraft:deepslate_lapis_ore",item:"minecraft:deepslate_lapis_ore"},{id:328,group:29,type:"minecraft:deepslate_redstone_ore",item:"minecraft:deepslate_redstone_ore"},{id:329,group:11,type:"minecraft:deepslate_tile_slab",item:"minecraft:deepslate_tile_slab"},{id:330,group:12,type:"minecraft:deepslate_tile_stairs",item:"minecraft:deepslate_tile_stairs"},{id:331,group:17,type:"minecraft:deepslate_tile_wall",item:"minecraft:deepslate_tile_wall"},{id:332,group:0,type:"minecraft:deepslate_tiles",item:"minecraft:deepslate_tiles"},{id:333,group:15,type:"minecraft:detector_rail",item:"minecraft:detector_rail"},{id:334,group:0,type:"minecraft:diamond_block",item:"minecraft:diamond_block"},{id:335,group:0,type:"minecraft:diamond_ore",item:"minecraft:diamond_ore"},{id:336,group:0,type:"minecraft:diorite",item:"minecraft:diorite"},{id:337,group:11,type:"minecraft:diorite_slab",item:"minecraft:diorite_slab"},{id:338,group:12,type:"minecraft:diorite_stairs",item:"minecraft:diorite_stairs"},{id:339,group:17,type:"minecraft:diorite_wall",item:"minecraft:diorite_wall"},{id:340,group:0,type:"minecraft:dirt",item:"minecraft:dirt"},{id:341,group:0,type:"minecraft:dirt_path",item:"minecraft:dirt_path"},{id:342,group:59,type:"minecraft:dispenser",item:"minecraft:dispenser"},{id:343,group:0,type:"minecraft:dragon_egg",item:"minecraft:dragon_egg"},{id:344,group:55,type:"minecraft:dragon_head",item:"minecraft:dragon_head"},{id:345,group:56,type:"minecraft:dragon_wall_head",item:"minecraft:dragon_head"},{id:346,group:0,type:"minecraft:dried_kelp_block",item:"minecraft:dried_kelp_block"},{id:347,group:0,type:"minecraft:dripstone_block",item:"minecraft:dripstone_block"},{id:348,group:59,type:"minecraft:dropper",item:"minecraft:dropper"},{id:349,group:0,type:"minecraft:emerald_block",item:"minecraft:emerald_block"},{id:350,group:0,type:"minecraft:emerald_ore",item:"minecraft:emerald_ore"},{id:351,group:0,type:"minecraft:enchanting_table",item:"minecraft:enchanting_table"},{id:352,group:0,type:"minecraft:end_gateway",item:"minecraft:end_gateway"},{id:353,group:0,type:"minecraft:end_portal",item:"minecraft:end_portal"},{id:354,group:60,type:"minecraft:end_portal_frame",item:"minecraft:end_portal_frame"},{id:355,group:30,type:"minecraft:end_rod",item:"minecraft:end_rod"},{id:356,group:0,type:"minecraft:end_stone",item:"minecraft:end_stone"},{id:357,group:11,type:"minecraft:end_stone_brick_slab",item:"minecraft:end_stone_brick_slab"},{id:358,group:12,type:"minecraft:end_stone_brick_stairs",item:"minecraft:end_stone_brick_stairs"},{id:359,group:17,type:"minecraft:end_stone_brick_wall",item:"minecraft:end_stone_brick_wall"},{id:360,group:0,type:"minecraft:end_stone_bricks",item:"minecraft:end_stone_bricks"},{id:361,group:14,type:"minecraft:ender_chest",item:"minecraft:ender_chest"},{id:362,group:0,type:"minecraft:exposed_chiseled_copper",item:"minecraft:exposed_chiseled_copper"},{id:363,group:0,type:"minecraft:exposed_copper",item:"minecraft:exposed_copper"},{id:364,group:53,type:"minecraft:exposed_copper_bulb",item:"minecraft:exposed_copper_bulb"},{id:365,group:2,type:"minecraft:exposed_copper_door",item:"minecraft:exposed_copper_door"},{id:366,group:21,type:"minecraft:exposed_copper_grate",item:"minecraft:exposed_copper_grate"},{id:367,group:13,type:"minecraft:exposed_copper_trapdoor",item:"minecraft:exposed_copper_trapdoor"},{id:368,group:0,type:"minecraft:exposed_cut_copper",item:"minecraft:exposed_cut_copper"},{id:369,group:11,type:"minecraft:exposed_cut_copper_slab",item:"minecraft:exposed_cut_copper_slab"},{id:370,group:12,type:"minecraft:exposed_cut_copper_stairs",item:"minecraft:exposed_cut_copper_stairs"},{id:371,group:61,type:"minecraft:farmland",item:"minecraft:farmland"},{id:372,group:0,type:"minecraft:fern",item:"minecraft:fern"},{id:373,group:62,type:"minecraft:fire",item:"minecraft:fire"},{id:374,group:32,type:"minecraft:fire_coral",item:"minecraft:fire_coral"},{id:375,group:0,type:"minecraft:fire_coral_block",item:"minecraft:fire_coral_block"},{id:376,group:32,type:"minecraft:fire_coral_fan",item:"minecraft:fire_coral_fan"},{id:377,group:33,type:"minecraft:fire_coral_wall_fan",item:"minecraft:fire_coral_fan"},{id:378,group:0,type:"minecraft:fletching_table",item:"minecraft:fletching_table"},{id:379,group:0,type:"minecraft:flower_pot",item:"minecraft:flower_pot"},{id:380,group:0,type:"minecraft:flowering_azalea",item:"minecraft:flowering_azalea"},{id:381,group:6,type:"minecraft:flowering_azalea_leaves",item:"minecraft:flowering_azalea_leaves"},{id:382,group:0,type:"minecraft:frogspawn",item:"minecraft:frogspawn"},{id:383,group:23,type:"minecraft:frosted_ice",item:"minecraft:frosted_ice"},{id:384,group:31,type:"minecraft:furnace",item:"minecraft:furnace"},{id:385,group:0,type:"minecraft:gilded_blackstone",item:"minecraft:gilded_blackstone"},{id:386,group:0,type:"minecraft:glass",item:"minecraft:glass"},{id:387,group:3,type:"minecraft:glass_pane",item:"minecraft:glass_pane"},{id:388,group:63,type:"minecraft:glow_lichen",item:"minecraft:glow_lichen"},{id:389,group:0,type:"minecraft:glowstone",item:"minecraft:glowstone"},{id:390,group:0,type:"minecraft:gold_block",item:"minecraft:gold_block"},{id:391,group:0,type:"minecraft:gold_ore",item:"minecraft:gold_ore"},{id:392,group:0,type:"minecraft:granite",item:"minecraft:granite"},{id:393,group:11,type:"minecraft:granite_slab",item:"minecraft:granite_slab"},{id:394,group:12,type:"minecraft:granite_stairs",item:"minecraft:granite_stairs"},{id:395,group:17,type:"minecraft:granite_wall",item:"minecraft:granite_wall"},{id:396,group:64,type:"minecraft:grass_block",item:"minecraft:grass_block"},{id:397,group:0,type:"minecraft:gravel",item:"minecraft:gravel"},{id:398,group:26,type:"minecraft:gray_banner",item:"minecraft:gray_banner"},{id:399,group:27,type:"minecraft:gray_bed",item:"minecraft:gray_bed"},{id:400,group:28,type:"minecraft:gray_candle",item:"minecraft:gray_candle"},{id:401,group:29,type:"minecraft:gray_candle_cake",item:"minecraft:gray_candle_cake"},{id:402,group:0,type:"minecraft:gray_carpet",item:"minecraft:gray_carpet"},{id:403,group:0,type:"minecraft:gray_concrete",item:"minecraft:gray_concrete"},{id:404,group:0,type:"minecraft:gray_concrete_powder",item:"minecraft:gray_concrete_powder"},{id:405,group:18,type:"minecraft:gray_glazed_terracotta",item:"minecraft:gray_glazed_terracotta"},{id:406,group:30,type:"minecraft:gray_shulker_box",item:"minecraft:gray_shulker_box"},{id:407,group:0,type:"minecraft:gray_stained_glass",item:"minecraft:gray_stained_glass"},{id:408,group:3,type:"minecraft:gray_stained_glass_pane",item:"minecraft:gray_stained_glass_pane"},{id:409,group:0,type:"minecraft:gray_terracotta",item:"minecraft:gray_terracotta"},{id:410,group:18,type:"minecraft:gray_wall_banner",item:"minecraft:gray_banner"},{id:411,group:0,type:"minecraft:gray_wool",item:"minecraft:gray_wool"},{id:412,group:26,type:"minecraft:green_banner",item:"minecraft:green_banner"},{id:413,group:27,type:"minecraft:green_bed",item:"minecraft:green_bed"},{id:414,group:28,type:"minecraft:green_candle",item:"minecraft:green_candle"},{id:415,group:29,type:"minecraft:green_candle_cake",item:"minecraft:green_candle_cake"},{id:416,group:0,type:"minecraft:green_carpet",item:"minecraft:green_carpet"},{id:417,group:0,type:"minecraft:green_concrete",item:"minecraft:green_concrete"},{id:418,group:0,type:"minecraft:green_concrete_powder",item:"minecraft:green_concrete_powder"},{id:419,group:18,type:"minecraft:green_glazed_terracotta",item:"minecraft:green_glazed_terracotta"},{id:420,group:30,type:"minecraft:green_shulker_box",item:"minecraft:green_shulker_box"},{id:421,group:0,type:"minecraft:green_stained_glass",item:"minecraft:green_stained_glass"},{id:422,group:3,type:"minecraft:green_stained_glass_pane",item:"minecraft:green_stained_glass_pane"},{id:423,group:0,type:"minecraft:green_terracotta",item:"minecraft:green_terracotta"},{id:424,group:18,type:"minecraft:green_wall_banner",item:"minecraft:green_banner"},{id:425,group:0,type:"minecraft:green_wool",item:"minecraft:green_wool"},{id:426,group:65,type:"minecraft:grindstone",item:"minecraft:grindstone"},{id:427,group:21,type:"minecraft:hanging_roots",item:"minecraft:hanging_roots"},{id:428,group:7,type:"minecraft:hay_block",item:"minecraft:hay_block"},{id:429,group:66,type:"minecraft:heavy_weighted_pressure_plate",item:"minecraft:heavy_weighted_pressure_plate"},{id:430,group:0,type:"minecraft:honey_block",item:"minecraft:honey_block"},{id:431,group:0,type:"minecraft:honeycomb_block",item:"minecraft:honeycomb_block"},{id:432,group:67,type:"minecraft:hopper",item:"minecraft:hopper"},{id:433,group:32,type:"minecraft:horn_coral",item:"minecraft:horn_coral"},{id:434,group:0,type:"minecraft:horn_coral_block",item:"minecraft:horn_coral_block"},{id:435,group:32,type:"minecraft:horn_coral_fan",item:"minecraft:horn_coral_fan"},{id:436,group:33,type:"minecraft:horn_coral_wall_fan",item:"minecraft:horn_coral_fan"},{id:437,group:0,type:"minecraft:ice",item:"minecraft:ice"},{id:438,group:0,type:"minecraft:infested_chiseled_stone_bricks",item:"minecraft:infested_chiseled_stone_bricks"},{id:439,group:0,type:"minecraft:infested_cobblestone",item:"minecraft:infested_cobblestone"},{id:440,group:0,type:"minecraft:infested_cracked_stone_bricks",item:"minecraft:infested_cracked_stone_bricks"},{id:441,group:7,type:"minecraft:infested_deepslate",item:"minecraft:infested_deepslate"},{id:442,group:0,type:"minecraft:infested_mossy_stone_bricks",item:"minecraft:infested_mossy_stone_bricks"},{id:443,group:0,type:"minecraft:infested_stone",item:"minecraft:infested_stone"},{id:444,group:0,type:"minecraft:infested_stone_bricks",item:"minecraft:infested_stone_bricks"},{id:445,group:3,type:"minecraft:iron_bars",item:"minecraft:iron_bars"},{id:446,group:0,type:"minecraft:iron_block",item:"minecraft:iron_block"},{id:447,group:2,type:"minecraft:iron_door",item:"minecraft:iron_door"},{id:448,group:0,type:"minecraft:iron_ore",item:"minecraft:iron_ore"},{id:449,group:13,type:"minecraft:iron_trapdoor",item:"minecraft:iron_trapdoor"},{id:450,group:18,type:"minecraft:jack_o_lantern",item:"minecraft:jack_o_lantern"},{id:451,group:68,type:"minecraft:jigsaw",item:"minecraft:jigsaw"},{id:452,group:69,type:"minecraft:jukebox",item:"minecraft:jukebox"},{id:453,group:1,type:"minecraft:jungle_button",item:"minecraft:jungle_button"},{id:454,group:2,type:"minecraft:jungle_door",item:"minecraft:jungle_door"},{id:455,group:3,type:"minecraft:jungle_fence",item:"minecraft:jungle_fence"},{id:456,group:4,type:"minecraft:jungle_fence_gate",item:"minecraft:jungle_fence_gate"},{id:457,group:5,type:"minecraft:jungle_hanging_sign",item:"minecraft:jungle_hanging_sign"},{id:458,group:6,type:"minecraft:jungle_leaves",item:"minecraft:jungle_leaves"},{id:459,group:7,type:"minecraft:jungle_log",item:"minecraft:jungle_log"},{id:460,group:0,type:"minecraft:jungle_planks",item:"minecraft:jungle_planks"},{id:461,group:8,type:"minecraft:jungle_pressure_plate",item:"minecraft:jungle_pressure_plate"},{id:462,group:9,type:"minecraft:jungle_sapling",item:"minecraft:jungle_sapling"},{id:463,group:10,type:"minecraft:jungle_sign",item:"minecraft:jungle_sign"},{id:464,group:11,type:"minecraft:jungle_slab",item:"minecraft:jungle_slab"},{id:465,group:12,type:"minecraft:jungle_stairs",item:"minecraft:jungle_stairs"},{id:466,group:13,type:"minecraft:jungle_trapdoor",item:"minecraft:jungle_trapdoor"},{id:467,group:14,type:"minecraft:jungle_wall_hanging_sign",item:"minecraft:jungle_hanging_sign"},{id:468,group:14,type:"minecraft:jungle_wall_sign",item:"minecraft:jungle_sign"},{id:469,group:7,type:"minecraft:jungle_wood",item:"minecraft:jungle_wood"},{id:470,group:70,type:"minecraft:kelp",item:"minecraft:kelp"},{id:471,group:0,type:"minecraft:kelp_plant",item:"minecraft:kelp_plant"},{id:472,group:14,type:"minecraft:ladder",item:"minecraft:ladder"},{id:473,group:71,type:"minecraft:lantern",item:"minecraft:lantern"},{id:474,group:0,type:"minecraft:lapis_block",item:"minecraft:lapis_block"},{id:475,group:0,type:"minecraft:lapis_ore",item:"minecraft:lapis_ore"},{id:476,group:16,type:"minecraft:large_amethyst_bud",item:"minecraft:large_amethyst_bud"},{id:477,group:72,type:"minecraft:large_fern",item:"minecraft:large_fern"},{id:478,group:73,type:"minecraft:lava",item:"minecraft:lava_bucket"},{id:479,group:0,type:"minecraft:lava_cauldron",item:"minecraft:cauldron"},{id:480,group:74,type:"minecraft:lectern",item:"minecraft:lectern"},{id:481,group:1,type:"minecraft:lever",item:"minecraft:lever"},{id:482,group:75,type:"minecraft:light",item:"minecraft:light"},{id:483,group:26,type:"minecraft:light_blue_banner",item:"minecraft:light_blue_banner"},{id:484,group:27,type:"minecraft:light_blue_bed",item:"minecraft:light_blue_bed"},{id:485,group:28,type:"minecraft:light_blue_candle",item:"minecraft:light_blue_candle"},{id:486,group:29,type:"minecraft:light_blue_candle_cake",item:"minecraft:light_blue_candle_cake"},{id:487,group:0,type:"minecraft:light_blue_carpet",item:"minecraft:light_blue_carpet"},{id:488,group:0,type:"minecraft:light_blue_concrete",item:"minecraft:light_blue_concrete"},{id:489,group:0,type:"minecraft:light_blue_concrete_powder",item:"minecraft:light_blue_concrete_powder"},{id:490,group:18,type:"minecraft:light_blue_glazed_terracotta",item:"minecraft:light_blue_glazed_terracotta"},{id:491,group:30,type:"minecraft:light_blue_shulker_box",item:"minecraft:light_blue_shulker_box"},{id:492,group:0,type:"minecraft:light_blue_stained_glass",item:"minecraft:light_blue_stained_glass"},{id:493,group:3,type:"minecraft:light_blue_stained_glass_pane",item:"minecraft:light_blue_stained_glass_pane"},{id:494,group:0,type:"minecraft:light_blue_terracotta",item:"minecraft:light_blue_terracotta"},{id:495,group:18,type:"minecraft:light_blue_wall_banner",item:"minecraft:light_blue_banner"},{id:496,group:0,type:"minecraft:light_blue_wool",item:"minecraft:light_blue_wool"},{id:497,group:26,type:"minecraft:light_gray_banner",item:"minecraft:light_gray_banner"},{id:498,group:27,type:"minecraft:light_gray_bed",item:"minecraft:light_gray_bed"},{id:499,group:28,type:"minecraft:light_gray_candle",item:"minecraft:light_gray_candle"},{id:500,group:29,type:"minecraft:light_gray_candle_cake",item:"minecraft:light_gray_candle_cake"},{id:501,group:0,type:"minecraft:light_gray_carpet",item:"minecraft:light_gray_carpet"},{id:502,group:0,type:"minecraft:light_gray_concrete",item:"minecraft:light_gray_concrete"},{id:503,group:0,type:"minecraft:light_gray_concrete_powder",item:"minecraft:light_gray_concrete_powder"},{id:504,group:18,type:"minecraft:light_gray_glazed_terracotta",item:"minecraft:light_gray_glazed_terracotta"},{id:505,group:30,type:"minecraft:light_gray_shulker_box",item:"minecraft:light_gray_shulker_box"},{id:506,group:0,type:"minecraft:light_gray_stained_glass",item:"minecraft:light_gray_stained_glass"},{id:507,group:3,type:"minecraft:light_gray_stained_glass_pane",item:"minecraft:light_gray_stained_glass_pane"},{id:508,group:0,type:"minecraft:light_gray_terracotta",item:"minecraft:light_gray_terracotta"},{id:509,group:18,type:"minecraft:light_gray_wall_banner",item:"minecraft:light_gray_banner"},{id:510,group:0,type:"minecraft:light_gray_wool",item:"minecraft:light_gray_wool"},{id:511,group:66,type:"minecraft:light_weighted_pressure_plate",item:"minecraft:light_weighted_pressure_plate"},{id:512,group:76,type:"minecraft:lightning_rod",item:"minecraft:lightning_rod"},{id:513,group:72,type:"minecraft:lilac",item:"minecraft:lilac"},{id:514,group:0,type:"minecraft:lily_of_the_valley",item:"minecraft:lily_of_the_valley"},{id:515,group:0,type:"minecraft:lily_pad",item:"minecraft:lily_pad"},{id:516,group:26,type:"minecraft:lime_banner",item:"minecraft:lime_banner"},{id:517,group:27,type:"minecraft:lime_bed",item:"minecraft:lime_bed"},{id:518,group:28,type:"minecraft:lime_candle",item:"minecraft:lime_candle"},{id:519,group:29,type:"minecraft:lime_candle_cake",item:"minecraft:lime_candle_cake"},{id:520,group:0,type:"minecraft:lime_carpet",item:"minecraft:lime_carpet"},{id:521,group:0,type:"minecraft:lime_concrete",item:"minecraft:lime_concrete"},{id:522,group:0,type:"minecraft:lime_concrete_powder",item:"minecraft:lime_concrete_powder"},{id:523,group:18,type:"minecraft:lime_glazed_terracotta",item:"minecraft:lime_glazed_terracotta"},{id:524,group:30,type:"minecraft:lime_shulker_box",item:"minecraft:lime_shulker_box"},{id:525,group:0,type:"minecraft:lime_stained_glass",item:"minecraft:lime_stained_glass"},{id:526,group:3,type:"minecraft:lime_stained_glass_pane",item:"minecraft:lime_stained_glass_pane"},{id:527,group:0,type:"minecraft:lime_terracotta",item:"minecraft:lime_terracotta"},{id:528,group:18,type:"minecraft:lime_wall_banner",item:"minecraft:lime_banner"},{id:529,group:0,type:"minecraft:lime_wool",item:"minecraft:lime_wool"},{id:530,group:0,type:"minecraft:lodestone",item:"minecraft:lodestone"},{id:531,group:18,type:"minecraft:loom",item:"minecraft:loom"},{id:532,group:26,type:"minecraft:magenta_banner",item:"minecraft:magenta_banner"},{id:533,group:27,type:"minecraft:magenta_bed",item:"minecraft:magenta_bed"},{id:534,group:28,type:"minecraft:magenta_candle",item:"minecraft:magenta_candle"},{id:535,group:29,type:"minecraft:magenta_candle_cake",item:"minecraft:magenta_candle_cake"},{id:536,group:0,type:"minecraft:magenta_carpet",item:"minecraft:magenta_carpet"},{id:537,group:0,type:"minecraft:magenta_concrete",item:"minecraft:magenta_concrete"},{id:538,group:0,type:"minecraft:magenta_concrete_powder",item:"minecraft:magenta_concrete_powder"},{id:539,group:18,type:"minecraft:magenta_glazed_terracotta",item:"minecraft:magenta_glazed_terracotta"},{id:540,group:30,type:"minecraft:magenta_shulker_box",item:"minecraft:magenta_shulker_box"},{id:541,group:0,type:"minecraft:magenta_stained_glass",item:"minecraft:magenta_stained_glass"},{id:542,group:3,type:"minecraft:magenta_stained_glass_pane",item:"minecraft:magenta_stained_glass_pane"},{id:543,group:0,type:"minecraft:magenta_terracotta",item:"minecraft:magenta_terracotta"},{id:544,group:18,type:"minecraft:magenta_wall_banner",item:"minecraft:magenta_banner"},{id:545,group:0,type:"minecraft:magenta_wool",item:"minecraft:magenta_wool"},{id:546,group:0,type:"minecraft:magma_block",item:"minecraft:magma_block"},{id:547,group:1,type:"minecraft:mangrove_button",item:"minecraft:mangrove_button"},{id:548,group:2,type:"minecraft:mangrove_door",item:"minecraft:mangrove_door"},{id:549,group:3,type:"minecraft:mangrove_fence",item:"minecraft:mangrove_fence"},{id:550,group:4,type:"minecraft:mangrove_fence_gate",item:"minecraft:mangrove_fence_gate"},{id:551,group:5,type:"minecraft:mangrove_hanging_sign",item:"minecraft:mangrove_hanging_sign"},{id:552,group:6,type:"minecraft:mangrove_leaves",item:"minecraft:mangrove_leaves"},{id:553,group:7,type:"minecraft:mangrove_log",item:"minecraft:mangrove_log"},{id:554,group:0,type:"minecraft:mangrove_planks",item:"minecraft:mangrove_planks"},{id:555,group:8,type:"minecraft:mangrove_pressure_plate",item:"minecraft:mangrove_pressure_plate"},{id:556,group:77,type:"minecraft:mangrove_propagule",item:"minecraft:mangrove_propagule"},{id:557,group:21,type:"minecraft:mangrove_roots",item:"minecraft:mangrove_roots"},{id:558,group:10,type:"minecraft:mangrove_sign",item:"minecraft:mangrove_sign"},{id:559,group:11,type:"minecraft:mangrove_slab",item:"minecraft:mangrove_slab"},{id:560,group:12,type:"minecraft:mangrove_stairs",item:"minecraft:mangrove_stairs"},{id:561,group:13,type:"minecraft:mangrove_trapdoor",item:"minecraft:mangrove_trapdoor"},{id:562,group:14,type:"minecraft:mangrove_wall_hanging_sign",item:"minecraft:mangrove_hanging_sign"},{id:563,group:14,type:"minecraft:mangrove_wall_sign",item:"minecraft:mangrove_sign"},{id:564,group:7,type:"minecraft:mangrove_wood",item:"minecraft:mangrove_wood"},{id:565,group:16,type:"minecraft:medium_amethyst_bud",item:"minecraft:medium_amethyst_bud"},{id:566,group:0,type:"minecraft:melon",item:"minecraft:melon"},{id:567,group:41,type:"minecraft:melon_stem",item:"minecraft:pumpkin_seeds"},{id:568,group:0,type:"minecraft:moss_block",item:"minecraft:moss_block"},{id:569,group:0,type:"minecraft:moss_carpet",item:"minecraft:moss_carpet"},{id:570,group:0,type:"minecraft:mossy_cobblestone",item:"minecraft:mossy_cobblestone"},{id:571,group:11,type:"minecraft:mossy_cobblestone_slab",item:"minecraft:mossy_cobblestone_slab"},{id:572,group:12,type:"minecraft:mossy_cobblestone_stairs",item:"minecraft:mossy_cobblestone_stairs"},{id:573,group:17,type:"minecraft:mossy_cobblestone_wall",item:"minecraft:mossy_cobblestone_wall"},{id:574,group:11,type:"minecraft:mossy_stone_brick_slab",item:"minecraft:mossy_stone_brick_slab"},{id:575,group:12,type:"minecraft:mossy_stone_brick_stairs",item:"minecraft:mossy_stone_brick_stairs"},{id:576,group:17,type:"minecraft:mossy_stone_brick_wall",item:"minecraft:mossy_stone_brick_wall"},{id:577,group:0,type:"minecraft:mossy_stone_bricks",item:"minecraft:mossy_stone_bricks"},{id:578,group:78,type:"minecraft:moving_piston",item:"minecraft:moving_piston"},{id:579,group:0,type:"minecraft:mud",item:"minecraft:mud"},{id:580,group:11,type:"minecraft:mud_brick_slab",item:"minecraft:mud_brick_slab"},{id:581,group:12,type:"minecraft:mud_brick_stairs",item:"minecraft:mud_brick_stairs"},{id:582,group:17,type:"minecraft:mud_brick_wall",item:"minecraft:mud_brick_wall"},{id:583,group:0,type:"minecraft:mud_bricks",item:"minecraft:mud_bricks"},{id:584,group:7,type:"minecraft:muddy_mangrove_roots",item:"minecraft:muddy_mangrove_roots"},{id:585,group:35,type:"minecraft:mushroom_stem",item:"minecraft:mushroom_stem"},{id:586,group:64,type:"minecraft:mycelium",item:"minecraft:mycelium"},{id:587,group:3,type:"minecraft:nether_brick_fence",item:"minecraft:nether_brick_fence"},{id:588,group:11,type:"minecraft:nether_brick_slab",item:"minecraft:nether_brick_slab"},{id:589,group:12,type:"minecraft:nether_brick_stairs",item:"minecraft:nether_brick_stairs"},{id:590,group:17,type:"minecraft:nether_brick_wall",item:"minecraft:nether_brick_wall"},{id:591,group:0,type:"minecraft:nether_bricks",item:"minecraft:nether_bricks"},{id:592,group:0,type:"minecraft:nether_gold_ore",item:"minecraft:nether_gold_ore"},{id:593,group:79,type:"minecraft:nether_portal",item:"minecraft:nether_portal"},{id:594,group:0,type:"minecraft:nether_quartz_ore",item:"minecraft:nether_quartz_ore"},{id:595,group:0,type:"minecraft:nether_sprouts",item:"minecraft:nether_sprouts"},{id:596,group:23,type:"minecraft:nether_wart",item:"minecraft:nether_wart"},{id:597,group:0,type:"minecraft:nether_wart_block",item:"minecraft:nether_wart_block"},{id:598,group:0,type:"minecraft:netherite_block",item:"minecraft:netherite_block"},{id:599,group:0,type:"minecraft:netherrack",item:"minecraft:netherrack"},{id:600,group:80,type:"minecraft:note_block",item:"minecraft:note_block"},{id:601,group:1,type:"minecraft:oak_button",item:"minecraft:oak_button"},{id:602,group:2,type:"minecraft:oak_door",item:"minecraft:oak_door"},{id:603,group:3,type:"minecraft:oak_fence",item:"minecraft:oak_fence"},{id:604,group:4,type:"minecraft:oak_fence_gate",item:"minecraft:oak_fence_gate"},{id:605,group:5,type:"minecraft:oak_hanging_sign",item:"minecraft:oak_hanging_sign"},{id:606,group:6,type:"minecraft:oak_leaves",item:"minecraft:oak_leaves"},{id:607,group:7,type:"minecraft:oak_log",item:"minecraft:oak_log"},{id:608,group:0,type:"minecraft:oak_planks",item:"minecraft:oak_planks"},{id:609,group:8,type:"minecraft:oak_pressure_plate",item:"minecraft:oak_pressure_plate"},{id:610,group:9,type:"minecraft:oak_sapling",item:"minecraft:oak_sapling"},{id:611,group:10,type:"minecraft:oak_sign",item:"minecraft:oak_sign"},{id:612,group:11,type:"minecraft:oak_slab",item:"minecraft:oak_slab"},{id:613,group:12,type:"minecraft:oak_stairs",item:"minecraft:oak_stairs"},{id:614,group:13,type:"minecraft:oak_trapdoor",item:"minecraft:oak_trapdoor"},{id:615,group:14,type:"minecraft:oak_wall_hanging_sign",item:"minecraft:oak_hanging_sign"},{id:616,group:14,type:"minecraft:oak_wall_sign",item:"minecraft:oak_sign"},{id:617,group:7,type:"minecraft:oak_wood",item:"minecraft:oak_wood"},{id:618,group:81,type:"minecraft:observer",item:"minecraft:observer"},{id:619,group:0,type:"minecraft:obsidian",item:"minecraft:obsidian"},{id:620,group:7,type:"minecraft:ochre_froglight",item:"minecraft:ochre_froglight"},{id:621,group:26,type:"minecraft:orange_banner",item:"minecraft:orange_banner"},{id:622,group:27,type:"minecraft:orange_bed",item:"minecraft:orange_bed"},{id:623,group:28,type:"minecraft:orange_candle",item:"minecraft:orange_candle"},{id:624,group:29,type:"minecraft:orange_candle_cake",item:"minecraft:orange_candle_cake"},{id:625,group:0,type:"minecraft:orange_carpet",item:"minecraft:orange_carpet"},{id:626,group:0,type:"minecraft:orange_concrete",item:"minecraft:orange_concrete"},{id:627,group:0,type:"minecraft:orange_concrete_powder",item:"minecraft:orange_concrete_powder"},{id:628,group:18,type:"minecraft:orange_glazed_terracotta",item:"minecraft:orange_glazed_terracotta"},{id:629,group:30,type:"minecraft:orange_shulker_box",item:"minecraft:orange_shulker_box"},{id:630,group:0,type:"minecraft:orange_stained_glass",item:"minecraft:orange_stained_glass"},{id:631,group:3,type:"minecraft:orange_stained_glass_pane",item:"minecraft:orange_stained_glass_pane"},{id:632,group:0,type:"minecraft:orange_terracotta",item:"minecraft:orange_terracotta"},{id:633,group:0,type:"minecraft:orange_tulip",item:"minecraft:orange_tulip"},{id:634,group:18,type:"minecraft:orange_wall_banner",item:"minecraft:orange_banner"},{id:635,group:0,type:"minecraft:orange_wool",item:"minecraft:orange_wool"},{id:636,group:0,type:"minecraft:oxeye_daisy",item:"minecraft:oxeye_daisy"},{id:637,group:0,type:"minecraft:oxidized_chiseled_copper",item:"minecraft:oxidized_chiseled_copper"},{id:638,group:0,type:"minecraft:oxidized_copper",item:"minecraft:oxidized_copper"},{id:639,group:53,type:"minecraft:oxidized_copper_bulb",item:"minecraft:oxidized_copper_bulb"},{id:640,group:2,type:"minecraft:oxidized_copper_door",item:"minecraft:oxidized_copper_door"},{id:641,group:21,type:"minecraft:oxidized_copper_grate",item:"minecraft:oxidized_copper_grate"},{id:642,group:13,type:"minecraft:oxidized_copper_trapdoor",item:"minecraft:oxidized_copper_trapdoor"},{id:643,group:0,type:"minecraft:oxidized_cut_copper",item:"minecraft:oxidized_cut_copper"},{id:644,group:11,type:"minecraft:oxidized_cut_copper_slab",item:"minecraft:oxidized_cut_copper_slab"},{id:645,group:12,type:"minecraft:oxidized_cut_copper_stairs",item:"minecraft:oxidized_cut_copper_stairs"},{id:646,group:0,type:"minecraft:packed_ice",item:"minecraft:packed_ice"},{id:647,group:0,type:"minecraft:packed_mud",item:"minecraft:packed_mud"},{id:648,group:7,type:"minecraft:pearlescent_froglight",item:"minecraft:pearlescent_froglight"},{id:649,group:72,type:"minecraft:peony",item:"minecraft:peony"},{id:650,group:11,type:"minecraft:petrified_oak_slab",item:"minecraft:petrified_oak_slab"},{id:651,group:55,type:"minecraft:piglin_head",item:"minecraft:piglin_head"},{id:652,group:56,type:"minecraft:piglin_wall_head",item:"minecraft:piglin_head"},{id:653,group:26,type:"minecraft:pink_banner",item:"minecraft:pink_banner"},{id:654,group:27,type:"minecraft:pink_bed",item:"minecraft:pink_bed"},{id:655,group:28,type:"minecraft:pink_candle",item:"minecraft:pink_candle"},{id:656,group:29,type:"minecraft:pink_candle_cake",item:"minecraft:pink_candle_cake"},{id:657,group:0,type:"minecraft:pink_carpet",item:"minecraft:pink_carpet"},{id:658,group:0,type:"minecraft:pink_concrete",item:"minecraft:pink_concrete"},{id:659,group:0,type:"minecraft:pink_concrete_powder",item:"minecraft:pink_concrete_powder"},{id:660,group:18,type:"minecraft:pink_glazed_terracotta",item:"minecraft:pink_glazed_terracotta"},{id:661,group:82,type:"minecraft:pink_petals",item:"minecraft:pink_petals"},{id:662,group:30,type:"minecraft:pink_shulker_box",item:"minecraft:pink_shulker_box"},{id:663,group:0,type:"minecraft:pink_stained_glass",item:"minecraft:pink_stained_glass"},{id:664,group:3,type:"minecraft:pink_stained_glass_pane",item:"minecraft:pink_stained_glass_pane"},{id:665,group:0,type:"minecraft:pink_terracotta",item:"minecraft:pink_terracotta"},{id:666,group:0,type:"minecraft:pink_tulip",item:"minecraft:pink_tulip"},{id:667,group:18,type:"minecraft:pink_wall_banner",item:"minecraft:pink_banner"},{id:668,group:0,type:"minecraft:pink_wool",item:"minecraft:pink_wool"},{id:669,group:83,type:"minecraft:piston",item:"minecraft:piston"},{id:670,group:84,type:"minecraft:piston_head",item:"minecraft:piston_head"},{id:671,group:85,type:"minecraft:pitcher_crop",item:"minecraft:pitcher_pod"},{id:672,group:72,type:"minecraft:pitcher_plant",item:"minecraft:pitcher_plant"},{id:673,group:55,type:"minecraft:player_head",item:"minecraft:player_head"},{id:674,group:56,type:"minecraft:player_wall_head",item:"minecraft:player_head"},{id:675,group:64,type:"minecraft:podzol",item:"minecraft:podzol"},{id:676,group:86,type:"minecraft:pointed_dripstone",item:"minecraft:pointed_dripstone"},{id:677,group:0,type:"minecraft:polished_andesite",item:"minecraft:polished_andesite"},{id:678,group:11,type:"minecraft:polished_andesite_slab",item:"minecraft:polished_andesite_slab"},{id:679,group:12,type:"minecraft:polished_andesite_stairs",item:"minecraft:polished_andesite_stairs"},{id:680,group:7,type:"minecraft:polished_basalt",item:"minecraft:polished_basalt"},{id:681,group:0,type:"minecraft:polished_blackstone",item:"minecraft:polished_blackstone"},{id:682,group:11,type:"minecraft:polished_blackstone_brick_slab",item:"minecraft:polished_blackstone_brick_slab"},{id:683,group:12,type:"minecraft:polished_blackstone_brick_stairs",item:"minecraft:polished_blackstone_brick_stairs"},{id:684,group:17,type:"minecraft:polished_blackstone_brick_wall",item:"minecraft:polished_blackstone_brick_wall"},{id:685,group:0,type:"minecraft:polished_blackstone_bricks",item:"minecraft:polished_blackstone_bricks"},{id:686,group:1,type:"minecraft:polished_blackstone_button",item:"minecraft:polished_blackstone_button"},{id:687,group:8,type:"minecraft:polished_blackstone_pressure_plate",item:"minecraft:polished_blackstone_pressure_plate"},{id:688,group:11,type:"minecraft:polished_blackstone_slab",item:"minecraft:polished_blackstone_slab"},{id:689,group:12,type:"minecraft:polished_blackstone_stairs",item:"minecraft:polished_blackstone_stairs"},{id:690,group:17,type:"minecraft:polished_blackstone_wall",item:"minecraft:polished_blackstone_wall"},{id:691,group:0,type:"minecraft:polished_deepslate",item:"minecraft:polished_deepslate"},{id:692,group:11,type:"minecraft:polished_deepslate_slab",item:"minecraft:polished_deepslate_slab"},{id:693,group:12,type:"minecraft:polished_deepslate_stairs",item:"minecraft:polished_deepslate_stairs"},{id:694,group:17,type:"minecraft:polished_deepslate_wall",item:"minecraft:polished_deepslate_wall"},{id:695,group:0,type:"minecraft:polished_diorite",item:"minecraft:polished_diorite"},{id:696,group:11,type:"minecraft:polished_diorite_slab",item:"minecraft:polished_diorite_slab"},{id:697,group:12,type:"minecraft:polished_diorite_stairs",item:"minecraft:polished_diorite_stairs"},{id:698,group:0,type:"minecraft:polished_granite",item:"minecraft:polished_granite"},{id:699,group:11,type:"minecraft:polished_granite_slab",item:"minecraft:polished_granite_slab"},{id:700,group:12,type:"minecraft:polished_granite_stairs",item:"minecraft:polished_granite_stairs"},{id:701,group:0,type:"minecraft:polished_tuff",item:"minecraft:polished_tuff"},{id:702,group:11,type:"minecraft:polished_tuff_slab",item:"minecraft:polished_tuff_slab"},{id:703,group:12,type:"minecraft:polished_tuff_stairs",item:"minecraft:polished_tuff_stairs"},{id:704,group:17,type:"minecraft:polished_tuff_wall",item:"minecraft:polished_tuff_wall"},{id:705,group:0,type:"minecraft:poppy",item:"minecraft:poppy"},{id:706,group:41,type:"minecraft:potatoes",item:"minecraft:potato"},{id:707,group:0,type:"minecraft:potted_acacia_sapling",item:"minecraft:potted_acacia_sapling"},{id:708,group:0,type:"minecraft:potted_allium",item:"minecraft:potted_allium"},{id:709,group:0,type:"minecraft:potted_azalea_bush",item:"minecraft:potted_azalea_bush"},{id:710,group:0,type:"minecraft:potted_azure_bluet",item:"minecraft:potted_azure_bluet"},{id:711,group:0,type:"minecraft:potted_bamboo",item:"minecraft:potted_bamboo"},{id:712,group:0,type:"minecraft:potted_birch_sapling",item:"minecraft:potted_birch_sapling"},{id:713,group:0,type:"minecraft:potted_blue_orchid",item:"minecraft:potted_blue_orchid"},{id:714,group:0,type:"minecraft:potted_brown_mushroom",item:"minecraft:potted_brown_mushroom"},{id:715,group:0,type:"minecraft:potted_cactus",item:"minecraft:potted_cactus"},{id:716,group:0,type:"minecraft:potted_cherry_sapling",item:"minecraft:potted_cherry_sapling"},{id:717,group:0,type:"minecraft:potted_cornflower",item:"minecraft:potted_cornflower"},{id:718,group:0,type:"minecraft:potted_crimson_fungus",item:"minecraft:potted_crimson_fungus"},{id:719,group:0,type:"minecraft:potted_crimson_roots",item:"minecraft:potted_crimson_roots"},{id:720,group:0,type:"minecraft:potted_dandelion",item:"minecraft:potted_dandelion"},{id:721,group:0,type:"minecraft:potted_dark_oak_sapling",item:"minecraft:potted_dark_oak_sapling"},{id:722,group:0,type:"minecraft:potted_dead_bush",item:"minecraft:potted_dead_bush"},{id:723,group:0,type:"minecraft:potted_fern",item:"minecraft:potted_fern"},{id:724,group:0,type:"minecraft:potted_flowering_azalea_bush",item:"minecraft:potted_flowering_azalea_bush"},{id:725,group:0,type:"minecraft:potted_jungle_sapling",item:"minecraft:potted_jungle_sapling"},{id:726,group:0,type:"minecraft:potted_lily_of_the_valley",item:"minecraft:potted_lily_of_the_valley"},{id:727,group:0,type:"minecraft:potted_mangrove_propagule",item:"minecraft:potted_mangrove_propagule"},{id:728,group:0,type:"minecraft:potted_oak_sapling",item:"minecraft:potted_oak_sapling"},{id:729,group:0,type:"minecraft:potted_orange_tulip",item:"minecraft:potted_orange_tulip"},{id:730,group:0,type:"minecraft:potted_oxeye_daisy",item:"minecraft:potted_oxeye_daisy"},{id:731,group:0,type:"minecraft:potted_pink_tulip",item:"minecraft:potted_pink_tulip"},{id:732,group:0,type:"minecraft:potted_poppy",item:"minecraft:potted_poppy"},{id:733,group:0,type:"minecraft:potted_red_mushroom",item:"minecraft:potted_red_mushroom"},{id:734,group:0,type:"minecraft:potted_red_tulip",item:"minecraft:potted_red_tulip"},{id:735,group:0,type:"minecraft:potted_spruce_sapling",item:"minecraft:potted_spruce_sapling"},{id:736,group:0,type:"minecraft:potted_torchflower",item:"minecraft:potted_torchflower"},{id:737,group:0,type:"minecraft:potted_warped_fungus",item:"minecraft:potted_warped_fungus"},{id:738,group:0,type:"minecraft:potted_warped_roots",item:"minecraft:potted_warped_roots"},{id:739,group:0,type:"minecraft:potted_white_tulip",item:"minecraft:potted_white_tulip"},{id:740,group:0,type:"minecraft:potted_wither_rose",item:"minecraft:potted_wither_rose"},{id:741,group:0,type:"minecraft:powder_snow",item:"minecraft:powder_snow_bucket"},{id:742,group:87,type:"minecraft:powder_snow_cauldron",item:"minecraft:cauldron"},{id:743,group:15,type:"minecraft:powered_rail",item:"minecraft:powered_rail"},{id:744,group:0,type:"minecraft:prismarine",item:"minecraft:prismarine"},{id:745,group:11,type:"minecraft:prismarine_brick_slab",item:"minecraft:prismarine_brick_slab"},{id:746,group:12,type:"minecraft:prismarine_brick_stairs",item:"minecraft:prismarine_brick_stairs"},{id:747,group:0,type:"minecraft:prismarine_bricks",item:"minecraft:prismarine_bricks"},{id:748,group:11,type:"minecraft:prismarine_slab",item:"minecraft:prismarine_slab"},{id:749,group:12,type:"minecraft:prismarine_stairs",item:"minecraft:prismarine_stairs"},{id:750,group:17,type:"minecraft:prismarine_wall",item:"minecraft:prismarine_wall"},{id:751,group:0,type:"minecraft:pumpkin",item:"minecraft:pumpkin"},{id:752,group:41,type:"minecraft:pumpkin_stem",item:"minecraft:pumpkin_seeds"},{id:753,group:26,type:"minecraft:purple_banner",item:"minecraft:purple_banner"},{id:754,group:27,type:"minecraft:purple_bed",item:"minecraft:purple_bed"},{id:755,group:28,type:"minecraft:purple_candle",item:"minecraft:purple_candle"},{id:756,group:29,type:"minecraft:purple_candle_cake",item:"minecraft:purple_candle_cake"},{id:757,group:0,type:"minecraft:purple_carpet",item:"minecraft:purple_carpet"},{id:758,group:0,type:"minecraft:purple_concrete",item:"minecraft:purple_concrete"},{id:759,group:0,type:"minecraft:purple_concrete_powder",item:"minecraft:purple_concrete_powder"},{id:760,group:18,type:"minecraft:purple_glazed_terracotta",item:"minecraft:purple_glazed_terracotta"},{id:761,group:30,type:"minecraft:purple_shulker_box",item:"minecraft:purple_shulker_box"},{id:762,group:0,type:"minecraft:purple_stained_glass",item:"minecraft:purple_stained_glass"},{id:763,group:3,type:"minecraft:purple_stained_glass_pane",item:"minecraft:purple_stained_glass_pane"},{id:764,group:0,type:"minecraft:purple_terracotta",item:"minecraft:purple_terracotta"},{id:765,group:18,type:"minecraft:purple_wall_banner",item:"minecraft:purple_banner"},{id:766,group:0,type:"minecraft:purple_wool",item:"minecraft:purple_wool"},{id:767,group:0,type:"minecraft:purpur_block",item:"minecraft:purpur_block"},{id:768,group:7,type:"minecraft:purpur_pillar",item:"minecraft:purpur_pillar"},{id:769,group:11,type:"minecraft:purpur_slab",item:"minecraft:purpur_slab"},{id:770,group:12,type:"minecraft:purpur_stairs",item:"minecraft:purpur_stairs"},{id:771,group:0,type:"minecraft:quartz_block",item:"minecraft:quartz_block"},{id:772,group:0,type:"minecraft:quartz_bricks",item:"minecraft:quartz_bricks"},{id:773,group:7,type:"minecraft:quartz_pillar",item:"minecraft:quartz_pillar"},{id:774,group:11,type:"minecraft:quartz_slab",item:"minecraft:quartz_slab"},{id:775,group:12,type:"minecraft:quartz_stairs",item:"minecraft:quartz_stairs"},{id:776,group:88,type:"minecraft:rail",item:"minecraft:rail"},{id:777,group:0,type:"minecraft:raw_copper_block",item:"minecraft:raw_copper_block"},{id:778,group:0,type:"minecraft:raw_gold_block",item:"minecraft:raw_gold_block"},{id:779,group:0,type:"minecraft:raw_iron_block",item:"minecraft:raw_iron_block"},{id:780,group:26,type:"minecraft:red_banner",item:"minecraft:red_banner"},{id:781,group:27,type:"minecraft:red_bed",item:"minecraft:red_bed"},{id:782,group:28,type:"minecraft:red_candle",item:"minecraft:red_candle"},{id:783,group:29,type:"minecraft:red_candle_cake",item:"minecraft:red_candle_cake"},{id:784,group:0,type:"minecraft:red_carpet",item:"minecraft:red_carpet"},{id:785,group:0,type:"minecraft:red_concrete",item:"minecraft:red_concrete"},{id:786,group:0,type:"minecraft:red_concrete_powder",item:"minecraft:red_concrete_powder"},{id:787,group:18,type:"minecraft:red_glazed_terracotta",item:"minecraft:red_glazed_terracotta"},{id:788,group:0,type:"minecraft:red_mushroom",item:"minecraft:red_mushroom"},{id:789,group:35,type:"minecraft:red_mushroom_block",item:"minecraft:red_mushroom_block"},{id:790,group:11,type:"minecraft:red_nether_brick_slab",item:"minecraft:red_nether_brick_slab"},{id:791,group:12,type:"minecraft:red_nether_brick_stairs",item:"minecraft:red_nether_brick_stairs"},{id:792,group:17,type:"minecraft:red_nether_brick_wall",item:"minecraft:red_nether_brick_wall"},{id:793,group:0,type:"minecraft:red_nether_bricks",item:"minecraft:red_nether_bricks"},{id:794,group:0,type:"minecraft:red_sand",item:"minecraft:red_sand"},{id:795,group:0,type:"minecraft:red_sandstone",item:"minecraft:red_sandstone"},{id:796,group:11,type:"minecraft:red_sandstone_slab",item:"minecraft:red_sandstone_slab"},{id:797,group:12,type:"minecraft:red_sandstone_stairs",item:"minecraft:red_sandstone_stairs"},{id:798,group:17,type:"minecraft:red_sandstone_wall",item:"minecraft:red_sandstone_wall"},{id:799,group:30,type:"minecraft:red_shulker_box",item:"minecraft:red_shulker_box"},{id:800,group:0,type:"minecraft:red_stained_glass",item:"minecraft:red_stained_glass"},{id:801,group:3,type:"minecraft:red_stained_glass_pane",item:"minecraft:red_stained_glass_pane"},{id:802,group:0,type:"minecraft:red_terracotta",item:"minecraft:red_terracotta"},{id:803,group:0,type:"minecraft:red_tulip",item:"minecraft:red_tulip"},{id:804,group:18,type:"minecraft:red_wall_banner",item:"minecraft:red_banner"},{id:805,group:0,type:"minecraft:red_wool",item:"minecraft:red_wool"},{id:806,group:0,type:"minecraft:redstone_block",item:"minecraft:redstone_block"},{id:807,group:29,type:"minecraft:redstone_lamp",item:"minecraft:redstone_lamp"},{id:808,group:29,type:"minecraft:redstone_ore",item:"minecraft:redstone_ore"},{id:809,group:89,type:"minecraft:redstone_torch",item:"minecraft:redstone_torch"},{id:810,group:90,type:"minecraft:redstone_wall_torch",item:"minecraft:redstone_torch"},{id:811,group:91,type:"minecraft:redstone_wire",item:"minecraft:redstone"},{id:812,group:0,type:"minecraft:reinforced_deepslate",item:"minecraft:reinforced_deepslate"},{id:813,group:92,type:"minecraft:repeater",item:"minecraft:repeater"},{id:814,group:45,type:"minecraft:repeating_command_block",item:"minecraft:repeating_command_block"},{id:815,group:93,type:"minecraft:respawn_anchor",item:"minecraft:respawn_anchor"},{id:816,group:0,type:"minecraft:rooted_dirt",item:"minecraft:rooted_dirt"},{id:817,group:72,type:"minecraft:rose_bush",item:"minecraft:rose_bush"},{id:818,group:0,type:"minecraft:sand",item:"minecraft:sand"},{id:819,group:0,type:"minecraft:sandstone",item:"minecraft:sandstone"},{id:820,group:11,type:"minecraft:sandstone_slab",item:"minecraft:sandstone_slab"},{id:821,group:12,type:"minecraft:sandstone_stairs",item:"minecraft:sandstone_stairs"},{id:822,group:17,type:"minecraft:sandstone_wall",item:"minecraft:sandstone_wall"},{id:823,group:94,type:"minecraft:scaffolding",item:"minecraft:scaffolding"},{id:824,group:0,type:"minecraft:sculk",item:"minecraft:sculk"},{id:825,group:95,type:"minecraft:sculk_catalyst",item:"minecraft:sculk_catalyst"},{id:826,group:96,type:"minecraft:sculk_sensor",item:"minecraft:sculk_sensor"},{id:827,group:97,type:"minecraft:sculk_shrieker",item:"minecraft:sculk_shrieker"},{id:828,group:63,type:"minecraft:sculk_vein",item:"minecraft:sculk_vein"},{id:829,group:0,type:"minecraft:sea_lantern",item:"minecraft:sea_lantern"},{id:830,group:98,type:"minecraft:sea_pickle",item:"minecraft:sea_pickle"},{id:831,group:0,type:"minecraft:seagrass",item:"minecraft:seagrass"},{id:832,group:0,type:"minecraft:short_grass",item:"minecraft:short_grass"},{id:833,group:0,type:"minecraft:shroomlight",item:"minecraft:shroomlight"},{id:834,group:30,type:"minecraft:shulker_box",item:"minecraft:shulker_box"},{id:835,group:55,type:"minecraft:skeleton_skull",item:"minecraft:skeleton_skull"},{id:836,group:56,type:"minecraft:skeleton_wall_skull",item:"minecraft:skeleton_skull"},{id:837,group:0,type:"minecraft:slime_block",item:"minecraft:slime_block"},{id:838,group:16,type:"minecraft:small_amethyst_bud",item:"minecraft:small_amethyst_bud"},{id:839,group:99,type:"minecraft:small_dripleaf",item:"minecraft:small_dripleaf"},{id:840,group:0,type:"minecraft:smithing_table",item:"minecraft:smithing_table"},{id:841,group:31,type:"minecraft:smoker",item:"minecraft:smoker"},{id:842,group:0,type:"minecraft:smooth_basalt",item:"minecraft:smooth_basalt"},{id:843,group:0,type:"minecraft:smooth_quartz",item:"minecraft:smooth_quartz"},{id:844,group:11,type:"minecraft:smooth_quartz_slab",item:"minecraft:smooth_quartz_slab"},{id:845,group:12,type:"minecraft:smooth_quartz_stairs",item:"minecraft:smooth_quartz_stairs"},{id:846,group:0,type:"minecraft:smooth_red_sandstone",item:"minecraft:smooth_red_sandstone"},{id:847,group:11,type:"minecraft:smooth_red_sandstone_slab",item:"minecraft:smooth_red_sandstone_slab"},{id:848,group:12,type:"minecraft:smooth_red_sandstone_stairs",item:"minecraft:smooth_red_sandstone_stairs"},{id:849,group:0,type:"minecraft:smooth_sandstone",item:"minecraft:smooth_sandstone"},{id:850,group:11,type:"minecraft:smooth_sandstone_slab",item:"minecraft:smooth_sandstone_slab"},{id:851,group:12,type:"minecraft:smooth_sandstone_stairs",item:"minecraft:smooth_sandstone_stairs"},{id:852,group:0,type:"minecraft:smooth_stone",item:"minecraft:smooth_stone"},{id:853,group:11,type:"minecraft:smooth_stone_slab",item:"minecraft:smooth_stone_slab"},{id:854,group:100,type:"minecraft:sniffer_egg",item:"minecraft:sniffer_egg"},{id:855,group:101,type:"minecraft:snow",item:"minecraft:snow"},{id:856,group:0,type:"minecraft:snow_block",item:"minecraft:snow_block"},{id:857,group:40,type:"minecraft:soul_campfire",item:"minecraft:soul_campfire"},{id:858,group:0,type:"minecraft:soul_fire",item:"minecraft:soul_fire"},{id:859,group:71,type:"minecraft:soul_lantern",item:"minecraft:soul_lantern"},{id:860,group:0,type:"minecraft:soul_sand",item:"minecraft:soul_sand"},{id:861,group:0,type:"minecraft:soul_soil",item:"minecraft:soul_soil"},{id:862,group:0,type:"minecraft:soul_torch",item:"minecraft:soul_torch"},{id:863,group:18,type:"minecraft:soul_wall_torch",item:"minecraft:soul_torch"},{id:864,group:0,type:"minecraft:spawner",item:"minecraft:spawner"},{id:865,group:0,type:"minecraft:sponge",item:"minecraft:sponge"},{id:866,group:0,type:"minecraft:spore_blossom",item:"minecraft:spore_blossom"},{id:867,group:1,type:"minecraft:spruce_button",item:"minecraft:spruce_button"},{id:868,group:2,type:"minecraft:spruce_door",item:"minecraft:spruce_door"},{id:869,group:3,type:"minecraft:spruce_fence",item:"minecraft:spruce_fence"},{id:870,group:4,type:"minecraft:spruce_fence_gate",item:"minecraft:spruce_fence_gate"},{id:871,group:5,type:"minecraft:spruce_hanging_sign",item:"minecraft:spruce_hanging_sign"},{id:872,group:6,type:"minecraft:spruce_leaves",item:"minecraft:spruce_leaves"},{id:873,group:7,type:"minecraft:spruce_log",item:"minecraft:spruce_log"},{id:874,group:0,type:"minecraft:spruce_planks",item:"minecraft:spruce_planks"},{id:875,group:8,type:"minecraft:spruce_pressure_plate",item:"minecraft:spruce_pressure_plate"},{id:876,group:9,type:"minecraft:spruce_sapling",item:"minecraft:spruce_sapling"},{id:877,group:10,type:"minecraft:spruce_sign",item:"minecraft:spruce_sign"},{id:878,group:11,type:"minecraft:spruce_slab",item:"minecraft:spruce_slab"},{id:879,group:12,type:"minecraft:spruce_stairs",item:"minecraft:spruce_stairs"},{id:880,group:13,type:"minecraft:spruce_trapdoor",item:"minecraft:spruce_trapdoor"},{id:881,group:14,type:"minecraft:spruce_wall_hanging_sign",item:"minecraft:spruce_hanging_sign"},{id:882,group:14,type:"minecraft:spruce_wall_sign",item:"minecraft:spruce_sign"},{id:883,group:7,type:"minecraft:spruce_wood",item:"minecraft:spruce_wood"},{id:884,group:83,type:"minecraft:sticky_piston",item:"minecraft:sticky_piston"},{id:885,group:0,type:"minecraft:stone",item:"minecraft:stone"},{id:886,group:11,type:"minecraft:stone_brick_slab",item:"minecraft:stone_brick_slab"},{id:887,group:12,type:"minecraft:stone_brick_stairs",item:"minecraft:stone_brick_stairs"},{id:888,group:17,type:"minecraft:stone_brick_wall",item:"minecraft:stone_brick_wall"},{id:889,group:0,type:"minecraft:stone_bricks",item:"minecraft:stone_bricks"},{id:890,group:1,type:"minecraft:stone_button",item:"minecraft:stone_button"},{id:891,group:8,type:"minecraft:stone_pressure_plate",item:"minecraft:stone_pressure_plate"},{id:892,group:11,type:"minecraft:stone_slab",item:"minecraft:stone_slab"},{id:893,group:12,type:"minecraft:stone_stairs",item:"minecraft:stone_stairs"},{id:894,group:18,type:"minecraft:stonecutter",item:"minecraft:stonecutter"},{id:895,group:7,type:"minecraft:stripped_acacia_log",item:"minecraft:stripped_acacia_log"},{id:896,group:7,type:"minecraft:stripped_acacia_wood",item:"minecraft:stripped_acacia_wood"},{id:897,group:7,type:"minecraft:stripped_bamboo_block",item:"minecraft:stripped_bamboo_block"},{id:898,group:7,type:"minecraft:stripped_birch_log",item:"minecraft:stripped_birch_log"},{id:899,group:7,type:"minecraft:stripped_birch_wood",item:"minecraft:stripped_birch_wood"},{id:900,group:7,type:"minecraft:stripped_cherry_log",item:"minecraft:stripped_cherry_log"},{id:901,group:7,type:"minecraft:stripped_cherry_wood",item:"minecraft:stripped_cherry_wood"},{id:902,group:7,type:"minecraft:stripped_crimson_hyphae",item:"minecraft:stripped_crimson_hyphae"},{id:903,group:7,type:"minecraft:stripped_crimson_stem",item:"minecraft:stripped_crimson_stem"},{id:904,group:7,type:"minecraft:stripped_dark_oak_log",item:"minecraft:stripped_dark_oak_log"},{id:905,group:7,type:"minecraft:stripped_dark_oak_wood",item:"minecraft:stripped_dark_oak_wood"},{id:906,group:7,type:"minecraft:stripped_jungle_log",item:"minecraft:stripped_jungle_log"},{id:907,group:7,type:"minecraft:stripped_jungle_wood",item:"minecraft:stripped_jungle_wood"},{id:908,group:7,type:"minecraft:stripped_mangrove_log",item:"minecraft:stripped_mangrove_log"},{id:909,group:7,type:"minecraft:stripped_mangrove_wood",item:"minecraft:stripped_mangrove_wood"},{id:910,group:7,type:"minecraft:stripped_oak_log",item:"minecraft:stripped_oak_log"},{id:911,group:7,type:"minecraft:stripped_oak_wood",item:"minecraft:stripped_oak_wood"},{id:912,group:7,type:"minecraft:stripped_spruce_log",item:"minecraft:stripped_spruce_log"},{id:913,group:7,type:"minecraft:stripped_spruce_wood",item:"minecraft:stripped_spruce_wood"},{id:914,group:7,type:"minecraft:stripped_warped_hyphae",item:"minecraft:stripped_warped_hyphae"},{id:915,group:7,type:"minecraft:stripped_warped_stem",item:"minecraft:stripped_warped_stem"},{id:916,group:102,type:"minecraft:structure_block",item:"minecraft:structure_block"},{id:917,group:0,type:"minecraft:structure_void",item:"minecraft:structure_void"},{id:918,group:37,type:"minecraft:sugar_cane",item:"minecraft:sugar_cane"},{id:919,group:72,type:"minecraft:sunflower",item:"minecraft:sunflower"},{id:920,group:103,type:"minecraft:suspicious_gravel",item:"minecraft:suspicious_gravel"},{id:921,group:103,type:"minecraft:suspicious_sand",item:"minecraft:suspicious_sand"},{id:922,group:23,type:"minecraft:sweet_berry_bush",item:"minecraft:sweet_berries"},{id:923,group:72,type:"minecraft:tall_grass",item:"minecraft:tall_grass"},{id:924,group:72,type:"minecraft:tall_seagrass",item:"minecraft:tall_seagrass"},{id:925,group:66,type:"minecraft:target",item:"minecraft:target"},{id:926,group:0,type:"minecraft:terracotta",item:"minecraft:terracotta"},{id:927,group:0,type:"minecraft:tinted_glass",item:"minecraft:tinted_glass"},{id:928,group:104,type:"minecraft:tnt",item:"minecraft:tnt"},{id:929,group:0,type:"minecraft:torch",item:"minecraft:torch"},{id:930,group:0,type:"minecraft:torchflower",item:"minecraft:torchflower"},{id:931,group:105,type:"minecraft:torchflower_crop",item:"minecraft:torchflower_seeds"},{id:932,group:46,type:"minecraft:trapped_chest",item:"minecraft:trapped_chest"},{id:933,group:106,type:"minecraft:trial_spawner",item:"minecraft:trial_spawner"},{id:934,group:107,type:"minecraft:tripwire",item:"minecraft:string"},{id:935,group:108,type:"minecraft:tripwire_hook",item:"minecraft:tripwire_hook"},{id:936,group:32,type:"minecraft:tube_coral",item:"minecraft:tube_coral"},{id:937,group:0,type:"minecraft:tube_coral_block",item:"minecraft:tube_coral_block"},{id:938,group:32,type:"minecraft:tube_coral_fan",item:"minecraft:tube_coral_fan"},{id:939,group:33,type:"minecraft:tube_coral_wall_fan",item:"minecraft:tube_coral_fan"},{id:940,group:0,type:"minecraft:tuff",item:"minecraft:tuff"},{id:941,group:11,type:"minecraft:tuff_brick_slab",item:"minecraft:tuff_brick_slab"},{id:942,group:12,type:"minecraft:tuff_brick_stairs",item:"minecraft:tuff_brick_stairs"},{id:943,group:17,type:"minecraft:tuff_brick_wall",item:"minecraft:tuff_brick_wall"},{id:944,group:0,type:"minecraft:tuff_bricks",item:"minecraft:tuff_bricks"},{id:945,group:11,type:"minecraft:tuff_slab",item:"minecraft:tuff_slab"},{id:946,group:12,type:"minecraft:tuff_stairs",item:"minecraft:tuff_stairs"},{id:947,group:17,type:"minecraft:tuff_wall",item:"minecraft:tuff_wall"},{id:948,group:109,type:"minecraft:turtle_egg",item:"minecraft:turtle_egg"},{id:949,group:70,type:"minecraft:twisting_vines",item:"minecraft:twisting_vines"},{id:950,group:0,type:"minecraft:twisting_vines_plant",item:"minecraft:twisting_vines_plant"},{id:951,group:7,type:"minecraft:verdant_froglight",item:"minecraft:verdant_froglight"},{id:952,group:110,type:"minecraft:vine",item:"minecraft:vine"},{id:953,group:0,type:"minecraft:void_air",item:"minecraft:void_air"},{id:954,group:18,type:"minecraft:wall_torch",item:"minecraft:torch"},{id:955,group:1,type:"minecraft:warped_button",item:"minecraft:warped_button"},{id:956,group:2,type:"minecraft:warped_door",item:"minecraft:warped_door"},{id:957,group:3,type:"minecraft:warped_fence",item:"minecraft:warped_fence"},{id:958,group:4,type:"minecraft:warped_fence_gate",item:"minecraft:warped_fence_gate"},{id:959,group:0,type:"minecraft:warped_fungus",item:"minecraft:warped_fungus"},{id:960,group:5,type:"minecraft:warped_hanging_sign",item:"minecraft:warped_hanging_sign"},{id:961,group:7,type:"minecraft:warped_hyphae",item:"minecraft:warped_hyphae"},{id:962,group:0,type:"minecraft:warped_nylium",item:"minecraft:warped_nylium"},{id:963,group:0,type:"minecraft:warped_planks",item:"minecraft:warped_planks"},{id:964,group:8,type:"minecraft:warped_pressure_plate",item:"minecraft:warped_pressure_plate"},{id:965,group:0,type:"minecraft:warped_roots",item:"minecraft:warped_roots"},{id:966,group:10,type:"minecraft:warped_sign",item:"minecraft:warped_sign"},{id:967,group:11,type:"minecraft:warped_slab",item:"minecraft:warped_slab"},{id:968,group:12,type:"minecraft:warped_stairs",item:"minecraft:warped_stairs"},{id:969,group:7,type:"minecraft:warped_stem",item:"minecraft:warped_stem"},{id:970,group:13,type:"minecraft:warped_trapdoor",item:"minecraft:warped_trapdoor"},{id:971,group:14,type:"minecraft:warped_wall_hanging_sign",item:"minecraft:warped_hanging_sign"},{id:972,group:14,type:"minecraft:warped_wall_sign",item:"minecraft:warped_sign"},{id:973,group:0,type:"minecraft:warped_wart_block",item:"minecraft:warped_wart_block"},{id:974,group:73,type:"minecraft:water",item:"minecraft:water_bucket"},{id:975,group:87,type:"minecraft:water_cauldron",item:"minecraft:cauldron"},{id:976,group:0,type:"minecraft:waxed_chiseled_copper",item:"minecraft:waxed_chiseled_copper"},{id:977,group:0,type:"minecraft:waxed_copper_block",item:"minecraft:waxed_copper_block"},{id:978,group:53,type:"minecraft:waxed_copper_bulb",item:"minecraft:waxed_copper_bulb"},{id:979,group:2,type:"minecraft:waxed_copper_door",item:"minecraft:waxed_copper_door"},{id:980,group:21,type:"minecraft:waxed_copper_grate",item:"minecraft:waxed_copper_grate"},{id:981,group:13,type:"minecraft:waxed_copper_trapdoor",item:"minecraft:waxed_copper_trapdoor"},{id:982,group:0,type:"minecraft:waxed_cut_copper",item:"minecraft:waxed_cut_copper"},{id:983,group:11,type:"minecraft:waxed_cut_copper_slab",item:"minecraft:waxed_cut_copper_slab"},{id:984,group:12,type:"minecraft:waxed_cut_copper_stairs",item:"minecraft:waxed_cut_copper_stairs"},{id:985,group:0,type:"minecraft:waxed_exposed_chiseled_copper",item:"minecraft:waxed_exposed_chiseled_copper"},{id:986,group:0,type:"minecraft:waxed_exposed_copper",item:"minecraft:waxed_exposed_copper"},{id:987,group:53,type:"minecraft:waxed_exposed_copper_bulb",item:"minecraft:waxed_exposed_copper_bulb"},{id:988,group:2,type:"minecraft:waxed_exposed_copper_door",item:"minecraft:waxed_exposed_copper_door"},{id:989,group:21,type:"minecraft:waxed_exposed_copper_grate",item:"minecraft:waxed_exposed_copper_grate"},{id:990,group:13,type:"minecraft:waxed_exposed_copper_trapdoor",item:"minecraft:waxed_exposed_copper_trapdoor"},{id:991,group:0,type:"minecraft:waxed_exposed_cut_copper",item:"minecraft:waxed_exposed_cut_copper"},{id:992,group:11,type:"minecraft:waxed_exposed_cut_copper_slab",item:"minecraft:waxed_exposed_cut_copper_slab"},{id:993,group:12,type:"minecraft:waxed_exposed_cut_copper_stairs",item:"minecraft:waxed_exposed_cut_copper_stairs"},{id:994,group:0,type:"minecraft:waxed_oxidized_chiseled_copper",item:"minecraft:waxed_oxidized_chiseled_copper"},{id:995,group:0,type:"minecraft:waxed_oxidized_copper",item:"minecraft:waxed_oxidized_copper"},{id:996,group:53,type:"minecraft:waxed_oxidized_copper_bulb",item:"minecraft:waxed_oxidized_copper_bulb"},{id:997,group:2,type:"minecraft:waxed_oxidized_copper_door",item:"minecraft:waxed_oxidized_copper_door"},{id:998,group:21,type:"minecraft:waxed_oxidized_copper_grate",item:"minecraft:waxed_oxidized_copper_grate"},{id:999,group:13,type:"minecraft:waxed_oxidized_copper_trapdoor",item:"minecraft:waxed_oxidized_copper_trapdoor"},{id:1000,group:0,type:"minecraft:waxed_oxidized_cut_copper",item:"minecraft:waxed_oxidized_cut_copper"},{id:1001,group:11,type:"minecraft:waxed_oxidized_cut_copper_slab",item:"minecraft:waxed_oxidized_cut_copper_slab"},{id:1002,group:12,type:"minecraft:waxed_oxidized_cut_copper_stairs",item:"minecraft:waxed_oxidized_cut_copper_stairs"},{id:1003,group:0,type:"minecraft:waxed_weathered_chiseled_copper",item:"minecraft:waxed_weathered_chiseled_copper"},{id:1004,group:0,type:"minecraft:waxed_weathered_copper",item:"minecraft:waxed_weathered_copper"},{id:1005,group:53,type:"minecraft:waxed_weathered_copper_bulb",item:"minecraft:waxed_weathered_copper_bulb"},{id:1006,group:2,type:"minecraft:waxed_weathered_copper_door",item:"minecraft:waxed_weathered_copper_door"},{id:1007,group:21,type:"minecraft:waxed_weathered_copper_grate",item:"minecraft:waxed_weathered_copper_grate"},{id:1008,group:13,type:"minecraft:waxed_weathered_copper_trapdoor",item:"minecraft:waxed_weathered_copper_trapdoor"},{id:1009,group:0,type:"minecraft:waxed_weathered_cut_copper",item:"minecraft:waxed_weathered_cut_copper"},{id:1010,group:11,type:"minecraft:waxed_weathered_cut_copper_slab",item:"minecraft:waxed_weathered_cut_copper_slab"},{id:1011,group:12,type:"minecraft:waxed_weathered_cut_copper_stairs",item:"minecraft:waxed_weathered_cut_copper_stairs"},{id:1012,group:0,type:"minecraft:weathered_chiseled_copper",item:"minecraft:weathered_chiseled_copper"},{id:1013,group:0,type:"minecraft:weathered_copper",item:"minecraft:weathered_copper"},{id:1014,group:53,type:"minecraft:weathered_copper_bulb",item:"minecraft:weathered_copper_bulb"},{id:1015,group:2,type:"minecraft:weathered_copper_door",item:"minecraft:weathered_copper_door"},{id:1016,group:21,type:"minecraft:weathered_copper_grate",item:"minecraft:weathered_copper_grate"},{id:1017,group:13,type:"minecraft:weathered_copper_trapdoor",item:"minecraft:weathered_copper_trapdoor"},{id:1018,group:0,type:"minecraft:weathered_cut_copper",item:"minecraft:weathered_cut_copper"},{id:1019,group:11,type:"minecraft:weathered_cut_copper_slab",item:"minecraft:weathered_cut_copper_slab"},{id:1020,group:12,type:"minecraft:weathered_cut_copper_stairs",item:"minecraft:weathered_cut_copper_stairs"},{id:1021,group:70,type:"minecraft:weeping_vines",item:"minecraft:weeping_vines"},{id:1022,group:0,type:"minecraft:weeping_vines_plant",item:"minecraft:weeping_vines_plant"},{id:1023,group:0,type:"minecraft:wet_sponge",item:"minecraft:wet_sponge"},{id:1024,group:41,type:"minecraft:wheat",item:"minecraft:wheat_seeds"},{id:1025,group:26,type:"minecraft:white_banner",item:"minecraft:white_banner"},{id:1026,group:27,type:"minecraft:white_bed",item:"minecraft:white_bed"},{id:1027,group:28,type:"minecraft:white_candle",item:"minecraft:white_candle"},{id:1028,group:29,type:"minecraft:white_candle_cake",item:"minecraft:white_candle_cake"},{id:1029,group:0,type:"minecraft:white_carpet",item:"minecraft:white_carpet"},{id:1030,group:0,type:"minecraft:white_concrete",item:"minecraft:white_concrete"},{id:1031,group:0,type:"minecraft:white_concrete_powder",item:"minecraft:white_concrete_powder"},{id:1032,group:18,type:"minecraft:white_glazed_terracotta",item:"minecraft:white_glazed_terracotta"},{id:1033,group:30,type:"minecraft:white_shulker_box",item:"minecraft:white_shulker_box"},{id:1034,group:0,type:"minecraft:white_stained_glass",item:"minecraft:white_stained_glass"},{id:1035,group:3,type:"minecraft:white_stained_glass_pane",item:"minecraft:white_stained_glass_pane"},{id:1036,group:0,type:"minecraft:white_terracotta",item:"minecraft:white_terracotta"},{id:1037,group:0,type:"minecraft:white_tulip",item:"minecraft:white_tulip"},{id:1038,group:18,type:"minecraft:white_wall_banner",item:"minecraft:white_banner"},{id:1039,group:0,type:"minecraft:white_wool",item:"minecraft:white_wool"},{id:1040,group:0,type:"minecraft:wither_rose",item:"minecraft:wither_rose"},{id:1041,group:55,type:"minecraft:wither_skeleton_skull",item:"minecraft:wither_skeleton_skull"},{id:1042,group:56,type:"minecraft:wither_skeleton_wall_skull",item:"minecraft:wither_skeleton_skull"},{id:1043,group:26,type:"minecraft:yellow_banner",item:"minecraft:yellow_banner"},{id:1044,group:27,type:"minecraft:yellow_bed",item:"minecraft:yellow_bed"},{id:1045,group:28,type:"minecraft:yellow_candle",item:"minecraft:yellow_candle"},{id:1046,group:29,type:"minecraft:yellow_candle_cake",item:"minecraft:yellow_candle_cake"},{id:1047,group:0,type:"minecraft:yellow_carpet",item:"minecraft:yellow_carpet"},{id:1048,group:0,type:"minecraft:yellow_concrete",item:"minecraft:yellow_concrete"},{id:1049,group:0,type:"minecraft:yellow_concrete_powder",item:"minecraft:yellow_concrete_powder"},{id:1050,group:18,type:"minecraft:yellow_glazed_terracotta",item:"minecraft:yellow_glazed_terracotta"},{id:1051,group:30,type:"minecraft:yellow_shulker_box",item:"minecraft:yellow_shulker_box"},{id:1052,group:0,type:"minecraft:yellow_stained_glass",item:"minecraft:yellow_stained_glass"},{id:1053,group:3,type:"minecraft:yellow_stained_glass_pane",item:"minecraft:yellow_stained_glass_pane"},{id:1054,group:0,type:"minecraft:yellow_terracotta",item:"minecraft:yellow_terracotta"},{id:1055,group:18,type:"minecraft:yellow_wall_banner",item:"minecraft:yellow_banner"},{id:1056,group:0,type:"minecraft:yellow_wool",item:"minecraft:yellow_wool"},{id:1057,group:55,type:"minecraft:zombie_head",item:"minecraft:zombie_head"},{id:1058,group:56,type:"minecraft:zombie_wall_head",item:"minecraft:zombie_head"}] \ No newline at end of file +data modify storage bs:const block set value [{id:1,group:1,type:"minecraft:acacia_button",item:"minecraft:acacia_button"},{id:2,group:2,type:"minecraft:acacia_door",item:"minecraft:acacia_door"},{id:3,group:3,type:"minecraft:acacia_fence",item:"minecraft:acacia_fence"},{id:4,group:4,type:"minecraft:acacia_fence_gate",item:"minecraft:acacia_fence_gate"},{id:5,group:5,type:"minecraft:acacia_hanging_sign",item:"minecraft:acacia_hanging_sign"},{id:6,group:6,type:"minecraft:acacia_leaves",item:"minecraft:acacia_leaves"},{id:7,group:7,type:"minecraft:acacia_log",item:"minecraft:acacia_log"},{id:8,group:0,type:"minecraft:acacia_planks",item:"minecraft:acacia_planks"},{id:9,group:8,type:"minecraft:acacia_pressure_plate",item:"minecraft:acacia_pressure_plate"},{id:10,group:9,type:"minecraft:acacia_sapling",item:"minecraft:acacia_sapling"},{id:11,group:10,type:"minecraft:acacia_sign",item:"minecraft:acacia_sign"},{id:12,group:11,type:"minecraft:acacia_slab",item:"minecraft:acacia_slab"},{id:13,group:12,type:"minecraft:acacia_stairs",item:"minecraft:acacia_stairs"},{id:14,group:13,type:"minecraft:acacia_trapdoor",item:"minecraft:acacia_trapdoor"},{id:15,group:14,type:"minecraft:acacia_wall_hanging_sign",item:"minecraft:acacia_hanging_sign"},{id:16,group:14,type:"minecraft:acacia_wall_sign",item:"minecraft:acacia_sign"},{id:17,group:7,type:"minecraft:acacia_wood",item:"minecraft:acacia_wood"},{id:18,group:15,type:"minecraft:activator_rail",item:"minecraft:activator_rail"},{id:19,group:0,type:"minecraft:air",item:"minecraft:air"},{id:20,group:0,type:"minecraft:allium",item:"minecraft:allium"},{id:21,group:0,type:"minecraft:amethyst_block",item:"minecraft:amethyst_block"},{id:22,group:16,type:"minecraft:amethyst_cluster",item:"minecraft:amethyst_cluster"},{id:23,group:0,type:"minecraft:ancient_debris",item:"minecraft:ancient_debris"},{id:24,group:0,type:"minecraft:andesite",item:"minecraft:andesite"},{id:25,group:11,type:"minecraft:andesite_slab",item:"minecraft:andesite_slab"},{id:26,group:12,type:"minecraft:andesite_stairs",item:"minecraft:andesite_stairs"},{id:27,group:17,type:"minecraft:andesite_wall",item:"minecraft:andesite_wall"},{id:28,group:18,type:"minecraft:anvil",item:"minecraft:anvil"},{id:29,group:18,type:"minecraft:attached_melon_stem",item:"minecraft:melon_seeds"},{id:30,group:18,type:"minecraft:attached_pumpkin_stem",item:"minecraft:melon_seeds"},{id:31,group:0,type:"minecraft:azalea",item:"minecraft:azalea"},{id:32,group:6,type:"minecraft:azalea_leaves",item:"minecraft:azalea_leaves"},{id:33,group:0,type:"minecraft:azure_bluet",item:"minecraft:azure_bluet"},{id:34,group:19,type:"minecraft:bamboo",item:"minecraft:bamboo"},{id:35,group:7,type:"minecraft:bamboo_block",item:"minecraft:bamboo_block"},{id:36,group:1,type:"minecraft:bamboo_button",item:"minecraft:bamboo_button"},{id:37,group:2,type:"minecraft:bamboo_door",item:"minecraft:bamboo_door"},{id:38,group:3,type:"minecraft:bamboo_fence",item:"minecraft:bamboo_fence"},{id:39,group:4,type:"minecraft:bamboo_fence_gate",item:"minecraft:bamboo_fence_gate"},{id:40,group:5,type:"minecraft:bamboo_hanging_sign",item:"minecraft:bamboo_hanging_sign"},{id:41,group:0,type:"minecraft:bamboo_mosaic",item:"minecraft:bamboo_mosaic"},{id:42,group:11,type:"minecraft:bamboo_mosaic_slab",item:"minecraft:bamboo_mosaic_slab"},{id:43,group:12,type:"minecraft:bamboo_mosaic_stairs",item:"minecraft:bamboo_mosaic_stairs"},{id:44,group:0,type:"minecraft:bamboo_planks",item:"minecraft:bamboo_planks"},{id:45,group:8,type:"minecraft:bamboo_pressure_plate",item:"minecraft:bamboo_pressure_plate"},{id:46,group:0,type:"minecraft:bamboo_sapling",item:"minecraft:bamboo_sapling"},{id:47,group:10,type:"minecraft:bamboo_sign",item:"minecraft:bamboo_sign"},{id:48,group:11,type:"minecraft:bamboo_slab",item:"minecraft:bamboo_slab"},{id:49,group:12,type:"minecraft:bamboo_stairs",item:"minecraft:bamboo_stairs"},{id:50,group:13,type:"minecraft:bamboo_trapdoor",item:"minecraft:bamboo_trapdoor"},{id:51,group:14,type:"minecraft:bamboo_wall_hanging_sign",item:"minecraft:bamboo_hanging_sign"},{id:52,group:14,type:"minecraft:bamboo_wall_sign",item:"minecraft:bamboo_sign"},{id:53,group:20,type:"minecraft:barrel",item:"minecraft:barrel"},{id:54,group:21,type:"minecraft:barrier",item:"minecraft:barrier"},{id:55,group:7,type:"minecraft:basalt",item:"minecraft:basalt"},{id:56,group:0,type:"minecraft:beacon",item:"minecraft:beacon"},{id:57,group:0,type:"minecraft:bedrock",item:"minecraft:bedrock"},{id:58,group:22,type:"minecraft:bee_nest",item:"minecraft:bee_nest"},{id:59,group:22,type:"minecraft:beehive",item:"minecraft:beehive"},{id:60,group:23,type:"minecraft:beetroots",item:"minecraft:beetroot_seeds"},{id:61,group:24,type:"minecraft:bell",item:"minecraft:bell"},{id:62,group:25,type:"minecraft:big_dripleaf",item:"minecraft:big_dripleaf"},{id:63,group:14,type:"minecraft:big_dripleaf_stem",item:"minecraft:big_dripleaf"},{id:64,group:1,type:"minecraft:birch_button",item:"minecraft:birch_button"},{id:65,group:2,type:"minecraft:birch_door",item:"minecraft:birch_door"},{id:66,group:3,type:"minecraft:birch_fence",item:"minecraft:birch_fence"},{id:67,group:4,type:"minecraft:birch_fence_gate",item:"minecraft:birch_fence_gate"},{id:68,group:5,type:"minecraft:birch_hanging_sign",item:"minecraft:birch_hanging_sign"},{id:69,group:6,type:"minecraft:birch_leaves",item:"minecraft:birch_leaves"},{id:70,group:7,type:"minecraft:birch_log",item:"minecraft:birch_log"},{id:71,group:0,type:"minecraft:birch_planks",item:"minecraft:birch_planks"},{id:72,group:8,type:"minecraft:birch_pressure_plate",item:"minecraft:birch_pressure_plate"},{id:73,group:9,type:"minecraft:birch_sapling",item:"minecraft:birch_sapling"},{id:74,group:10,type:"minecraft:birch_sign",item:"minecraft:birch_sign"},{id:75,group:11,type:"minecraft:birch_slab",item:"minecraft:birch_slab"},{id:76,group:12,type:"minecraft:birch_stairs",item:"minecraft:birch_stairs"},{id:77,group:13,type:"minecraft:birch_trapdoor",item:"minecraft:birch_trapdoor"},{id:78,group:14,type:"minecraft:birch_wall_hanging_sign",item:"minecraft:birch_hanging_sign"},{id:79,group:14,type:"minecraft:birch_wall_sign",item:"minecraft:birch_sign"},{id:80,group:7,type:"minecraft:birch_wood",item:"minecraft:birch_wood"},{id:81,group:26,type:"minecraft:black_banner",item:"minecraft:black_banner"},{id:82,group:27,type:"minecraft:black_bed",item:"minecraft:black_bed"},{id:83,group:28,type:"minecraft:black_candle",item:"minecraft:black_candle"},{id:84,group:29,type:"minecraft:black_candle_cake",item:"minecraft:black_candle_cake"},{id:85,group:0,type:"minecraft:black_carpet",item:"minecraft:black_carpet"},{id:86,group:0,type:"minecraft:black_concrete",item:"minecraft:black_concrete"},{id:87,group:0,type:"minecraft:black_concrete_powder",item:"minecraft:black_concrete_powder"},{id:88,group:18,type:"minecraft:black_glazed_terracotta",item:"minecraft:black_glazed_terracotta"},{id:89,group:30,type:"minecraft:black_shulker_box",item:"minecraft:black_shulker_box"},{id:90,group:0,type:"minecraft:black_stained_glass",item:"minecraft:black_stained_glass"},{id:91,group:3,type:"minecraft:black_stained_glass_pane",item:"minecraft:black_stained_glass_pane"},{id:92,group:0,type:"minecraft:black_terracotta",item:"minecraft:black_terracotta"},{id:93,group:18,type:"minecraft:black_wall_banner",item:"minecraft:black_banner"},{id:94,group:0,type:"minecraft:black_wool",item:"minecraft:black_wool"},{id:95,group:0,type:"minecraft:blackstone",item:"minecraft:blackstone"},{id:96,group:11,type:"minecraft:blackstone_slab",item:"minecraft:blackstone_slab"},{id:97,group:12,type:"minecraft:blackstone_stairs",item:"minecraft:blackstone_stairs"},{id:98,group:17,type:"minecraft:blackstone_wall",item:"minecraft:blackstone_wall"},{id:99,group:31,type:"minecraft:blast_furnace",item:"minecraft:blast_furnace"},{id:100,group:26,type:"minecraft:blue_banner",item:"minecraft:blue_banner"},{id:101,group:27,type:"minecraft:blue_bed",item:"minecraft:blue_bed"},{id:102,group:28,type:"minecraft:blue_candle",item:"minecraft:blue_candle"},{id:103,group:29,type:"minecraft:blue_candle_cake",item:"minecraft:blue_candle_cake"},{id:104,group:0,type:"minecraft:blue_carpet",item:"minecraft:blue_carpet"},{id:105,group:0,type:"minecraft:blue_concrete",item:"minecraft:blue_concrete"},{id:106,group:0,type:"minecraft:blue_concrete_powder",item:"minecraft:blue_concrete_powder"},{id:107,group:18,type:"minecraft:blue_glazed_terracotta",item:"minecraft:blue_glazed_terracotta"},{id:108,group:0,type:"minecraft:blue_ice",item:"minecraft:blue_ice"},{id:109,group:0,type:"minecraft:blue_orchid",item:"minecraft:blue_orchid"},{id:110,group:30,type:"minecraft:blue_shulker_box",item:"minecraft:blue_shulker_box"},{id:111,group:0,type:"minecraft:blue_stained_glass",item:"minecraft:blue_stained_glass"},{id:112,group:3,type:"minecraft:blue_stained_glass_pane",item:"minecraft:blue_stained_glass_pane"},{id:113,group:0,type:"minecraft:blue_terracotta",item:"minecraft:blue_terracotta"},{id:114,group:18,type:"minecraft:blue_wall_banner",item:"minecraft:blue_banner"},{id:115,group:0,type:"minecraft:blue_wool",item:"minecraft:blue_wool"},{id:116,group:7,type:"minecraft:bone_block",item:"minecraft:bone_block"},{id:117,group:0,type:"minecraft:bookshelf",item:"minecraft:bookshelf"},{id:118,group:32,type:"minecraft:brain_coral",item:"minecraft:brain_coral"},{id:119,group:0,type:"minecraft:brain_coral_block",item:"minecraft:brain_coral_block"},{id:120,group:32,type:"minecraft:brain_coral_fan",item:"minecraft:brain_coral_fan"},{id:121,group:33,type:"minecraft:brain_coral_wall_fan",item:"minecraft:brain_coral_fan"},{id:122,group:34,type:"minecraft:brewing_stand",item:"minecraft:brewing_stand"},{id:123,group:11,type:"minecraft:brick_slab",item:"minecraft:brick_slab"},{id:124,group:12,type:"minecraft:brick_stairs",item:"minecraft:brick_stairs"},{id:125,group:17,type:"minecraft:brick_wall",item:"minecraft:brick_wall"},{id:126,group:0,type:"minecraft:bricks",item:"minecraft:bricks"},{id:127,group:26,type:"minecraft:brown_banner",item:"minecraft:brown_banner"},{id:128,group:27,type:"minecraft:brown_bed",item:"minecraft:brown_bed"},{id:129,group:28,type:"minecraft:brown_candle",item:"minecraft:brown_candle"},{id:130,group:29,type:"minecraft:brown_candle_cake",item:"minecraft:brown_candle_cake"},{id:131,group:0,type:"minecraft:brown_carpet",item:"minecraft:brown_carpet"},{id:132,group:0,type:"minecraft:brown_concrete",item:"minecraft:brown_concrete"},{id:133,group:0,type:"minecraft:brown_concrete_powder",item:"minecraft:brown_concrete_powder"},{id:134,group:18,type:"minecraft:brown_glazed_terracotta",item:"minecraft:brown_glazed_terracotta"},{id:135,group:0,type:"minecraft:brown_mushroom",item:"minecraft:brown_mushroom"},{id:136,group:35,type:"minecraft:brown_mushroom_block",item:"minecraft:brown_mushroom_block"},{id:137,group:30,type:"minecraft:brown_shulker_box",item:"minecraft:brown_shulker_box"},{id:138,group:0,type:"minecraft:brown_stained_glass",item:"minecraft:brown_stained_glass"},{id:139,group:3,type:"minecraft:brown_stained_glass_pane",item:"minecraft:brown_stained_glass_pane"},{id:140,group:0,type:"minecraft:brown_terracotta",item:"minecraft:brown_terracotta"},{id:141,group:18,type:"minecraft:brown_wall_banner",item:"minecraft:brown_banner"},{id:142,group:0,type:"minecraft:brown_wool",item:"minecraft:brown_wool"},{id:143,group:36,type:"minecraft:bubble_column",item:"minecraft:bubble_column"},{id:144,group:32,type:"minecraft:bubble_coral",item:"minecraft:bubble_coral"},{id:145,group:0,type:"minecraft:bubble_coral_block",item:"minecraft:bubble_coral_block"},{id:146,group:32,type:"minecraft:bubble_coral_fan",item:"minecraft:bubble_coral_fan"},{id:147,group:33,type:"minecraft:bubble_coral_wall_fan",item:"minecraft:bubble_coral_fan"},{id:148,group:0,type:"minecraft:budding_amethyst",item:"minecraft:budding_amethyst"},{id:149,group:37,type:"minecraft:cactus",item:"minecraft:cactus"},{id:150,group:38,type:"minecraft:cake",item:"minecraft:cake"},{id:151,group:0,type:"minecraft:calcite",item:"minecraft:calcite"},{id:152,group:39,type:"minecraft:calibrated_sculk_sensor",item:"minecraft:calibrated_sculk_sensor"},{id:153,group:40,type:"minecraft:campfire",item:"minecraft:campfire"},{id:154,group:28,type:"minecraft:candle",item:"minecraft:candle"},{id:155,group:29,type:"minecraft:candle_cake",item:"minecraft:candle_cake"},{id:156,group:41,type:"minecraft:carrots",item:"minecraft:carrot"},{id:157,group:0,type:"minecraft:cartography_table",item:"minecraft:cartography_table"},{id:158,group:18,type:"minecraft:carved_pumpkin",item:"minecraft:carved_pumpkin"},{id:159,group:0,type:"minecraft:cauldron",item:"minecraft:cauldron"},{id:160,group:0,type:"minecraft:cave_air",item:"minecraft:cave_air"},{id:161,group:42,type:"minecraft:cave_vines",item:"minecraft:glow_berries"},{id:162,group:43,type:"minecraft:cave_vines_plant",item:"minecraft:glow_berries"},{id:163,group:44,type:"minecraft:chain",item:"minecraft:chain"},{id:164,group:45,type:"minecraft:chain_command_block",item:"minecraft:chain_command_block"},{id:165,group:1,type:"minecraft:cherry_button",item:"minecraft:cherry_button"},{id:166,group:2,type:"minecraft:cherry_door",item:"minecraft:cherry_door"},{id:167,group:3,type:"minecraft:cherry_fence",item:"minecraft:cherry_fence"},{id:168,group:4,type:"minecraft:cherry_fence_gate",item:"minecraft:cherry_fence_gate"},{id:169,group:5,type:"minecraft:cherry_hanging_sign",item:"minecraft:cherry_hanging_sign"},{id:170,group:6,type:"minecraft:cherry_leaves",item:"minecraft:cherry_leaves"},{id:171,group:7,type:"minecraft:cherry_log",item:"minecraft:cherry_log"},{id:172,group:0,type:"minecraft:cherry_planks",item:"minecraft:cherry_planks"},{id:173,group:8,type:"minecraft:cherry_pressure_plate",item:"minecraft:cherry_pressure_plate"},{id:174,group:9,type:"minecraft:cherry_sapling",item:"minecraft:cherry_sapling"},{id:175,group:10,type:"minecraft:cherry_sign",item:"minecraft:cherry_sign"},{id:176,group:11,type:"minecraft:cherry_slab",item:"minecraft:cherry_slab"},{id:177,group:12,type:"minecraft:cherry_stairs",item:"minecraft:cherry_stairs"},{id:178,group:13,type:"minecraft:cherry_trapdoor",item:"minecraft:cherry_trapdoor"},{id:179,group:14,type:"minecraft:cherry_wall_hanging_sign",item:"minecraft:cherry_hanging_sign"},{id:180,group:14,type:"minecraft:cherry_wall_sign",item:"minecraft:cherry_sign"},{id:181,group:7,type:"minecraft:cherry_wood",item:"minecraft:cherry_wood"},{id:182,group:46,type:"minecraft:chest",item:"minecraft:chest"},{id:183,group:18,type:"minecraft:chipped_anvil",item:"minecraft:chipped_anvil"},{id:184,group:47,type:"minecraft:chiseled_bookshelf",item:"minecraft:chiseled_bookshelf"},{id:185,group:0,type:"minecraft:chiseled_copper",item:"minecraft:chiseled_copper"},{id:186,group:0,type:"minecraft:chiseled_deepslate",item:"minecraft:chiseled_deepslate"},{id:187,group:0,type:"minecraft:chiseled_nether_bricks",item:"minecraft:chiseled_nether_bricks"},{id:188,group:0,type:"minecraft:chiseled_polished_blackstone",item:"minecraft:chiseled_polished_blackstone"},{id:189,group:0,type:"minecraft:chiseled_quartz_block",item:"minecraft:chiseled_quartz_block"},{id:190,group:0,type:"minecraft:chiseled_red_sandstone",item:"minecraft:chiseled_red_sandstone"},{id:191,group:0,type:"minecraft:chiseled_sandstone",item:"minecraft:chiseled_sandstone"},{id:192,group:0,type:"minecraft:chiseled_stone_bricks",item:"minecraft:chiseled_stone_bricks"},{id:193,group:0,type:"minecraft:chiseled_tuff",item:"minecraft:chiseled_tuff"},{id:194,group:0,type:"minecraft:chiseled_tuff_bricks",item:"minecraft:chiseled_tuff_bricks"},{id:195,group:48,type:"minecraft:chorus_flower",item:"minecraft:chorus_flower"},{id:196,group:49,type:"minecraft:chorus_plant",item:"minecraft:chorus_plant"},{id:197,group:0,type:"minecraft:clay",item:"minecraft:clay"},{id:198,group:0,type:"minecraft:coal_block",item:"minecraft:coal_block"},{id:199,group:0,type:"minecraft:coal_ore",item:"minecraft:coal_ore"},{id:200,group:0,type:"minecraft:coarse_dirt",item:"minecraft:coarse_dirt"},{id:201,group:0,type:"minecraft:cobbled_deepslate",item:"minecraft:cobbled_deepslate"},{id:202,group:11,type:"minecraft:cobbled_deepslate_slab",item:"minecraft:cobbled_deepslate_slab"},{id:203,group:12,type:"minecraft:cobbled_deepslate_stairs",item:"minecraft:cobbled_deepslate_stairs"},{id:204,group:17,type:"minecraft:cobbled_deepslate_wall",item:"minecraft:cobbled_deepslate_wall"},{id:205,group:0,type:"minecraft:cobblestone",item:"minecraft:cobblestone"},{id:206,group:11,type:"minecraft:cobblestone_slab",item:"minecraft:cobblestone_slab"},{id:207,group:12,type:"minecraft:cobblestone_stairs",item:"minecraft:cobblestone_stairs"},{id:208,group:17,type:"minecraft:cobblestone_wall",item:"minecraft:cobblestone_wall"},{id:209,group:0,type:"minecraft:cobweb",item:"minecraft:cobweb"},{id:210,group:50,type:"minecraft:cocoa",item:"minecraft:cocoa_beans"},{id:211,group:45,type:"minecraft:command_block",item:"minecraft:command_block"},{id:212,group:51,type:"minecraft:comparator",item:"minecraft:comparator"},{id:213,group:52,type:"minecraft:composter",item:"minecraft:composter"},{id:214,group:32,type:"minecraft:conduit",item:"minecraft:conduit"},{id:215,group:0,type:"minecraft:copper_block",item:"minecraft:copper_block"},{id:216,group:53,type:"minecraft:copper_bulb",item:"minecraft:copper_bulb"},{id:217,group:2,type:"minecraft:copper_door",item:"minecraft:copper_door"},{id:218,group:21,type:"minecraft:copper_grate",item:"minecraft:copper_grate"},{id:219,group:0,type:"minecraft:copper_ore",item:"minecraft:copper_ore"},{id:220,group:13,type:"minecraft:copper_trapdoor",item:"minecraft:copper_trapdoor"},{id:221,group:0,type:"minecraft:cornflower",item:"minecraft:cornflower"},{id:222,group:0,type:"minecraft:cracked_deepslate_bricks",item:"minecraft:cracked_deepslate_bricks"},{id:223,group:0,type:"minecraft:cracked_deepslate_tiles",item:"minecraft:cracked_deepslate_tiles"},{id:224,group:0,type:"minecraft:cracked_nether_bricks",item:"minecraft:cracked_nether_bricks"},{id:225,group:0,type:"minecraft:cracked_polished_blackstone_bricks",item:"minecraft:cracked_polished_blackstone_bricks"},{id:226,group:0,type:"minecraft:cracked_stone_bricks",item:"minecraft:cracked_stone_bricks"},{id:227,group:54,type:"minecraft:crafter",item:"minecraft:crafter"},{id:228,group:0,type:"minecraft:crafting_table",item:"minecraft:crafting_table"},{id:229,group:55,type:"minecraft:creeper_head",item:"minecraft:creeper_head"},{id:230,group:56,type:"minecraft:creeper_wall_head",item:"minecraft:creeper_head"},{id:231,group:1,type:"minecraft:crimson_button",item:"minecraft:crimson_button"},{id:232,group:2,type:"minecraft:crimson_door",item:"minecraft:crimson_door"},{id:233,group:3,type:"minecraft:crimson_fence",item:"minecraft:crimson_fence"},{id:234,group:4,type:"minecraft:crimson_fence_gate",item:"minecraft:crimson_fence_gate"},{id:235,group:0,type:"minecraft:crimson_fungus",item:"minecraft:crimson_fungus"},{id:236,group:5,type:"minecraft:crimson_hanging_sign",item:"minecraft:crimson_hanging_sign"},{id:237,group:7,type:"minecraft:crimson_hyphae",item:"minecraft:crimson_hyphae"},{id:238,group:0,type:"minecraft:crimson_nylium",item:"minecraft:crimson_nylium"},{id:239,group:0,type:"minecraft:crimson_planks",item:"minecraft:crimson_planks"},{id:240,group:8,type:"minecraft:crimson_pressure_plate",item:"minecraft:crimson_pressure_plate"},{id:241,group:0,type:"minecraft:crimson_roots",item:"minecraft:crimson_roots"},{id:242,group:10,type:"minecraft:crimson_sign",item:"minecraft:crimson_sign"},{id:243,group:11,type:"minecraft:crimson_slab",item:"minecraft:crimson_slab"},{id:244,group:12,type:"minecraft:crimson_stairs",item:"minecraft:crimson_stairs"},{id:245,group:7,type:"minecraft:crimson_stem",item:"minecraft:crimson_stem"},{id:246,group:13,type:"minecraft:crimson_trapdoor",item:"minecraft:crimson_trapdoor"},{id:247,group:14,type:"minecraft:crimson_wall_hanging_sign",item:"minecraft:crimson_hanging_sign"},{id:248,group:14,type:"minecraft:crimson_wall_sign",item:"minecraft:crimson_sign"},{id:249,group:0,type:"minecraft:crying_obsidian",item:"minecraft:crying_obsidian"},{id:250,group:0,type:"minecraft:cut_copper",item:"minecraft:cut_copper"},{id:251,group:11,type:"minecraft:cut_copper_slab",item:"minecraft:cut_copper_slab"},{id:252,group:12,type:"minecraft:cut_copper_stairs",item:"minecraft:cut_copper_stairs"},{id:253,group:0,type:"minecraft:cut_red_sandstone",item:"minecraft:cut_red_sandstone"},{id:254,group:11,type:"minecraft:cut_red_sandstone_slab",item:"minecraft:cut_red_sandstone_slab"},{id:255,group:0,type:"minecraft:cut_sandstone",item:"minecraft:cut_sandstone"},{id:256,group:11,type:"minecraft:cut_sandstone_slab",item:"minecraft:cut_sandstone_slab"},{id:257,group:26,type:"minecraft:cyan_banner",item:"minecraft:cyan_banner"},{id:258,group:27,type:"minecraft:cyan_bed",item:"minecraft:cyan_bed"},{id:259,group:28,type:"minecraft:cyan_candle",item:"minecraft:cyan_candle"},{id:260,group:29,type:"minecraft:cyan_candle_cake",item:"minecraft:cyan_candle_cake"},{id:261,group:0,type:"minecraft:cyan_carpet",item:"minecraft:cyan_carpet"},{id:262,group:0,type:"minecraft:cyan_concrete",item:"minecraft:cyan_concrete"},{id:263,group:0,type:"minecraft:cyan_concrete_powder",item:"minecraft:cyan_concrete_powder"},{id:264,group:18,type:"minecraft:cyan_glazed_terracotta",item:"minecraft:cyan_glazed_terracotta"},{id:265,group:30,type:"minecraft:cyan_shulker_box",item:"minecraft:cyan_shulker_box"},{id:266,group:0,type:"minecraft:cyan_stained_glass",item:"minecraft:cyan_stained_glass"},{id:267,group:3,type:"minecraft:cyan_stained_glass_pane",item:"minecraft:cyan_stained_glass_pane"},{id:268,group:0,type:"minecraft:cyan_terracotta",item:"minecraft:cyan_terracotta"},{id:269,group:18,type:"minecraft:cyan_wall_banner",item:"minecraft:cyan_banner"},{id:270,group:0,type:"minecraft:cyan_wool",item:"minecraft:cyan_wool"},{id:271,group:18,type:"minecraft:damaged_anvil",item:"minecraft:damaged_anvil"},{id:272,group:0,type:"minecraft:dandelion",item:"minecraft:dandelion"},{id:273,group:1,type:"minecraft:dark_oak_button",item:"minecraft:dark_oak_button"},{id:274,group:2,type:"minecraft:dark_oak_door",item:"minecraft:dark_oak_door"},{id:275,group:3,type:"minecraft:dark_oak_fence",item:"minecraft:dark_oak_fence"},{id:276,group:4,type:"minecraft:dark_oak_fence_gate",item:"minecraft:dark_oak_fence_gate"},{id:277,group:5,type:"minecraft:dark_oak_hanging_sign",item:"minecraft:dark_oak_hanging_sign"},{id:278,group:6,type:"minecraft:dark_oak_leaves",item:"minecraft:dark_oak_leaves"},{id:279,group:7,type:"minecraft:dark_oak_log",item:"minecraft:dark_oak_log"},{id:280,group:0,type:"minecraft:dark_oak_planks",item:"minecraft:dark_oak_planks"},{id:281,group:8,type:"minecraft:dark_oak_pressure_plate",item:"minecraft:dark_oak_pressure_plate"},{id:282,group:9,type:"minecraft:dark_oak_sapling",item:"minecraft:dark_oak_sapling"},{id:283,group:10,type:"minecraft:dark_oak_sign",item:"minecraft:dark_oak_sign"},{id:284,group:11,type:"minecraft:dark_oak_slab",item:"minecraft:dark_oak_slab"},{id:285,group:12,type:"minecraft:dark_oak_stairs",item:"minecraft:dark_oak_stairs"},{id:286,group:13,type:"minecraft:dark_oak_trapdoor",item:"minecraft:dark_oak_trapdoor"},{id:287,group:14,type:"minecraft:dark_oak_wall_hanging_sign",item:"minecraft:dark_oak_hanging_sign"},{id:288,group:14,type:"minecraft:dark_oak_wall_sign",item:"minecraft:dark_oak_sign"},{id:289,group:7,type:"minecraft:dark_oak_wood",item:"minecraft:dark_oak_wood"},{id:290,group:0,type:"minecraft:dark_prismarine",item:"minecraft:dark_prismarine"},{id:291,group:11,type:"minecraft:dark_prismarine_slab",item:"minecraft:dark_prismarine_slab"},{id:292,group:12,type:"minecraft:dark_prismarine_stairs",item:"minecraft:dark_prismarine_stairs"},{id:293,group:57,type:"minecraft:daylight_detector",item:"minecraft:daylight_detector"},{id:294,group:32,type:"minecraft:dead_brain_coral",item:"minecraft:dead_brain_coral"},{id:295,group:0,type:"minecraft:dead_brain_coral_block",item:"minecraft:dead_brain_coral_block"},{id:296,group:32,type:"minecraft:dead_brain_coral_fan",item:"minecraft:dead_brain_coral_fan"},{id:297,group:33,type:"minecraft:dead_brain_coral_wall_fan",item:"minecraft:dead_brain_coral_fan"},{id:298,group:32,type:"minecraft:dead_bubble_coral",item:"minecraft:dead_bubble_coral"},{id:299,group:0,type:"minecraft:dead_bubble_coral_block",item:"minecraft:dead_bubble_coral_block"},{id:300,group:32,type:"minecraft:dead_bubble_coral_fan",item:"minecraft:dead_bubble_coral_fan"},{id:301,group:33,type:"minecraft:dead_bubble_coral_wall_fan",item:"minecraft:dead_bubble_coral_fan"},{id:302,group:0,type:"minecraft:dead_bush",item:"minecraft:dead_bush"},{id:303,group:32,type:"minecraft:dead_fire_coral",item:"minecraft:dead_fire_coral"},{id:304,group:0,type:"minecraft:dead_fire_coral_block",item:"minecraft:dead_fire_coral_block"},{id:305,group:32,type:"minecraft:dead_fire_coral_fan",item:"minecraft:dead_fire_coral_fan"},{id:306,group:33,type:"minecraft:dead_fire_coral_wall_fan",item:"minecraft:dead_fire_coral_fan"},{id:307,group:32,type:"minecraft:dead_horn_coral",item:"minecraft:dead_horn_coral"},{id:308,group:0,type:"minecraft:dead_horn_coral_block",item:"minecraft:dead_horn_coral_block"},{id:309,group:32,type:"minecraft:dead_horn_coral_fan",item:"minecraft:dead_horn_coral_fan"},{id:310,group:33,type:"minecraft:dead_horn_coral_wall_fan",item:"minecraft:dead_horn_coral_fan"},{id:311,group:32,type:"minecraft:dead_tube_coral",item:"minecraft:dead_tube_coral"},{id:312,group:0,type:"minecraft:dead_tube_coral_block",item:"minecraft:dead_tube_coral_block"},{id:313,group:32,type:"minecraft:dead_tube_coral_fan",item:"minecraft:dead_tube_coral_fan"},{id:314,group:33,type:"minecraft:dead_tube_coral_wall_fan",item:"minecraft:dead_tube_coral_fan"},{id:315,group:58,type:"minecraft:decorated_pot",item:"minecraft:decorated_pot"},{id:316,group:7,type:"minecraft:deepslate",item:"minecraft:deepslate"},{id:317,group:11,type:"minecraft:deepslate_brick_slab",item:"minecraft:deepslate_brick_slab"},{id:318,group:12,type:"minecraft:deepslate_brick_stairs",item:"minecraft:deepslate_brick_stairs"},{id:319,group:17,type:"minecraft:deepslate_brick_wall",item:"minecraft:deepslate_brick_wall"},{id:320,group:0,type:"minecraft:deepslate_bricks",item:"minecraft:deepslate_bricks"},{id:321,group:0,type:"minecraft:deepslate_coal_ore",item:"minecraft:deepslate_coal_ore"},{id:322,group:0,type:"minecraft:deepslate_copper_ore",item:"minecraft:deepslate_copper_ore"},{id:323,group:0,type:"minecraft:deepslate_diamond_ore",item:"minecraft:deepslate_diamond_ore"},{id:324,group:0,type:"minecraft:deepslate_emerald_ore",item:"minecraft:deepslate_emerald_ore"},{id:325,group:0,type:"minecraft:deepslate_gold_ore",item:"minecraft:deepslate_gold_ore"},{id:326,group:0,type:"minecraft:deepslate_iron_ore",item:"minecraft:deepslate_iron_ore"},{id:327,group:0,type:"minecraft:deepslate_lapis_ore",item:"minecraft:deepslate_lapis_ore"},{id:328,group:29,type:"minecraft:deepslate_redstone_ore",item:"minecraft:deepslate_redstone_ore"},{id:329,group:11,type:"minecraft:deepslate_tile_slab",item:"minecraft:deepslate_tile_slab"},{id:330,group:12,type:"minecraft:deepslate_tile_stairs",item:"minecraft:deepslate_tile_stairs"},{id:331,group:17,type:"minecraft:deepslate_tile_wall",item:"minecraft:deepslate_tile_wall"},{id:332,group:0,type:"minecraft:deepslate_tiles",item:"minecraft:deepslate_tiles"},{id:333,group:15,type:"minecraft:detector_rail",item:"minecraft:detector_rail"},{id:334,group:0,type:"minecraft:diamond_block",item:"minecraft:diamond_block"},{id:335,group:0,type:"minecraft:diamond_ore",item:"minecraft:diamond_ore"},{id:336,group:0,type:"minecraft:diorite",item:"minecraft:diorite"},{id:337,group:11,type:"minecraft:diorite_slab",item:"minecraft:diorite_slab"},{id:338,group:12,type:"minecraft:diorite_stairs",item:"minecraft:diorite_stairs"},{id:339,group:17,type:"minecraft:diorite_wall",item:"minecraft:diorite_wall"},{id:340,group:0,type:"minecraft:dirt",item:"minecraft:dirt"},{id:341,group:0,type:"minecraft:dirt_path",item:"minecraft:dirt_path"},{id:342,group:59,type:"minecraft:dispenser",item:"minecraft:dispenser"},{id:343,group:0,type:"minecraft:dragon_egg",item:"minecraft:dragon_egg"},{id:344,group:55,type:"minecraft:dragon_head",item:"minecraft:dragon_head"},{id:345,group:56,type:"minecraft:dragon_wall_head",item:"minecraft:dragon_head"},{id:346,group:0,type:"minecraft:dried_kelp_block",item:"minecraft:dried_kelp_block"},{id:347,group:0,type:"minecraft:dripstone_block",item:"minecraft:dripstone_block"},{id:348,group:59,type:"minecraft:dropper",item:"minecraft:dropper"},{id:349,group:0,type:"minecraft:emerald_block",item:"minecraft:emerald_block"},{id:350,group:0,type:"minecraft:emerald_ore",item:"minecraft:emerald_ore"},{id:351,group:0,type:"minecraft:enchanting_table",item:"minecraft:enchanting_table"},{id:352,group:0,type:"minecraft:end_gateway",item:"minecraft:end_gateway"},{id:353,group:0,type:"minecraft:end_portal",item:"minecraft:end_portal"},{id:354,group:60,type:"minecraft:end_portal_frame",item:"minecraft:end_portal_frame"},{id:355,group:30,type:"minecraft:end_rod",item:"minecraft:end_rod"},{id:356,group:0,type:"minecraft:end_stone",item:"minecraft:end_stone"},{id:357,group:11,type:"minecraft:end_stone_brick_slab",item:"minecraft:end_stone_brick_slab"},{id:358,group:12,type:"minecraft:end_stone_brick_stairs",item:"minecraft:end_stone_brick_stairs"},{id:359,group:17,type:"minecraft:end_stone_brick_wall",item:"minecraft:end_stone_brick_wall"},{id:360,group:0,type:"minecraft:end_stone_bricks",item:"minecraft:end_stone_bricks"},{id:361,group:14,type:"minecraft:ender_chest",item:"minecraft:ender_chest"},{id:362,group:0,type:"minecraft:exposed_chiseled_copper",item:"minecraft:exposed_chiseled_copper"},{id:363,group:0,type:"minecraft:exposed_copper",item:"minecraft:exposed_copper"},{id:364,group:53,type:"minecraft:exposed_copper_bulb",item:"minecraft:exposed_copper_bulb"},{id:365,group:2,type:"minecraft:exposed_copper_door",item:"minecraft:exposed_copper_door"},{id:366,group:21,type:"minecraft:exposed_copper_grate",item:"minecraft:exposed_copper_grate"},{id:367,group:13,type:"minecraft:exposed_copper_trapdoor",item:"minecraft:exposed_copper_trapdoor"},{id:368,group:0,type:"minecraft:exposed_cut_copper",item:"minecraft:exposed_cut_copper"},{id:369,group:11,type:"minecraft:exposed_cut_copper_slab",item:"minecraft:exposed_cut_copper_slab"},{id:370,group:12,type:"minecraft:exposed_cut_copper_stairs",item:"minecraft:exposed_cut_copper_stairs"},{id:371,group:61,type:"minecraft:farmland",item:"minecraft:farmland"},{id:372,group:0,type:"minecraft:fern",item:"minecraft:fern"},{id:373,group:62,type:"minecraft:fire",item:"minecraft:fire"},{id:374,group:32,type:"minecraft:fire_coral",item:"minecraft:fire_coral"},{id:375,group:0,type:"minecraft:fire_coral_block",item:"minecraft:fire_coral_block"},{id:376,group:32,type:"minecraft:fire_coral_fan",item:"minecraft:fire_coral_fan"},{id:377,group:33,type:"minecraft:fire_coral_wall_fan",item:"minecraft:fire_coral_fan"},{id:378,group:0,type:"minecraft:fletching_table",item:"minecraft:fletching_table"},{id:379,group:0,type:"minecraft:flower_pot",item:"minecraft:flower_pot"},{id:380,group:0,type:"minecraft:flowering_azalea",item:"minecraft:flowering_azalea"},{id:381,group:6,type:"minecraft:flowering_azalea_leaves",item:"minecraft:flowering_azalea_leaves"},{id:382,group:0,type:"minecraft:frogspawn",item:"minecraft:frogspawn"},{id:383,group:23,type:"minecraft:frosted_ice",item:"minecraft:frosted_ice"},{id:384,group:31,type:"minecraft:furnace",item:"minecraft:furnace"},{id:385,group:0,type:"minecraft:gilded_blackstone",item:"minecraft:gilded_blackstone"},{id:386,group:0,type:"minecraft:glass",item:"minecraft:glass"},{id:387,group:3,type:"minecraft:glass_pane",item:"minecraft:glass_pane"},{id:388,group:63,type:"minecraft:glow_lichen",item:"minecraft:glow_lichen"},{id:389,group:0,type:"minecraft:glowstone",item:"minecraft:glowstone"},{id:390,group:0,type:"minecraft:gold_block",item:"minecraft:gold_block"},{id:391,group:0,type:"minecraft:gold_ore",item:"minecraft:gold_ore"},{id:392,group:0,type:"minecraft:granite",item:"minecraft:granite"},{id:393,group:11,type:"minecraft:granite_slab",item:"minecraft:granite_slab"},{id:394,group:12,type:"minecraft:granite_stairs",item:"minecraft:granite_stairs"},{id:395,group:17,type:"minecraft:granite_wall",item:"minecraft:granite_wall"},{id:396,group:64,type:"minecraft:grass_block",item:"minecraft:grass_block"},{id:397,group:0,type:"minecraft:gravel",item:"minecraft:gravel"},{id:398,group:26,type:"minecraft:gray_banner",item:"minecraft:gray_banner"},{id:399,group:27,type:"minecraft:gray_bed",item:"minecraft:gray_bed"},{id:400,group:28,type:"minecraft:gray_candle",item:"minecraft:gray_candle"},{id:401,group:29,type:"minecraft:gray_candle_cake",item:"minecraft:gray_candle_cake"},{id:402,group:0,type:"minecraft:gray_carpet",item:"minecraft:gray_carpet"},{id:403,group:0,type:"minecraft:gray_concrete",item:"minecraft:gray_concrete"},{id:404,group:0,type:"minecraft:gray_concrete_powder",item:"minecraft:gray_concrete_powder"},{id:405,group:18,type:"minecraft:gray_glazed_terracotta",item:"minecraft:gray_glazed_terracotta"},{id:406,group:30,type:"minecraft:gray_shulker_box",item:"minecraft:gray_shulker_box"},{id:407,group:0,type:"minecraft:gray_stained_glass",item:"minecraft:gray_stained_glass"},{id:408,group:3,type:"minecraft:gray_stained_glass_pane",item:"minecraft:gray_stained_glass_pane"},{id:409,group:0,type:"minecraft:gray_terracotta",item:"minecraft:gray_terracotta"},{id:410,group:18,type:"minecraft:gray_wall_banner",item:"minecraft:gray_banner"},{id:411,group:0,type:"minecraft:gray_wool",item:"minecraft:gray_wool"},{id:412,group:26,type:"minecraft:green_banner",item:"minecraft:green_banner"},{id:413,group:27,type:"minecraft:green_bed",item:"minecraft:green_bed"},{id:414,group:28,type:"minecraft:green_candle",item:"minecraft:green_candle"},{id:415,group:29,type:"minecraft:green_candle_cake",item:"minecraft:green_candle_cake"},{id:416,group:0,type:"minecraft:green_carpet",item:"minecraft:green_carpet"},{id:417,group:0,type:"minecraft:green_concrete",item:"minecraft:green_concrete"},{id:418,group:0,type:"minecraft:green_concrete_powder",item:"minecraft:green_concrete_powder"},{id:419,group:18,type:"minecraft:green_glazed_terracotta",item:"minecraft:green_glazed_terracotta"},{id:420,group:30,type:"minecraft:green_shulker_box",item:"minecraft:green_shulker_box"},{id:421,group:0,type:"minecraft:green_stained_glass",item:"minecraft:green_stained_glass"},{id:422,group:3,type:"minecraft:green_stained_glass_pane",item:"minecraft:green_stained_glass_pane"},{id:423,group:0,type:"minecraft:green_terracotta",item:"minecraft:green_terracotta"},{id:424,group:18,type:"minecraft:green_wall_banner",item:"minecraft:green_banner"},{id:425,group:0,type:"minecraft:green_wool",item:"minecraft:green_wool"},{id:426,group:65,type:"minecraft:grindstone",item:"minecraft:grindstone"},{id:427,group:21,type:"minecraft:hanging_roots",item:"minecraft:hanging_roots"},{id:428,group:7,type:"minecraft:hay_block",item:"minecraft:hay_block"},{id:429,group:66,type:"minecraft:heavy_weighted_pressure_plate",item:"minecraft:heavy_weighted_pressure_plate"},{id:430,group:0,type:"minecraft:honey_block",item:"minecraft:honey_block"},{id:431,group:0,type:"minecraft:honeycomb_block",item:"minecraft:honeycomb_block"},{id:432,group:67,type:"minecraft:hopper",item:"minecraft:hopper"},{id:433,group:32,type:"minecraft:horn_coral",item:"minecraft:horn_coral"},{id:434,group:0,type:"minecraft:horn_coral_block",item:"minecraft:horn_coral_block"},{id:435,group:32,type:"minecraft:horn_coral_fan",item:"minecraft:horn_coral_fan"},{id:436,group:33,type:"minecraft:horn_coral_wall_fan",item:"minecraft:horn_coral_fan"},{id:437,group:0,type:"minecraft:ice",item:"minecraft:ice"},{id:438,group:0,type:"minecraft:infested_chiseled_stone_bricks",item:"minecraft:infested_chiseled_stone_bricks"},{id:439,group:0,type:"minecraft:infested_cobblestone",item:"minecraft:infested_cobblestone"},{id:440,group:0,type:"minecraft:infested_cracked_stone_bricks",item:"minecraft:infested_cracked_stone_bricks"},{id:441,group:7,type:"minecraft:infested_deepslate",item:"minecraft:infested_deepslate"},{id:442,group:0,type:"minecraft:infested_mossy_stone_bricks",item:"minecraft:infested_mossy_stone_bricks"},{id:443,group:0,type:"minecraft:infested_stone",item:"minecraft:infested_stone"},{id:444,group:0,type:"minecraft:infested_stone_bricks",item:"minecraft:infested_stone_bricks"},{id:445,group:3,type:"minecraft:iron_bars",item:"minecraft:iron_bars"},{id:446,group:0,type:"minecraft:iron_block",item:"minecraft:iron_block"},{id:447,group:2,type:"minecraft:iron_door",item:"minecraft:iron_door"},{id:448,group:0,type:"minecraft:iron_ore",item:"minecraft:iron_ore"},{id:449,group:13,type:"minecraft:iron_trapdoor",item:"minecraft:iron_trapdoor"},{id:450,group:18,type:"minecraft:jack_o_lantern",item:"minecraft:jack_o_lantern"},{id:451,group:68,type:"minecraft:jigsaw",item:"minecraft:jigsaw"},{id:452,group:69,type:"minecraft:jukebox",item:"minecraft:jukebox"},{id:453,group:1,type:"minecraft:jungle_button",item:"minecraft:jungle_button"},{id:454,group:2,type:"minecraft:jungle_door",item:"minecraft:jungle_door"},{id:455,group:3,type:"minecraft:jungle_fence",item:"minecraft:jungle_fence"},{id:456,group:4,type:"minecraft:jungle_fence_gate",item:"minecraft:jungle_fence_gate"},{id:457,group:5,type:"minecraft:jungle_hanging_sign",item:"minecraft:jungle_hanging_sign"},{id:458,group:6,type:"minecraft:jungle_leaves",item:"minecraft:jungle_leaves"},{id:459,group:7,type:"minecraft:jungle_log",item:"minecraft:jungle_log"},{id:460,group:0,type:"minecraft:jungle_planks",item:"minecraft:jungle_planks"},{id:461,group:8,type:"minecraft:jungle_pressure_plate",item:"minecraft:jungle_pressure_plate"},{id:462,group:9,type:"minecraft:jungle_sapling",item:"minecraft:jungle_sapling"},{id:463,group:10,type:"minecraft:jungle_sign",item:"minecraft:jungle_sign"},{id:464,group:11,type:"minecraft:jungle_slab",item:"minecraft:jungle_slab"},{id:465,group:12,type:"minecraft:jungle_stairs",item:"minecraft:jungle_stairs"},{id:466,group:13,type:"minecraft:jungle_trapdoor",item:"minecraft:jungle_trapdoor"},{id:467,group:14,type:"minecraft:jungle_wall_hanging_sign",item:"minecraft:jungle_hanging_sign"},{id:468,group:14,type:"minecraft:jungle_wall_sign",item:"minecraft:jungle_sign"},{id:469,group:7,type:"minecraft:jungle_wood",item:"minecraft:jungle_wood"},{id:470,group:70,type:"minecraft:kelp",item:"minecraft:kelp"},{id:471,group:0,type:"minecraft:kelp_plant",item:"minecraft:kelp_plant"},{id:472,group:14,type:"minecraft:ladder",item:"minecraft:ladder"},{id:473,group:71,type:"minecraft:lantern",item:"minecraft:lantern"},{id:474,group:0,type:"minecraft:lapis_block",item:"minecraft:lapis_block"},{id:475,group:0,type:"minecraft:lapis_ore",item:"minecraft:lapis_ore"},{id:476,group:16,type:"minecraft:large_amethyst_bud",item:"minecraft:large_amethyst_bud"},{id:477,group:72,type:"minecraft:large_fern",item:"minecraft:large_fern"},{id:478,group:73,type:"minecraft:lava",item:"minecraft:lava_bucket"},{id:479,group:0,type:"minecraft:lava_cauldron",item:"minecraft:cauldron"},{id:480,group:74,type:"minecraft:lectern",item:"minecraft:lectern"},{id:481,group:1,type:"minecraft:lever",item:"minecraft:lever"},{id:482,group:75,type:"minecraft:light",item:"minecraft:light"},{id:483,group:26,type:"minecraft:light_blue_banner",item:"minecraft:light_blue_banner"},{id:484,group:27,type:"minecraft:light_blue_bed",item:"minecraft:light_blue_bed"},{id:485,group:28,type:"minecraft:light_blue_candle",item:"minecraft:light_blue_candle"},{id:486,group:29,type:"minecraft:light_blue_candle_cake",item:"minecraft:light_blue_candle_cake"},{id:487,group:0,type:"minecraft:light_blue_carpet",item:"minecraft:light_blue_carpet"},{id:488,group:0,type:"minecraft:light_blue_concrete",item:"minecraft:light_blue_concrete"},{id:489,group:0,type:"minecraft:light_blue_concrete_powder",item:"minecraft:light_blue_concrete_powder"},{id:490,group:18,type:"minecraft:light_blue_glazed_terracotta",item:"minecraft:light_blue_glazed_terracotta"},{id:491,group:30,type:"minecraft:light_blue_shulker_box",item:"minecraft:light_blue_shulker_box"},{id:492,group:0,type:"minecraft:light_blue_stained_glass",item:"minecraft:light_blue_stained_glass"},{id:493,group:3,type:"minecraft:light_blue_stained_glass_pane",item:"minecraft:light_blue_stained_glass_pane"},{id:494,group:0,type:"minecraft:light_blue_terracotta",item:"minecraft:light_blue_terracotta"},{id:495,group:18,type:"minecraft:light_blue_wall_banner",item:"minecraft:light_blue_banner"},{id:496,group:0,type:"minecraft:light_blue_wool",item:"minecraft:light_blue_wool"},{id:497,group:26,type:"minecraft:light_gray_banner",item:"minecraft:light_gray_banner"},{id:498,group:27,type:"minecraft:light_gray_bed",item:"minecraft:light_gray_bed"},{id:499,group:28,type:"minecraft:light_gray_candle",item:"minecraft:light_gray_candle"},{id:500,group:29,type:"minecraft:light_gray_candle_cake",item:"minecraft:light_gray_candle_cake"},{id:501,group:0,type:"minecraft:light_gray_carpet",item:"minecraft:light_gray_carpet"},{id:502,group:0,type:"minecraft:light_gray_concrete",item:"minecraft:light_gray_concrete"},{id:503,group:0,type:"minecraft:light_gray_concrete_powder",item:"minecraft:light_gray_concrete_powder"},{id:504,group:18,type:"minecraft:light_gray_glazed_terracotta",item:"minecraft:light_gray_glazed_terracotta"},{id:505,group:30,type:"minecraft:light_gray_shulker_box",item:"minecraft:light_gray_shulker_box"},{id:506,group:0,type:"minecraft:light_gray_stained_glass",item:"minecraft:light_gray_stained_glass"},{id:507,group:3,type:"minecraft:light_gray_stained_glass_pane",item:"minecraft:light_gray_stained_glass_pane"},{id:508,group:0,type:"minecraft:light_gray_terracotta",item:"minecraft:light_gray_terracotta"},{id:509,group:18,type:"minecraft:light_gray_wall_banner",item:"minecraft:light_gray_banner"},{id:510,group:0,type:"minecraft:light_gray_wool",item:"minecraft:light_gray_wool"},{id:511,group:66,type:"minecraft:light_weighted_pressure_plate",item:"minecraft:light_weighted_pressure_plate"},{id:512,group:76,type:"minecraft:lightning_rod",item:"minecraft:lightning_rod"},{id:513,group:72,type:"minecraft:lilac",item:"minecraft:lilac"},{id:514,group:0,type:"minecraft:lily_of_the_valley",item:"minecraft:lily_of_the_valley"},{id:515,group:0,type:"minecraft:lily_pad",item:"minecraft:lily_pad"},{id:516,group:26,type:"minecraft:lime_banner",item:"minecraft:lime_banner"},{id:517,group:27,type:"minecraft:lime_bed",item:"minecraft:lime_bed"},{id:518,group:28,type:"minecraft:lime_candle",item:"minecraft:lime_candle"},{id:519,group:29,type:"minecraft:lime_candle_cake",item:"minecraft:lime_candle_cake"},{id:520,group:0,type:"minecraft:lime_carpet",item:"minecraft:lime_carpet"},{id:521,group:0,type:"minecraft:lime_concrete",item:"minecraft:lime_concrete"},{id:522,group:0,type:"minecraft:lime_concrete_powder",item:"minecraft:lime_concrete_powder"},{id:523,group:18,type:"minecraft:lime_glazed_terracotta",item:"minecraft:lime_glazed_terracotta"},{id:524,group:30,type:"minecraft:lime_shulker_box",item:"minecraft:lime_shulker_box"},{id:525,group:0,type:"minecraft:lime_stained_glass",item:"minecraft:lime_stained_glass"},{id:526,group:3,type:"minecraft:lime_stained_glass_pane",item:"minecraft:lime_stained_glass_pane"},{id:527,group:0,type:"minecraft:lime_terracotta",item:"minecraft:lime_terracotta"},{id:528,group:18,type:"minecraft:lime_wall_banner",item:"minecraft:lime_banner"},{id:529,group:0,type:"minecraft:lime_wool",item:"minecraft:lime_wool"},{id:530,group:0,type:"minecraft:lodestone",item:"minecraft:lodestone"},{id:531,group:18,type:"minecraft:loom",item:"minecraft:loom"},{id:532,group:26,type:"minecraft:magenta_banner",item:"minecraft:magenta_banner"},{id:533,group:27,type:"minecraft:magenta_bed",item:"minecraft:magenta_bed"},{id:534,group:28,type:"minecraft:magenta_candle",item:"minecraft:magenta_candle"},{id:535,group:29,type:"minecraft:magenta_candle_cake",item:"minecraft:magenta_candle_cake"},{id:536,group:0,type:"minecraft:magenta_carpet",item:"minecraft:magenta_carpet"},{id:537,group:0,type:"minecraft:magenta_concrete",item:"minecraft:magenta_concrete"},{id:538,group:0,type:"minecraft:magenta_concrete_powder",item:"minecraft:magenta_concrete_powder"},{id:539,group:18,type:"minecraft:magenta_glazed_terracotta",item:"minecraft:magenta_glazed_terracotta"},{id:540,group:30,type:"minecraft:magenta_shulker_box",item:"minecraft:magenta_shulker_box"},{id:541,group:0,type:"minecraft:magenta_stained_glass",item:"minecraft:magenta_stained_glass"},{id:542,group:3,type:"minecraft:magenta_stained_glass_pane",item:"minecraft:magenta_stained_glass_pane"},{id:543,group:0,type:"minecraft:magenta_terracotta",item:"minecraft:magenta_terracotta"},{id:544,group:18,type:"minecraft:magenta_wall_banner",item:"minecraft:magenta_banner"},{id:545,group:0,type:"minecraft:magenta_wool",item:"minecraft:magenta_wool"},{id:546,group:0,type:"minecraft:magma_block",item:"minecraft:magma_block"},{id:547,group:1,type:"minecraft:mangrove_button",item:"minecraft:mangrove_button"},{id:548,group:2,type:"minecraft:mangrove_door",item:"minecraft:mangrove_door"},{id:549,group:3,type:"minecraft:mangrove_fence",item:"minecraft:mangrove_fence"},{id:550,group:4,type:"minecraft:mangrove_fence_gate",item:"minecraft:mangrove_fence_gate"},{id:551,group:5,type:"minecraft:mangrove_hanging_sign",item:"minecraft:mangrove_hanging_sign"},{id:552,group:6,type:"minecraft:mangrove_leaves",item:"minecraft:mangrove_leaves"},{id:553,group:7,type:"minecraft:mangrove_log",item:"minecraft:mangrove_log"},{id:554,group:0,type:"minecraft:mangrove_planks",item:"minecraft:mangrove_planks"},{id:555,group:8,type:"minecraft:mangrove_pressure_plate",item:"minecraft:mangrove_pressure_plate"},{id:556,group:77,type:"minecraft:mangrove_propagule",item:"minecraft:mangrove_propagule"},{id:557,group:21,type:"minecraft:mangrove_roots",item:"minecraft:mangrove_roots"},{id:558,group:10,type:"minecraft:mangrove_sign",item:"minecraft:mangrove_sign"},{id:559,group:11,type:"minecraft:mangrove_slab",item:"minecraft:mangrove_slab"},{id:560,group:12,type:"minecraft:mangrove_stairs",item:"minecraft:mangrove_stairs"},{id:561,group:13,type:"minecraft:mangrove_trapdoor",item:"minecraft:mangrove_trapdoor"},{id:562,group:14,type:"minecraft:mangrove_wall_hanging_sign",item:"minecraft:mangrove_hanging_sign"},{id:563,group:14,type:"minecraft:mangrove_wall_sign",item:"minecraft:mangrove_sign"},{id:564,group:7,type:"minecraft:mangrove_wood",item:"minecraft:mangrove_wood"},{id:565,group:16,type:"minecraft:medium_amethyst_bud",item:"minecraft:medium_amethyst_bud"},{id:566,group:0,type:"minecraft:melon",item:"minecraft:melon"},{id:567,group:41,type:"minecraft:melon_stem",item:"minecraft:pumpkin_seeds"},{id:568,group:0,type:"minecraft:moss_block",item:"minecraft:moss_block"},{id:569,group:0,type:"minecraft:moss_carpet",item:"minecraft:moss_carpet"},{id:570,group:0,type:"minecraft:mossy_cobblestone",item:"minecraft:mossy_cobblestone"},{id:571,group:11,type:"minecraft:mossy_cobblestone_slab",item:"minecraft:mossy_cobblestone_slab"},{id:572,group:12,type:"minecraft:mossy_cobblestone_stairs",item:"minecraft:mossy_cobblestone_stairs"},{id:573,group:17,type:"minecraft:mossy_cobblestone_wall",item:"minecraft:mossy_cobblestone_wall"},{id:574,group:11,type:"minecraft:mossy_stone_brick_slab",item:"minecraft:mossy_stone_brick_slab"},{id:575,group:12,type:"minecraft:mossy_stone_brick_stairs",item:"minecraft:mossy_stone_brick_stairs"},{id:576,group:17,type:"minecraft:mossy_stone_brick_wall",item:"minecraft:mossy_stone_brick_wall"},{id:577,group:0,type:"minecraft:mossy_stone_bricks",item:"minecraft:mossy_stone_bricks"},{id:578,group:78,type:"minecraft:moving_piston",item:"minecraft:moving_piston"},{id:579,group:0,type:"minecraft:mud",item:"minecraft:mud"},{id:580,group:11,type:"minecraft:mud_brick_slab",item:"minecraft:mud_brick_slab"},{id:581,group:12,type:"minecraft:mud_brick_stairs",item:"minecraft:mud_brick_stairs"},{id:582,group:17,type:"minecraft:mud_brick_wall",item:"minecraft:mud_brick_wall"},{id:583,group:0,type:"minecraft:mud_bricks",item:"minecraft:mud_bricks"},{id:584,group:7,type:"minecraft:muddy_mangrove_roots",item:"minecraft:muddy_mangrove_roots"},{id:585,group:35,type:"minecraft:mushroom_stem",item:"minecraft:mushroom_stem"},{id:586,group:64,type:"minecraft:mycelium",item:"minecraft:mycelium"},{id:587,group:3,type:"minecraft:nether_brick_fence",item:"minecraft:nether_brick_fence"},{id:588,group:11,type:"minecraft:nether_brick_slab",item:"minecraft:nether_brick_slab"},{id:589,group:12,type:"minecraft:nether_brick_stairs",item:"minecraft:nether_brick_stairs"},{id:590,group:17,type:"minecraft:nether_brick_wall",item:"minecraft:nether_brick_wall"},{id:591,group:0,type:"minecraft:nether_bricks",item:"minecraft:nether_bricks"},{id:592,group:0,type:"minecraft:nether_gold_ore",item:"minecraft:nether_gold_ore"},{id:593,group:79,type:"minecraft:nether_portal",item:"minecraft:nether_portal"},{id:594,group:0,type:"minecraft:nether_quartz_ore",item:"minecraft:nether_quartz_ore"},{id:595,group:0,type:"minecraft:nether_sprouts",item:"minecraft:nether_sprouts"},{id:596,group:23,type:"minecraft:nether_wart",item:"minecraft:nether_wart"},{id:597,group:0,type:"minecraft:nether_wart_block",item:"minecraft:nether_wart_block"},{id:598,group:0,type:"minecraft:netherite_block",item:"minecraft:netherite_block"},{id:599,group:0,type:"minecraft:netherrack",item:"minecraft:netherrack"},{id:600,group:80,type:"minecraft:note_block",item:"minecraft:note_block"},{id:601,group:1,type:"minecraft:oak_button",item:"minecraft:oak_button"},{id:602,group:2,type:"minecraft:oak_door",item:"minecraft:oak_door"},{id:603,group:3,type:"minecraft:oak_fence",item:"minecraft:oak_fence"},{id:604,group:4,type:"minecraft:oak_fence_gate",item:"minecraft:oak_fence_gate"},{id:605,group:5,type:"minecraft:oak_hanging_sign",item:"minecraft:oak_hanging_sign"},{id:606,group:6,type:"minecraft:oak_leaves",item:"minecraft:oak_leaves"},{id:607,group:7,type:"minecraft:oak_log",item:"minecraft:oak_log"},{id:608,group:0,type:"minecraft:oak_planks",item:"minecraft:oak_planks"},{id:609,group:8,type:"minecraft:oak_pressure_plate",item:"minecraft:oak_pressure_plate"},{id:610,group:9,type:"minecraft:oak_sapling",item:"minecraft:oak_sapling"},{id:611,group:10,type:"minecraft:oak_sign",item:"minecraft:oak_sign"},{id:612,group:11,type:"minecraft:oak_slab",item:"minecraft:oak_slab"},{id:613,group:12,type:"minecraft:oak_stairs",item:"minecraft:oak_stairs"},{id:614,group:13,type:"minecraft:oak_trapdoor",item:"minecraft:oak_trapdoor"},{id:615,group:14,type:"minecraft:oak_wall_hanging_sign",item:"minecraft:oak_hanging_sign"},{id:616,group:14,type:"minecraft:oak_wall_sign",item:"minecraft:oak_sign"},{id:617,group:7,type:"minecraft:oak_wood",item:"minecraft:oak_wood"},{id:618,group:81,type:"minecraft:observer",item:"minecraft:observer"},{id:619,group:0,type:"minecraft:obsidian",item:"minecraft:obsidian"},{id:620,group:7,type:"minecraft:ochre_froglight",item:"minecraft:ochre_froglight"},{id:621,group:26,type:"minecraft:orange_banner",item:"minecraft:orange_banner"},{id:622,group:27,type:"minecraft:orange_bed",item:"minecraft:orange_bed"},{id:623,group:28,type:"minecraft:orange_candle",item:"minecraft:orange_candle"},{id:624,group:29,type:"minecraft:orange_candle_cake",item:"minecraft:orange_candle_cake"},{id:625,group:0,type:"minecraft:orange_carpet",item:"minecraft:orange_carpet"},{id:626,group:0,type:"minecraft:orange_concrete",item:"minecraft:orange_concrete"},{id:627,group:0,type:"minecraft:orange_concrete_powder",item:"minecraft:orange_concrete_powder"},{id:628,group:18,type:"minecraft:orange_glazed_terracotta",item:"minecraft:orange_glazed_terracotta"},{id:629,group:30,type:"minecraft:orange_shulker_box",item:"minecraft:orange_shulker_box"},{id:630,group:0,type:"minecraft:orange_stained_glass",item:"minecraft:orange_stained_glass"},{id:631,group:3,type:"minecraft:orange_stained_glass_pane",item:"minecraft:orange_stained_glass_pane"},{id:632,group:0,type:"minecraft:orange_terracotta",item:"minecraft:orange_terracotta"},{id:633,group:0,type:"minecraft:orange_tulip",item:"minecraft:orange_tulip"},{id:634,group:18,type:"minecraft:orange_wall_banner",item:"minecraft:orange_banner"},{id:635,group:0,type:"minecraft:orange_wool",item:"minecraft:orange_wool"},{id:636,group:0,type:"minecraft:oxeye_daisy",item:"minecraft:oxeye_daisy"},{id:637,group:0,type:"minecraft:oxidized_chiseled_copper",item:"minecraft:oxidized_chiseled_copper"},{id:638,group:0,type:"minecraft:oxidized_copper",item:"minecraft:oxidized_copper"},{id:639,group:53,type:"minecraft:oxidized_copper_bulb",item:"minecraft:oxidized_copper_bulb"},{id:640,group:2,type:"minecraft:oxidized_copper_door",item:"minecraft:oxidized_copper_door"},{id:641,group:21,type:"minecraft:oxidized_copper_grate",item:"minecraft:oxidized_copper_grate"},{id:642,group:13,type:"minecraft:oxidized_copper_trapdoor",item:"minecraft:oxidized_copper_trapdoor"},{id:643,group:0,type:"minecraft:oxidized_cut_copper",item:"minecraft:oxidized_cut_copper"},{id:644,group:11,type:"minecraft:oxidized_cut_copper_slab",item:"minecraft:oxidized_cut_copper_slab"},{id:645,group:12,type:"minecraft:oxidized_cut_copper_stairs",item:"minecraft:oxidized_cut_copper_stairs"},{id:646,group:0,type:"minecraft:packed_ice",item:"minecraft:packed_ice"},{id:647,group:0,type:"minecraft:packed_mud",item:"minecraft:packed_mud"},{id:648,group:7,type:"minecraft:pearlescent_froglight",item:"minecraft:pearlescent_froglight"},{id:649,group:72,type:"minecraft:peony",item:"minecraft:peony"},{id:650,group:11,type:"minecraft:petrified_oak_slab",item:"minecraft:petrified_oak_slab"},{id:651,group:55,type:"minecraft:piglin_head",item:"minecraft:piglin_head"},{id:652,group:56,type:"minecraft:piglin_wall_head",item:"minecraft:piglin_head"},{id:653,group:26,type:"minecraft:pink_banner",item:"minecraft:pink_banner"},{id:654,group:27,type:"minecraft:pink_bed",item:"minecraft:pink_bed"},{id:655,group:28,type:"minecraft:pink_candle",item:"minecraft:pink_candle"},{id:656,group:29,type:"minecraft:pink_candle_cake",item:"minecraft:pink_candle_cake"},{id:657,group:0,type:"minecraft:pink_carpet",item:"minecraft:pink_carpet"},{id:658,group:0,type:"minecraft:pink_concrete",item:"minecraft:pink_concrete"},{id:659,group:0,type:"minecraft:pink_concrete_powder",item:"minecraft:pink_concrete_powder"},{id:660,group:18,type:"minecraft:pink_glazed_terracotta",item:"minecraft:pink_glazed_terracotta"},{id:661,group:82,type:"minecraft:pink_petals",item:"minecraft:pink_petals"},{id:662,group:30,type:"minecraft:pink_shulker_box",item:"minecraft:pink_shulker_box"},{id:663,group:0,type:"minecraft:pink_stained_glass",item:"minecraft:pink_stained_glass"},{id:664,group:3,type:"minecraft:pink_stained_glass_pane",item:"minecraft:pink_stained_glass_pane"},{id:665,group:0,type:"minecraft:pink_terracotta",item:"minecraft:pink_terracotta"},{id:666,group:0,type:"minecraft:pink_tulip",item:"minecraft:pink_tulip"},{id:667,group:18,type:"minecraft:pink_wall_banner",item:"minecraft:pink_banner"},{id:668,group:0,type:"minecraft:pink_wool",item:"minecraft:pink_wool"},{id:669,group:83,type:"minecraft:piston",item:"minecraft:piston"},{id:670,group:84,type:"minecraft:piston_head",item:"minecraft:piston_head"},{id:671,group:85,type:"minecraft:pitcher_crop",item:"minecraft:pitcher_pod"},{id:672,group:72,type:"minecraft:pitcher_plant",item:"minecraft:pitcher_plant"},{id:673,group:55,type:"minecraft:player_head",item:"minecraft:player_head"},{id:674,group:56,type:"minecraft:player_wall_head",item:"minecraft:player_head"},{id:675,group:64,type:"minecraft:podzol",item:"minecraft:podzol"},{id:676,group:86,type:"minecraft:pointed_dripstone",item:"minecraft:pointed_dripstone"},{id:677,group:0,type:"minecraft:polished_andesite",item:"minecraft:polished_andesite"},{id:678,group:11,type:"minecraft:polished_andesite_slab",item:"minecraft:polished_andesite_slab"},{id:679,group:12,type:"minecraft:polished_andesite_stairs",item:"minecraft:polished_andesite_stairs"},{id:680,group:7,type:"minecraft:polished_basalt",item:"minecraft:polished_basalt"},{id:681,group:0,type:"minecraft:polished_blackstone",item:"minecraft:polished_blackstone"},{id:682,group:11,type:"minecraft:polished_blackstone_brick_slab",item:"minecraft:polished_blackstone_brick_slab"},{id:683,group:12,type:"minecraft:polished_blackstone_brick_stairs",item:"minecraft:polished_blackstone_brick_stairs"},{id:684,group:17,type:"minecraft:polished_blackstone_brick_wall",item:"minecraft:polished_blackstone_brick_wall"},{id:685,group:0,type:"minecraft:polished_blackstone_bricks",item:"minecraft:polished_blackstone_bricks"},{id:686,group:1,type:"minecraft:polished_blackstone_button",item:"minecraft:polished_blackstone_button"},{id:687,group:8,type:"minecraft:polished_blackstone_pressure_plate",item:"minecraft:polished_blackstone_pressure_plate"},{id:688,group:11,type:"minecraft:polished_blackstone_slab",item:"minecraft:polished_blackstone_slab"},{id:689,group:12,type:"minecraft:polished_blackstone_stairs",item:"minecraft:polished_blackstone_stairs"},{id:690,group:17,type:"minecraft:polished_blackstone_wall",item:"minecraft:polished_blackstone_wall"},{id:691,group:0,type:"minecraft:polished_deepslate",item:"minecraft:polished_deepslate"},{id:692,group:11,type:"minecraft:polished_deepslate_slab",item:"minecraft:polished_deepslate_slab"},{id:693,group:12,type:"minecraft:polished_deepslate_stairs",item:"minecraft:polished_deepslate_stairs"},{id:694,group:17,type:"minecraft:polished_deepslate_wall",item:"minecraft:polished_deepslate_wall"},{id:695,group:0,type:"minecraft:polished_diorite",item:"minecraft:polished_diorite"},{id:696,group:11,type:"minecraft:polished_diorite_slab",item:"minecraft:polished_diorite_slab"},{id:697,group:12,type:"minecraft:polished_diorite_stairs",item:"minecraft:polished_diorite_stairs"},{id:698,group:0,type:"minecraft:polished_granite",item:"minecraft:polished_granite"},{id:699,group:11,type:"minecraft:polished_granite_slab",item:"minecraft:polished_granite_slab"},{id:700,group:12,type:"minecraft:polished_granite_stairs",item:"minecraft:polished_granite_stairs"},{id:701,group:0,type:"minecraft:polished_tuff",item:"minecraft:polished_tuff"},{id:702,group:11,type:"minecraft:polished_tuff_slab",item:"minecraft:polished_tuff_slab"},{id:703,group:12,type:"minecraft:polished_tuff_stairs",item:"minecraft:polished_tuff_stairs"},{id:704,group:17,type:"minecraft:polished_tuff_wall",item:"minecraft:polished_tuff_wall"},{id:705,group:0,type:"minecraft:poppy",item:"minecraft:poppy"},{id:706,group:41,type:"minecraft:potatoes",item:"minecraft:potato"},{id:707,group:0,type:"minecraft:potted_acacia_sapling",item:"minecraft:potted_acacia_sapling"},{id:708,group:0,type:"minecraft:potted_allium",item:"minecraft:potted_allium"},{id:709,group:0,type:"minecraft:potted_azalea_bush",item:"minecraft:potted_azalea_bush"},{id:710,group:0,type:"minecraft:potted_azure_bluet",item:"minecraft:potted_azure_bluet"},{id:711,group:0,type:"minecraft:potted_bamboo",item:"minecraft:potted_bamboo"},{id:712,group:0,type:"minecraft:potted_birch_sapling",item:"minecraft:potted_birch_sapling"},{id:713,group:0,type:"minecraft:potted_blue_orchid",item:"minecraft:potted_blue_orchid"},{id:714,group:0,type:"minecraft:potted_brown_mushroom",item:"minecraft:potted_brown_mushroom"},{id:715,group:0,type:"minecraft:potted_cactus",item:"minecraft:potted_cactus"},{id:716,group:0,type:"minecraft:potted_cherry_sapling",item:"minecraft:potted_cherry_sapling"},{id:717,group:0,type:"minecraft:potted_cornflower",item:"minecraft:potted_cornflower"},{id:718,group:0,type:"minecraft:potted_crimson_fungus",item:"minecraft:potted_crimson_fungus"},{id:719,group:0,type:"minecraft:potted_crimson_roots",item:"minecraft:potted_crimson_roots"},{id:720,group:0,type:"minecraft:potted_dandelion",item:"minecraft:potted_dandelion"},{id:721,group:0,type:"minecraft:potted_dark_oak_sapling",item:"minecraft:potted_dark_oak_sapling"},{id:722,group:0,type:"minecraft:potted_dead_bush",item:"minecraft:potted_dead_bush"},{id:723,group:0,type:"minecraft:potted_fern",item:"minecraft:potted_fern"},{id:724,group:0,type:"minecraft:potted_flowering_azalea_bush",item:"minecraft:potted_flowering_azalea_bush"},{id:725,group:0,type:"minecraft:potted_jungle_sapling",item:"minecraft:potted_jungle_sapling"},{id:726,group:0,type:"minecraft:potted_lily_of_the_valley",item:"minecraft:potted_lily_of_the_valley"},{id:727,group:0,type:"minecraft:potted_mangrove_propagule",item:"minecraft:potted_mangrove_propagule"},{id:728,group:0,type:"minecraft:potted_oak_sapling",item:"minecraft:potted_oak_sapling"},{id:729,group:0,type:"minecraft:potted_orange_tulip",item:"minecraft:potted_orange_tulip"},{id:730,group:0,type:"minecraft:potted_oxeye_daisy",item:"minecraft:potted_oxeye_daisy"},{id:731,group:0,type:"minecraft:potted_pink_tulip",item:"minecraft:potted_pink_tulip"},{id:732,group:0,type:"minecraft:potted_poppy",item:"minecraft:potted_poppy"},{id:733,group:0,type:"minecraft:potted_red_mushroom",item:"minecraft:potted_red_mushroom"},{id:734,group:0,type:"minecraft:potted_red_tulip",item:"minecraft:potted_red_tulip"},{id:735,group:0,type:"minecraft:potted_spruce_sapling",item:"minecraft:potted_spruce_sapling"},{id:736,group:0,type:"minecraft:potted_torchflower",item:"minecraft:potted_torchflower"},{id:737,group:0,type:"minecraft:potted_warped_fungus",item:"minecraft:potted_warped_fungus"},{id:738,group:0,type:"minecraft:potted_warped_roots",item:"minecraft:potted_warped_roots"},{id:739,group:0,type:"minecraft:potted_white_tulip",item:"minecraft:potted_white_tulip"},{id:740,group:0,type:"minecraft:potted_wither_rose",item:"minecraft:potted_wither_rose"},{id:741,group:0,type:"minecraft:powder_snow",item:"minecraft:powder_snow_bucket"},{id:742,group:87,type:"minecraft:powder_snow_cauldron",item:"minecraft:cauldron"},{id:743,group:15,type:"minecraft:powered_rail",item:"minecraft:powered_rail"},{id:744,group:0,type:"minecraft:prismarine",item:"minecraft:prismarine"},{id:745,group:11,type:"minecraft:prismarine_brick_slab",item:"minecraft:prismarine_brick_slab"},{id:746,group:12,type:"minecraft:prismarine_brick_stairs",item:"minecraft:prismarine_brick_stairs"},{id:747,group:0,type:"minecraft:prismarine_bricks",item:"minecraft:prismarine_bricks"},{id:748,group:11,type:"minecraft:prismarine_slab",item:"minecraft:prismarine_slab"},{id:749,group:12,type:"minecraft:prismarine_stairs",item:"minecraft:prismarine_stairs"},{id:750,group:17,type:"minecraft:prismarine_wall",item:"minecraft:prismarine_wall"},{id:751,group:0,type:"minecraft:pumpkin",item:"minecraft:pumpkin"},{id:752,group:41,type:"minecraft:pumpkin_stem",item:"minecraft:pumpkin_seeds"},{id:753,group:26,type:"minecraft:purple_banner",item:"minecraft:purple_banner"},{id:754,group:27,type:"minecraft:purple_bed",item:"minecraft:purple_bed"},{id:755,group:28,type:"minecraft:purple_candle",item:"minecraft:purple_candle"},{id:756,group:29,type:"minecraft:purple_candle_cake",item:"minecraft:purple_candle_cake"},{id:757,group:0,type:"minecraft:purple_carpet",item:"minecraft:purple_carpet"},{id:758,group:0,type:"minecraft:purple_concrete",item:"minecraft:purple_concrete"},{id:759,group:0,type:"minecraft:purple_concrete_powder",item:"minecraft:purple_concrete_powder"},{id:760,group:18,type:"minecraft:purple_glazed_terracotta",item:"minecraft:purple_glazed_terracotta"},{id:761,group:30,type:"minecraft:purple_shulker_box",item:"minecraft:purple_shulker_box"},{id:762,group:0,type:"minecraft:purple_stained_glass",item:"minecraft:purple_stained_glass"},{id:763,group:3,type:"minecraft:purple_stained_glass_pane",item:"minecraft:purple_stained_glass_pane"},{id:764,group:0,type:"minecraft:purple_terracotta",item:"minecraft:purple_terracotta"},{id:765,group:18,type:"minecraft:purple_wall_banner",item:"minecraft:purple_banner"},{id:766,group:0,type:"minecraft:purple_wool",item:"minecraft:purple_wool"},{id:767,group:0,type:"minecraft:purpur_block",item:"minecraft:purpur_block"},{id:768,group:7,type:"minecraft:purpur_pillar",item:"minecraft:purpur_pillar"},{id:769,group:11,type:"minecraft:purpur_slab",item:"minecraft:purpur_slab"},{id:770,group:12,type:"minecraft:purpur_stairs",item:"minecraft:purpur_stairs"},{id:771,group:0,type:"minecraft:quartz_block",item:"minecraft:quartz_block"},{id:772,group:0,type:"minecraft:quartz_bricks",item:"minecraft:quartz_bricks"},{id:773,group:7,type:"minecraft:quartz_pillar",item:"minecraft:quartz_pillar"},{id:774,group:11,type:"minecraft:quartz_slab",item:"minecraft:quartz_slab"},{id:775,group:12,type:"minecraft:quartz_stairs",item:"minecraft:quartz_stairs"},{id:776,group:88,type:"minecraft:rail",item:"minecraft:rail"},{id:777,group:0,type:"minecraft:raw_copper_block",item:"minecraft:raw_copper_block"},{id:778,group:0,type:"minecraft:raw_gold_block",item:"minecraft:raw_gold_block"},{id:779,group:0,type:"minecraft:raw_iron_block",item:"minecraft:raw_iron_block"},{id:780,group:26,type:"minecraft:red_banner",item:"minecraft:red_banner"},{id:781,group:27,type:"minecraft:red_bed",item:"minecraft:red_bed"},{id:782,group:28,type:"minecraft:red_candle",item:"minecraft:red_candle"},{id:783,group:29,type:"minecraft:red_candle_cake",item:"minecraft:red_candle_cake"},{id:784,group:0,type:"minecraft:red_carpet",item:"minecraft:red_carpet"},{id:785,group:0,type:"minecraft:red_concrete",item:"minecraft:red_concrete"},{id:786,group:0,type:"minecraft:red_concrete_powder",item:"minecraft:red_concrete_powder"},{id:787,group:18,type:"minecraft:red_glazed_terracotta",item:"minecraft:red_glazed_terracotta"},{id:788,group:0,type:"minecraft:red_mushroom",item:"minecraft:red_mushroom"},{id:789,group:35,type:"minecraft:red_mushroom_block",item:"minecraft:red_mushroom_block"},{id:790,group:11,type:"minecraft:red_nether_brick_slab",item:"minecraft:red_nether_brick_slab"},{id:791,group:12,type:"minecraft:red_nether_brick_stairs",item:"minecraft:red_nether_brick_stairs"},{id:792,group:17,type:"minecraft:red_nether_brick_wall",item:"minecraft:red_nether_brick_wall"},{id:793,group:0,type:"minecraft:red_nether_bricks",item:"minecraft:red_nether_bricks"},{id:794,group:0,type:"minecraft:red_sand",item:"minecraft:red_sand"},{id:795,group:0,type:"minecraft:red_sandstone",item:"minecraft:red_sandstone"},{id:796,group:11,type:"minecraft:red_sandstone_slab",item:"minecraft:red_sandstone_slab"},{id:797,group:12,type:"minecraft:red_sandstone_stairs",item:"minecraft:red_sandstone_stairs"},{id:798,group:17,type:"minecraft:red_sandstone_wall",item:"minecraft:red_sandstone_wall"},{id:799,group:30,type:"minecraft:red_shulker_box",item:"minecraft:red_shulker_box"},{id:800,group:0,type:"minecraft:red_stained_glass",item:"minecraft:red_stained_glass"},{id:801,group:3,type:"minecraft:red_stained_glass_pane",item:"minecraft:red_stained_glass_pane"},{id:802,group:0,type:"minecraft:red_terracotta",item:"minecraft:red_terracotta"},{id:803,group:0,type:"minecraft:red_tulip",item:"minecraft:red_tulip"},{id:804,group:18,type:"minecraft:red_wall_banner",item:"minecraft:red_banner"},{id:805,group:0,type:"minecraft:red_wool",item:"minecraft:red_wool"},{id:806,group:0,type:"minecraft:redstone_block",item:"minecraft:redstone_block"},{id:807,group:29,type:"minecraft:redstone_lamp",item:"minecraft:redstone_lamp"},{id:808,group:29,type:"minecraft:redstone_ore",item:"minecraft:redstone_ore"},{id:809,group:89,type:"minecraft:redstone_torch",item:"minecraft:redstone_torch"},{id:810,group:90,type:"minecraft:redstone_wall_torch",item:"minecraft:redstone_torch"},{id:811,group:91,type:"minecraft:redstone_wire",item:"minecraft:redstone"},{id:812,group:0,type:"minecraft:reinforced_deepslate",item:"minecraft:reinforced_deepslate"},{id:813,group:92,type:"minecraft:repeater",item:"minecraft:repeater"},{id:814,group:45,type:"minecraft:repeating_command_block",item:"minecraft:repeating_command_block"},{id:815,group:93,type:"minecraft:respawn_anchor",item:"minecraft:respawn_anchor"},{id:816,group:0,type:"minecraft:rooted_dirt",item:"minecraft:rooted_dirt"},{id:817,group:72,type:"minecraft:rose_bush",item:"minecraft:rose_bush"},{id:818,group:0,type:"minecraft:sand",item:"minecraft:sand"},{id:819,group:0,type:"minecraft:sandstone",item:"minecraft:sandstone"},{id:820,group:11,type:"minecraft:sandstone_slab",item:"minecraft:sandstone_slab"},{id:821,group:12,type:"minecraft:sandstone_stairs",item:"minecraft:sandstone_stairs"},{id:822,group:17,type:"minecraft:sandstone_wall",item:"minecraft:sandstone_wall"},{id:823,group:94,type:"minecraft:scaffolding",item:"minecraft:scaffolding"},{id:824,group:0,type:"minecraft:sculk",item:"minecraft:sculk"},{id:825,group:95,type:"minecraft:sculk_catalyst",item:"minecraft:sculk_catalyst"},{id:826,group:96,type:"minecraft:sculk_sensor",item:"minecraft:sculk_sensor"},{id:827,group:97,type:"minecraft:sculk_shrieker",item:"minecraft:sculk_shrieker"},{id:828,group:63,type:"minecraft:sculk_vein",item:"minecraft:sculk_vein"},{id:829,group:0,type:"minecraft:sea_lantern",item:"minecraft:sea_lantern"},{id:830,group:98,type:"minecraft:sea_pickle",item:"minecraft:sea_pickle"},{id:831,group:0,type:"minecraft:seagrass",item:"minecraft:seagrass"},{id:832,group:0,type:"minecraft:short_grass",item:"minecraft:short_grass"},{id:833,group:0,type:"minecraft:shroomlight",item:"minecraft:shroomlight"},{id:834,group:30,type:"minecraft:shulker_box",item:"minecraft:shulker_box"},{id:835,group:55,type:"minecraft:skeleton_skull",item:"minecraft:skeleton_skull"},{id:836,group:56,type:"minecraft:skeleton_wall_skull",item:"minecraft:skeleton_skull"},{id:837,group:0,type:"minecraft:slime_block",item:"minecraft:slime_block"},{id:838,group:16,type:"minecraft:small_amethyst_bud",item:"minecraft:small_amethyst_bud"},{id:839,group:99,type:"minecraft:small_dripleaf",item:"minecraft:small_dripleaf"},{id:840,group:0,type:"minecraft:smithing_table",item:"minecraft:smithing_table"},{id:841,group:31,type:"minecraft:smoker",item:"minecraft:smoker"},{id:842,group:0,type:"minecraft:smooth_basalt",item:"minecraft:smooth_basalt"},{id:843,group:0,type:"minecraft:smooth_quartz",item:"minecraft:smooth_quartz"},{id:844,group:11,type:"minecraft:smooth_quartz_slab",item:"minecraft:smooth_quartz_slab"},{id:845,group:12,type:"minecraft:smooth_quartz_stairs",item:"minecraft:smooth_quartz_stairs"},{id:846,group:0,type:"minecraft:smooth_red_sandstone",item:"minecraft:smooth_red_sandstone"},{id:847,group:11,type:"minecraft:smooth_red_sandstone_slab",item:"minecraft:smooth_red_sandstone_slab"},{id:848,group:12,type:"minecraft:smooth_red_sandstone_stairs",item:"minecraft:smooth_red_sandstone_stairs"},{id:849,group:0,type:"minecraft:smooth_sandstone",item:"minecraft:smooth_sandstone"},{id:850,group:11,type:"minecraft:smooth_sandstone_slab",item:"minecraft:smooth_sandstone_slab"},{id:851,group:12,type:"minecraft:smooth_sandstone_stairs",item:"minecraft:smooth_sandstone_stairs"},{id:852,group:0,type:"minecraft:smooth_stone",item:"minecraft:smooth_stone"},{id:853,group:11,type:"minecraft:smooth_stone_slab",item:"minecraft:smooth_stone_slab"},{id:854,group:100,type:"minecraft:sniffer_egg",item:"minecraft:sniffer_egg"},{id:855,group:101,type:"minecraft:snow",item:"minecraft:snow"},{id:856,group:0,type:"minecraft:snow_block",item:"minecraft:snow_block"},{id:857,group:40,type:"minecraft:soul_campfire",item:"minecraft:soul_campfire"},{id:858,group:0,type:"minecraft:soul_fire",item:"minecraft:soul_fire"},{id:859,group:71,type:"minecraft:soul_lantern",item:"minecraft:soul_lantern"},{id:860,group:0,type:"minecraft:soul_sand",item:"minecraft:soul_sand"},{id:861,group:0,type:"minecraft:soul_soil",item:"minecraft:soul_soil"},{id:862,group:0,type:"minecraft:soul_torch",item:"minecraft:soul_torch"},{id:863,group:18,type:"minecraft:soul_wall_torch",item:"minecraft:soul_torch"},{id:864,group:0,type:"minecraft:spawner",item:"minecraft:spawner"},{id:865,group:0,type:"minecraft:sponge",item:"minecraft:sponge"},{id:866,group:0,type:"minecraft:spore_blossom",item:"minecraft:spore_blossom"},{id:867,group:1,type:"minecraft:spruce_button",item:"minecraft:spruce_button"},{id:868,group:2,type:"minecraft:spruce_door",item:"minecraft:spruce_door"},{id:869,group:3,type:"minecraft:spruce_fence",item:"minecraft:spruce_fence"},{id:870,group:4,type:"minecraft:spruce_fence_gate",item:"minecraft:spruce_fence_gate"},{id:871,group:5,type:"minecraft:spruce_hanging_sign",item:"minecraft:spruce_hanging_sign"},{id:872,group:6,type:"minecraft:spruce_leaves",item:"minecraft:spruce_leaves"},{id:873,group:7,type:"minecraft:spruce_log",item:"minecraft:spruce_log"},{id:874,group:0,type:"minecraft:spruce_planks",item:"minecraft:spruce_planks"},{id:875,group:8,type:"minecraft:spruce_pressure_plate",item:"minecraft:spruce_pressure_plate"},{id:876,group:9,type:"minecraft:spruce_sapling",item:"minecraft:spruce_sapling"},{id:877,group:10,type:"minecraft:spruce_sign",item:"minecraft:spruce_sign"},{id:878,group:11,type:"minecraft:spruce_slab",item:"minecraft:spruce_slab"},{id:879,group:12,type:"minecraft:spruce_stairs",item:"minecraft:spruce_stairs"},{id:880,group:13,type:"minecraft:spruce_trapdoor",item:"minecraft:spruce_trapdoor"},{id:881,group:14,type:"minecraft:spruce_wall_hanging_sign",item:"minecraft:spruce_hanging_sign"},{id:882,group:14,type:"minecraft:spruce_wall_sign",item:"minecraft:spruce_sign"},{id:883,group:7,type:"minecraft:spruce_wood",item:"minecraft:spruce_wood"},{id:884,group:83,type:"minecraft:sticky_piston",item:"minecraft:sticky_piston"},{id:885,group:0,type:"minecraft:stone",item:"minecraft:stone"},{id:886,group:11,type:"minecraft:stone_brick_slab",item:"minecraft:stone_brick_slab"},{id:887,group:12,type:"minecraft:stone_brick_stairs",item:"minecraft:stone_brick_stairs"},{id:888,group:17,type:"minecraft:stone_brick_wall",item:"minecraft:stone_brick_wall"},{id:889,group:0,type:"minecraft:stone_bricks",item:"minecraft:stone_bricks"},{id:890,group:1,type:"minecraft:stone_button",item:"minecraft:stone_button"},{id:891,group:8,type:"minecraft:stone_pressure_plate",item:"minecraft:stone_pressure_plate"},{id:892,group:11,type:"minecraft:stone_slab",item:"minecraft:stone_slab"},{id:893,group:12,type:"minecraft:stone_stairs",item:"minecraft:stone_stairs"},{id:894,group:18,type:"minecraft:stonecutter",item:"minecraft:stonecutter"},{id:895,group:7,type:"minecraft:stripped_acacia_log",item:"minecraft:stripped_acacia_log"},{id:896,group:7,type:"minecraft:stripped_acacia_wood",item:"minecraft:stripped_acacia_wood"},{id:897,group:7,type:"minecraft:stripped_bamboo_block",item:"minecraft:stripped_bamboo_block"},{id:898,group:7,type:"minecraft:stripped_birch_log",item:"minecraft:stripped_birch_log"},{id:899,group:7,type:"minecraft:stripped_birch_wood",item:"minecraft:stripped_birch_wood"},{id:900,group:7,type:"minecraft:stripped_cherry_log",item:"minecraft:stripped_cherry_log"},{id:901,group:7,type:"minecraft:stripped_cherry_wood",item:"minecraft:stripped_cherry_wood"},{id:902,group:7,type:"minecraft:stripped_crimson_hyphae",item:"minecraft:stripped_crimson_hyphae"},{id:903,group:7,type:"minecraft:stripped_crimson_stem",item:"minecraft:stripped_crimson_stem"},{id:904,group:7,type:"minecraft:stripped_dark_oak_log",item:"minecraft:stripped_dark_oak_log"},{id:905,group:7,type:"minecraft:stripped_dark_oak_wood",item:"minecraft:stripped_dark_oak_wood"},{id:906,group:7,type:"minecraft:stripped_jungle_log",item:"minecraft:stripped_jungle_log"},{id:907,group:7,type:"minecraft:stripped_jungle_wood",item:"minecraft:stripped_jungle_wood"},{id:908,group:7,type:"minecraft:stripped_mangrove_log",item:"minecraft:stripped_mangrove_log"},{id:909,group:7,type:"minecraft:stripped_mangrove_wood",item:"minecraft:stripped_mangrove_wood"},{id:910,group:7,type:"minecraft:stripped_oak_log",item:"minecraft:stripped_oak_log"},{id:911,group:7,type:"minecraft:stripped_oak_wood",item:"minecraft:stripped_oak_wood"},{id:912,group:7,type:"minecraft:stripped_spruce_log",item:"minecraft:stripped_spruce_log"},{id:913,group:7,type:"minecraft:stripped_spruce_wood",item:"minecraft:stripped_spruce_wood"},{id:914,group:7,type:"minecraft:stripped_warped_hyphae",item:"minecraft:stripped_warped_hyphae"},{id:915,group:7,type:"minecraft:stripped_warped_stem",item:"minecraft:stripped_warped_stem"},{id:916,group:102,type:"minecraft:structure_block",item:"minecraft:structure_block"},{id:917,group:0,type:"minecraft:structure_void",item:"minecraft:structure_void"},{id:918,group:37,type:"minecraft:sugar_cane",item:"minecraft:sugar_cane"},{id:919,group:72,type:"minecraft:sunflower",item:"minecraft:sunflower"},{id:920,group:103,type:"minecraft:suspicious_gravel",item:"minecraft:suspicious_gravel"},{id:921,group:103,type:"minecraft:suspicious_sand",item:"minecraft:suspicious_sand"},{id:922,group:23,type:"minecraft:sweet_berry_bush",item:"minecraft:sweet_berries"},{id:923,group:72,type:"minecraft:tall_grass",item:"minecraft:tall_grass"},{id:924,group:72,type:"minecraft:tall_seagrass",item:"minecraft:tall_seagrass"},{id:925,group:66,type:"minecraft:target",item:"minecraft:target"},{id:926,group:0,type:"minecraft:terracotta",item:"minecraft:terracotta"},{id:927,group:0,type:"minecraft:tinted_glass",item:"minecraft:tinted_glass"},{id:928,group:104,type:"minecraft:tnt",item:"minecraft:tnt"},{id:929,group:0,type:"minecraft:torch",item:"minecraft:torch"},{id:930,group:0,type:"minecraft:torchflower",item:"minecraft:torchflower"},{id:931,group:105,type:"minecraft:torchflower_crop",item:"minecraft:torchflower_seeds"},{id:932,group:46,type:"minecraft:trapped_chest",item:"minecraft:trapped_chest"},{id:933,group:106,type:"minecraft:trial_spawner",item:"minecraft:trial_spawner"},{id:934,group:107,type:"minecraft:tripwire",item:"minecraft:string"},{id:935,group:108,type:"minecraft:tripwire_hook",item:"minecraft:tripwire_hook"},{id:936,group:32,type:"minecraft:tube_coral",item:"minecraft:tube_coral"},{id:937,group:0,type:"minecraft:tube_coral_block",item:"minecraft:tube_coral_block"},{id:938,group:32,type:"minecraft:tube_coral_fan",item:"minecraft:tube_coral_fan"},{id:939,group:33,type:"minecraft:tube_coral_wall_fan",item:"minecraft:tube_coral_fan"},{id:940,group:0,type:"minecraft:tuff",item:"minecraft:tuff"},{id:941,group:11,type:"minecraft:tuff_brick_slab",item:"minecraft:tuff_brick_slab"},{id:942,group:12,type:"minecraft:tuff_brick_stairs",item:"minecraft:tuff_brick_stairs"},{id:943,group:17,type:"minecraft:tuff_brick_wall",item:"minecraft:tuff_brick_wall"},{id:944,group:0,type:"minecraft:tuff_bricks",item:"minecraft:tuff_bricks"},{id:945,group:11,type:"minecraft:tuff_slab",item:"minecraft:tuff_slab"},{id:946,group:12,type:"minecraft:tuff_stairs",item:"minecraft:tuff_stairs"},{id:947,group:17,type:"minecraft:tuff_wall",item:"minecraft:tuff_wall"},{id:948,group:109,type:"minecraft:turtle_egg",item:"minecraft:turtle_egg"},{id:949,group:70,type:"minecraft:twisting_vines",item:"minecraft:twisting_vines"},{id:950,group:0,type:"minecraft:twisting_vines_plant",item:"minecraft:twisting_vines_plant"},{id:951,group:7,type:"minecraft:verdant_froglight",item:"minecraft:verdant_froglight"},{id:952,group:110,type:"minecraft:vine",item:"minecraft:vine"},{id:953,group:0,type:"minecraft:void_air",item:"minecraft:void_air"},{id:954,group:18,type:"minecraft:wall_torch",item:"minecraft:torch"},{id:955,group:1,type:"minecraft:warped_button",item:"minecraft:warped_button"},{id:956,group:2,type:"minecraft:warped_door",item:"minecraft:warped_door"},{id:957,group:3,type:"minecraft:warped_fence",item:"minecraft:warped_fence"},{id:958,group:4,type:"minecraft:warped_fence_gate",item:"minecraft:warped_fence_gate"},{id:959,group:0,type:"minecraft:warped_fungus",item:"minecraft:warped_fungus"},{id:960,group:5,type:"minecraft:warped_hanging_sign",item:"minecraft:warped_hanging_sign"},{id:961,group:7,type:"minecraft:warped_hyphae",item:"minecraft:warped_hyphae"},{id:962,group:0,type:"minecraft:warped_nylium",item:"minecraft:warped_nylium"},{id:963,group:0,type:"minecraft:warped_planks",item:"minecraft:warped_planks"},{id:964,group:8,type:"minecraft:warped_pressure_plate",item:"minecraft:warped_pressure_plate"},{id:965,group:0,type:"minecraft:warped_roots",item:"minecraft:warped_roots"},{id:966,group:10,type:"minecraft:warped_sign",item:"minecraft:warped_sign"},{id:967,group:11,type:"minecraft:warped_slab",item:"minecraft:warped_slab"},{id:968,group:12,type:"minecraft:warped_stairs",item:"minecraft:warped_stairs"},{id:969,group:7,type:"minecraft:warped_stem",item:"minecraft:warped_stem"},{id:970,group:13,type:"minecraft:warped_trapdoor",item:"minecraft:warped_trapdoor"},{id:971,group:14,type:"minecraft:warped_wall_hanging_sign",item:"minecraft:warped_hanging_sign"},{id:972,group:14,type:"minecraft:warped_wall_sign",item:"minecraft:warped_sign"},{id:973,group:0,type:"minecraft:warped_wart_block",item:"minecraft:warped_wart_block"},{id:974,group:73,type:"minecraft:water",item:"minecraft:water_bucket"},{id:975,group:87,type:"minecraft:water_cauldron",item:"minecraft:cauldron"},{id:976,group:0,type:"minecraft:waxed_chiseled_copper",item:"minecraft:waxed_chiseled_copper"},{id:977,group:0,type:"minecraft:waxed_copper_block",item:"minecraft:waxed_copper_block"},{id:978,group:53,type:"minecraft:waxed_copper_bulb",item:"minecraft:waxed_copper_bulb"},{id:979,group:2,type:"minecraft:waxed_copper_door",item:"minecraft:waxed_copper_door"},{id:980,group:21,type:"minecraft:waxed_copper_grate",item:"minecraft:waxed_copper_grate"},{id:981,group:13,type:"minecraft:waxed_copper_trapdoor",item:"minecraft:waxed_copper_trapdoor"},{id:982,group:0,type:"minecraft:waxed_cut_copper",item:"minecraft:waxed_cut_copper"},{id:983,group:11,type:"minecraft:waxed_cut_copper_slab",item:"minecraft:waxed_cut_copper_slab"},{id:984,group:12,type:"minecraft:waxed_cut_copper_stairs",item:"minecraft:waxed_cut_copper_stairs"},{id:985,group:0,type:"minecraft:waxed_exposed_chiseled_copper",item:"minecraft:waxed_exposed_chiseled_copper"},{id:986,group:0,type:"minecraft:waxed_exposed_copper",item:"minecraft:waxed_exposed_copper"},{id:987,group:53,type:"minecraft:waxed_exposed_copper_bulb",item:"minecraft:waxed_exposed_copper_bulb"},{id:988,group:2,type:"minecraft:waxed_exposed_copper_door",item:"minecraft:waxed_exposed_copper_door"},{id:989,group:21,type:"minecraft:waxed_exposed_copper_grate",item:"minecraft:waxed_exposed_copper_grate"},{id:990,group:13,type:"minecraft:waxed_exposed_copper_trapdoor",item:"minecraft:waxed_exposed_copper_trapdoor"},{id:991,group:0,type:"minecraft:waxed_exposed_cut_copper",item:"minecraft:waxed_exposed_cut_copper"},{id:992,group:11,type:"minecraft:waxed_exposed_cut_copper_slab",item:"minecraft:waxed_exposed_cut_copper_slab"},{id:993,group:12,type:"minecraft:waxed_exposed_cut_copper_stairs",item:"minecraft:waxed_exposed_cut_copper_stairs"},{id:994,group:0,type:"minecraft:waxed_oxidized_chiseled_copper",item:"minecraft:waxed_oxidized_chiseled_copper"},{id:995,group:0,type:"minecraft:waxed_oxidized_copper",item:"minecraft:waxed_oxidized_copper"},{id:996,group:53,type:"minecraft:waxed_oxidized_copper_bulb",item:"minecraft:waxed_oxidized_copper_bulb"},{id:997,group:2,type:"minecraft:waxed_oxidized_copper_door",item:"minecraft:waxed_oxidized_copper_door"},{id:998,group:21,type:"minecraft:waxed_oxidized_copper_grate",item:"minecraft:waxed_oxidized_copper_grate"},{id:999,group:13,type:"minecraft:waxed_oxidized_copper_trapdoor",item:"minecraft:waxed_oxidized_copper_trapdoor"},{id:1000,group:0,type:"minecraft:waxed_oxidized_cut_copper",item:"minecraft:waxed_oxidized_cut_copper"},{id:1001,group:11,type:"minecraft:waxed_oxidized_cut_copper_slab",item:"minecraft:waxed_oxidized_cut_copper_slab"},{id:1002,group:12,type:"minecraft:waxed_oxidized_cut_copper_stairs",item:"minecraft:waxed_oxidized_cut_copper_stairs"},{id:1003,group:0,type:"minecraft:waxed_weathered_chiseled_copper",item:"minecraft:waxed_weathered_chiseled_copper"},{id:1004,group:0,type:"minecraft:waxed_weathered_copper",item:"minecraft:waxed_weathered_copper"},{id:1005,group:53,type:"minecraft:waxed_weathered_copper_bulb",item:"minecraft:waxed_weathered_copper_bulb"},{id:1006,group:2,type:"minecraft:waxed_weathered_copper_door",item:"minecraft:waxed_weathered_copper_door"},{id:1007,group:21,type:"minecraft:waxed_weathered_copper_grate",item:"minecraft:waxed_weathered_copper_grate"},{id:1008,group:13,type:"minecraft:waxed_weathered_copper_trapdoor",item:"minecraft:waxed_weathered_copper_trapdoor"},{id:1009,group:0,type:"minecraft:waxed_weathered_cut_copper",item:"minecraft:waxed_weathered_cut_copper"},{id:1010,group:11,type:"minecraft:waxed_weathered_cut_copper_slab",item:"minecraft:waxed_weathered_cut_copper_slab"},{id:1011,group:12,type:"minecraft:waxed_weathered_cut_copper_stairs",item:"minecraft:waxed_weathered_cut_copper_stairs"},{id:1012,group:0,type:"minecraft:weathered_chiseled_copper",item:"minecraft:weathered_chiseled_copper"},{id:1013,group:0,type:"minecraft:weathered_copper",item:"minecraft:weathered_copper"},{id:1014,group:53,type:"minecraft:weathered_copper_bulb",item:"minecraft:weathered_copper_bulb"},{id:1015,group:2,type:"minecraft:weathered_copper_door",item:"minecraft:weathered_copper_door"},{id:1016,group:21,type:"minecraft:weathered_copper_grate",item:"minecraft:weathered_copper_grate"},{id:1017,group:13,type:"minecraft:weathered_copper_trapdoor",item:"minecraft:weathered_copper_trapdoor"},{id:1018,group:0,type:"minecraft:weathered_cut_copper",item:"minecraft:weathered_cut_copper"},{id:1019,group:11,type:"minecraft:weathered_cut_copper_slab",item:"minecraft:weathered_cut_copper_slab"},{id:1020,group:12,type:"minecraft:weathered_cut_copper_stairs",item:"minecraft:weathered_cut_copper_stairs"},{id:1021,group:70,type:"minecraft:weeping_vines",item:"minecraft:weeping_vines"},{id:1022,group:0,type:"minecraft:weeping_vines_plant",item:"minecraft:weeping_vines_plant"},{id:1023,group:0,type:"minecraft:wet_sponge",item:"minecraft:wet_sponge"},{id:1024,group:41,type:"minecraft:wheat",item:"minecraft:wheat_seeds"},{id:1025,group:26,type:"minecraft:white_banner",item:"minecraft:white_banner"},{id:1026,group:27,type:"minecraft:white_bed",item:"minecraft:white_bed"},{id:1027,group:28,type:"minecraft:white_candle",item:"minecraft:white_candle"},{id:1028,group:29,type:"minecraft:white_candle_cake",item:"minecraft:white_candle_cake"},{id:1029,group:0,type:"minecraft:white_carpet",item:"minecraft:white_carpet"},{id:1030,group:0,type:"minecraft:white_concrete",item:"minecraft:white_concrete"},{id:1031,group:0,type:"minecraft:white_concrete_powder",item:"minecraft:white_concrete_powder"},{id:1032,group:18,type:"minecraft:white_glazed_terracotta",item:"minecraft:white_glazed_terracotta"},{id:1033,group:30,type:"minecraft:white_shulker_box",item:"minecraft:white_shulker_box"},{id:1034,group:0,type:"minecraft:white_stained_glass",item:"minecraft:white_stained_glass"},{id:1035,group:3,type:"minecraft:white_stained_glass_pane",item:"minecraft:white_stained_glass_pane"},{id:1036,group:0,type:"minecraft:white_terracotta",item:"minecraft:white_terracotta"},{id:1037,group:0,type:"minecraft:white_tulip",item:"minecraft:white_tulip"},{id:1038,group:18,type:"minecraft:white_wall_banner",item:"minecraft:white_banner"},{id:1039,group:0,type:"minecraft:white_wool",item:"minecraft:white_wool"},{id:1040,group:0,type:"minecraft:wither_rose",item:"minecraft:wither_rose"},{id:1041,group:55,type:"minecraft:wither_skeleton_skull",item:"minecraft:wither_skeleton_skull"},{id:1042,group:56,type:"minecraft:wither_skeleton_wall_skull",item:"minecraft:wither_skeleton_skull"},{id:1043,group:26,type:"minecraft:yellow_banner",item:"minecraft:yellow_banner"},{id:1044,group:27,type:"minecraft:yellow_bed",item:"minecraft:yellow_bed"},{id:1045,group:28,type:"minecraft:yellow_candle",item:"minecraft:yellow_candle"},{id:1046,group:29,type:"minecraft:yellow_candle_cake",item:"minecraft:yellow_candle_cake"},{id:1047,group:0,type:"minecraft:yellow_carpet",item:"minecraft:yellow_carpet"},{id:1048,group:0,type:"minecraft:yellow_concrete",item:"minecraft:yellow_concrete"},{id:1049,group:0,type:"minecraft:yellow_concrete_powder",item:"minecraft:yellow_concrete_powder"},{id:1050,group:18,type:"minecraft:yellow_glazed_terracotta",item:"minecraft:yellow_glazed_terracotta"},{id:1051,group:30,type:"minecraft:yellow_shulker_box",item:"minecraft:yellow_shulker_box"},{id:1052,group:0,type:"minecraft:yellow_stained_glass",item:"minecraft:yellow_stained_glass"},{id:1053,group:3,type:"minecraft:yellow_stained_glass_pane",item:"minecraft:yellow_stained_glass_pane"},{id:1054,group:0,type:"minecraft:yellow_terracotta",item:"minecraft:yellow_terracotta"},{id:1055,group:18,type:"minecraft:yellow_wall_banner",item:"minecraft:yellow_banner"},{id:1056,group:0,type:"minecraft:yellow_wool",item:"minecraft:yellow_wool"},{id:1057,group:55,type:"minecraft:zombie_head",item:"minecraft:zombie_head"},{id:1058,group:56,type:"minecraft:zombie_wall_head",item:"minecraft:zombie_head"}] diff --git a/datapacks/Bookshelf/data/bs.hitbox/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.hitbox/functions/__load__.mcfunction index eb28244c23..6d6f5852a6 100644 --- a/datapacks/Bookshelf/data/bs.hitbox/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.hitbox/functions/__load__.mcfunction @@ -4,7 +4,7 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.out dummy [{"text":"BS ","color":"dark_gray"},{"text":"Output","color":"aqua"}] scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.hitbox/functions/is_in_entity/is_in_entity.mcfunction b/datapacks/Bookshelf/data/bs.hitbox/functions/is_in_entity/is_in_entity.mcfunction index 8cce99bc1b..d7b79492ae 100644 --- a/datapacks/Bookshelf/data/bs.hitbox/functions/is_in_entity/is_in_entity.mcfunction +++ b/datapacks/Bookshelf/data/bs.hitbox/functions/is_in_entity/is_in_entity.mcfunction @@ -1,5 +1,5 @@ # INFO ------------------------------------------------------------------------ -# Copyright Β© 2023 Gunivers Community. +# Copyright Β© 2024 Gunivers Community. # Authors: Aksiome # Contributors: diff --git a/datapacks/Bookshelf/data/bs.math/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.math/functions/__load__.mcfunction index f306affbfd..a7100016ab 100644 --- a/datapacks/Bookshelf/data/bs.math/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.math/functions/__load__.mcfunction @@ -4,7 +4,7 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.in dummy [{"text":"BS ","color":"dark_gray"},{"text":"Input","color":"aqua"}] scoreboard objectives add bs.out dummy [{"text":"BS ","color":"dark_gray"},{"text":"Output","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.move/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/__load__.mcfunction index fa9df0d408..d9a7af3f7d 100644 --- a/datapacks/Bookshelf/data/bs.move/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.move/functions/__load__.mcfunction @@ -4,7 +4,7 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.in dummy [{"text":"BS ","color":"dark_gray"},{"text":"Input","color":"aqua"}] scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/bounce.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/bounce.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.move/functions/collision/resolution/bounce.mcfunction rename to datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/bounce.mcfunction diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/damped_bounce.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/damped_bounce.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.move/functions/collision/resolution/damped_bounce.mcfunction rename to datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/damped_bounce.mcfunction diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/slide.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/slide.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.move/functions/collision/resolution/slide.mcfunction rename to datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/slide.mcfunction diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/stick.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/stick.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.move/functions/collision/resolution/stick.mcfunction rename to datapacks/Bookshelf/data/bs.move/functions/collision/resolution/behaviors/stick.mcfunction diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/canonical.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/canonical.mcfunction index 227cd150a9..cea40855dc 100644 --- a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/canonical.mcfunction +++ b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/canonical.mcfunction @@ -8,21 +8,21 @@ scoreboard players operation $move.vel_remaining.z bs.out *= #move.ctime bs.data scoreboard players operation $move.vel_remaining.x bs.out /= -1000 bs.const scoreboard players operation $move.vel_remaining.y bs.out /= -1000 bs.const scoreboard players operation $move.vel_remaining.z bs.out /= -1000 bs.const -execute store result entity B5-0-0-0-1 Pos[0] double .001 run scoreboard players operation #move.x bs.data -= $move.vel_remaining.x bs.out -execute store result entity B5-0-0-0-1 Pos[1] double .001 run scoreboard players operation #move.y bs.data -= $move.vel_remaining.y bs.out -execute store result entity B5-0-0-0-1 Pos[2] double .001 run scoreboard players operation #move.z bs.data -= $move.vel_remaining.z bs.out + +# move the entity out of the collision +execute if score $move.hit_face bs.out matches 5 run scoreboard players add #move.x bs.data 1 +execute if score $move.hit_face bs.out matches 4 run scoreboard players remove #move.x bs.data 1 +execute if score $move.hit_face bs.out matches 3 run scoreboard players add #move.z bs.data 1 +execute if score $move.hit_face bs.out matches 2 run scoreboard players remove #move.z bs.data 1 +execute if score $move.hit_face bs.out matches 1 run scoreboard players add #move.y bs.data 1 +execute if score $move.hit_face bs.out matches 0 run scoreboard players remove #move.y bs.data 1 +execute store result storage bs:ctx x double .001 run scoreboard players operation #move.x bs.data -= $move.vel_remaining.x bs.out +execute store result storage bs:ctx y double .001 run scoreboard players operation #move.y bs.data -= $move.vel_remaining.y bs.out +execute store result storage bs:ctx z double .001 run scoreboard players operation #move.z bs.data -= $move.vel_remaining.z bs.out +function bs.move:collision/resolution/tp with storage bs:ctx scoreboard players operation $move.vel_remaining.x bs.out += #move.vx bs.data scoreboard players operation $move.vel_remaining.y bs.out += #move.vy bs.data scoreboard players operation $move.vel_remaining.z bs.out += #move.vz bs.data -# move the entity out of the collision -execute if score $move.hit_face bs.out matches 5 as B5-0-0-0-1 at @s run tp @s ~.0011 ~ ~ -execute if score $move.hit_face bs.out matches 4 as B5-0-0-0-1 at @s run tp @s ~-.0011 ~ ~ -execute if score $move.hit_face bs.out matches 3 as B5-0-0-0-1 at @s run tp @s ~ ~ ~.0011 -execute if score $move.hit_face bs.out matches 2 as B5-0-0-0-1 at @s run tp @s ~ ~ ~-.0011 -execute if score $move.hit_face bs.out matches 1 as B5-0-0-0-1 at @s run tp @s ~ ~.0011 ~ -execute if score $move.hit_face bs.out matches 0 as B5-0-0-0-1 at @s run tp @s ~ ~-.0011 ~ -execute positioned as B5-0-0-0-1 run tp @s ~ ~ ~ - # resolve the collision using the on_collision callback $function $(on_collision) diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/local.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/local.mcfunction index c40b50cb87..b3c02be4be 100644 --- a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/local.mcfunction +++ b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/local.mcfunction @@ -8,22 +8,22 @@ scoreboard players operation $move.vel_remaining.z bs.out *= #move.ctime bs.data scoreboard players operation $move.vel_remaining.x bs.out /= -1000 bs.const scoreboard players operation $move.vel_remaining.y bs.out /= -1000 bs.const scoreboard players operation $move.vel_remaining.z bs.out /= -1000 bs.const -execute store result entity B5-0-0-0-1 Pos[0] double .001 run scoreboard players operation #move.x bs.data -= $move.vel_remaining.x bs.out -execute store result entity B5-0-0-0-1 Pos[1] double .001 run scoreboard players operation #move.y bs.data -= $move.vel_remaining.y bs.out -execute store result entity B5-0-0-0-1 Pos[2] double .001 run scoreboard players operation #move.z bs.data -= $move.vel_remaining.z bs.out + +# move the entity out of the collision +execute if score $move.hit_face bs.out matches 5 run scoreboard players add #move.x bs.data 1 +execute if score $move.hit_face bs.out matches 4 run scoreboard players remove #move.x bs.data 1 +execute if score $move.hit_face bs.out matches 3 run scoreboard players add #move.z bs.data 1 +execute if score $move.hit_face bs.out matches 2 run scoreboard players remove #move.z bs.data 1 +execute if score $move.hit_face bs.out matches 1 run scoreboard players add #move.y bs.data 1 +execute if score $move.hit_face bs.out matches 0 run scoreboard players remove #move.y bs.data 1 +execute store result storage bs:ctx x double .001 run scoreboard players operation #move.x bs.data -= $move.vel_remaining.x bs.out +execute store result storage bs:ctx y double .001 run scoreboard players operation #move.y bs.data -= $move.vel_remaining.y bs.out +execute store result storage bs:ctx z double .001 run scoreboard players operation #move.z bs.data -= $move.vel_remaining.z bs.out +function bs.move:collision/resolution/tp with storage bs:ctx scoreboard players operation $move.vel_remaining.x bs.out += #move.vx bs.data scoreboard players operation $move.vel_remaining.y bs.out += #move.vy bs.data scoreboard players operation $move.vel_remaining.z bs.out += #move.vz bs.data -# move the entity out of the collision -execute if score $move.hit_face bs.out matches 5 as B5-0-0-0-1 at @s run tp @s ~.0011 ~ ~ -execute if score $move.hit_face bs.out matches 4 as B5-0-0-0-1 at @s run tp @s ~-.0011 ~ ~ -execute if score $move.hit_face bs.out matches 3 as B5-0-0-0-1 at @s run tp @s ~ ~ ~.0011 -execute if score $move.hit_face bs.out matches 2 as B5-0-0-0-1 at @s run tp @s ~ ~ ~-.0011 -execute if score $move.hit_face bs.out matches 1 as B5-0-0-0-1 at @s run tp @s ~ ~.0011 ~ -execute if score $move.hit_face bs.out matches 0 as B5-0-0-0-1 at @s run tp @s ~ ~-.0011 ~ -execute positioned as B5-0-0-0-1 run tp @s ~ ~ ~ - # resolve the collision using the on_collision callback (convert the velocity vector to simplify transformations) execute rotated as @s run function #bs.move:local_to_canonical $function $(on_collision) diff --git a/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/tp.mcfunction b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/tp.mcfunction new file mode 100644 index 0000000000..80e93ecd8b --- /dev/null +++ b/datapacks/Bookshelf/data/bs.move/functions/collision/resolution/tp.mcfunction @@ -0,0 +1 @@ +$tp @s $(x) $(y) $(z) diff --git a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/bounce.json b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/bounce.json index be79dc358d..ee36bbc88d 100644 --- a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/bounce.json +++ b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/bounce.json @@ -1,5 +1,5 @@ { "values": [ - "bs.move:collision/resolution/bounce" + "bs.move:collision/resolution/behaviors/bounce" ] } diff --git a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/damped_bounce.json b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/damped_bounce.json index cd8da952a2..9f54a3fdaf 100644 --- a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/damped_bounce.json +++ b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/damped_bounce.json @@ -1,5 +1,5 @@ { "values": [ - "bs.move:collision/resolution/damped_bounce" + "bs.move:collision/resolution/behaviors/damped_bounce" ] } diff --git a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/slide.json b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/slide.json index 9e190179f7..8a241fdf71 100644 --- a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/slide.json +++ b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/slide.json @@ -1,5 +1,5 @@ { "values": [ - "bs.move:collision/resolution/slide" + "bs.move:collision/resolution/behaviors/slide" ] } diff --git a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/stick.json b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/stick.json index ce864e8e09..ef0e6872d2 100644 --- a/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/stick.json +++ b/datapacks/Bookshelf/data/bs.move/tags/functions/on_collision/stick.json @@ -1,5 +1,5 @@ { "values": [ - "bs.move:collision/resolution/stick" + "bs.move:collision/resolution/behaviors/stick" ] } diff --git a/datapacks/Bookshelf/data/bs.position/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.position/functions/__load__.mcfunction index b1723045c1..c1fedcde85 100644 --- a/datapacks/Bookshelf/data/bs.position/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.position/functions/__load__.mcfunction @@ -4,8 +4,8 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} -execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Text Display","color":"aqua"}]'} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} +execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.out dummy [{"text":"BS ","color":"dark_gray"},{"text":"Output","color":"aqua"}] scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/__load__.mcfunction index 26a66a3953..b8e2916818 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/__load__.mcfunction @@ -3,13 +3,16 @@ # CODE ------------------------------------------------------------------------ -forceload add 0 0 -execute unless entity B5-0-0-0-1 run summon minecraft:marker 0.0 0.0 0.0 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} +forceload add -30000000 1600 +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.in dummy [{"text":"BS ","color":"dark_gray"},{"text":"Input","color":"aqua"}] scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] scoreboard objectives add bs.const dummy [{"text":"BS ","color":"dark_gray"},{"text":"Constants","color":"aqua"}] +execute store result score #result bs.data run worldborder get +execute if score #result bs.data matches 2147484.. run worldborder set 2147483 0 + scoreboard players set -1000 bs.const -1000 scoreboard players set 2 bs.const 2 scoreboard players set 500 bs.const 500 diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/__unload__.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/__unload__.mcfunction index 50015d85c2..626d5d15dc 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/__unload__.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/__unload__.mcfunction @@ -4,7 +4,7 @@ # CODE ------------------------------------------------------------------------ kill B5-0-0-0-1 -forceload remove 0 0 +forceload remove -30000000 1600 scoreboard objectives remove bs.in scoreboard objectives remove bs.data diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/block/block.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/check/any.mcfunction similarity index 92% rename from datapacks/Bookshelf/data/bs.raycast/functions/check/block/block.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/check/any.mcfunction index 1a859ea52d..36e92e4573 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/block/block.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/check/any.mcfunction @@ -1,4 +1,4 @@ -execute unless block ~ ~ ~ #bs.hitbox:is_shaped run return run function bs.raycast:collide/cube +execute unless block ~ ~ ~ #bs.hitbox:is_shaped run return run function bs.raycast:block/collide/cube function #bs.hitbox:get_block execute if score #raycast.ux bs.data matches 0.. run scoreboard players operation #raycast.lx bs.data -= #raycast.dx bs.data @@ -6,7 +6,7 @@ execute if score #raycast.uy bs.data matches 0.. run scoreboard players operatio execute if score #raycast.uz bs.data matches 0.. run scoreboard players operation #raycast.lz bs.data -= #raycast.dz bs.data scoreboard players operation $hitbox.offset.x bs.out *= 1000 bs.const scoreboard players operation $hitbox.offset.z bs.out *= 1000 bs.const -function bs.raycast:check/block/shape +function bs.raycast:block/check/shape execute if score #raycast.ux bs.data matches 0.. run scoreboard players operation #raycast.lx bs.data += #raycast.dx bs.data execute if score #raycast.uy bs.data matches 0.. run scoreboard players operation #raycast.ly bs.data += #raycast.dy bs.data execute if score #raycast.uz bs.data matches 0.. run scoreboard players operation #raycast.lz bs.data += #raycast.dz bs.data diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/block/shape.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/check/shape.mcfunction similarity index 98% rename from datapacks/Bookshelf/data/bs.raycast/functions/check/block/shape.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/check/shape.mcfunction index 6394f005aa..6d6694676d 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/block/shape.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/check/shape.mcfunction @@ -42,6 +42,6 @@ scoreboard players operation #raycast.tmax bs.data < #raycast.max_z bs.data execute if score #raycast.tmax bs.data matches 0.. \ if score #raycast.tmin bs.data <= #raycast.tmax bs.data \ if score #raycast.tmin bs.data < #raycast.distance bs.data \ - run function bs.raycast:collide/block + run function bs.raycast:block/collide/shape -execute if data storage bs:out hitbox[0] run function bs.raycast:check/block/shape +execute if data storage bs:out hitbox[0] run function bs.raycast:block/check/shape diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/collide/cube.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/collide/cube.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.raycast/functions/collide/cube.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/collide/cube.mcfunction diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/collide/block.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/collide/shape.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.raycast/functions/collide/block.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/collide/shape.mcfunction diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/next.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/next.mcfunction similarity index 86% rename from datapacks/Bookshelf/data/bs.raycast/functions/recurse/next.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/next.mcfunction index a8b87283bc..eb04e863c5 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/next.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/next.mcfunction @@ -1,7 +1,7 @@ # check block and entity collision (debug: particle minecraft:block_marker barrier ~.5 ~.5 ~.5 0 0 0 0 1) -$execute unless block ~ ~ ~ $(ignored_blocks) run function bs.raycast:check/block/block +$execute unless block ~ ~ ~ $(ignored_blocks) run function bs.raycast:block/check/any # advance on the grid by the shortest length -execute if score #raycast.lx bs.data <= #raycast.ly bs.data if score #raycast.lx bs.data <= #raycast.lz bs.data if score #raycast.lx bs.data <= #raycast.max_distance bs.data run return run function bs.raycast:recurse/x -execute if score #raycast.ly bs.data <= #raycast.lx bs.data if score #raycast.ly bs.data <= #raycast.lz bs.data if score #raycast.ly bs.data <= #raycast.max_distance bs.data run return run function bs.raycast:recurse/y -execute if score #raycast.lz bs.data <= #raycast.lx bs.data if score #raycast.lz bs.data <= #raycast.ly bs.data if score #raycast.lz bs.data <= #raycast.max_distance bs.data run return run function bs.raycast:recurse/z +execute if score #raycast.lx bs.data <= #raycast.ly bs.data if score #raycast.lx bs.data <= #raycast.lz bs.data if score #raycast.lx bs.data <= #raycast.max_distance bs.data run return run function bs.raycast:block/recurse/x +execute if score #raycast.ly bs.data <= #raycast.lx bs.data if score #raycast.ly bs.data <= #raycast.lz bs.data if score #raycast.ly bs.data <= #raycast.max_distance bs.data run return run function bs.raycast:block/recurse/y +execute if score #raycast.lz bs.data <= #raycast.lx bs.data if score #raycast.lz bs.data <= #raycast.ly bs.data if score #raycast.lz bs.data <= #raycast.max_distance bs.data run return run function bs.raycast:block/recurse/z diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/x.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/x.mcfunction similarity index 57% rename from datapacks/Bookshelf/data/bs.raycast/functions/recurse/x.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/x.mcfunction index 7ddf0e6829..3a53d2a0cd 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/x.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/x.mcfunction @@ -1,4 +1,4 @@ # increment length by delta on x then move to the next block on the grid scoreboard players operation #raycast.lx bs.data += #raycast.dx bs.data -execute if score #raycast.ux bs.data matches 1.. positioned ~1 ~ ~ run return run function bs.raycast:recurse/next with storage bs:in raycast -execute if score #raycast.ux bs.data matches ..-1 positioned ~-1 ~ ~ run return run function bs.raycast:recurse/next with storage bs:in raycast +execute if score #raycast.ux bs.data matches 1.. positioned ~1 ~ ~ if loaded ~ ~ ~ run return run function bs.raycast:block/recurse/next with storage bs:in raycast +execute if score #raycast.ux bs.data matches ..-1 positioned ~-1 ~ ~ if loaded ~ ~ ~ run return run function bs.raycast:block/recurse/next with storage bs:in raycast diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/y.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/y.mcfunction similarity index 57% rename from datapacks/Bookshelf/data/bs.raycast/functions/recurse/y.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/y.mcfunction index 62d49caa41..2cd015c46b 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/y.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/y.mcfunction @@ -1,4 +1,4 @@ # increment length by delta on y then move to the next block on the grid scoreboard players operation #raycast.ly bs.data += #raycast.dy bs.data -execute if score #raycast.uy bs.data matches 1.. positioned ~ ~1 ~ run return run function bs.raycast:recurse/next with storage bs:in raycast -execute if score #raycast.uy bs.data matches ..-1 positioned ~ ~-1 ~ run return run function bs.raycast:recurse/next with storage bs:in raycast +execute if score #raycast.uy bs.data matches 1.. positioned ~ ~1 ~ if loaded ~ ~ ~ run return run function bs.raycast:block/recurse/next with storage bs:in raycast +execute if score #raycast.uy bs.data matches ..-1 positioned ~ ~-1 ~ if loaded ~ ~ ~ run return run function bs.raycast:block/recurse/next with storage bs:in raycast diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/z.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/z.mcfunction similarity index 57% rename from datapacks/Bookshelf/data/bs.raycast/functions/recurse/z.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/z.mcfunction index 065f6f6cb4..e0dfb317f7 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/recurse/z.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/recurse/z.mcfunction @@ -1,4 +1,4 @@ # increment length by delta on z then move to the next block on the grid scoreboard players operation #raycast.lz bs.data += #raycast.dz bs.data -execute if score #raycast.uz bs.data matches 1.. positioned ~ ~ ~1 run return run function bs.raycast:recurse/next with storage bs:in raycast -execute if score #raycast.uz bs.data matches ..-1 positioned ~ ~ ~-1 run return run function bs.raycast:recurse/next with storage bs:in raycast +execute if score #raycast.uz bs.data matches 1.. positioned ~ ~ ~1 if loaded ~ ~ ~ run return run function bs.raycast:block/recurse/next with storage bs:in raycast +execute if score #raycast.uz bs.data matches ..-1 positioned ~ ~ ~-1 if loaded ~ ~ ~ run return run function bs.raycast:block/recurse/next with storage bs:in raycast diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/blocks.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/block/run.mcfunction similarity index 95% rename from datapacks/Bookshelf/data/bs.raycast/functions/check/blocks.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/block/run.mcfunction index a76b3b99c5..19cbbe09cb 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/blocks.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/block/run.mcfunction @@ -22,4 +22,4 @@ execute if score #raycast.ly bs.data matches ..0 run scoreboard players operatio execute if score #raycast.lz bs.data matches ..0 run scoreboard players operation #raycast.lz bs.data += #raycast.dz bs.data # run the recursion loop -execute align xyz run function bs.raycast:recurse/next with storage bs:in raycast +execute align xyz run function bs.raycast:block/recurse/next with storage bs:in raycast diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/entities.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/check/entities.mcfunction deleted file mode 100644 index a6853fd47a..0000000000 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/entities.mcfunction +++ /dev/null @@ -1 +0,0 @@ -$execute as @e[tag=$(solid_entities),tag=!bs.raycast.origin,distance=..$(max_distance)] run function bs.raycast:check/entity/entity diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/entity/entity.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/entity/check/any.mcfunction similarity index 96% rename from datapacks/Bookshelf/data/bs.raycast/functions/check/entity/entity.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/entity/check/any.mcfunction index fcd5990a26..dc18b4a280 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/entity/entity.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/entity/check/any.mcfunction @@ -16,7 +16,7 @@ execute store result score #raycast.max_z bs.data run scoreboard players operati execute if score #hitbox.is_shaped bs.data matches 1 run scoreboard players operation $hitbox.offset.x bs.out *= 1000 bs.const execute if score #hitbox.is_shaped bs.data matches 1 run scoreboard players operation $hitbox.offset.z bs.out *= 1000 bs.const -execute if score #hitbox.is_shaped bs.data matches 0 run function bs.raycast:check/entity/size -execute if score #hitbox.is_shaped bs.data matches 1 run function bs.raycast:check/entity/shape +execute if score #hitbox.is_shaped bs.data matches 0 run function bs.raycast:entity/check/size +execute if score #hitbox.is_shaped bs.data matches 1 run function bs.raycast:entity/check/shape execute if score #hitbox.is_custom bs.data matches 0 run scoreboard players reset @s bs.height execute if score #hitbox.is_custom bs.data matches 0 run scoreboard players reset @s bs.width diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/entity/shape.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/entity/check/shape.mcfunction similarity index 98% rename from datapacks/Bookshelf/data/bs.raycast/functions/check/entity/shape.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/entity/check/shape.mcfunction index 8b7c025917..dd6c188c5c 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/entity/shape.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/entity/check/shape.mcfunction @@ -46,6 +46,6 @@ scoreboard players operation #raycast.tmax bs.data < #raycast.max_z bs.data execute if score #raycast.tmax bs.data matches 0.. \ if score #raycast.tmin bs.data <= #raycast.tmax bs.data \ if score #raycast.tmin bs.data < #raycast.distance bs.data \ - run function bs.raycast:collide/entity + run function bs.raycast:entity/collide -execute if data storage bs:out hitbox[0] run function bs.raycast:check/entity/shape +execute if data storage bs:out hitbox[0] run function bs.raycast:entity/check/shape diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/check/entity/size.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/entity/check/size.mcfunction similarity index 98% rename from datapacks/Bookshelf/data/bs.raycast/functions/check/entity/size.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/entity/check/size.mcfunction index 01ba848b4f..0754f84e0c 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/check/entity/size.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/entity/check/size.mcfunction @@ -34,4 +34,4 @@ scoreboard players operation #raycast.tmax bs.data < #raycast.max_z bs.data execute if score #raycast.tmax bs.data matches 0.. \ if score #raycast.tmin bs.data <= #raycast.tmax bs.data \ if score #raycast.tmin bs.data < #raycast.distance bs.data \ - run function bs.raycast:collide/entity + run function bs.raycast:entity/collide diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/collide/entity.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/entity/collide.mcfunction similarity index 100% rename from datapacks/Bookshelf/data/bs.raycast/functions/collide/entity.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/entity/collide.mcfunction diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/entity/run.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/entity/run.mcfunction new file mode 100644 index 0000000000..438f2901fe --- /dev/null +++ b/datapacks/Bookshelf/data/bs.raycast/functions/entity/run.mcfunction @@ -0,0 +1 @@ +$execute as @e[tag=$(solid_entities),tag=!bs.raycast.origin,distance=..$(max_distance)] run function bs.raycast:entity/check/any diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/cast.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/runner/as.mcfunction similarity index 93% rename from datapacks/Bookshelf/data/bs.raycast/functions/cast.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/runner/as.mcfunction index 7e57cb53f3..4bf2eabea3 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/cast.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/runner/as.mcfunction @@ -14,6 +14,6 @@ execute store result score #raycast.uz bs.data run data get entity @s Pos[2] 100 scoreboard players set #raycast.distance bs.data 2147483647 execute store result score #raycast.max_distance bs.data run data get storage bs:in raycast.max_distance 1000 data modify storage bs:out raycast set value {distance:0d,hit_point:[0d,0d,0d]} -execute if data storage bs:in raycast{block_collision:1b} run function bs.raycast:check/blocks -execute if data storage bs:in raycast{entity_collision:1b} run function bs.raycast:check/entities with storage bs:in raycast +execute if data storage bs:in raycast{block_collision:1b} run function bs.raycast:block/run +execute if data storage bs:in raycast{entity_collision:1b} run function bs.raycast:entity/run with storage bs:in raycast execute in minecraft:overworld run tp @s -30000000 0 1600 diff --git a/datapacks/Bookshelf/data/bs.raycast/functions/run.mcfunction b/datapacks/Bookshelf/data/bs.raycast/functions/runner/run.mcfunction similarity index 96% rename from datapacks/Bookshelf/data/bs.raycast/functions/run.mcfunction rename to datapacks/Bookshelf/data/bs.raycast/functions/runner/run.mcfunction index 64b70396cd..ca1f97e888 100644 --- a/datapacks/Bookshelf/data/bs.raycast/functions/run.mcfunction +++ b/datapacks/Bookshelf/data/bs.raycast/functions/runner/run.mcfunction @@ -15,7 +15,7 @@ # CODE ------------------------------------------------------------------------ tag @s add bs.raycast.origin -execute as B5-0-0-0-1 run function bs.raycast:cast +execute as B5-0-0-0-1 run function bs.raycast:runner/as tag @s remove bs.raycast.origin # return 0 early if no collision occured or compute output data then return 1 diff --git a/datapacks/Bookshelf/data/bs.raycast/tags/functions/run.json b/datapacks/Bookshelf/data/bs.raycast/tags/functions/run.json index 2918d2ae94..d8fee5601e 100644 --- a/datapacks/Bookshelf/data/bs.raycast/tags/functions/run.json +++ b/datapacks/Bookshelf/data/bs.raycast/tags/functions/run.json @@ -1,5 +1,5 @@ { "values": [ - "bs.raycast:run" + "bs.raycast:runner/run" ] } diff --git a/datapacks/Bookshelf/data/bs.schedule/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.schedule/functions/__load__.mcfunction index 0a4d817bf2..e492197885 100644 --- a/datapacks/Bookshelf/data/bs.schedule/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.schedule/functions/__load__.mcfunction @@ -4,8 +4,8 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} -execute unless entity B5-0-0-0-4 run summon minecraft:snowball -30000000 0 1600 {UUID:[I;181,0,0,4],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Entity Pointer","color":"aqua"}]',NoGravity:1b,Invulnerable:1b} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} +execute unless entity B5-0-0-0-4 run summon minecraft:snowball -30000000 0 1600 {UUID:[I;181,0,0,4],Tags:["bs.entity","bs.persistent"],NoGravity:1b,Invulnerable:1b} scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.schedule/tests/cancel/all.mcfunction b/datapacks/Bookshelf/data/bs.schedule/tests/cancel/all.mcfunction new file mode 100644 index 0000000000..c491182038 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.schedule/tests/cancel/all.mcfunction @@ -0,0 +1,10 @@ +# All commands that match the id get canceled +# @batch bs.schedule +# @timeout 1 + +scoreboard players set #packtest.schedule.cancel_all bs.data 0 +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.cancel_all bs.data 1",time:1}} +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.cancel_all bs.data 1",time:1,id:{cancel:"all"}}} +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.cancel_all bs.data 1",time:1,id:{cancel:"all"}}} +function #bs.schedule:cancel {with:{id:{cancel:"all"}}} +await score #packtest.schedule.cancel_all bs.data matches 1 diff --git a/datapacks/Bookshelf/data/bs.schedule/tests/cancel/one.mcfunction b/datapacks/Bookshelf/data/bs.schedule/tests/cancel/one.mcfunction new file mode 100644 index 0000000000..ae837ab644 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.schedule/tests/cancel/one.mcfunction @@ -0,0 +1,10 @@ +# Only the last command that matches the id get canceled +# @batch bs.schedule +# @timeout 1 + +scoreboard players set #packtest.schedule.cancel_one bs.data 0 +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.cancel_one bs.data 1",time:1}} +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.cancel_one bs.data 1",time:1,id:{cancel:"one"}}} +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.cancel_one bs.data 1",time:1,id:{cancel:"one"}}} +function #bs.schedule:cancel_one {with:{id:{cancel:"one"}}} +await score #packtest.schedule.cancel_one bs.data matches 2 diff --git a/datapacks/Bookshelf/data/bs.schedule/tests/schedule/context.mcfunction b/datapacks/Bookshelf/data/bs.schedule/tests/schedule/context.mcfunction new file mode 100644 index 0000000000..4c88ca0bc2 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.schedule/tests/schedule/context.mcfunction @@ -0,0 +1,8 @@ +# Commands keep the execution context +# @batch bs.schedule +# @dummy +# @timeout 1 + +setblock ~ ~1 ~ minecraft:bookshelf +function #bs.schedule:schedule {with:{command:"execute if block ~ ~1 ~ minecraft:bookshelf run scoreboard players set @s bs.data 1",time:1}} +await score @s bs.data matches 1 diff --git a/datapacks/Bookshelf/data/bs.schedule/tests/schedule/stack.mcfunction b/datapacks/Bookshelf/data/bs.schedule/tests/schedule/stack.mcfunction new file mode 100644 index 0000000000..10db1ad270 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.schedule/tests/schedule/stack.mcfunction @@ -0,0 +1,8 @@ +# Commands can stack on a same tick +# @batch bs.schedule +# @timeout 1 + +scoreboard players set #packtest.schedule.stack bs.data 0 +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.stack bs.data 1",time:1}} +function #bs.schedule:schedule {with:{command:"scoreboard players add #packtest.schedule.stack bs.data 1",time:1}} +await score #packtest.schedule.stack bs.data matches 2 diff --git a/datapacks/Bookshelf/data/bs.schedule/tests/units/error.mcfunction b/datapacks/Bookshelf/data/bs.schedule/tests/units/error.mcfunction new file mode 100644 index 0000000000..3d659528bc --- /dev/null +++ b/datapacks/Bookshelf/data/bs.schedule/tests/units/error.mcfunction @@ -0,0 +1,7 @@ +# Invalid unit should throw an error +# @batch bs.schedule +# @dummy + +tag @s add bs.log.schedule.schedule._ +function #bs.schedule:schedule {with:{command:"",time:1,unit:"Β―|_(ツ)_|Β―"}} +assert chat "(?i).*error.*Β―\\|_\\(ツ\\)_\\|Β―" diff --git a/datapacks/Bookshelf/data/bs.schedule/tests/units/success.mcfunction b/datapacks/Bookshelf/data/bs.schedule/tests/units/success.mcfunction new file mode 100644 index 0000000000..6c6697d7b3 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.schedule/tests/units/success.mcfunction @@ -0,0 +1,13 @@ +# Valid units should not throw an error +# @batch bs.schedule +# @dummy + +function #bs.schedule:schedule {with:{command:"",time:1,unit:"t"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"tick"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"s"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"second"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"m"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"minute"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"h"}} +function #bs.schedule:schedule {with:{command:"",time:1,unit:"hour"}} +assert not chat "(?i).*error.*" diff --git a/datapacks/Bookshelf/data/bs.sidebar/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.sidebar/functions/__load__.mcfunction index bd0bdf2063..7eb457fe49 100644 --- a/datapacks/Bookshelf/data/bs.sidebar/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.sidebar/functions/__load__.mcfunction @@ -4,6 +4,6 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Text Display","color":"aqua"}]'} +execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.sidebar/functions/create/create.mcfunction b/datapacks/Bookshelf/data/bs.sidebar/functions/create/create.mcfunction index 91c50a222c..673eadd0ef 100644 --- a/datapacks/Bookshelf/data/bs.sidebar/functions/create/create.mcfunction +++ b/datapacks/Bookshelf/data/bs.sidebar/functions/create/create.mcfunction @@ -42,6 +42,6 @@ execute unless score #sidebar.lines bs.data matches 1..15 run return run functio # start the recursion to create each line abort if a line failed execute as B5-0-0-0-2 run function bs.sidebar:create/recurse/start with storage bs:ctx _ -data modify entity @s CustomName set value '[{"text":"BS ","color":"dark_gray"},{"text":"Text Display","color":"aqua"}]' +data remove entity @s CustomName execute if score #sidebar.lines bs.data = #sidebar.line bs.data run return 1 return run function bs.sidebar:create/recurse/abort with storage bs:ctx _ diff --git a/datapacks/Bookshelf/data/bs.time/tests/format.mcfunction b/datapacks/Bookshelf/data/bs.time/tests/format.mcfunction new file mode 100644 index 0000000000..57e3fdbec1 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.time/tests/format.mcfunction @@ -0,0 +1,10 @@ +# Time format is valid +# @batch bs.time + +scoreboard players set $time.hours bs.out -1 +scoreboard players set $time.minutes bs.out -1 +scoreboard players set $time.seconds bs.out -1 +function #bs.time:get +assert score $time.hours bs.out matches 0.. +assert score $time.minutes bs.out matches 0.. +assert score $time.seconds bs.out matches 0.. diff --git a/datapacks/Bookshelf/data/bs.vector/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/__load__.mcfunction index 0bc52dfcd4..12d7077dab 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/__load__.mcfunction @@ -4,8 +4,8 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} -execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Text Display","color":"aqua"}]'} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} +execute unless entity B5-0-0-0-2 run summon minecraft:text_display -30000000 0 1600 {view_range:0f,UUID:[I;181,0,0,2],Tags:["bs.entity","bs.persistent"]} scoreboard objectives add bs.in dummy [{"text":"BS ","color":"dark_gray"},{"text":"Input","color":"aqua"}] scoreboard objectives add bs.out dummy [{"text":"BS ","color":"dark_gray"},{"text":"Output","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/basis_rot_3d.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/basis_rot_3d.mcfunction index f6336e2ece..89789bd13b 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/basis_rot_3d.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/basis_rot_3d.mcfunction @@ -14,39 +14,37 @@ # CODE ------------------------------------------------------------------------ -$scoreboard players set #vector.basis_rot_3d.scaling bs.data $(scaling) -scoreboard players operation #vector.basis_rot_3d.rot.0 bs.data = $vector.basis_rot_3d.rot.0 bs.in -scoreboard players operation #vector.basis_rot_3d.rot.1 bs.data = $vector.basis_rot_3d.rot.1 bs.in -scoreboard players operation #vector.basis_rot_3d.rot.0 bs.data *= 100 bs.const -scoreboard players operation #vector.basis_rot_3d.rot.1 bs.data *= 100 bs.const +$scoreboard players set #vector.scaling bs.data $(scaling) +scoreboard players set #vector.dscale bs.data 1000000000 +execute store result storage bs:ctx y double .000000001 run scoreboard players operation #vector.dscale bs.data /= #vector.scaling bs.data # sincos(h: Phi) & sincos(v: Theta) -execute as B5-0-0-0-1 run function bs.vector:convert/basis_rot_3d/sincos +execute as B5-0-0-0-1 run function bs.vector:convert/basis_rot_3d/sincos with storage bs:ctx # X' = Z * sin(h) + X * cos(h) -scoreboard players operation $vector.basis_rot_3d.pos.0 bs.out = $vector.basis_rot_3d.pos.2 bs.in -scoreboard players operation $vector.basis_rot_3d.pos.0 bs.out *= #vector.basis_rot_3d.sin.h bs.data +scoreboard players operation $vector.basis_rot_3d.0 bs.out = $vector.basis_rot_3d.pos.2 bs.in +scoreboard players operation $vector.basis_rot_3d.0 bs.out *= #vector.sin.h bs.data scoreboard players operation #vector.basis_rot_3d bs.data = $vector.basis_rot_3d.pos.0 bs.in -scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.basis_rot_3d.cos.h bs.data -scoreboard players operation $vector.basis_rot_3d.pos.0 bs.out += #vector.basis_rot_3d bs.data -scoreboard players operation $vector.basis_rot_3d.pos.0 bs.out /= 1000 bs.const +scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.cos.h bs.data +scoreboard players operation $vector.basis_rot_3d.0 bs.out += #vector.basis_rot_3d bs.data +scoreboard players operation $vector.basis_rot_3d.0 bs.out /= 1000 bs.const # Y' = (z * cos(h) - x * sin(h)) * sin(v) + y * cos(v) -scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out = $vector.basis_rot_3d.pos.2 bs.in -scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out *= #vector.basis_rot_3d.cos.h bs.data +scoreboard players operation $vector.basis_rot_3d.1 bs.out = $vector.basis_rot_3d.pos.2 bs.in +scoreboard players operation $vector.basis_rot_3d.1 bs.out *= #vector.cos.h bs.data scoreboard players operation #vector.basis_rot_3d bs.data = $vector.basis_rot_3d.pos.0 bs.in -scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.basis_rot_3d.sin.h bs.data -scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out -= #vector.basis_rot_3d bs.data -execute store result score $vector.basis_rot_3d.pos.2 bs.out run scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out /= 1000 bs.const -scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out *= #vector.basis_rot_3d.sin.v bs.data +scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.sin.h bs.data +scoreboard players operation $vector.basis_rot_3d.1 bs.out -= #vector.basis_rot_3d bs.data +execute store result score $vector.basis_rot_3d.2 bs.out run scoreboard players operation $vector.basis_rot_3d.1 bs.out /= 1000 bs.const +scoreboard players operation $vector.basis_rot_3d.1 bs.out *= #vector.sin.v bs.data scoreboard players operation #vector.basis_rot_3d bs.data = $vector.basis_rot_3d.pos.1 bs.in -scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.basis_rot_3d.cos.v bs.data -scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out += #vector.basis_rot_3d bs.data -scoreboard players operation $vector.basis_rot_3d.pos.1 bs.out /= 1000 bs.const +scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.cos.v bs.data +scoreboard players operation $vector.basis_rot_3d.1 bs.out += #vector.basis_rot_3d bs.data +scoreboard players operation $vector.basis_rot_3d.1 bs.out /= 1000 bs.const # Z' = (z * cos(h) - x * sin(h)) * cos(v) - y * sin(v) -scoreboard players operation $vector.basis_rot_3d.pos.2 bs.out *= #vector.basis_rot_3d.cos.v bs.data +scoreboard players operation $vector.basis_rot_3d.2 bs.out *= #vector.cos.v bs.data scoreboard players operation #vector.basis_rot_3d bs.data = $vector.basis_rot_3d.pos.1 bs.in -scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.basis_rot_3d.sin.v bs.data -scoreboard players operation $vector.basis_rot_3d.pos.2 bs.out -= #vector.basis_rot_3d bs.data -scoreboard players operation $vector.basis_rot_3d.pos.2 bs.out /= 1000 bs.const +scoreboard players operation #vector.basis_rot_3d bs.data *= #vector.sin.v bs.data +scoreboard players operation $vector.basis_rot_3d.2 bs.out -= #vector.basis_rot_3d bs.data +scoreboard players operation $vector.basis_rot_3d.2 bs.out /= 1000 bs.const diff --git a/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/sincos.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/sincos.mcfunction index 3ab6e714ea..0c291bf810 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/sincos.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/convert/basis_rot_3d/sincos.mcfunction @@ -1,9 +1,9 @@ -execute store result entity @s Rotation[0] float 0.01 run scoreboard players operation #vector.basis_rot_3d.rot.0 bs.data /= #vector.basis_rot_3d.scaling bs.data -execute at @s positioned 0.0 0.0 0.0 rotated ~180 0.0 run tp @s ^ ^ ^10.0 -execute store result score #vector.basis_rot_3d.cos.h bs.data run data get entity @s Pos[2] 100 -execute store result score #vector.basis_rot_3d.sin.h bs.data run data get entity @s Pos[0] 100 -execute store result entity @s Rotation[0] float 0.01 run scoreboard players operation #vector.basis_rot_3d.rot.1 bs.data /= #vector.basis_rot_3d.scaling bs.data -execute at @s positioned 0.0 0.0 0.0 rotated ~180 0.0 run tp @s ^ ^ ^10.0 -execute store result score #vector.basis_rot_3d.cos.v bs.data run data get entity @s Pos[2] 100 -execute store result score #vector.basis_rot_3d.sin.v bs.data run data get entity @s Pos[0] 100 +$execute store result entity @s Rotation[0] float $(y) run scoreboard players get $vector.basis_rot_3d.rot.0 bs.in +execute at @s positioned 0.0 0.0 0.0 rotated ~ 0.0 run tp @s ^ ^ ^10.0 +execute store result score #vector.cos.h bs.data run data get entity @s Pos[2] 100 +execute store result score #vector.sin.h bs.data run data get entity @s Pos[0] -100 +$execute store result entity @s Rotation[0] float $(y) run scoreboard players get $vector.basis_rot_3d.rot.1 bs.in +execute at @s positioned 0.0 0.0 0.0 rotated ~ 0.0 run tp @s ^ ^ ^10.0 +execute store result score #vector.cos.v bs.data run data get entity @s Pos[2] 100 +execute store result score #vector.sin.v bs.data run data get entity @s Pos[0] -100 execute in minecraft:overworld run tp @s -30000000 0 1600 diff --git a/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/compute.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/compute.mcfunction index 20d48d132f..ebb5106eef 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/compute.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/compute.mcfunction @@ -1,5 +1,5 @@ -execute store result entity @s Rotation[0] float 0.01 run scoreboard players operation #vector.spherical_to_cartesian.0 bs.data /= #vector.spherical_to_cartesian.scaling bs.data -execute store result entity @s Rotation[1] float 0.01 run scoreboard players operation #vector.spherical_to_cartesian.1 bs.data /= #vector.spherical_to_cartesian.scaling bs.data -execute rotated as @s positioned 0.0 0.0 0.0 positioned ^ ^ ^1 run tp @s ~ ~ ~ ~ ~ +$execute store result entity @s Rotation[0] float $(y) run scoreboard players get $vector.spherical_to_cartesian.0 bs.in +$execute store result entity @s Rotation[1] float $(y) run scoreboard players get $vector.spherical_to_cartesian.1 bs.in +$execute rotated as @s positioned 0.0 0.0 0.0 run tp @s ^ ^ ^$(x) data modify storage bs:ctx _ set from entity @s Pos execute in minecraft:overworld run tp @s -30000000 0 1600 diff --git a/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/spherical_to_cartesian.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/spherical_to_cartesian.mcfunction index cdc3aba9ee..bf11285f31 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/spherical_to_cartesian.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/convert/spherical_to_cartesian/spherical_to_cartesian.mcfunction @@ -14,16 +14,11 @@ # CODE ------------------------------------------------------------------------ -$scoreboard players set #vector.spherical_to_cartesian.scaling bs.data $(scaling) -scoreboard players operation #vector.spherical_to_cartesian.0 bs.data = $vector.spherical_to_cartesian.0 bs.in -scoreboard players operation #vector.spherical_to_cartesian.1 bs.data = $vector.spherical_to_cartesian.1 bs.in -scoreboard players operation #vector.spherical_to_cartesian.0 bs.data *= 100 bs.const -scoreboard players operation #vector.spherical_to_cartesian.1 bs.data *= 100 bs.const -execute as B5-0-0-0-1 run function bs.vector:convert/cartesian_to_spherical/compute -$execute store result score $vector.spherical_to_cartesian.0 bs.out run data get storage bs:ctx _[0] $(scaling) -$execute store result score $vector.spherical_to_cartesian.1 bs.out run data get storage bs:ctx _[1] $(scaling) -$execute store result score $vector.spherical_to_cartesian.2 bs.out run data get storage bs:ctx _[2] $(scaling) - -scoreboard players operation $vector.spherical_to_cartesian.0 bs.out *= $vector.spherical_to_cartesian.2 bs.in -scoreboard players operation $vector.spherical_to_cartesian.1 bs.out *= $vector.spherical_to_cartesian.2 bs.in -scoreboard players operation $vector.spherical_to_cartesian.2 bs.out *= $vector.spherical_to_cartesian.2 bs.in +$scoreboard players set #vector.scaling bs.data $(scaling) +scoreboard players set #vector.dscale bs.data 1000000000 +execute store result storage bs:ctx y double .000000001 run scoreboard players operation #vector.dscale bs.data /= #vector.scaling bs.data +execute store result storage bs:ctx x int 1 run scoreboard players get $vector.spherical_to_cartesian.2 bs.in +execute as B5-0-0-0-1 run function bs.vector:convert/spherical_to_cartesian/compute with storage bs:ctx +execute store result score $vector.spherical_to_cartesian.0 bs.out run data get storage bs:ctx _[0] +execute store result score $vector.spherical_to_cartesian.1 bs.out run data get storage bs:ctx _[1] +execute store result score $vector.spherical_to_cartesian.2 bs.out run data get storage bs:ctx _[2] diff --git a/datapacks/Bookshelf/data/bs.vector/functions/cross_product.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/cross_product.mcfunction index b03fe9b806..10c47eca91 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/cross_product.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/cross_product.mcfunction @@ -14,7 +14,7 @@ # CODE ------------------------------------------------------------------------ -$scoreboard players set #vector.cross_product.scaling bs.data $(scaling) +$scoreboard players set #vector.scaling bs.data $(scaling) # out.0 = u.1 * v.2 - u.2 * v.1 scoreboard players operation $vector.cross_product.0 bs.out = $vector.cross_product.u.1 bs.in @@ -22,7 +22,7 @@ scoreboard players operation $vector.cross_product.0 bs.out *= $vector.cross_pro scoreboard players operation #vector.cross_product bs.data = $vector.cross_product.u.2 bs.in scoreboard players operation #vector.cross_product bs.data *= $vector.cross_product.v.1 bs.in scoreboard players operation $vector.cross_product.0 bs.out -= #vector.cross_product bs.data -scoreboard players operation $vector.cross_product.0 bs.out /= #vector.cross_product.scaling bs.data +scoreboard players operation $vector.cross_product.0 bs.out /= #vector.scaling bs.data # out.1 = u.2 * v.0 - u.0 * v.2 scoreboard players operation $vector.cross_product.1 bs.out = $vector.cross_product.u.2 bs.in @@ -30,7 +30,7 @@ scoreboard players operation $vector.cross_product.1 bs.out *= $vector.cross_pro scoreboard players operation #vector.cross_product bs.data = $vector.cross_product.u.0 bs.in scoreboard players operation #vector.cross_product bs.data *= $vector.cross_product.v.2 bs.in scoreboard players operation $vector.cross_product.1 bs.out -= #vector.cross_product bs.data -scoreboard players operation $vector.cross_product.1 bs.out /= #vector.cross_product.scaling bs.data +scoreboard players operation $vector.cross_product.1 bs.out /= #vector.scaling bs.data # out.2 = u.0 * v.1 - u.1 * v.0 scoreboard players operation $vector.cross_product.2 bs.out = $vector.cross_product.u.0 bs.in @@ -38,4 +38,4 @@ scoreboard players operation $vector.cross_product.2 bs.out *= $vector.cross_pro scoreboard players operation #vector.cross_product bs.data = $vector.cross_product.u.1 bs.in scoreboard players operation #vector.cross_product bs.data *= $vector.cross_product.v.0 bs.in scoreboard players operation $vector.cross_product.2 bs.out -= #vector.cross_product bs.data -scoreboard players operation $vector.cross_product.2 bs.out /= #vector.cross_product.scaling bs.data +scoreboard players operation $vector.cross_product.2 bs.out /= #vector.scaling bs.data diff --git a/datapacks/Bookshelf/data/bs.vector/functions/dot_product.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/dot_product.mcfunction index dc86b9c87c..ef082ba548 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/dot_product.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/dot_product.mcfunction @@ -14,7 +14,7 @@ # CODE ------------------------------------------------------------------------ -$scoreboard players set #vector.dot_product.scaling bs.data $(scaling) +$scoreboard players set #vector.scaling bs.data $(scaling) scoreboard players operation $vector.dot_product bs.out = $vector.dot_product.u.0 bs.in scoreboard players operation $vector.dot_product bs.out *= $vector.dot_product.v.0 bs.in @@ -24,4 +24,4 @@ scoreboard players operation $vector.dot_product bs.out += #vector.dot_product b scoreboard players operation #vector.dot_product bs.data = $vector.dot_product.u.2 bs.in scoreboard players operation #vector.dot_product bs.data *= $vector.dot_product.v.2 bs.in scoreboard players operation $vector.dot_product bs.out += #vector.dot_product bs.data -return run scoreboard players operation $vector.dot_product bs.out /= #vector.dot_product.scaling bs.data +return run scoreboard players operation $vector.dot_product bs.out /= #vector.scaling bs.data diff --git a/datapacks/Bookshelf/data/bs.vector/functions/fast_normalize.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/fast_normalize.mcfunction index 521752ad2d..6695524750 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/fast_normalize.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/fast_normalize.mcfunction @@ -14,7 +14,7 @@ # CODE ------------------------------------------------------------------------ -$scoreboard players set #vector.fast_normalize.scale bs.data $(scale) +$scoreboard players set #vector.scale bs.data $(scale) scoreboard players operation $vector.fast_normalize.factor bs.out = $vector.fast_normalize.0 bs.in execute if predicate bs.vector:fast_normalize/check1 run scoreboard players operation $vector.fast_normalize.factor bs.out = $vector.fast_normalize.1 bs.in @@ -25,9 +25,9 @@ scoreboard players operation $vector.fast_normalize.0 bs.out = $vector.fast_norm scoreboard players operation $vector.fast_normalize.1 bs.out = $vector.fast_normalize.1 bs.in scoreboard players operation $vector.fast_normalize.2 bs.out = $vector.fast_normalize.2 bs.in -scoreboard players operation $vector.fast_normalize.0 bs.out *= #vector.fast_normalize.scale bs.data -scoreboard players operation $vector.fast_normalize.1 bs.out *= #vector.fast_normalize.scale bs.data -scoreboard players operation $vector.fast_normalize.2 bs.out *= #vector.fast_normalize.scale bs.data +scoreboard players operation $vector.fast_normalize.0 bs.out *= #vector.scale bs.data +scoreboard players operation $vector.fast_normalize.1 bs.out *= #vector.scale bs.data +scoreboard players operation $vector.fast_normalize.2 bs.out *= #vector.scale bs.data scoreboard players operation $vector.fast_normalize.0 bs.out /= $vector.fast_normalize.factor bs.out scoreboard players operation $vector.fast_normalize.1 bs.out /= $vector.fast_normalize.factor bs.out diff --git a/datapacks/Bookshelf/data/bs.vector/functions/length_squared.mcfunction b/datapacks/Bookshelf/data/bs.vector/functions/length_squared.mcfunction index cee7c10632..7d3c415917 100644 --- a/datapacks/Bookshelf/data/bs.vector/functions/length_squared.mcfunction +++ b/datapacks/Bookshelf/data/bs.vector/functions/length_squared.mcfunction @@ -14,7 +14,7 @@ # CODE ------------------------------------------------------------------------ -$scoreboard players set #vector.length_squared.scaling bs.data $(scaling) +$scoreboard players set #vector.scaling bs.data $(scaling) scoreboard players operation $vector.length_squared bs.out = $vector.length_squared.0 bs.in scoreboard players operation $vector.length_squared bs.out *= $vector.length_squared.0 bs.in @@ -24,4 +24,4 @@ scoreboard players operation $vector.length_squared bs.out += #vector.length_squ scoreboard players operation #vector.length_squared bs.data = $vector.length_squared.2 bs.in scoreboard players operation #vector.length_squared bs.data *= $vector.length_squared.2 bs.in scoreboard players operation $vector.length_squared bs.out += #vector.length_squared bs.data -return run scoreboard players operation $vector.length_squared bs.out /= #vector.length_squared.scaling bs.data +return run scoreboard players operation $vector.length_squared bs.out /= #vector.scaling bs.data diff --git a/datapacks/Bookshelf/data/bs.vector/tests/basis_rot_3d.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/basis_rot_3d.mcfunction new file mode 100644 index 0000000000..a66876b27f --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/basis_rot_3d.mcfunction @@ -0,0 +1,14 @@ +# Convert canonical to local coordinates +# @batch bs.vector + +scoreboard players set $vector.basis_rot_3d.pos.0 bs.in 577 +scoreboard players set $vector.basis_rot_3d.pos.1 bs.in 577 +scoreboard players set $vector.basis_rot_3d.pos.2 bs.in 577 +scoreboard players set $vector.basis_rot_3d.rot.0 bs.in -45000 +scoreboard players set $vector.basis_rot_3d.rot.1 bs.in -35265 + +function #bs.vector:basis_rot_3d {scaling:1000} + +assert score $vector.basis_rot_3d.0 bs.out matches -1..1 +assert score $vector.basis_rot_3d.1 bs.out matches -1..1 +assert score $vector.basis_rot_3d.2 bs.out matches 999..1001 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/cartesian_to_spherical.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/cartesian_to_spherical.mcfunction new file mode 100644 index 0000000000..d3bc484454 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/cartesian_to_spherical.mcfunction @@ -0,0 +1,12 @@ +# Convert cartesian to spherical coordinates +# @batch bs.vector + +scoreboard players set $vector.cartesian_to_spherical.0 bs.in 577 +scoreboard players set $vector.cartesian_to_spherical.1 bs.in 577 +scoreboard players set $vector.cartesian_to_spherical.2 bs.in 577 + +function #bs.vector:cartesian_to_spherical {scaling:1000} + +assert score $vector.cartesian_to_spherical.0 bs.out matches -45001..-44999 +assert score $vector.cartesian_to_spherical.1 bs.out matches -35266..-35264 +assert score $vector.cartesian_to_spherical.2 bs.out matches 999..1001 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/cross_product.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/cross_product.mcfunction new file mode 100644 index 0000000000..5bc0ff3464 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/cross_product.mcfunction @@ -0,0 +1,16 @@ +# Cross product returns correct values +# @batch bs.vector + +scoreboard players set $vector.cross_product.u.0 bs.in 4 +scoreboard players set $vector.cross_product.u.1 bs.in 2 +scoreboard players set $vector.cross_product.u.2 bs.in 5 + +scoreboard players set $vector.cross_product.v.0 bs.in 1 +scoreboard players set $vector.cross_product.v.1 bs.in 3 +scoreboard players set $vector.cross_product.v.2 bs.in 9 + +function #bs.vector:cross_product {scaling:1} + +assert score $vector.cross_product.0 bs.out matches 3 +assert score $vector.cross_product.1 bs.out matches -31 +assert score $vector.cross_product.2 bs.out matches 10 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/dot_product.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/dot_product.mcfunction new file mode 100644 index 0000000000..544faf0d27 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/dot_product.mcfunction @@ -0,0 +1,14 @@ +# Dot product returns correct values +# @batch bs.vector + +scoreboard players set $vector.dot_product.u.0 bs.in 24 +scoreboard players set $vector.dot_product.u.1 bs.in 35 +scoreboard players set $vector.dot_product.u.2 bs.in 42 + +scoreboard players set $vector.dot_product.v.0 bs.in 35 +scoreboard players set $vector.dot_product.v.1 bs.in 42 +scoreboard players set $vector.dot_product.v.2 bs.in 45 + +function #bs.vector:dot_product {scaling:10} + +assert score $vector.dot_product bs.out matches 420 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/fast_normalize.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/fast_normalize.mcfunction new file mode 100644 index 0000000000..2b0ce17956 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/fast_normalize.mcfunction @@ -0,0 +1,12 @@ +# Fast normalize returns correct values +# @batch bs.vector + +scoreboard players set $vector.fast_normalize.0 bs.in 37216 +scoreboard players set $vector.fast_normalize.1 bs.in 3383 +scoreboard players set $vector.fast_normalize.2 bs.in 19172 + +function #bs.vector:fast_normalize {scale:1000} + +assert score $vector.fast_normalize.0 bs.out matches 1000 +assert score $vector.fast_normalize.1 bs.out matches 89..91 +assert score $vector.fast_normalize.2 bs.out matches 514..516 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/length.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/length.mcfunction new file mode 100644 index 0000000000..da69d75517 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/length.mcfunction @@ -0,0 +1,10 @@ +# Length returns correct values +# @batch bs.vector + +scoreboard players set $vector.length.0 bs.in 37216 +scoreboard players set $vector.length.1 bs.in 3383 +scoreboard players set $vector.length.2 bs.in 19172 + +function #bs.vector:length + +assert score $vector.length bs.out matches 42000 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/length_squared.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/length_squared.mcfunction new file mode 100644 index 0000000000..65dd145306 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/length_squared.mcfunction @@ -0,0 +1,10 @@ +# Length squared returns correct values +# @batch bs.vector + +scoreboard players set $vector.length_squared.0 bs.in 4000 +scoreboard players set $vector.length_squared.1 bs.in 5000 +scoreboard players set $vector.length_squared.2 bs.in 1000 + +function #bs.vector:length_squared {scaling:1000} + +assert score $vector.length_squared bs.out matches 42000 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/max.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/max.mcfunction new file mode 100644 index 0000000000..86e1150a23 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/max.mcfunction @@ -0,0 +1,14 @@ +# Max returns correct values +# @batch bs.vector + +scoreboard players set $vector.max.0 bs.in 52 +scoreboard players set $vector.max.1 bs.in -48 +scoreboard players set $vector.max.2 bs.in 12 +function #bs.vector:max +assert score $vector.max bs.out matches 52 + +scoreboard players set $vector.max.0 bs.in -85 +scoreboard players set $vector.max.1 bs.in 48 +scoreboard players set $vector.max.2 bs.in 72 +function #bs.vector:max +assert score $vector.max bs.out matches -85 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/min.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/min.mcfunction new file mode 100644 index 0000000000..e06f347490 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/min.mcfunction @@ -0,0 +1,14 @@ +# Min returns correct values +# @batch bs.vector + +scoreboard players set $vector.min.0 bs.in 52 +scoreboard players set $vector.min.1 bs.in -48 +scoreboard players set $vector.min.2 bs.in -12 +function #bs.vector:min +assert score $vector.min bs.out matches -12 + +scoreboard players set $vector.min.0 bs.in -85 +scoreboard players set $vector.min.1 bs.in 48 +scoreboard players set $vector.min.2 bs.in 72 +function #bs.vector:min +assert score $vector.min bs.out matches 48 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/normalize.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/normalize.mcfunction new file mode 100644 index 0000000000..0a4cb7795d --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/normalize.mcfunction @@ -0,0 +1,12 @@ +# Normalize returns correct values +# @batch bs.vector + +scoreboard players set $vector.normalize.0 bs.in 37216 +scoreboard players set $vector.normalize.1 bs.in 3383 +scoreboard players set $vector.normalize.2 bs.in 19172 + +function #bs.vector:normalize {scale:1000} + +assert score $vector.normalize.0 bs.out matches 885..887 +assert score $vector.normalize.1 bs.out matches 79..81 +assert score $vector.normalize.2 bs.out matches 455..457 diff --git a/datapacks/Bookshelf/data/bs.vector/tests/spherical_to_cartesian.mcfunction b/datapacks/Bookshelf/data/bs.vector/tests/spherical_to_cartesian.mcfunction new file mode 100644 index 0000000000..ee9d5a8893 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.vector/tests/spherical_to_cartesian.mcfunction @@ -0,0 +1,12 @@ +# Convert spherical to cartesian coordinates +# @batch bs.vector + +scoreboard players set $vector.spherical_to_cartesian.0 bs.in 15250 +scoreboard players set $vector.spherical_to_cartesian.1 bs.in 42000 +scoreboard players set $vector.spherical_to_cartesian.2 bs.in 8525 + +function #bs.vector:spherical_to_cartesian {scaling:1000} + +assert score $vector.spherical_to_cartesian.0 bs.out matches -1667..-1665 +assert score $vector.spherical_to_cartesian.1 bs.out matches -5704..-5702 +assert score $vector.spherical_to_cartesian.2 bs.out matches 6111..6113 diff --git a/datapacks/Bookshelf/data/bs.view/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/__load__.mcfunction index 8d19a61c93..f3b4e3132c 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/__load__.mcfunction @@ -4,8 +4,8 @@ # CODE ------------------------------------------------------------------------ forceload add -30000000 1600 -execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} -execute unless entity B5-0-0-0-4 run summon minecraft:snowball -30000000 0 1600 {UUID:[I;181,0,0,4],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Entity Pointer","color":"aqua"}]',NoGravity:1b,Invulnerable:1b} +execute unless entity B5-0-0-0-1 run summon minecraft:marker -30000000 0 1600 {UUID:[I;181,0,0,1],Tags:["bs.entity","bs.persistent"]} +execute unless entity B5-0-0-0-4 run summon minecraft:snowball -30000000 0 1600 {UUID:[I;181,0,0,4],Tags:["bs.entity","bs.persistent"],NoGravity:1b,Invulnerable:1b} scoreboard objectives add bs.data dummy [{"text":"BS ","color":"dark_gray"},{"text":"Data","color":"aqua"}] diff --git a/datapacks/Bookshelf/data/bs.view/functions/at_aimed_block.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/at_aimed_block.mcfunction index 542b45b2cd..a399cdd66f 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/at_aimed_block.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/at_aimed_block.mcfunction @@ -22,6 +22,7 @@ data modify storage bs:in raycast set from storage bs:data view.raycast # run the command at the block that was found or return early execute if score #raycast.distance bs.data matches 2147483647 run return 0 +tp B5-0-0-0-1 @s data modify entity B5-0-0-0-1 Pos set from storage bs:out raycast.targeted_block $execute at B5-0-0-0-1 run $(run) execute in minecraft:overworld run tp B5-0-0-0-1 -30000000 0 1600 diff --git a/datapacks/Bookshelf/data/bs.view/functions/at_aimed_point.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/at_aimed_point.mcfunction index 0df9c891ee..6822de011d 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/at_aimed_point.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/at_aimed_point.mcfunction @@ -22,6 +22,7 @@ data modify storage bs:in raycast set from storage bs:data view.raycast # run the command at the hit point that was found or return early execute if score #raycast.distance bs.data matches 2147483647 run return 0 +tp B5-0-0-0-1 @s data modify entity B5-0-0-0-1 Pos set from storage bs:out raycast.hit_point $execute at B5-0-0-0-1 run $(run) execute in minecraft:overworld run tp B5-0-0-0-1 -30000000 0 1600 diff --git a/datapacks/Bookshelf/data/bs.view/functions/at_placed_block.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/at_placed_block.mcfunction index b39a556e0d..28f4b9ae0b 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/at_placed_block.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/at_placed_block.mcfunction @@ -28,8 +28,11 @@ execute store result score #view.z1 bs.data run data get storage bs:out raycast. execute store result score #view.x2 bs.data run data get storage bs:out raycast.hit_normal[0] execute store result score #view.y2 bs.data run data get storage bs:out raycast.hit_normal[1] execute store result score #view.z2 bs.data run data get storage bs:out raycast.hit_normal[2] -execute store result entity B5-0-0-0-1 Pos[0] double 1 run scoreboard players operation #view.x1 bs.data += #view.x2 bs.data -execute store result entity B5-0-0-0-1 Pos[1] double 1 run scoreboard players operation #view.y1 bs.data += #view.y2 bs.data -execute store result entity B5-0-0-0-1 Pos[2] double 1 run scoreboard players operation #view.z1 bs.data += #view.z2 bs.data +data modify storage bs:ctx _ set value [0d,0d,0d] +execute store result storage bs:ctx _[0] double 1 run scoreboard players operation #view.x1 bs.data += #view.x2 bs.data +execute store result storage bs:ctx _[1] double 1 run scoreboard players operation #view.y1 bs.data += #view.y2 bs.data +execute store result storage bs:ctx _[2] double 1 run scoreboard players operation #view.z1 bs.data += #view.z2 bs.data +tp B5-0-0-0-1 @s +data modify entity B5-0-0-0-1 Pos set from storage bs:ctx _ $execute at B5-0-0-0-1 run $(run) execute in minecraft:overworld run tp B5-0-0-0-1 -30000000 0 1600 diff --git a/datapacks/Bookshelf/data/bs.view/functions/can_see_ata.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/can_see_ata.mcfunction index 4bd7e791a0..c5986aa996 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/can_see_ata.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/can_see_ata.mcfunction @@ -18,6 +18,6 @@ data modify storage bs:data view.raycast set from storage bs:in raycast data modify storage bs:in raycast merge value {block_collision:true,entity_collision:false} data modify storage bs:in raycast.ignored_blocks set from storage bs:in view.can_see_ata.ignored_blocks execute store result storage bs:in raycast.max_distance double 0.001 run function #bs.position:get_distance_ata {scale:1000} -execute anchored eyes positioned ^ ^ ^ run function #bs.raycast:run +execute facing entity @s eyes run function #bs.raycast:run data modify storage bs:in raycast set from storage bs:data view.raycast execute if score #raycast.distance bs.data matches 2147483647 run return 1 diff --git a/datapacks/Bookshelf/data/bs.view/functions/as_looked_entity.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/looked_entity/as_looked_entity.mcfunction similarity index 96% rename from datapacks/Bookshelf/data/bs.view/functions/as_looked_entity.mcfunction rename to datapacks/Bookshelf/data/bs.view/functions/looked_entity/as_looked_entity.mcfunction index 64ceaf2dec..d559ce403b 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/as_looked_entity.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/looked_entity/as_looked_entity.mcfunction @@ -14,6 +14,7 @@ # CODE ------------------------------------------------------------------------ +execute unless predicate bs.view:is_looking_at_entity run return 0 execute if entity @e[tag=bs.view.is_lookable,tag=!bs.view.bi,sort=arbitrary,limit=1] run function bs.view:looked_entity/setup execute if score #view.looked_entity bs.data matches 1.. if predicate bs.view:looked_entity/b0 run tag @e[tag=bs.view.bi,tag=!bs.view.b0] remove bs.view.bi execute if score #view.looked_entity bs.data matches 2.. if predicate bs.view:looked_entity/b1 run tag @e[tag=bs.view.bi,tag=!bs.view.b1] remove bs.view.bi diff --git a/datapacks/Bookshelf/data/bs.view/functions/at_looked_entity.mcfunction b/datapacks/Bookshelf/data/bs.view/functions/looked_entity/at_looked_entity.mcfunction similarity index 96% rename from datapacks/Bookshelf/data/bs.view/functions/at_looked_entity.mcfunction rename to datapacks/Bookshelf/data/bs.view/functions/looked_entity/at_looked_entity.mcfunction index e091e120c9..b20682edd6 100644 --- a/datapacks/Bookshelf/data/bs.view/functions/at_looked_entity.mcfunction +++ b/datapacks/Bookshelf/data/bs.view/functions/looked_entity/at_looked_entity.mcfunction @@ -14,6 +14,7 @@ # CODE ------------------------------------------------------------------------ +execute unless predicate bs.view:is_looking_at_entity run return 0 execute if entity @e[tag=bs.view.is_lookable,tag=!bs.view.bi,sort=arbitrary,limit=1] run function bs.view:looked_entity/setup execute if score #view.looked_entity bs.data matches 1.. if predicate bs.view:looked_entity/b0 run tag @e[tag=bs.view.bi,tag=!bs.view.b0] remove bs.view.bi execute if score #view.looked_entity bs.data matches 2.. if predicate bs.view:looked_entity/b1 run tag @e[tag=bs.view.bi,tag=!bs.view.b1] remove bs.view.bi diff --git a/datapacks/Bookshelf/data/bs.view/predicates/is_looking_at_entity.json b/datapacks/Bookshelf/data/bs.view/predicates/is_looking_at_entity.json new file mode 100644 index 0000000000..78e8832391 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/predicates/is_looking_at_entity.json @@ -0,0 +1,12 @@ +{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type_specific": { + "type": "player", + "looking_at": { + "nbt": "{Tags:[\"bs.view.is_lookable\"]}" + } + } + } +} diff --git a/datapacks/Bookshelf/data/bs.view/tags/functions/as_looked_entity.json b/datapacks/Bookshelf/data/bs.view/tags/functions/as_looked_entity.json index 533475d740..25fd13b4c6 100644 --- a/datapacks/Bookshelf/data/bs.view/tags/functions/as_looked_entity.json +++ b/datapacks/Bookshelf/data/bs.view/tags/functions/as_looked_entity.json @@ -1,5 +1,5 @@ { "values": [ - "bs.view:as_looked_entity" + "bs.view:looked_entity/as_looked_entity" ] } diff --git a/datapacks/Bookshelf/data/bs.view/tags/functions/at_looked_entity.json b/datapacks/Bookshelf/data/bs.view/tags/functions/at_looked_entity.json index e57b933919..d6964c8ae4 100644 --- a/datapacks/Bookshelf/data/bs.view/tags/functions/at_looked_entity.json +++ b/datapacks/Bookshelf/data/bs.view/tags/functions/at_looked_entity.json @@ -1,5 +1,5 @@ { "values": [ - "bs.view:at_looked_entity" + "bs.view:looked_entity/at_looked_entity" ] } diff --git a/datapacks/Bookshelf/data/bs.view/tests/as_aimed_entity.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/as_aimed_entity.mcfunction new file mode 100644 index 0000000000..9985135f9c --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/as_aimed_entity.mcfunction @@ -0,0 +1,7 @@ +# Callback is run as the targeted entity +# @batch bs.view +# @dummy + +summon minecraft:armor_stand ~.5 ~ ~1.5 {Tags:["bs.raycast.is_solid"],NoGravity:1b} +function #bs.view:as_aimed_entity {run:"tag @s add found"} +assert entity @e[type=minecraft:armor_stand,tag=found] inside diff --git a/datapacks/Bookshelf/data/bs.view/tests/as_looked_entity.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/as_looked_entity.mcfunction new file mode 100644 index 0000000000..b9506745ab --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/as_looked_entity.mcfunction @@ -0,0 +1,7 @@ +# Callback is run as the looked at entity +# @batch bs.view +# @dummy + +summon minecraft:armor_stand ~.5 ~ ~1.5 {Tags:["bs.view.is_lookable"],NoGravity:1b} +function #bs.view:as_looked_entity {run:"tag @s add found"} +assert entity @e[type=minecraft:armor_stand,tag=found] inside diff --git a/datapacks/Bookshelf/data/bs.view/tests/at_aimed_block.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/at_aimed_block.mcfunction new file mode 100644 index 0000000000..e5049d293c --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/at_aimed_block.mcfunction @@ -0,0 +1,7 @@ +# Callback is run at the targeted block +# @batch bs.view +# @dummy + +setblock ~ ~1 ~1 minecraft:sponge +function #bs.view:at_aimed_block {run:"setblock ~ ~ ~ minecraft:bookshelf"} +assert block ~ ~1 ~1 minecraft:bookshelf diff --git a/datapacks/Bookshelf/data/bs.view/tests/at_aimed_entity.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/at_aimed_entity.mcfunction new file mode 100644 index 0000000000..e674e9ac6d --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/at_aimed_entity.mcfunction @@ -0,0 +1,7 @@ +# Callback is run at the targeted entity +# @batch bs.view +# @dummy + +summon minecraft:armor_stand ~.5 ~ ~1.5 {Tags:["bs.raycast.is_solid"],NoGravity:1b} +function #bs.view:at_aimed_entity {run:"tag @e[distance=0] add found"} +assert entity @e[type=minecraft:armor_stand,tag=found] inside diff --git a/datapacks/Bookshelf/data/bs.view/tests/at_aimed_point.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/at_aimed_point.mcfunction new file mode 100644 index 0000000000..6edaa9b128 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/at_aimed_point.mcfunction @@ -0,0 +1,7 @@ +# Callback is run at the hit point +# @batch bs.view +# @dummy + +setblock ~ ~1 ~1 minecraft:bookshelf +function #bs.view:at_aimed_point {run:"summon minecraft:marker ~ ~ ~"} +execute at @s anchored eyes positioned ^ ^ ^.5 run assert entity @e[type=minecraft:marker,distance=..0.1] diff --git a/datapacks/Bookshelf/data/bs.view/tests/at_looked_entity.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/at_looked_entity.mcfunction new file mode 100644 index 0000000000..d23ca70de9 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/at_looked_entity.mcfunction @@ -0,0 +1,7 @@ +# Callback is run at the looked at entity +# @batch bs.view +# @dummy + +summon minecraft:armor_stand ~.5 ~ ~1.5 {Tags:["bs.view.is_lookable"],NoGravity:1b} +function #bs.view:at_looked_entity {run:"tag @e[distance=0] add found"} +assert entity @e[type=minecraft:armor_stand,tag=found] inside diff --git a/datapacks/Bookshelf/data/bs.view/tests/at_placed_block.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/at_placed_block.mcfunction new file mode 100644 index 0000000000..4f1fd8b16a --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/at_placed_block.mcfunction @@ -0,0 +1,7 @@ +# Callback is run at the placed block +# @batch bs.view +# @dummy + +setblock ~ ~1 ~1 minecraft:sponge +function #bs.view:at_placed_block {run:"setblock ~ ~ ~ minecraft:bookshelf"} +assert block ~ ~1 ~ minecraft:bookshelf diff --git a/datapacks/Bookshelf/data/bs.view/tests/can_see_ata.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/can_see_ata.mcfunction new file mode 100644 index 0000000000..6275c7fd5d --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/can_see_ata.mcfunction @@ -0,0 +1,7 @@ +# Check the whole distance between the executor and the position +# @batch bs.view +# @dummy + +setblock ~ ~1 ~1 minecraft:bookshelf +execute at @s positioned ~ ~1 ~.5 if function #bs.view:can_see_ata run fail "Position must be obstructed when reaching a block" +execute at @s positioned ~ ~1 ~.49 unless function #bs.view:can_see_ata run fail "Position must be unobstructed before reaching a block" diff --git a/datapacks/Bookshelf/data/bs.view/tests/in_view_ata.mcfunction b/datapacks/Bookshelf/data/bs.view/tests/in_view_ata.mcfunction new file mode 100644 index 0000000000..9df2df9bba --- /dev/null +++ b/datapacks/Bookshelf/data/bs.view/tests/in_view_ata.mcfunction @@ -0,0 +1,7 @@ +# Check multiple vision angles +# @batch bs.view +# @dummy + +data modify storage bs:in view.in_view_ata.angle set value 90 +execute at @s anchored eyes positioned ^1 ^ ^1 if function #bs.view:in_view_ata run fail "Position must not be within the 90-degree viewing angle" +execute at @s anchored eyes positioned ^.99 ^ ^1 unless function #bs.view:in_view_ata run fail "Position must be within the 90-degree viewing angle" diff --git a/datapacks/Bookshelf/data/bs.xp/functions/__load__.mcfunction b/datapacks/Bookshelf/data/bs.xp/functions/__load__.mcfunction index c8fd6be2cb..dd38c9cfc8 100644 --- a/datapacks/Bookshelf/data/bs.xp/functions/__load__.mcfunction +++ b/datapacks/Bookshelf/data/bs.xp/functions/__load__.mcfunction @@ -15,5 +15,5 @@ scoreboard players set 81 bs.const 81 scoreboard players set 100 bs.const 100 scoreboard players set 325 bs.const 325 -# level 1111129 => max_points = 10000002 -data modify storage bs:const xp.progress set value 100000.02 +# level 111111129 => max_points = 1000000002 +data modify storage bs:const xp.progress set value 1000000000 diff --git a/datapacks/Bookshelf/data/bs.xp/functions/add/progress/progress.mcfunction b/datapacks/Bookshelf/data/bs.xp/functions/add/progress/progress.mcfunction index 27d2adcc09..5cda857b08 100644 --- a/datapacks/Bookshelf/data/bs.xp/functions/add/progress/progress.mcfunction +++ b/datapacks/Bookshelf/data/bs.xp/functions/add/progress/progress.mcfunction @@ -6,7 +6,7 @@ # Version: 2.1 # Created: ??/??/???? (1.18.2) -# Last modification: 20/11/2023 (23w46a) +# Last modification: 08/03/2024 (1.20.4) # Documentation: https://bookshelf.docs.gunivers.net/en/latest/modules/xp.html#add-remove # Dependencies: @@ -14,13 +14,13 @@ # CODE ------------------------------------------------------------------------ -# level 1111129 => max_points = 10000002 +# level 111111129 => max_points = 1000000002 $execute store result storage bs:ctx x int 1 store result score #xp.add_progress bs.data run data get storage bs:const xp.progress $(progress) execute store result storage bs:ctx y int 1 run xp query @s levels -xp set @s 1111129 levels +xp set @s 111111129 levels execute store result score #xp.add_progress.points bs.data run xp query @s points scoreboard players operation #xp.add_progress bs.data += #xp.add_progress.points bs.data execute if score #xp.add_progress bs.data matches ..0 run xp set @s 0 points -execute if score #xp.add_progress bs.data matches 10000002.. run xp set @s 10000002 points -execute if score #xp.add_progress bs.data matches 1..10000001 run function bs.xp:add/progress/apply with storage bs:ctx +execute if score #xp.add_progress bs.data matches 1000000000.. run xp set @s 1000000000 points +execute if score #xp.add_progress bs.data matches 1..999999999 run function bs.xp:add/progress/apply with storage bs:ctx function bs.xp:utils/restore_levels with storage bs:ctx diff --git a/datapacks/Bookshelf/data/bs.xp/functions/get/progress.mcfunction b/datapacks/Bookshelf/data/bs.xp/functions/get/progress.mcfunction index 46cc507b1e..b7afe0be39 100644 --- a/datapacks/Bookshelf/data/bs.xp/functions/get/progress.mcfunction +++ b/datapacks/Bookshelf/data/bs.xp/functions/get/progress.mcfunction @@ -6,7 +6,7 @@ # Version: 2.1 # Created: ??/??/???? (1.18.2) -# Last modification: 20/11/2023 (23w46a) +# Last modification: 08/03/2024 (1.20.4) # Documentation: https://bookshelf.docs.gunivers.net/en/latest/modules/xp.html#get # Dependencies: @@ -14,9 +14,4 @@ # CODE ------------------------------------------------------------------------ -# level 1111129 => max_points = 10000002 -execute store result storage bs:ctx y int 1 run xp query @s levels -xp set @s 1111129 levels -execute store result storage bs:ctx x double .000009999998 run xp query @s points -function bs.xp:utils/restore_levels with storage bs:ctx -$execute store result score $xp.get_progress bs.out run return run data get storage bs:ctx x $(scale) +$execute store result score $xp.get_progress bs.out run return run data get entity @s XpP $(scale) diff --git a/datapacks/Bookshelf/data/bs.xp/functions/set/progress/progress.mcfunction b/datapacks/Bookshelf/data/bs.xp/functions/set/progress/progress.mcfunction index 54a95952f7..66c46d43b3 100644 --- a/datapacks/Bookshelf/data/bs.xp/functions/set/progress/progress.mcfunction +++ b/datapacks/Bookshelf/data/bs.xp/functions/set/progress/progress.mcfunction @@ -6,7 +6,7 @@ # Version: 2.1 # Created: ??/??/???? (1.18.2) -# Last modification: 20/11/2023 (23w46a) +# Last modification: 08/03/2024 (1.20.4) # Documentation: https://bookshelf.docs.gunivers.net/en/latest/modules/xp.html#set # Dependencies: @@ -14,9 +14,10 @@ # CODE ------------------------------------------------------------------------ -# level 1111129 => max_points = 10000002 -$execute store result storage bs:ctx x int 1 run data get storage bs:const xp.progress $(progress) +# level 111111129 => max_points = 1000000002 +$execute store result storage bs:ctx x int 1 store result score #xp.set_progress bs.data run data get storage bs:const xp.progress $(progress) execute store result storage bs:ctx y int 1 run xp query @s levels -xp set @s 1111129 levels -function bs.xp:set/progress/apply with storage bs:ctx +xp set @s 111111129 levels +execute if score #xp.set_progress bs.data matches 1000000000.. run xp set @s 1000000000 points +execute if score #xp.set_progress bs.data matches 1..999999999 run function bs.xp:set/progress/apply with storage bs:ctx function bs.xp:utils/restore_levels with storage bs:ctx diff --git a/datapacks/Bookshelf/data/bs.xp/tests/add/levels.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/add/levels.mcfunction new file mode 100644 index 0000000000..84b04f3d4f --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/add/levels.mcfunction @@ -0,0 +1,9 @@ +# Levels are added correctly +# @batch bs.xp +# @dummy + +function #bs.xp:add_levels {levels:42} +assert entity @s[level=42] + +function #bs.xp:add_levels {levels:22} +assert entity @s[level=64] diff --git a/datapacks/Bookshelf/data/bs.xp/tests/add/points.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/add/points.mcfunction new file mode 100644 index 0000000000..3133094535 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/add/points.mcfunction @@ -0,0 +1,11 @@ +# Points are added correctly +# @batch bs.xp +# @dummy + +function #bs.xp:add_points {points:1} +execute store result score #result bs.data run xp query @s points +assert score #result bs.data matches 1 + +function #bs.xp:add_points {points:5} +execute store result score #result bs.data run xp query @s points +assert score #result bs.data matches 6 diff --git a/datapacks/Bookshelf/data/bs.xp/tests/add/progress.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/add/progress.mcfunction new file mode 100644 index 0000000000..a9ab3b4e82 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/add/progress.mcfunction @@ -0,0 +1,12 @@ +# Progress is added correctly without overflowing to the next level +# @batch bs.xp +# @dummy + +function #bs.xp:add_progress {progress:0.1} +assert data entity @s {XpP:0.1f} + +function #bs.xp:add_progress {progress:0.4} +assert data entity @s {XpP:0.5f} + +function #bs.xp:add_progress {progress:1.0} +assert data entity @s {XpP:1.0f} diff --git a/datapacks/Bookshelf/data/bs.xp/tests/get/max_points.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/get/max_points.mcfunction new file mode 100644 index 0000000000..f67d4463d8 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/get/max_points.mcfunction @@ -0,0 +1,15 @@ +# Max points formula works for all levels +# @batch bs.xp +# @dummy + +xp set @s 5 levels +execute store result score #result bs.data run function #bs.xp:get_max_points +assert score #result bs.data matches 17 + +xp set @s 21 levels +execute store result score #result bs.data run function #bs.xp:get_max_points +assert score #result bs.data matches 67 + +xp set @s 42 levels +execute store result score #result bs.data run function #bs.xp:get_max_points +assert score #result bs.data matches 220 diff --git a/datapacks/Bookshelf/data/bs.xp/tests/get/progress.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/get/progress.mcfunction new file mode 100644 index 0000000000..254a10c4fa --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/get/progress.mcfunction @@ -0,0 +1,11 @@ +# Progress scaling works as expected +# @batch bs.xp +# @dummy + +xp set @s 1 points +execute store result score #result bs.data run function #bs.xp:get_progress {scale:10000} +assert score #result bs.data matches 1428 + +xp set @s 5 points +execute store result score #result bs.data run function #bs.xp:get_progress {scale:100} +assert score #result bs.data matches 71 diff --git a/datapacks/Bookshelf/data/bs.xp/tests/get/remaining_points.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/get/remaining_points.mcfunction new file mode 100644 index 0000000000..ecf9b78cd7 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/get/remaining_points.mcfunction @@ -0,0 +1,18 @@ +# Remaining points formula works for all levels +# @batch bs.xp +# @dummy + +xp set @s 5 levels +xp set @s 5 points +execute store result score #result bs.data run function #bs.xp:get_remaining_points +assert score #result bs.data matches 12 + +xp set @s 21 levels +xp set @s 12 points +execute store result score #result bs.data run function #bs.xp:get_remaining_points +assert score #result bs.data matches 55 + +xp set @s 42 levels +xp set @s 18 points +execute store result score #result bs.data run function #bs.xp:get_remaining_points +assert score #result bs.data matches 202 diff --git a/datapacks/Bookshelf/data/bs.xp/tests/get/total_points.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/get/total_points.mcfunction new file mode 100644 index 0000000000..403962d070 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/get/total_points.mcfunction @@ -0,0 +1,15 @@ +# Total points formula works for all levels +# @batch bs.xp +# @dummy + +xp set @s 42 levels +execute store result score #result bs.data run function #bs.xp:get_total_points +assert score #result bs.data matches 3333 + +xp add @s -2500 points +execute store result score #result bs.data run function #bs.xp:get_total_points +assert score #result bs.data matches 833 + +xp add @s -700 points +execute store result score #result bs.data run function #bs.xp:get_total_points +assert score #result bs.data matches 133 diff --git a/datapacks/Bookshelf/data/bs.xp/tests/set/levels.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/set/levels.mcfunction new file mode 100644 index 0000000000..8f43e2f915 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/set/levels.mcfunction @@ -0,0 +1,9 @@ +# Levels are set correctly +# @batch bs.xp +# @dummy + +function #bs.xp:set_levels {levels:42} +assert entity @s[level=42] + +function #bs.xp:set_levels {levels:22} +assert entity @s[level=22] diff --git a/datapacks/Bookshelf/data/bs.xp/tests/set/points.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/set/points.mcfunction new file mode 100644 index 0000000000..d411af6334 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/set/points.mcfunction @@ -0,0 +1,11 @@ +# Points are set correctly +# @batch bs.xp +# @dummy + +function #bs.xp:set_points {points:5} +execute store result score #result bs.data run xp query @s points +assert score #result bs.data matches 5 + +function #bs.xp:set_points {points:2} +execute store result score #result bs.data run xp query @s points +assert score #result bs.data matches 2 diff --git a/datapacks/Bookshelf/data/bs.xp/tests/set/progress.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/set/progress.mcfunction new file mode 100644 index 0000000000..21e8c5b5db --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/set/progress.mcfunction @@ -0,0 +1,12 @@ +# Progress is set correctly without overflowing to the next level +# @batch bs.xp +# @dummy + +function #bs.xp:set_progress {progress:0.5} +assert data entity @s {XpP:0.5f} + +function #bs.xp:set_progress {progress:0.1} +assert data entity @s {XpP:0.1f} + +function #bs.xp:set_progress {progress:2.0} +assert data entity @s {XpP:1.0f} diff --git a/datapacks/Bookshelf/data/bs.xp/tests/set/total_points.mcfunction b/datapacks/Bookshelf/data/bs.xp/tests/set/total_points.mcfunction new file mode 100644 index 0000000000..1970fd5713 --- /dev/null +++ b/datapacks/Bookshelf/data/bs.xp/tests/set/total_points.mcfunction @@ -0,0 +1,3 @@ +# Total points are set correctly +# @batch bs.xp +# @dummy diff --git a/datapacks/Bookshelf/data/bs/functions/menu.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu.mcfunction deleted file mode 100644 index 74160c3e2f..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu.mcfunction +++ /dev/null @@ -1,13 +0,0 @@ -# SCORES ---------------------------------------------------------------------- - -scoreboard objectives add bs.menu.page dummy [{"text":"Bookshelf ","color":"dark_gray"},{"text":"Menu Page","color":"aqua"}] - -# METADATA -------------------------------------------------------------------- - -scoreboard players set module.bs bs.metadata 1 - -# FUNCTIONS ------------------------------------------------------------------- - -gamerule commandBlockOutput false -tag @s add bs.menu -execute as @s[tag=bs.menu] at @s run function bs:menu/main diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/base_platform/generate_base.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/base_platform/generate_base.mcfunction deleted file mode 100644 index 08f2643465..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/base_platform/generate_base.mcfunction +++ /dev/null @@ -1,65 +0,0 @@ -tag @s remove bs_Creator_platform - -execute at @s run setworldspawn ~ ~ ~ - -function bs.import:data -function bs.core:import/constants - -execute at @s run summon armor_stand ~ ~ ~ {Invisible:1,Tags:["bs","bs_Generate_Base"]} -tellraw @a ["",{"text":"\n"},{"text":"<","color":"black"},{"text":"Gunivers-Lib","color":"gold"},{"text":">","color":"black"},{"text":" Generating base platform...","color":"gray"},{"text":"\n "}] - -# Get extrem chunk point X -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] store result score @s bs.data run data get entity @s Pos[0] 1 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] add bs.generate.base.posNeg -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data /= 16 bs.const -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data *= 16 bs.const -# scoreboard players remove @e[type=armor_stand,tag=bs_Generate_Base,tag=bs.generate.base.posNeg] bs.data 16 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] remove bs.generate.base.posNeg -execute store result entity @e[type=armor_stand,tag=bs_Generate_Base,limit=1] Pos[0] double 1 run scoreboard players get @e[type=armor_stand,tag=bs_Generate_Base,limit=1] bs.data - -# Get extrem chunk point Y -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] store result score @s bs.data run data get entity @s Pos[2] 1 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] add bs.generate.base.posNeg -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data /= 16 bs.const -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data *= 16 bs.const -# scoreboard players remove @e[type=armor_stand,tag=bs_Generate_Base,tag=bs.generate.base.posNeg] bs.data 16 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] remove bs.generate.base.posNeg -execute store result entity @e[type=armor_stand,tag=bs_Generate_Base,limit=1] Pos[2] double 1 run scoreboard players get @e[type=armor_stand,tag=bs_Generate_Base,limit=1] bs.data - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~ ~ structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~-1 ~ redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~ ~ air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~ ~-16 structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~-1 ~-16 redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~ ~-16 air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~ ~ structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~-1 ~ redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~ ~ air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~ ~-16 structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~-1 ~-16 redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~ ~-16 air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~ ~16 structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~-1 ~16 redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~ ~ ~16 air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~ ~ structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~-1 ~ redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~ ~ air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~ ~16 structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~-1 ~16 redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~ ~16 air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~ ~-16 structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~-1 ~-16 redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~16 ~ ~-16 air - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~ ~16 structure_block{ignoreEntities:1b,powered:0b,posX:0,mode:"LOAD",posY:-1,sizeX:16,posZ:0,integrity:1.0f,showair:0b,name:"bs:base_plateforme_cell",id:"bs:structure_block",sizeY:1,sizeZ:16,showboundingbox:1b} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~-1 ~16 redstone_block -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run setblock ~-16 ~ ~16 air - -kill @e[type=armor_stand,tag=bs_Generate_Base] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/base_platform/generate_base_confirm.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/base_platform/generate_base_confirm.mcfunction deleted file mode 100644 index a356d7eecf..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/base_platform/generate_base_confirm.mcfunction +++ /dev/null @@ -1,60 +0,0 @@ -gamerule doEntityDrops false - -execute at @s run summon armor_stand ~ ~ ~ {Invisible:1,Tags:["bs","bs_Generate_Base"]} - -# Get extrem chunk point X -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] store result score @s bs.data run data get entity @s Pos[0] 1 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] add bs.generate.base.posNeg -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data /= 16 bs.const -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data *= 16 bs.const -# scoreboard players remove @e[type=armor_stand,tag=bs_Generate_Base,tag=bs.generate.base.posNeg] bs.data 16 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] remove bs.generate.base.posNeg -execute store result entity @e[type=armor_stand,tag=bs_Generate_Base,limit=1] Pos[0] double 1 run scoreboard players get @e[type=armor_stand,tag=bs_Generate_Base,limit=1] bs.data - -# Get extrem chunk point Y -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] store result score @s bs.data run data get entity @s Pos[2] 1 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] add bs.generate.base.posNeg -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data /= 16 bs.const -scoreboard players operation @e[type=armor_stand,tag=bs_Generate_Base] bs.data *= 16 bs.const -# scoreboard players remove @e[type=armor_stand,tag=bs_Generate_Base,tag=bs.generate.base.posNeg] bs.data 16 -tag @e[type=armor_stand,tag=bs_Generate_Base,limit=1,scores={bs.data=..-1}] remove bs.generate.base.posNeg -execute store result entity @e[type=armor_stand,tag=bs_Generate_Base,limit=1] Pos[2] double 1 run scoreboard players get @e[type=armor_stand,tag=bs_Generate_Base,limit=1] bs.data - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s align y run tp @s ~ ~ ~ - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~8 ~-0.5 ~-16 10 0 0 0 10 force -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~8 ~-0.5 ~32 10 0 0 0 10 force -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~-16 ~-0.5 ~8 0 0 10 0 10 force -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~32 ~-0.5 ~8 0 0 10 0 10 force - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~8 ~-0.5 ~ 10 0 0 0 10 force -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~8 ~-0.5 ~16 10 0 0 0 10 force -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~ ~-0.5 ~8 0 0 10 0 10 force -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s run particle flame ~16 ~-0.5 ~8 0 0 10 0 10 force - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~32 ~ ~32 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~32 ~ ~-16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~-16 ~ ~32 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~-16 ~ ~-16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~16 ~ ~16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~16 ~ ~ {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~ ~ ~16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~ ~ ~ {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~16 ~ ~32 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~32 ~ ~16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~ ~ ~32 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~32 ~ ~ {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~16 ~ ~-16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~ ~ ~-16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~-16 ~ ~16 {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] at @s positioned ~ ~-1 ~ run summon minecraft:falling_block ~-16 ~ ~ {BlockState:{Name:"minecraft:bedrock"},NoGravity:1b,Time:595} - - - - -execute as @e[type=armor_stand,tag=bs_Generate_Base,limit=1] store result score @s bs.data run data get entity @s Pos[1] 1 -scoreboard players remove @e[type=armor_stand,tag=bs_Generate_Base] bs.data 1 -tellraw @s ["",{"text":"----------","color":"black"},{"text":"\n\n"},{"text":" ","color":"gold"},{"text":"Are you sure?","bold":true,"underlined":true,"color":"gold"},{"text":"\n\n "},{"text":"Create base platform here","color":"gold"},{"text":"\n\n "},{"text":"[No]","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove bs_Creator_platform"},"hoverEvent":{"action":"show_text","value":"Uh... nope"}},{"text":" "},{"text":"[Yes]","color":"green","clickEvent":{"action":"run_command","value":"/function bs:menu/creator/base_platform/generate_base"},"hoverEvent":{"action":"show_text","value":"Yes, create a platform here"}},{"text":"\n\n "},{"text":"Platform height: ","color":"gray"},{"score":{"name":"@e[type=armor_stand,tag=bs_Generate_Base,limit=1]","objective":"bs.ata"},"color":"gray"},{"text":"\n"},{"text":"----------","color":"black"}] -kill @e[type=armor_stand,tag=bs_Generate_Base] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/define_cache/place.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/define_cache/place.mcfunction deleted file mode 100644 index 0e88a9e9cd..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/define_cache/place.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ - - -# Confirmation message -tellraw @s ["",{"text":"----------","color":"black"},{"text":"\n\n"},{"text":" ","color":"gold"},{"text":"Are you sure?","bold":true,"underlined":true,"color":"gold"},{"text":"\n\n "},{"text":"Generate this system here","color":"gold"},{"text":"\n\n "},{"text":"[No]","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove bs_Creator_system.cache.place"},"hoverEvent":{"action":"show_text","value":"Uh... nope"}},{"text":" "},{"text":"[Yes]","color":"green","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_Valid_System"},"hoverEvent":{"action":"show_text","value":"Yes, generate the system here"}},{"text":"\n\n\n"},{"text":"----------","color":"black"}] - -execute if entity @s[tag=bs_Creator_Valid_System] run tag @s remove bs_Creator_system.cache.place - -# Non-destructive placement system -function bs:menu/creator/place_system/main -execute as @e[tag=bs_Example_System,limit=1,sort=nearest] at @s run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"bs:cache",sizeX:4,sizeY:4,sizeZ:5,powered:0b,ignoreEntities:0b,posX:0,posY:1,posZ:0,metadata:"",mirror:"NONE",seed:0L,author:"?",rotation:"NONE",mode:"LOAD",integrity:1.0f,showair:0b,showboundingbox:1b} -function bs:menu/creator/place_system/validation diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/define_cache/remove.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/define_cache/remove.mcfunction deleted file mode 100644 index 9358a9d398..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/define_cache/remove.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ - - -execute as @e[tag=bs_Cache_Source] at @s run fill ~-1 ~-1 ~-3 ~2 ~2 ~1 air - -kill @e[tag=bs_Cache_Source,type=!player] -kill @e[tag=bs_Cache_Head,type=!player] - -tag @e remove bs_Creator_system.cache.remove diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/main.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/main.mcfunction deleted file mode 100644 index 644328e531..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/main.mcfunction +++ /dev/null @@ -1,19 +0,0 @@ - -tellraw @s ["",{"text":"\n x","bold":true,"color":"dark_red","clickEvent":{"action":"run_command","value":"/tag @s remove bs_Creator_system."},"hoverEvent":{"action":"show_text","value":"Exit examples"}},{"text":" ","color":"gold"},{"text":"Examples","underlined":true,"color":"gold"},{"text":"\n "}] - -# System List -tellraw @s ["",{"text":"\n > ","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.blackhole"},"hoverEvent":{"action":"show_text","value":"Create a Black Hole system"}},{"text":"Black Hole","color":"gray","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.blackhole"},"hoverEvent":{"action":"show_text","value":"Create a Black Hole system"}}] -tellraw @s ["",{"text":"\n > ","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.lgdir"},"hoverEvent":{"action":"show_text","value":"Create a LGdir system"}},{"text":"LGdir","color":"gray","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.lgdir"},"hoverEvent":{"action":"show_text","value":"Create a LGdir system"}}] - -# Message -tellraw @s ["",{"text":" ","color":"gray"}] -tellraw @s ["",{"text":" There is no more sample systems for now, sorry :/","color":"gray"}] -tellraw @s ["",{"text":" But you can help us create more!","color":"gray"}] -tellraw @s ["",{"text":" Just join us on our ","color":"gray"},{"text":"[Discord server]","color":"dark_aqua","clickEvent":{"action":"open_url","value":"https://discord.gg/E8qq6tN"},"hoverEvent":{"action":"show_text","value":"Click to join our Discord"}}] - - - - -# Call system creator -execute if entity @s[tag=bs_Creator_system.blackhole] run function bs:menu/creator/example_systems/systems/blackhole -execute if entity @s[tag=bs_Creator_system.lgdir] run function bs:menu/creator/example_systems/systems/lgdir diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/systems/blackhole.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/systems/blackhole.mcfunction deleted file mode 100644 index 88599d6ab8..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/systems/blackhole.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# NAME: Blackholet -# PATH: bs.system:black - -# AUTHOR: _RedCoal_ - -# VERSION: 1.0 -# MINECRAFT: 1.14.x - -# NOTE: -# Use this function to spawn black hole structure - - - -tellraw @s ["",{"text":"----------","color":"black"},{"text":"\n\n"},{"text":" ","color":"gold"},{"text":"Are you sure?","bold":true,"underlined":true,"color":"gold"},{"text":"\n\n "},{"text":"Generate this system here","color":"gold"},{"text":"\n\n "},{"text":"[No]","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove bs_Creator_system.blackhole"},"hoverEvent":{"action":"show_text","value":"Uh... nope"}},{"text":" "},{"text":"[Yes]","color":"green","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_Valid_System"},"hoverEvent":{"action":"show_text","value":"Yes, generate the system here"}},{"text":"\n\n\n"},{"text":"----------","color":"black"}] - -execute if entity @s[tag=bs_Creator_Valid_System] run tag @s remove bs_Creator_system.blackhole - - -# Non-destructive placement system -function bs:menu/creator/place_system/main -execute as @e[tag=bs_Example_System,limit=1,sort=nearest] at @s if block ~ ~ ~ air run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"bs.core:example_systems/blackhole",sizeX:2,sizeY:18,sizeZ:11,powered:0b,ignoreEntities:0b,posX:0,posY:1,posZ:0,metadata:"",mirror:"NONE",seed:0L,author:"?",rotation:"NONE",mode:"LOAD",integrity:1.0f,showair:0b,showboundingbox:1b} -function bs:menu/creator/place_system/validation diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/systems/lgdir.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/systems/lgdir.mcfunction deleted file mode 100644 index 36e0214e4c..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/example_systems/systems/lgdir.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ - -tellraw @s ["",{"text":"----------","color":"black"},{"text":"\n\n"},{"text":" ","color":"gold"},{"text":"Are you sure?","bold":true,"underlined":true,"color":"gold"},{"text":"\n\n "},{"text":"Generate this system here","color":"gold"},{"text":"\n\n "},{"text":"[No]","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove bs_Creator_system.lgdir"},"hoverEvent":{"action":"show_text","value":"Uh... nope"}},{"text":" "},{"text":"[Yes]","color":"green","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_Valid_System"},"hoverEvent":{"action":"show_text","value":"Yes, generate the system here"}},{"text":"\n\n\n"},{"text":"----------","color":"black"}] - -execute if entity @s[tag=bs_Creator_Valid_System] run tag @s remove bs_Creator_system.lgdir - - -# Non-destructive placement system -function bs:menu/creator/place_system/main -execute as @e[tag=bs_Example_System,limit=1,sort=nearest] at @s if block ~ ~ ~ air run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"bs.core:example_systems/lgdir",sizeX:2,sizeY:11,sizeZ:4,ignoreEntities:0b,posX:0,posY:1,posZ:0,metadata:"",mirror:"NONE",powered:0b,seed:0L,author:"?",rotation:"NONE",mode:"LOAD",integrity:1.0f,showair:0b,showboundingbox:1b} -function bs:menu/creator/place_system/validation diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/main.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/main.mcfunction deleted file mode 100644 index bed200def8..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/main.mcfunction +++ /dev/null @@ -1,29 +0,0 @@ -# Title -tellraw @s ["",{"text":"\n x","bold":true,"color":"dark_red","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Creator"},"hoverEvent":{"action":"show_text","value":"Exit crator tools"}},{"text":" ","color":"gold"},{"text":"Creator Tools","underlined":true,"color":"gold"},{"text":"\n "}] - -# Exampl systems -tellraw @s [{"text":" >","color":"blue","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system."},"hoverEvent":{"action":"show_text","value":"View examples systems"}},{"text":" ","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system."},"hoverEvent":{"action":"show_text","value":"View examples systems"}},{"text":"Example systems","color":"gray","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system."},"hoverEvent":{"action":"show_text","value":"View examples systems"}}] - -# Base platform -tellraw @s ["",{"text":"\n > ","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_platform"},"hoverEvent":{"action":"show_text","value":"Set worldspawn on your position and create a platform to put all command-blocks."}},{"text":"Create base platform","color":"gray","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_platform"},"hoverEvent":{"action":"show_text","value":"Set worldspawn on your position and create a platform to put all command-blocks."}}] - - -# Cache -execute unless entity @e[tag=bs_Cache_Source] run tellraw @s ["",{"text":"\n > ","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.cache.place"},"hoverEvent":{"action":"show_text","value":"Define the position of cache allowing to store data in some object (Armor Stand, Sign, Command Block, Jukebox, Chest and Shulker Box). Mandatory for some systems."}},{"text":"Define cache position","color":"gray","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.cache.place"},"hoverEvent":{"action":"show_text","value":"Define the position of cache allowing to store data in some object (Armor Stand, Sign, Command Block, Jukebox, Chest and Shulker Box). Mandatory for some systems."}}] - -execute if entity @e[tag=bs_Cache_Source] run tellraw @s ["",{"text":"\n > ","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.cache.remove"},"hoverEvent":{"action":"show_text","value":"Remove cache. Be carefull, removing cache can break systems"}},{"text":"Remove cache","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add bs_Creator_system.cache.remove"},"hoverEvent":{"action":"show_text","value":"Remove cache. Be carefull, removing cache can break systems"}}] - - -# Generators -tellraw @s ["",{"text":"\n > ","color":"red","clickEvent":{"action":"open_url","value":"http://minecraft.tools"},"hoverEvent":{"action":"show_text","value":"Go to minecraft.tools to see all generators (tellraw, signs, summon, banner and many other !)"}},{"text":"Generators","color":"gray","clickEvent":{"action":"open_url","value":"http://minecraft.tools"},"hoverEvent":{"action":"show_text","value":"Go to minecraft.tools to see all generators (tellraw, signs, summon, banner and many other !)"}}] - - -tellraw @s ["",{"text":" ","color":"gray"}] - - -execute as @s[tag=bs_Creator_system.] at @s run function bs:menu/creator/example_systems/main -execute as @s[tag=bs_Creator_platform] at @s run function bs:menu/creator/base_platform/generate_base_confirm -execute as @s[tag=bs_Creator_system.cache.place] at @s run function bs:menu/creator/define_cache/place -execute as @s[tag=bs_Creator_system.cache.remove] at @s run function bs:menu/creator/define_cache/remove - -#execute as @s[tag=bs_Creator_system.cache] at @s run function bs.cache:generate_module_ghost diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/main.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/main.mcfunction deleted file mode 100644 index 540bbaef80..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/main.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ - -function bs:menu/creator/place_system/remove - -# Non-destructive placement system -execute positioned ~ ~1.7 ~ run summon armor_stand ^ ^ ^5 {Small:1,Marker:1,Invisible:1,NoGravity:1,Tags:["bs","bs_Example_System"]} -execute as @e[tag=bs_Example_System] at @s run particle cloud ~ ~ ~ 0.3 0.3 0.3 0.05 10 force -#execute as @e[tag=bs_Example_System,limit=1,sort=nearest] at @s run function bs.block:get diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/remove.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/remove.mcfunction deleted file mode 100644 index f845f6c2ec..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/remove.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -execute as @e[tag=bs_Example_System] at @s run scoreboard players operation @s bs.in.0 = @s bs.block.id -execute as @e[tag=bs_Example_System] at @s run setblock ~ ~ ~ air -#execute as @e[tag=bs_Example_System] at @s run function bs.block:set -execute as @e[tag=bs_Example_System] at @s run particle cloud ~ ~ ~ 0.3 0.3 0.3 0.05 10 force -kill @e[tag=bs_Example_System] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/validation.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/validation.mcfunction deleted file mode 100644 index c06b7d7664..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/creator/place_system/validation.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -# Validation -execute if entity @s[tag=bs_Creator_Valid_System] as @e[tag=bs_Example_System,limit=1,sort=nearest] at @s run setblock ~ ~1 ~ redstone_block -execute if entity @s[tag=bs_Creator_Valid_System] as @e[tag=bs_Example_System,limit=1,sort=nearest] at @s run function bs.block:set -execute if entity @s[tag=bs_Creator_Valid_System] run tag @s remove bs_Creator_Valid_System diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug.mcfunction deleted file mode 100644 index 1e45303c58..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug.mcfunction +++ /dev/null @@ -1,61 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug] bs.menu.page 0 -execute as @a[tag=bs.menu.debug,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug] if score @s bs.menu.page matches 2.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug,tag=bs.menu] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug] remove bs.menu -tag @a[tag=bs.menu.debug.close] add bs.menu -execute as @a[tag=bs.menu.debug.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.close] remove bs.menu.debug -tag @a[tag=bs.menu.debug.close] remove bs.menu.debug.close - -tellraw @a[tag=bs.menu.debug] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0},tag=!bs.debug.stick] ["", {"text": " Debug stick: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.stick"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.stick"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0},tag=bs.debug.stick] ["", {"text": " Debug stick: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.stick"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.stick"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] [{"text": " ", "color": "gray"}] -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + biome", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.biome"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + block", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.block"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + cache", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.cache"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + color", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.color"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + health", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.health"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + id", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.id"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + item", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.item"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + link", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.link"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + location", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.location"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + mapedit", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.mapedit"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + math", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + memory", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] {"text": " + move", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.move"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} - -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 0}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 1 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -# Page 2 - -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + orientation", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.orientation"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + schedule", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.schedule"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + time", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.time"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + tree", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.tree"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + vector", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + view", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.view"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + xp", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.xp"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + example", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.example"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] {"text": " + lgdir", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} - -tellraw @a[tag=bs.menu.debug,scores={bs.menu.page = 1}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 2 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -tellraw @a[tag=bs.menu.debug] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/biome.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/biome.mcfunction deleted file mode 100644 index 7486887b7c..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/biome.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.biome,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.biome] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.biome] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.biome,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.biome,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.biome,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.biome,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.biome] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.biome] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.biome] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.biome] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.biome,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.biome] remove bs.menu.debug -tag @a[tag=bs.menu.debug.biome.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.biome.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.biome.close] remove bs.menu.debug.biome -tag @a[tag=bs.menu.debug.biome.close] remove bs.menu.debug.biome.close - -tellraw @a[tag=bs.menu.debug.biome] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=!bs.debug.biome.can_rain] ["", {"text": " can_rain: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=bs.debug.biome.can_rain] ["", {"text": " can_rain: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=!bs.debug.biome.can_snow] ["", {"text": " can_snow: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=bs.debug.biome.can_snow] ["", {"text": " can_snow: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=!bs.debug.biome.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=bs.debug.biome.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=!bs.debug.biome.get_biome_temperature] ["", {"text": " get_biome_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=bs.debug.biome.get_biome_temperature] ["", {"text": " get_biome_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=!bs.debug.biome.get_temperature] ["", {"text": " get_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.biome,scores={bs.menu.page = 0},tag=bs.debug.biome.get_temperature] ["", {"text": " get_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.biome] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.biome.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / biome", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.biome.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/block.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/block.mcfunction deleted file mode 100644 index c02421d0fb..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/block.mcfunction +++ /dev/null @@ -1,33 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.block,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.block] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.block] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.block,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.block,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.block,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.block,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.block] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.block] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.block] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.block] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.block,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.block] remove bs.menu.debug -tag @a[tag=bs.menu.debug.block.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.block.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.block.close] remove bs.menu.debug.block -tag @a[tag=bs.menu.debug.block.close] remove bs.menu.debug.block.close - -tellraw @a[tag=bs.menu.debug.block] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.block,scores={bs.menu.page = 0},tag=!bs.debug.block.convert_to_item] ["", {"text": " convert_to_item: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.block,scores={bs.menu.page = 0},tag=bs.debug.block.convert_to_item] ["", {"text": " convert_to_item: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.block,scores={bs.menu.page = 0},tag=!bs.debug.block.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.block,scores={bs.menu.page = 0},tag=bs.debug.block.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.block,scores={bs.menu.page = 0},tag=!bs.debug.block.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.block,scores={bs.menu.page = 0},tag=bs.debug.block.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.block] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.block.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / block", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.block.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/cache.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/cache.mcfunction deleted file mode 100644 index f609a239b9..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/cache.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.cache,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.cache] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.cache] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.cache,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.cache,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.cache,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.cache,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.cache] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.cache] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.cache] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.cache] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.cache,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.cache] remove bs.menu.debug -tag @a[tag=bs.menu.debug.cache.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.cache.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.cache.close] remove bs.menu.debug.cache -tag @a[tag=bs.menu.debug.cache.close] remove bs.menu.debug.cache.close - -tellraw @a[tag=bs.menu.debug.cache] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=!bs.debug.cache.select_chest] ["", {"text": " select_chest: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=bs.debug.cache.select_chest] ["", {"text": " select_chest: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=!bs.debug.cache.select_command_block] ["", {"text": " select_command_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=bs.debug.cache.select_command_block] ["", {"text": " select_command_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=!bs.debug.cache.select_jukebox] ["", {"text": " select_jukebox: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=bs.debug.cache.select_jukebox] ["", {"text": " select_jukebox: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=!bs.debug.cache.select_shulker_box] ["", {"text": " select_shulker_box: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=bs.debug.cache.select_shulker_box] ["", {"text": " select_shulker_box: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=!bs.debug.cache.select_sign] ["", {"text": " select_sign: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.cache,scores={bs.menu.page = 0},tag=bs.debug.cache.select_sign] ["", {"text": " select_sign: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.cache] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.cache.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / cache", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.cache.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/color.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/color.mcfunction deleted file mode 100644 index 2d4f93cda5..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/color.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.color,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.color] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.color] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.color,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.color,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.color,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.color,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.color] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.color] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.color] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.color] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.color,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.color] remove bs.menu.debug -tag @a[tag=bs.menu.debug.color.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.color.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.color.close] remove bs.menu.debug.color -tag @a[tag=bs.menu.debug.color.close] remove bs.menu.debug.color.close - -tellraw @a[tag=bs.menu.debug.color] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.color,scores={bs.menu.page = 0},tag=!bs.debug.color.minecraft_color_to_rgb] ["", {"text": " minecraft_color_to_rgb: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.color,scores={bs.menu.page = 0},tag=bs.debug.color.minecraft_color_to_rgb] ["", {"text": " minecraft_color_to_rgb: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.color,scores={bs.menu.page = 0},tag=!bs.debug.color.rgb_to_minecraft_color] ["", {"text": " rgb_to_minecraft_color: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.color,scores={bs.menu.page = 0},tag=bs.debug.color.rgb_to_minecraft_color] ["", {"text": " rgb_to_minecraft_color: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.color] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.color.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / color", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.color.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/example.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/example.mcfunction deleted file mode 100644 index 295c3f506e..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/example.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.example,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.example] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.example] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.example,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.example,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.example,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.example,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.example] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.example] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.example] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.example] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.example,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.example] remove bs.menu.debug -tag @a[tag=bs.menu.debug.example.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.example.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.example.close] remove bs.menu.debug.example -tag @a[tag=bs.menu.debug.example.close] remove bs.menu.debug.example.close - -tellraw @a[tag=bs.menu.debug.example] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=!bs.debug.example.biome_displayer] ["", {"text": " biome_displayer: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=bs.debug.example.biome_displayer] ["", {"text": " biome_displayer: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=!bs.debug.example.drop_to_place] ["", {"text": " drop_to_place: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=bs.debug.example.drop_to_place] ["", {"text": " drop_to_place: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=!bs.debug.example.lgdir] ["", {"text": " lgdir: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=bs.debug.example.lgdir] ["", {"text": " lgdir: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=!bs.debug.example.walk_trail] ["", {"text": " walk_trail: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.example,scores={bs.menu.page = 0},tag=bs.debug.example.walk_trail] ["", {"text": " walk_trail: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.example] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.example.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / example", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.example.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.biome.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.biome.mcfunction deleted file mode 100644 index b96f7941e3..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.biome.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.biome,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.biome] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.biome] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.biome,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.biome,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.biome,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.biome,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.biome] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.biome] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.biome] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.biome] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.biome,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.biome] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.biome.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.biome.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.biome.close] remove bs.menu.debug.bs.biome -tag @a[tag=bs.menu.debug.bs.biome.close] remove bs.menu.debug.bs.biome.close - -tellraw @a[tag=bs.menu.debug.bs.biome] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=!bs.debug.bs.biome.can_rain] ["", {"text": " can_rain: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=bs.debug.bs.biome.can_rain] ["", {"text": " can_rain: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.can_rain"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=!bs.debug.bs.biome.can_snow] ["", {"text": " can_snow: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=bs.debug.bs.biome.can_snow] ["", {"text": " can_snow: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.can_snow"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=!bs.debug.bs.biome.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=bs.debug.bs.biome.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=!bs.debug.bs.biome.get_biome_temperature] ["", {"text": " get_biome_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=bs.debug.bs.biome.get_biome_temperature] ["", {"text": " get_biome_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.get_biome_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=!bs.debug.bs.biome.get_temperature] ["", {"text": " get_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.biome,scores={bs.menu.page = 0},tag=bs.debug.bs.biome.get_temperature] ["", {"text": " get_temperature: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.biome.get_temperature"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.biome] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.biome.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.biome", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.biome.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.block.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.block.mcfunction deleted file mode 100644 index 161a797f6d..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.block.mcfunction +++ /dev/null @@ -1,33 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.block,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.block] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.block] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.block,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.block,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.block,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.block,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.block] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.block] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.block] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.block] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.block,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.block] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.block.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.block.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.block.close] remove bs.menu.debug.bs.block -tag @a[tag=bs.menu.debug.bs.block.close] remove bs.menu.debug.bs.block.close - -tellraw @a[tag=bs.menu.debug.bs.block] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.block,scores={bs.menu.page = 0},tag=!bs.debug.bs.block.convert_to_item] ["", {"text": " convert_to_item: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.block,scores={bs.menu.page = 0},tag=bs.debug.bs.block.convert_to_item] ["", {"text": " convert_to_item: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.block.convert_to_item"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.block,scores={bs.menu.page = 0},tag=!bs.debug.bs.block.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.block,scores={bs.menu.page = 0},tag=bs.debug.bs.block.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.block.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.block,scores={bs.menu.page = 0},tag=!bs.debug.bs.block.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.block,scores={bs.menu.page = 0},tag=bs.debug.bs.block.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.block.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.block] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.block.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.block", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.block.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.cache.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.cache.mcfunction deleted file mode 100644 index 5b8bbe0c20..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.cache.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.cache,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.cache] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.cache] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.cache,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.cache,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.cache,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.cache,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.cache] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.cache] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.cache] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.cache] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.cache,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.cache] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.cache.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.cache.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.cache.close] remove bs.menu.debug.bs.cache -tag @a[tag=bs.menu.debug.bs.cache.close] remove bs.menu.debug.bs.cache.close - -tellraw @a[tag=bs.menu.debug.bs.cache] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=!bs.debug.bs.cache.select_chest] ["", {"text": " select_chest: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=bs.debug.bs.cache.select_chest] ["", {"text": " select_chest: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_chest"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=!bs.debug.bs.cache.select_command_block] ["", {"text": " select_command_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=bs.debug.bs.cache.select_command_block] ["", {"text": " select_command_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_command_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=!bs.debug.bs.cache.select_jukebox] ["", {"text": " select_jukebox: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=bs.debug.bs.cache.select_jukebox] ["", {"text": " select_jukebox: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_jukebox"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=!bs.debug.bs.cache.select_shulker_box] ["", {"text": " select_shulker_box: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=bs.debug.bs.cache.select_shulker_box] ["", {"text": " select_shulker_box: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_shulker_box"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=!bs.debug.bs.cache.select_sign] ["", {"text": " select_sign: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.cache,scores={bs.menu.page = 0},tag=bs.debug.bs.cache.select_sign] ["", {"text": " select_sign: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.cache.select_sign"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.cache] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.cache.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.cache", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.cache.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.color.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.color.mcfunction deleted file mode 100644 index f732fca829..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.color.mcfunction +++ /dev/null @@ -1,32 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.color,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.color] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.color] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.color,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.color,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.color,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.color,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.color] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.color] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.color] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.color] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.color,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.color] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.color.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.color.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.color.close] remove bs.menu.debug.bs.color -tag @a[tag=bs.menu.debug.bs.color.close] remove bs.menu.debug.bs.color.close - -tellraw @a[tag=bs.menu.debug.bs.color] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.color,scores={bs.menu.page = 0}] {"text": " + child", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.color.child"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.color,scores={bs.menu.page = 0},tag=!bs.debug.bs.color.minecraft_color_to_rgb] ["", {"text": " minecraft_color_to_rgb: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.color,scores={bs.menu.page = 0},tag=bs.debug.bs.color.minecraft_color_to_rgb] ["", {"text": " minecraft_color_to_rgb: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.color.minecraft_color_to_rgb"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.color,scores={bs.menu.page = 0},tag=!bs.debug.bs.color.rgb_to_minecraft_color] ["", {"text": " rgb_to_minecraft_color: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.color,scores={bs.menu.page = 0},tag=bs.debug.bs.color.rgb_to_minecraft_color] ["", {"text": " rgb_to_minecraft_color: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.color.rgb_to_minecraft_color"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.color] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.color.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.color", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.color.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.health.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.health.mcfunction deleted file mode 100644 index a45679886a..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.health.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.health,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.health] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.health] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.health,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.health,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.health,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.health,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.health] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.health] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.health] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.health] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.health,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.health] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.health.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.health.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.health.close] remove bs.menu.debug.bs.health -tag @a[tag=bs.menu.debug.bs.health.close] remove bs.menu.debug.bs.health.close - -tellraw @a[tag=bs.menu.debug.bs.health] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.health,scores={bs.menu.page = 0},tag=!bs.debug.bs.health.safe_kill] ["", {"text": " safe_kill: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.health,scores={bs.menu.page = 0},tag=bs.debug.bs.health.safe_kill] ["", {"text": " safe_kill: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.health,scores={bs.menu.page = 0},tag=!bs.debug.bs.health.time_to_live] ["", {"text": " time_to_live: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.health,scores={bs.menu.page = 0},tag=bs.debug.bs.health.time_to_live] ["", {"text": " time_to_live: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.health] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.health.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.health", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.health.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.id.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.id.mcfunction deleted file mode 100644 index a5c70fd4a9..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.id.mcfunction +++ /dev/null @@ -1,38 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.id,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.id] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.id] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.id,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.id,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.id,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.id,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.id] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.id] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.id] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.id] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.id,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.id] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.id.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.id.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.id.close] remove bs.menu.debug.bs.id -tag @a[tag=bs.menu.debug.bs.id.close] remove bs.menu.debug.bs.id.close - -tellraw @a[tag=bs.menu.debug.bs.id] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=!bs.debug.bs.id.check] ["", {"text": " check: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=bs.debug.bs.id.check] ["", {"text": " check: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=!bs.debug.bs.id.check_parent] ["", {"text": " check_parent: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=bs.debug.bs.id.check_parent] ["", {"text": " check_parent: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0}] {"text": " + cuid", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.id.cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=!bs.debug.bs.id.get_cuid] ["", {"text": " get_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=bs.debug.bs.id.get_cuid] ["", {"text": " get_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=!bs.debug.bs.id.get_suid] ["", {"text": " get_suid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=bs.debug.bs.id.get_suid] ["", {"text": " get_suid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=!bs.debug.bs.id.update_cuid] ["", {"text": " update_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.id,scores={bs.menu.page = 0},tag=bs.debug.bs.id.update_cuid] ["", {"text": " update_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.id] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.id.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.id", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.id.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.item.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.item.mcfunction deleted file mode 100644 index 72019482ce..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.item.mcfunction +++ /dev/null @@ -1,33 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.item,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.item] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.item] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.item,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.item,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.item,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.item,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.item] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.item] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.item] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.item] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.item,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.item] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.item.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.item.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.item.close] remove bs.menu.debug.bs.item -tag @a[tag=bs.menu.debug.bs.item.close] remove bs.menu.debug.bs.item.close - -tellraw @a[tag=bs.menu.debug.bs.item] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.item,scores={bs.menu.page = 0},tag=!bs.debug.bs.item.convert_to_block] ["", {"text": " convert_to_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.item,scores={bs.menu.page = 0},tag=bs.debug.bs.item.convert_to_block] ["", {"text": " convert_to_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.item,scores={bs.menu.page = 0},tag=!bs.debug.bs.item.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.item,scores={bs.menu.page = 0},tag=bs.debug.bs.item.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.item,scores={bs.menu.page = 0},tag=!bs.debug.bs.item.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.item,scores={bs.menu.page = 0},tag=bs.debug.bs.item.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.item] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.item.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.item", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.item.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.link.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.link.mcfunction deleted file mode 100644 index 4ab84deeab..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.link.mcfunction +++ /dev/null @@ -1,82 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.link,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.link] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.link] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.link,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.link,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.link,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.link,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.link] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.link] if score @s bs.menu.page matches 2.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.link] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.link] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.link,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.link] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.link.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.link.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.link.close] remove bs.menu.debug.bs.link -tag @a[tag=bs.menu.debug.bs.link.close] remove bs.menu.debug.bs.link.close - -tellraw @a[tag=bs.menu.debug.bs.link] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.create_link_ata] ["", {"text": " create_link_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.create_link_ata] ["", {"text": " create_link_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.create_link_tti] ["", {"text": " create_link_tti: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.create_link_tti] ["", {"text": " create_link_tti: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_loc] ["", {"text": " imitate_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_loc] ["", {"text": " imitate_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_loc_x] ["", {"text": " imitate_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_loc_x] ["", {"text": " imitate_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_loc_y] ["", {"text": " imitate_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_loc_y] ["", {"text": " imitate_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_loc_z] ["", {"text": " imitate_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_loc_z] ["", {"text": " imitate_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_ori] ["", {"text": " imitate_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_ori] ["", {"text": " imitate_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_ori_h] ["", {"text": " imitate_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_ori_h] ["", {"text": " imitate_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.imitate_ori_v] ["", {"text": " imitate_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.imitate_ori_v] ["", {"text": " imitate_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.keep_local_location] ["", {"text": " keep_local_location: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.keep_local_location] ["", {"text": " keep_local_location: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.reverse_loc] ["", {"text": " reverse_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.reverse_loc] ["", {"text": " reverse_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.reverse_loc_x] ["", {"text": " reverse_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.reverse_loc_x] ["", {"text": " reverse_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.reverse_loc_y] ["", {"text": " reverse_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.reverse_loc_y] ["", {"text": " reverse_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.reverse_loc_z] ["", {"text": " reverse_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.reverse_loc_z] ["", {"text": " reverse_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=!bs.debug.bs.link.reverse_ori] ["", {"text": " reverse_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0},tag=bs.debug.bs.link.reverse_ori] ["", {"text": " reverse_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 0}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page (or go to the last one)"}}, {"text": " 1 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page (or go back to the first one)"}}] - - -# Page 2 - -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.reverse_ori_h] ["", {"text": " reverse_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.reverse_ori_h] ["", {"text": " reverse_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.reverse_ori_v] ["", {"text": " reverse_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.reverse_ori_v] ["", {"text": " reverse_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.update_link] ["", {"text": " update_link: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.update_link] ["", {"text": " update_link: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.update_link_h] ["", {"text": " update_link_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.update_link_h] ["", {"text": " update_link_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.update_link_v] ["", {"text": " update_link_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.update_link_v] ["", {"text": " update_link_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.update_link_x] ["", {"text": " update_link_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.update_link_x] ["", {"text": " update_link_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.update_link_y] ["", {"text": " update_link_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.update_link_y] ["", {"text": " update_link_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=!bs.debug.bs.link.update_link_z] ["", {"text": " update_link_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1},tag=bs.debug.bs.link.update_link_z] ["", {"text": " update_link_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.link,scores={bs.menu.page = 1}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page (or go to the last one)"}}, {"text": " 2 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page (or go back to the first one)"}}] - - -tellraw @a[tag=bs.menu.debug.bs.link] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.link.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.link", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.link.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.location.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.location.mcfunction deleted file mode 100644 index 23817631f0..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.location.mcfunction +++ /dev/null @@ -1,69 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.location,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.location] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.location] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.location,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.location,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.location,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.location,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.location] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.location] if score @s bs.menu.page matches 2.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.location] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.location] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.location,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.location] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.location.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.location.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.location.close] remove bs.menu.debug.bs.location -tag @a[tag=bs.menu.debug.bs.location.close] remove bs.menu.debug.bs.location.close - -tellraw @a[tag=bs.menu.debug.bs.location] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.fast_set] ["", {"text": " fast_set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.fast_set] ["", {"text": " fast_set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0}] {"text": " + get_distance", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.location.get_distance"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get_distance_ata] ["", {"text": " get_distance_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get_distance_ata] ["", {"text": " get_distance_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0}] {"text": " + get_distance_squared", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.location.get_distance_squared"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get_distance_squared_ata] ["", {"text": " get_distance_squared_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get_distance_squared_ata] ["", {"text": " get_distance_squared_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0}] {"text": " + get_relative", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.location.get_relative"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get_relative_ata] ["", {"text": " get_relative_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get_relative_ata] ["", {"text": " get_relative_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get_x] ["", {"text": " get_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get_x] ["", {"text": " get_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get_y] ["", {"text": " get_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get_y] ["", {"text": " get_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.get_z] ["", {"text": " get_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.get_z] ["", {"text": " get_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.is_in_cave] ["", {"text": " is_in_cave: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.is_in_cave] ["", {"text": " is_in_cave: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=!bs.debug.bs.location.set_x] ["", {"text": " set_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0},tag=bs.debug.bs.location.set_x] ["", {"text": " set_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 0}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page (or go to the last one)"}}, {"text": " 1 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page (or go back to the first one)"}}] - - -# Page 2 - -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1},tag=!bs.debug.bs.location.set_y] ["", {"text": " set_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1},tag=bs.debug.bs.location.set_y] ["", {"text": " set_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1},tag=!bs.debug.bs.location.set_z] ["", {"text": " set_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1},tag=bs.debug.bs.location.set_z] ["", {"text": " set_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1},tag=!bs.debug.bs.location.spread] ["", {"text": " spread: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1},tag=bs.debug.bs.location.spread] ["", {"text": " spread: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.location,scores={bs.menu.page = 1}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page (or go to the last one)"}}, {"text": " 2 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page (or go back to the first one)"}}] - - -tellraw @a[tag=bs.menu.debug.bs.location] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.location.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.location", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.location.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.mapedit.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.mapedit.mcfunction deleted file mode 100644 index d06c87decb..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.mapedit.mcfunction +++ /dev/null @@ -1,42 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.mapedit,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.mapedit] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.mapedit] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.mapedit,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.mapedit,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.mapedit,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.mapedit,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.mapedit] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.mapedit] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.mapedit] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.mapedit] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.mapedit,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.mapedit] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.mapedit.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.mapedit.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.mapedit.close] remove bs.menu.debug.bs.mapedit -tag @a[tag=bs.menu.debug.bs.mapedit.close] remove bs.menu.debug.bs.mapedit.close - -tellraw @a[tag=bs.menu.debug.bs.mapedit] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0}] {"text": " + brush", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.mapedit.brush"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.centre] ["", {"text": " centre: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.centre] ["", {"text": " centre: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.esphere] ["", {"text": " esphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.esphere] ["", {"text": " esphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.pos1] ["", {"text": " pos1: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.pos1] ["", {"text": " pos1: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.pos2] ["", {"text": " pos2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.pos2] ["", {"text": " pos2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.replace] ["", {"text": " replace: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.replace] ["", {"text": " replace: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.bs.mapedit.sphere] ["", {"text": " sphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.mapedit,scores={bs.menu.page = 0},tag=bs.debug.bs.mapedit.sphere] ["", {"text": " sphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.mapedit] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.mapedit.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.mapedit", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.mapedit.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.math.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.math.mcfunction deleted file mode 100644 index c4e70be1e3..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.math.mcfunction +++ /dev/null @@ -1,32 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.math,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.math] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.math] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.math,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.math,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.math,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.math,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.math] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.math] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.math] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.math] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.math,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.math] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.math.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.math.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.math.close] remove bs.menu.debug.bs.math -tag @a[tag=bs.menu.debug.bs.math.close] remove bs.menu.debug.bs.math.close - -tellraw @a[tag=bs.menu.debug.bs.math] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.math,scores={bs.menu.page = 0}] {"text": " + algebra", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.algebra"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.math,scores={bs.menu.page = 0}] {"text": " + bitwise", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.bitwise"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.math,scores={bs.menu.page = 0}] {"text": " + common", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.common"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.math,scores={bs.menu.page = 0}] {"text": " + special", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.special"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.math,scores={bs.menu.page = 0}] {"text": " + trig", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.trig"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} - -tellraw @a[tag=bs.menu.debug.bs.math] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.math", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.math.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.memory.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.memory.mcfunction deleted file mode 100644 index 001fb62275..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.memory.mcfunction +++ /dev/null @@ -1,36 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.memory,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.memory] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.memory] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.memory,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.memory,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.memory,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.memory,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.memory] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.memory] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.memory] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.memory] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.memory,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.memory] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.memory.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.memory.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.memory.close] remove bs.menu.debug.bs.memory -tag @a[tag=bs.menu.debug.bs.memory.close] remove bs.menu.debug.bs.memory.close - -tellraw @a[tag=bs.menu.debug.bs.memory] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0}] {"text": " + child", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.memory.child"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=!bs.debug.bs.memory.create_new_memory] ["", {"text": " create_new_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=bs.debug.bs.memory.create_new_memory] ["", {"text": " create_new_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=!bs.debug.bs.memory.exist] ["", {"text": " exist: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=bs.debug.bs.memory.exist] ["", {"text": " exist: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=!bs.debug.bs.memory.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=bs.debug.bs.memory.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=!bs.debug.bs.memory.save_in_memory] ["", {"text": " save_in_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.memory,scores={bs.menu.page = 0},tag=bs.debug.bs.memory.save_in_memory] ["", {"text": " save_in_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.memory] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.memory.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.memory", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.memory.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.move.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.move.mcfunction deleted file mode 100644 index aeacd0b379..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.move.mcfunction +++ /dev/null @@ -1,39 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.move,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.move] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.move] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.move,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.move,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.move,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.move,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.move] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.move] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.move] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.move] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.move,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.move] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.move.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.move.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.move.close] remove bs.menu.debug.bs.move -tag @a[tag=bs.menu.debug.bs.move.close] remove bs.menu.debug.bs.move.close - -tellraw @a[tag=bs.menu.debug.bs.move] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=!bs.debug.bs.move.by_local_vector] ["", {"text": " by_local_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=bs.debug.bs.move.by_local_vector] ["", {"text": " by_local_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0}] {"text": " + by_motion", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.move.by_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=!bs.debug.bs.move.by_vector] ["", {"text": " by_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=bs.debug.bs.move.by_vector] ["", {"text": " by_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=!bs.debug.bs.move.forward] ["", {"text": " forward: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=bs.debug.bs.move.forward] ["", {"text": " forward: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0}] {"text": " + pathfind", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.move.pathfind"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=!bs.debug.bs.move.pathfind_ata] ["", {"text": " pathfind_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=bs.debug.bs.move.pathfind_ata] ["", {"text": " pathfind_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=!bs.debug.bs.move.vector_to_motion] ["", {"text": " vector_to_motion: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.move,scores={bs.menu.page = 0},tag=bs.debug.bs.move.vector_to_motion] ["", {"text": " vector_to_motion: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.move] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.move.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.move", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.move.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.orientation.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.orientation.mcfunction deleted file mode 100644 index 68ef1dd438..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.orientation.mcfunction +++ /dev/null @@ -1,47 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.orientation,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.orientation] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.orientation] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.orientation,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.orientation,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.orientation,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.orientation,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.orientation] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.orientation] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.orientation] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.orientation] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.orientation,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.orientation] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.orientation.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.orientation.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.orientation.close] remove bs.menu.debug.bs.orientation -tag @a[tag=bs.menu.debug.bs.orientation.close] remove bs.menu.debug.bs.orientation.close - -tellraw @a[tag=bs.menu.debug.bs.orientation] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.add_h] ["", {"text": " add_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.add_h] ["", {"text": " add_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.add_v] ["", {"text": " add_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.add_v] ["", {"text": " add_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.get_h] ["", {"text": " get_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.get_h] ["", {"text": " get_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.get_v] ["", {"text": " get_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.get_v] ["", {"text": " get_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.normalize] ["", {"text": " normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.normalize] ["", {"text": " normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.set_h] ["", {"text": " set_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.set_h] ["", {"text": " set_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=!bs.debug.bs.orientation.set_v] ["", {"text": " set_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.orientation,scores={bs.menu.page = 0},tag=bs.debug.bs.orientation.set_v] ["", {"text": " set_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.orientation] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.orientation.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.orientation", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.orientation.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.schedule.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.schedule.mcfunction deleted file mode 100644 index 4c33e016fa..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.schedule.mcfunction +++ /dev/null @@ -1,34 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.schedule,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.schedule] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.schedule] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.schedule,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.schedule,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.schedule,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.schedule,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.schedule] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.schedule] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.schedule] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.schedule] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.schedule,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.schedule] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.schedule.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.schedule.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.schedule.close] remove bs.menu.debug.bs.schedule -tag @a[tag=bs.menu.debug.bs.schedule.close] remove bs.menu.debug.bs.schedule.close - -tellraw @a[tag=bs.menu.debug.bs.schedule] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0},tag=!bs.debug.bs.schedule.cancel_schedule_command] ["", {"text": " cancel_schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0},tag=bs.debug.bs.schedule.cancel_schedule_command] ["", {"text": " cancel_schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0}] {"text": " + child", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.schedule.child"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0},tag=!bs.debug.bs.schedule.clear_queue] ["", {"text": " clear_queue: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0},tag=bs.debug.bs.schedule.clear_queue] ["", {"text": " clear_queue: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0},tag=!bs.debug.bs.schedule.schedule_command] ["", {"text": " schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.schedule,scores={bs.menu.page = 0},tag=bs.debug.bs.schedule.schedule_command] ["", {"text": " schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.schedule] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.schedule.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.schedule", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.schedule.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.time.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.time.mcfunction deleted file mode 100644 index ea51995454..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.time.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.time,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.time] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.time] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.time,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.time,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.time,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.time,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.time] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.time] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.time] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.time] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.time,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.time] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.time.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.time.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.time.close] remove bs.menu.debug.bs.time -tag @a[tag=bs.menu.debug.bs.time.close] remove bs.menu.debug.bs.time.close - -tellraw @a[tag=bs.menu.debug.bs.time] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.time,scores={bs.menu.page = 0},tag=!bs.debug.bs.time.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.time,scores={bs.menu.page = 0},tag=bs.debug.bs.time.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.time,scores={bs.menu.page = 0},tag=!bs.debug.bs.time.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.time,scores={bs.menu.page = 0},tag=bs.debug.bs.time.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.time] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.time.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.time", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.time.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.tree.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.tree.mcfunction deleted file mode 100644 index 4de1b6b97a..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.tree.mcfunction +++ /dev/null @@ -1,24 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.tree,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.tree] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.tree] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.tree,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.tree,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.tree,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.tree,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.tree] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page -1 -execute as @a[tag=bs.menu.debug.bs.tree] if score @s bs.menu.page matches 0.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.tree] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.tree] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.tree,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.tree] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.tree.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.tree.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.tree.close] remove bs.menu.debug.bs.tree -tag @a[tag=bs.menu.debug.bs.tree.close] remove bs.menu.debug.bs.tree.close - -tellraw @a[tag=bs.menu.debug.bs.tree] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -tellraw @a[tag=bs.menu.debug.bs.tree] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.tree.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.tree", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.tree.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.vector.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.vector.mcfunction deleted file mode 100644 index c0a450e5c9..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.vector.mcfunction +++ /dev/null @@ -1,29 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.vector,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.vector] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.vector] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.vector,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.vector,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.vector,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.vector,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.vector] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.vector] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.vector] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.vector] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.vector,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.vector] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.vector.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.vector.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.vector.close] remove bs.menu.debug.bs.vector -tag @a[tag=bs.menu.debug.bs.vector.close] remove bs.menu.debug.bs.vector.close - -tellraw @a[tag=bs.menu.debug.bs.vector] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.vector,scores={bs.menu.page = 0}] {"text": " + classic", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.vector.classic"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.vector,scores={bs.menu.page = 0}] {"text": " + local", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.vector.local"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} - -tellraw @a[tag=bs.menu.debug.bs.vector] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.vector.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.vector", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.vector.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.view.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.view.mcfunction deleted file mode 100644 index f7af163c5a..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.view.mcfunction +++ /dev/null @@ -1,36 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.view,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.view] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.view] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.view,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.view,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.view,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.view,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.view] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.view] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.view] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.view] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.view,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.view] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.view.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.view.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.view.close] remove bs.menu.debug.bs.view -tag @a[tag=bs.menu.debug.bs.view.close] remove bs.menu.debug.bs.view.close - -tellraw @a[tag=bs.menu.debug.bs.view] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=!bs.debug.bs.view.aimed_block] ["", {"text": " aimed_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=bs.debug.bs.view.aimed_block] ["", {"text": " aimed_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=!bs.debug.bs.view.aimed_entity] ["", {"text": " aimed_entity: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=bs.debug.bs.view.aimed_entity] ["", {"text": " aimed_entity: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0}] {"text": " + can_see", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.view.can_see"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=!bs.debug.bs.view.can_see_ata] ["", {"text": " can_see_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=bs.debug.bs.view.can_see_ata] ["", {"text": " can_see_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=!bs.debug.bs.view.has_in_front_ata] ["", {"text": " has_in_front_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.view,scores={bs.menu.page = 0},tag=bs.debug.bs.view.has_in_front_ata] ["", {"text": " has_in_front_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.view] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.view.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.view", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.view.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.xp.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.xp.mcfunction deleted file mode 100644 index ca1d59937e..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/glib.xp.mcfunction +++ /dev/null @@ -1,51 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.bs.xp,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.xp] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.bs.xp] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.xp,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.xp,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.bs.xp,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.xp,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.bs.xp] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.bs.xp] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.bs.xp] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.bs.xp] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.bs.xp,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.xp] remove bs.menu.debug -tag @a[tag=bs.menu.debug.bs.xp.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.bs.xp.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.bs.xp.close] remove bs.menu.debug.bs.xp -tag @a[tag=bs.menu.debug.bs.xp.close] remove bs.menu.debug.bs.xp.close - -tellraw @a[tag=bs.menu.debug.bs.xp] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.add_levels] ["", {"text": " add_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.add_levels] ["", {"text": " add_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.add_points] ["", {"text": " add_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.add_points] ["", {"text": " add_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.get_bar] ["", {"text": " get_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.get_bar] ["", {"text": " get_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.get_bar_rounded] ["", {"text": " get_bar_rounded: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.get_bar_rounded] ["", {"text": " get_bar_rounded: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.get_level_points] ["", {"text": " get_level_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.get_level_points] ["", {"text": " get_level_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.get_total_points] ["", {"text": " get_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.get_total_points] ["", {"text": " get_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.remove_levels] ["", {"text": " remove_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.remove_levels] ["", {"text": " remove_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.remove_points] ["", {"text": " remove_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.remove_points] ["", {"text": " remove_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.set_bar] ["", {"text": " set_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.set_bar] ["", {"text": " set_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.set_levels] ["", {"text": " set_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.set_levels] ["", {"text": " set_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.set_points] ["", {"text": " set_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.set_points] ["", {"text": " set_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=!bs.debug.bs.xp.set_total_points] ["", {"text": " set_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.bs.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.bs.xp,scores={bs.menu.page = 0},tag=bs.debug.bs.xp.set_total_points] ["", {"text": " set_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.bs.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.bs.xp] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.xp.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / bs.xp", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.bs.xp.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/gsys.example.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/gsys.example.mcfunction deleted file mode 100644 index e8fd238528..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/gsys.example.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.gsys.example,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.gsys.example] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.gsys.example] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.gsys.example,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.gsys.example,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.gsys.example,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.gsys.example,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.gsys.example] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.gsys.example] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.gsys.example] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.gsys.example] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.gsys.example,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.gsys.example] remove bs.menu.debug -tag @a[tag=bs.menu.debug.gsys.example.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.gsys.example.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.gsys.example.close] remove bs.menu.debug.gsys.example -tag @a[tag=bs.menu.debug.gsys.example.close] remove bs.menu.debug.gsys.example.close - -tellraw @a[tag=bs.menu.debug.gsys.example] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=!bs.debug.gsys.example.biome_displayer] ["", {"text": " biome_displayer: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=bs.debug.gsys.example.biome_displayer] ["", {"text": " biome_displayer: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.biome_displayer"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=!bs.debug.gsys.example.drop_to_place] ["", {"text": " drop_to_place: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=bs.debug.gsys.example.drop_to_place] ["", {"text": " drop_to_place: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.drop_to_place"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=!bs.debug.gsys.example.lgdir] ["", {"text": " lgdir: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=bs.debug.gsys.example.lgdir] ["", {"text": " lgdir: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.lgdir"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=!bs.debug.gsys.example.walk_trail] ["", {"text": " walk_trail: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.gsys.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] -tellraw @a[tag=bs.menu.debug.gsys.example,scores={bs.menu.page = 0},tag=bs.debug.gsys.example.walk_trail] ["", {"text": " walk_trail: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.gsys.example.walk_trail"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the value"}}] - -tellraw @a[tag=bs.menu.debug.gsys.example] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.gsys.example.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / gsys.example", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.gsys.example.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/gsys.lgdir.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/gsys.lgdir.mcfunction deleted file mode 100644 index fc324e845b..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/gsys.lgdir.mcfunction +++ /dev/null @@ -1,24 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.gsys.lgdir,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.gsys.lgdir] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.gsys.lgdir] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.gsys.lgdir,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.gsys.lgdir,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.gsys.lgdir,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.gsys.lgdir,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.gsys.lgdir] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page -1 -execute as @a[tag=bs.menu.debug.gsys.lgdir] if score @s bs.menu.page matches 0.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.gsys.lgdir] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.gsys.lgdir] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.gsys.lgdir,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.gsys.lgdir] remove bs.menu.debug -tag @a[tag=bs.menu.debug.gsys.lgdir.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.gsys.lgdir.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.gsys.lgdir.close] remove bs.menu.debug.gsys.lgdir -tag @a[tag=bs.menu.debug.gsys.lgdir.close] remove bs.menu.debug.gsys.lgdir.close - -tellraw @a[tag=bs.menu.debug.gsys.lgdir] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -tellraw @a[tag=bs.menu.debug.gsys.lgdir] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.gsys.lgdir.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / gsys.lgdir", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.gsys.lgdir.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/health.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/health.mcfunction deleted file mode 100644 index ffb010843f..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/health.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.health,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.health] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.health] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.health,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.health,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.health,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.health,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.health] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.health] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.health] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.health] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.health,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.health] remove bs.menu.debug -tag @a[tag=bs.menu.debug.health.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.health.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.health.close] remove bs.menu.debug.health -tag @a[tag=bs.menu.debug.health.close] remove bs.menu.debug.health.close - -tellraw @a[tag=bs.menu.debug.health] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.health,scores={bs.menu.page = 0},tag=!bs.debug.health.safe_kill] ["", {"text": " safe_kill: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.health,scores={bs.menu.page = 0},tag=bs.debug.health.safe_kill] ["", {"text": " safe_kill: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.health.safe_kill"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.health,scores={bs.menu.page = 0},tag=!bs.debug.health.time_to_live] ["", {"text": " time_to_live: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.health,scores={bs.menu.page = 0},tag=bs.debug.health.time_to_live] ["", {"text": " time_to_live: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.health.time_to_live"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.health] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.health.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / health", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.health.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/id.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/id.mcfunction deleted file mode 100644 index d780251bb8..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/id.mcfunction +++ /dev/null @@ -1,38 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.id,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.id] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.id] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.id,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.id,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.id,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.id,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.id] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.id] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.id] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.id] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.id,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.id] remove bs.menu.debug -tag @a[tag=bs.menu.debug.id.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.id.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.id.close] remove bs.menu.debug.id -tag @a[tag=bs.menu.debug.id.close] remove bs.menu.debug.id.close - -tellraw @a[tag=bs.menu.debug.id] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=!bs.debug.id.check] ["", {"text": " check: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=bs.debug.id.check] ["", {"text": " check: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.check"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=!bs.debug.id.check_parent] ["", {"text": " check_parent: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=bs.debug.id.check_parent] ["", {"text": " check_parent: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.check_parent"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0}] {"text": " + cuid", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.id.cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=!bs.debug.id.get_cuid] ["", {"text": " get_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=bs.debug.id.get_cuid] ["", {"text": " get_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.get_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=!bs.debug.id.get_suid] ["", {"text": " get_suid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=bs.debug.id.get_suid] ["", {"text": " get_suid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.get_suid"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=!bs.debug.id.update_cuid] ["", {"text": " update_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.id,scores={bs.menu.page = 0},tag=bs.debug.id.update_cuid] ["", {"text": " update_cuid: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.id.update_cuid"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.id] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.id.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / id", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.id.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/id/cuid.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/id/cuid.mcfunction deleted file mode 100644 index d44c9556fc..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/id/cuid.mcfunction +++ /dev/null @@ -1,28 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.id.cuid,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.id.cuid] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.id.cuid] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.id.cuid,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.id.cuid,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.id.cuid,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.id.cuid,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.id.cuid] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.id.cuid] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.id.cuid] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.id.cuid] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.id.cuid,tag=bs.menu.debug.id] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.id.cuid] remove bs.menu.debug.id -tag @a[tag=bs.menu.debug.id.cuid.close] add bs.menu.debug.id -execute as @a[tag=bs.menu.debug.id.cuid.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.id.cuid.close] remove bs.menu.debug.id.cuid -tag @a[tag=bs.menu.debug.id.cuid.close] remove bs.menu.debug.id.cuid.close - -tellraw @a[tag=bs.menu.debug.id.cuid] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.id.cuid,scores={bs.menu.page = 0}] [{"text": " Nothing here :/", "color": "gray"}] - -tellraw @a[tag=bs.menu.debug.id.cuid] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.id.cuid.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / id / cuid", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.id.cuid.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/item.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/item.mcfunction deleted file mode 100644 index ba8bcb2c8c..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/item.mcfunction +++ /dev/null @@ -1,33 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.item,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.item] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.item] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.item,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.item,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.item,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.item,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.item] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.item] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.item] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.item] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.item,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.item] remove bs.menu.debug -tag @a[tag=bs.menu.debug.item.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.item.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.item.close] remove bs.menu.debug.item -tag @a[tag=bs.menu.debug.item.close] remove bs.menu.debug.item.close - -tellraw @a[tag=bs.menu.debug.item] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.item,scores={bs.menu.page = 0},tag=!bs.debug.item.convert_to_block] ["", {"text": " convert_to_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.item,scores={bs.menu.page = 0},tag=bs.debug.item.convert_to_block] ["", {"text": " convert_to_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.item.convert_to_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.item,scores={bs.menu.page = 0},tag=!bs.debug.item.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.item,scores={bs.menu.page = 0},tag=bs.debug.item.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.item.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.item,scores={bs.menu.page = 0},tag=!bs.debug.item.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.item,scores={bs.menu.page = 0},tag=bs.debug.item.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.item.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.item] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.item.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / item", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.item.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/lgdir.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/lgdir.mcfunction deleted file mode 100644 index f4c5abcae7..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/lgdir.mcfunction +++ /dev/null @@ -1,28 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.lgdir,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.lgdir] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.lgdir] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.lgdir,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.lgdir,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.lgdir,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.lgdir,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.lgdir] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.lgdir] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.lgdir] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.lgdir] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.lgdir,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.lgdir] remove bs.menu.debug -tag @a[tag=bs.menu.debug.lgdir.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.lgdir.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.lgdir.close] remove bs.menu.debug.lgdir -tag @a[tag=bs.menu.debug.lgdir.close] remove bs.menu.debug.lgdir.close - -tellraw @a[tag=bs.menu.debug.lgdir] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.lgdir,scores={bs.menu.page = 0}] [{"text": " Nothing here :/", "color": "gray"}] - -tellraw @a[tag=bs.menu.debug.lgdir] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.lgdir.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / lgdir", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.lgdir.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/link.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/link.mcfunction deleted file mode 100644 index 64f03f852d..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/link.mcfunction +++ /dev/null @@ -1,82 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.link,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.link] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.link] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.link,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.link,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.link,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.link,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.link] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.link] if score @s bs.menu.page matches 2.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.link] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.link] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.link,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.link] remove bs.menu.debug -tag @a[tag=bs.menu.debug.link.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.link.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.link.close] remove bs.menu.debug.link -tag @a[tag=bs.menu.debug.link.close] remove bs.menu.debug.link.close - -tellraw @a[tag=bs.menu.debug.link] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.create_link_ata] ["", {"text": " create_link_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.create_link_ata] ["", {"text": " create_link_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.create_link_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.create_link_tti] ["", {"text": " create_link_tti: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.create_link_tti] ["", {"text": " create_link_tti: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.create_link_tti"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_loc] ["", {"text": " imitate_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_loc] ["", {"text": " imitate_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_loc_x] ["", {"text": " imitate_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_loc_x] ["", {"text": " imitate_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_loc_y] ["", {"text": " imitate_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_loc_y] ["", {"text": " imitate_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_loc_z] ["", {"text": " imitate_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_loc_z] ["", {"text": " imitate_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_ori] ["", {"text": " imitate_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_ori] ["", {"text": " imitate_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_ori_h] ["", {"text": " imitate_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_ori_h] ["", {"text": " imitate_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.imitate_ori_v] ["", {"text": " imitate_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.imitate_ori_v] ["", {"text": " imitate_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.imitate_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.keep_local_location] ["", {"text": " keep_local_location: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.keep_local_location] ["", {"text": " keep_local_location: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.keep_local_location"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.reverse_loc] ["", {"text": " reverse_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.reverse_loc] ["", {"text": " reverse_loc: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.reverse_loc_x] ["", {"text": " reverse_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.reverse_loc_x] ["", {"text": " reverse_loc_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.reverse_loc_y] ["", {"text": " reverse_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.reverse_loc_y] ["", {"text": " reverse_loc_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.reverse_loc_z] ["", {"text": " reverse_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.reverse_loc_z] ["", {"text": " reverse_loc_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_loc_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=!bs.debug.link.reverse_ori] ["", {"text": " reverse_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0},tag=bs.debug.link.reverse_ori] ["", {"text": " reverse_ori: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_ori"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 0}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 1 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -# Page 2 - -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.reverse_ori_h] ["", {"text": " reverse_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.reverse_ori_h] ["", {"text": " reverse_ori_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_ori_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.reverse_ori_v] ["", {"text": " reverse_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.reverse_ori_v] ["", {"text": " reverse_ori_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.reverse_ori_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.update_link] ["", {"text": " update_link: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.update_link] ["", {"text": " update_link: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.update_link_h] ["", {"text": " update_link_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.update_link_h] ["", {"text": " update_link_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.update_link_v] ["", {"text": " update_link_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.update_link_v] ["", {"text": " update_link_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.update_link_x] ["", {"text": " update_link_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.update_link_x] ["", {"text": " update_link_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.update_link_y] ["", {"text": " update_link_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.update_link_y] ["", {"text": " update_link_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=!bs.debug.link.update_link_z] ["", {"text": " update_link_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1},tag=bs.debug.link.update_link_z] ["", {"text": " update_link_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.link.update_link_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.link,scores={bs.menu.page = 1}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 2 / 2 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -tellraw @a[tag=bs.menu.debug.link] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.link.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / link", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.link.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/location.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/location.mcfunction deleted file mode 100644 index 508147b205..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/location.mcfunction +++ /dev/null @@ -1,57 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.location,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.location] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.location] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.location,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.location,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.location,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.location,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.location] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.location] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.location] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.location] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.location,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.location] remove bs.menu.debug -tag @a[tag=bs.menu.debug.location.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.location.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.location.close] remove bs.menu.debug.location -tag @a[tag=bs.menu.debug.location.close] remove bs.menu.debug.location.close - -tellraw @a[tag=bs.menu.debug.location] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.fast_set] ["", {"text": " fast_set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.fast_set] ["", {"text": " fast_set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.fast_set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get_distance_ata] ["", {"text": " get_distance_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get_distance_ata] ["", {"text": " get_distance_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_distance_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get_distance_squared_ata] ["", {"text": " get_distance_squared_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get_distance_squared_ata] ["", {"text": " get_distance_squared_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_distance_squared_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get_relative_ata] ["", {"text": " get_relative_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get_relative_ata] ["", {"text": " get_relative_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_relative_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get_x] ["", {"text": " get_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get_x] ["", {"text": " get_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get_y] ["", {"text": " get_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get_y] ["", {"text": " get_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.get_z] ["", {"text": " get_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.get_z] ["", {"text": " get_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.get_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.is_in_cave] ["", {"text": " is_in_cave: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.is_in_cave] ["", {"text": " is_in_cave: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.is_in_cave"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.set_x] ["", {"text": " set_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.set_x] ["", {"text": " set_x: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set_x"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.set_y] ["", {"text": " set_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.set_y] ["", {"text": " set_y: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set_y"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.set_z] ["", {"text": " set_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.set_z] ["", {"text": " set_z: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.set_z"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=!bs.debug.location.spread] ["", {"text": " spread: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.location,scores={bs.menu.page = 0},tag=bs.debug.location.spread] ["", {"text": " spread: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.location.spread"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.location] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.location.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / location", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.location.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/mapedit.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/mapedit.mcfunction deleted file mode 100644 index a0316bc67a..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/mapedit.mcfunction +++ /dev/null @@ -1,42 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.mapedit,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.mapedit] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.mapedit] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.mapedit,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.mapedit,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.mapedit,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.mapedit,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.mapedit] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.mapedit] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.mapedit] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.mapedit] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.mapedit,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.mapedit] remove bs.menu.debug -tag @a[tag=bs.menu.debug.mapedit.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.mapedit.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.mapedit.close] remove bs.menu.debug.mapedit -tag @a[tag=bs.menu.debug.mapedit.close] remove bs.menu.debug.mapedit.close - -tellraw @a[tag=bs.menu.debug.mapedit] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0}] {"text": " + brush", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.mapedit.brush"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.centre] ["", {"text": " centre: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.centre] ["", {"text": " centre: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.centre"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.esphere] ["", {"text": " esphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.esphere] ["", {"text": " esphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.pos1] ["", {"text": " pos1: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.pos1] ["", {"text": " pos1: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.pos1"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.pos2] ["", {"text": " pos2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.pos2] ["", {"text": " pos2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.pos2"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.replace] ["", {"text": " replace: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.replace] ["", {"text": " replace: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.sphere] ["", {"text": " sphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit,scores={bs.menu.page = 0},tag=bs.debug.mapedit.sphere] ["", {"text": " sphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.mapedit] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.mapedit.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / mapedit", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.mapedit.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/mapedit/brush.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/mapedit/brush.mcfunction deleted file mode 100644 index e5758ef98c..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/mapedit/brush.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.mapedit.brush,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.mapedit.brush] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.mapedit.brush] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.mapedit.brush,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.mapedit.brush,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.mapedit.brush,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.mapedit.brush,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.mapedit.brush] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.mapedit.brush] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.mapedit.brush] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.mapedit.brush] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.mapedit.brush,tag=bs.menu.debug.mapedit] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.mapedit.brush] remove bs.menu.debug.mapedit -tag @a[tag=bs.menu.debug.mapedit.brush.close] add bs.menu.debug.mapedit -execute as @a[tag=bs.menu.debug.mapedit.brush.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.mapedit.brush.close] remove bs.menu.debug.mapedit.brush -tag @a[tag=bs.menu.debug.mapedit.brush.close] remove bs.menu.debug.mapedit.brush.close - -tellraw @a[tag=bs.menu.debug.mapedit.brush] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.brush.esphere] ["", {"text": " esphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=bs.debug.mapedit.brush.esphere] ["", {"text": " esphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.esphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.brush.replace] ["", {"text": " replace: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=bs.debug.mapedit.brush.replace] ["", {"text": " replace: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.replace"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.brush.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=bs.debug.mapedit.brush.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=!bs.debug.mapedit.brush.sphere] ["", {"text": " sphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.mapedit.brush.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.mapedit.brush,scores={bs.menu.page = 0},tag=bs.debug.mapedit.brush.sphere] ["", {"text": " sphere: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.mapedit.brush.sphere"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.mapedit.brush] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.mapedit.brush.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / mapedit / brush", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.mapedit.brush.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/math.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/math.mcfunction deleted file mode 100644 index 2cb99ba7e8..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/math.mcfunction +++ /dev/null @@ -1,32 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.math,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.math] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.math] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.math] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.math,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math] remove bs.menu.debug -tag @a[tag=bs.menu.debug.math.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.math.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.close] remove bs.menu.debug.math -tag @a[tag=bs.menu.debug.math.close] remove bs.menu.debug.math.close - -tellraw @a[tag=bs.menu.debug.math] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.math,scores={bs.menu.page = 0}] {"text": " + algebra", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.algebra"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.math,scores={bs.menu.page = 0}] {"text": " + bitwise", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.bitwise"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.math,scores={bs.menu.page = 0}] {"text": " + common", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.common"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.math,scores={bs.menu.page = 0}] {"text": " + special", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.special"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.math,scores={bs.menu.page = 0}] {"text": " + trig", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.trig"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} - -tellraw @a[tag=bs.menu.debug.math] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / math", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/algebra.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/math/algebra.mcfunction deleted file mode 100644 index c357a88895..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/algebra.mcfunction +++ /dev/null @@ -1,29 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.math.algebra,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.algebra] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.math.algebra] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.algebra,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.algebra,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.algebra,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.algebra,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.algebra] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.algebra] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.math.algebra] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.math.algebra] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.math.algebra,tag=bs.menu.debug.math] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.algebra] remove bs.menu.debug.math -tag @a[tag=bs.menu.debug.math.algebra.close] add bs.menu.debug.math -execute as @a[tag=bs.menu.debug.math.algebra.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.algebra.close] remove bs.menu.debug.math.algebra -tag @a[tag=bs.menu.debug.math.algebra.close] remove bs.menu.debug.math.algebra.close - -tellraw @a[tag=bs.menu.debug.math.algebra] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.math.algebra,scores={bs.menu.page = 0},tag=!bs.debug.math.algebra.basis_rotation_3d] ["", {"text": " basis_rotation_3d: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.algebra.basis_rotation_3d"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.algebra.basis_rotation_3d"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.algebra,scores={bs.menu.page = 0},tag=bs.debug.math.algebra.basis_rotation_3d] ["", {"text": " basis_rotation_3d: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.algebra.basis_rotation_3d"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.algebra.basis_rotation_3d"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.math.algebra] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.algebra.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / math / algebra", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.algebra.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/bitwise.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/math/bitwise.mcfunction deleted file mode 100644 index e0309d642b..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/bitwise.mcfunction +++ /dev/null @@ -1,39 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.math.bitwise,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.bitwise] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.math.bitwise] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.bitwise,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.bitwise,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.bitwise,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.bitwise,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.bitwise] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.bitwise] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.math.bitwise] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.math.bitwise] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.math.bitwise,tag=bs.menu.debug.math] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.bitwise] remove bs.menu.debug.math -tag @a[tag=bs.menu.debug.math.bitwise.close] add bs.menu.debug.math -execute as @a[tag=bs.menu.debug.math.bitwise.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.bitwise.close] remove bs.menu.debug.math.bitwise -tag @a[tag=bs.menu.debug.math.bitwise.close] remove bs.menu.debug.math.bitwise.close - -tellraw @a[tag=bs.menu.debug.math.bitwise] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=!bs.debug.math.bitwise.and] ["", {"text": " and: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.and"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.and"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=bs.debug.math.bitwise.and] ["", {"text": " and: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.and"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.and"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=!bs.debug.math.bitwise.get_number_of_bits] ["", {"text": " get_number_of_bits: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.get_number_of_bits"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.get_number_of_bits"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=bs.debug.math.bitwise.get_number_of_bits] ["", {"text": " get_number_of_bits: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.get_number_of_bits"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.get_number_of_bits"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=!bs.debug.math.bitwise.not] ["", {"text": " not: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.not"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.not"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=bs.debug.math.bitwise.not] ["", {"text": " not: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.not"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.not"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=!bs.debug.math.bitwise.or] ["", {"text": " or: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.or"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.or"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=bs.debug.math.bitwise.or] ["", {"text": " or: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.or"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.or"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=!bs.debug.math.bitwise.two_complement] ["", {"text": " two_complement: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.two_complement"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.two_complement"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=bs.debug.math.bitwise.two_complement] ["", {"text": " two_complement: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.two_complement"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.two_complement"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=!bs.debug.math.bitwise.xor] ["", {"text": " xor: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.xor"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.bitwise.xor"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.bitwise,scores={bs.menu.page = 0},tag=bs.debug.math.bitwise.xor] ["", {"text": " xor: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.xor"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.bitwise.xor"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.math.bitwise] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.bitwise.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / math / bitwise", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.bitwise.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/common.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/math/common.mcfunction deleted file mode 100644 index 0d3542767f..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/common.mcfunction +++ /dev/null @@ -1,47 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.math.common,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.common] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.math.common] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.common,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.common,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.common,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.common,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.common] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.common] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.math.common] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.math.common] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.math.common,tag=bs.menu.debug.math] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.common] remove bs.menu.debug.math -tag @a[tag=bs.menu.debug.math.common.close] add bs.menu.debug.math -execute as @a[tag=bs.menu.debug.math.common.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.common.close] remove bs.menu.debug.math.common -tag @a[tag=bs.menu.debug.math.common.close] remove bs.menu.debug.math.common.close - -tellraw @a[tag=bs.menu.debug.math.common] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.divide] ["", {"text": " divide: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.divide"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.divide"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.divide] ["", {"text": " divide: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.divide"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.divide"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.exp] ["", {"text": " exp: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.exp"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.exp"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.exp] ["", {"text": " exp: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.exp"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.exp"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.factorial] ["", {"text": " factorial: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.factorial"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.factorial"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.factorial] ["", {"text": " factorial: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.factorial"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.factorial"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.gcd] ["", {"text": " gcd: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.gcd"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.gcd"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.gcd] ["", {"text": " gcd: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.gcd"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.gcd"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.log] ["", {"text": " log: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.log"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.log"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.log] ["", {"text": " log: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.log"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.log"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.log10] ["", {"text": " log10: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.log10"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.log10"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.log10] ["", {"text": " log10: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.log10"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.log10"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.log2] ["", {"text": " log2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.log2"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.log2"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.log2] ["", {"text": " log2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.log2"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.log2"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.loga] ["", {"text": " loga: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.loga"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.loga"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.loga] ["", {"text": " loga: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.loga"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.loga"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.pow] ["", {"text": " pow: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.pow"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.pow"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.pow] ["", {"text": " pow: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.pow"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.pow"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=!bs.debug.math.common.sqrt] ["", {"text": " sqrt: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.sqrt"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.common.sqrt"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.common,scores={bs.menu.page = 0},tag=bs.debug.math.common.sqrt] ["", {"text": " sqrt: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.sqrt"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.common.sqrt"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.math.common] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.common.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / math / common", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.common.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/special.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/math/special.mcfunction deleted file mode 100644 index dccd4b56cb..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/special.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.math.special,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.special] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.math.special] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.special,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.special,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.special,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.special,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.special] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.special] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.math.special] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.math.special] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.math.special,tag=bs.menu.debug.math] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.special] remove bs.menu.debug.math -tag @a[tag=bs.menu.debug.math.special.close] add bs.menu.debug.math -execute as @a[tag=bs.menu.debug.math.special.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.special.close] remove bs.menu.debug.math.special -tag @a[tag=bs.menu.debug.math.special.close] remove bs.menu.debug.math.special.close - -tellraw @a[tag=bs.menu.debug.math.special] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.math.special,scores={bs.menu.page = 0},tag=!bs.debug.math.special.get_next_pow2] ["", {"text": " get_next_pow2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.special.get_next_pow2"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.special.get_next_pow2"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.special,scores={bs.menu.page = 0},tag=bs.debug.math.special.get_next_pow2] ["", {"text": " get_next_pow2: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.special.get_next_pow2"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.special.get_next_pow2"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.special,scores={bs.menu.page = 0},tag=!bs.debug.math.special.random] ["", {"text": " random: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.special.random"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.special.random"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.special,scores={bs.menu.page = 0},tag=bs.debug.math.special.random] ["", {"text": " random: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.special.random"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.special.random"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.math.special] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.special.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / math / special", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.special.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/trig.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/math/trig.mcfunction deleted file mode 100644 index 6bb2e46707..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/math/trig.mcfunction +++ /dev/null @@ -1,39 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.math.trig,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.trig] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.math.trig] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.trig,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.trig,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.math.trig,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.trig,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.math.trig] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.math.trig] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.math.trig] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.math.trig] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.math.trig,tag=bs.menu.debug.math] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.trig] remove bs.menu.debug.math -tag @a[tag=bs.menu.debug.math.trig.close] add bs.menu.debug.math -execute as @a[tag=bs.menu.debug.math.trig.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.math.trig.close] remove bs.menu.debug.math.trig -tag @a[tag=bs.menu.debug.math.trig.close] remove bs.menu.debug.math.trig.close - -tellraw @a[tag=bs.menu.debug.math.trig] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=!bs.debug.math.trig.arccos] ["", {"text": " arccos: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.arccos"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.arccos"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=bs.debug.math.trig.arccos] ["", {"text": " arccos: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.arccos"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.arccos"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=!bs.debug.math.trig.arcsin] ["", {"text": " arcsin: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.arcsin"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.arcsin"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=bs.debug.math.trig.arcsin] ["", {"text": " arcsin: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.arcsin"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.arcsin"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=!bs.debug.math.trig.arctan] ["", {"text": " arctan: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.arctan"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.arctan"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=bs.debug.math.trig.arctan] ["", {"text": " arctan: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.arctan"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.arctan"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=!bs.debug.math.trig.cos] ["", {"text": " cos: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.cos"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.cos"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=bs.debug.math.trig.cos] ["", {"text": " cos: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.cos"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.cos"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=!bs.debug.math.trig.sin] ["", {"text": " sin: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.sin"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.sin"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=bs.debug.math.trig.sin] ["", {"text": " sin: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.sin"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.sin"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=!bs.debug.math.trig.tan] ["", {"text": " tan: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.tan"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.math.trig.tan"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.math.trig,scores={bs.menu.page = 0},tag=bs.debug.math.trig.tan] ["", {"text": " tan: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.tan"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.math.trig.tan"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.math.trig] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.trig.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / math / trig", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.math.trig.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/memory.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/memory.mcfunction deleted file mode 100644 index 2929db8c0e..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/memory.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.memory,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.memory] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.memory] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.memory,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.memory,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.memory,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.memory,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.memory] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.memory] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.memory] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.memory] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.memory,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.memory] remove bs.menu.debug -tag @a[tag=bs.menu.debug.memory.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.memory.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.memory.close] remove bs.menu.debug.memory -tag @a[tag=bs.menu.debug.memory.close] remove bs.menu.debug.memory.close - -tellraw @a[tag=bs.menu.debug.memory] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=!bs.debug.memory.create_new_memory] ["", {"text": " create_new_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=bs.debug.memory.create_new_memory] ["", {"text": " create_new_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.create_new_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=!bs.debug.memory.exist] ["", {"text": " exist: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=bs.debug.memory.exist] ["", {"text": " exist: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.exist"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=!bs.debug.memory.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=bs.debug.memory.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=!bs.debug.memory.save_in_memory] ["", {"text": " save_in_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.memory,scores={bs.menu.page = 0},tag=bs.debug.memory.save_in_memory] ["", {"text": " save_in_memory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.memory.save_in_memory"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.memory] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.memory.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / memory", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.memory.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/move.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/move.mcfunction deleted file mode 100644 index d79656b357..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/move.mcfunction +++ /dev/null @@ -1,38 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.move,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.move] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.move] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.move,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.move,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.move,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.move,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.move] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.move] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.move] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.move] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.move,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.move] remove bs.menu.debug -tag @a[tag=bs.menu.debug.move.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.move.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.move.close] remove bs.menu.debug.move -tag @a[tag=bs.menu.debug.move.close] remove bs.menu.debug.move.close - -tellraw @a[tag=bs.menu.debug.move] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=!bs.debug.move.by_local_vector] ["", {"text": " by_local_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=bs.debug.move.by_local_vector] ["", {"text": " by_local_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.by_local_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0}] {"text": " + by_motion", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.move.by_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=!bs.debug.move.by_vector] ["", {"text": " by_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=bs.debug.move.by_vector] ["", {"text": " by_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.by_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=!bs.debug.move.forward] ["", {"text": " forward: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=bs.debug.move.forward] ["", {"text": " forward: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.forward"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=!bs.debug.move.pathfind_ata] ["", {"text": " pathfind_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=bs.debug.move.pathfind_ata] ["", {"text": " pathfind_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.pathfind_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=!bs.debug.move.vector_to_motion] ["", {"text": " vector_to_motion: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.move,scores={bs.menu.page = 0},tag=bs.debug.move.vector_to_motion] ["", {"text": " vector_to_motion: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.move.vector_to_motion"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.move] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.move.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / move", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.move.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/move/by_motion.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/move/by_motion.mcfunction deleted file mode 100644 index 48271c6c45..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/move/by_motion.mcfunction +++ /dev/null @@ -1,28 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.move.by_motion,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.move.by_motion] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.move.by_motion] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.move.by_motion,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.move.by_motion,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.move.by_motion,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.move.by_motion,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.move.by_motion] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.move.by_motion] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.move.by_motion] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.move.by_motion] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.move.by_motion,tag=bs.menu.debug.move] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.move.by_motion] remove bs.menu.debug.move -tag @a[tag=bs.menu.debug.move.by_motion.close] add bs.menu.debug.move -execute as @a[tag=bs.menu.debug.move.by_motion.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.move.by_motion.close] remove bs.menu.debug.move.by_motion -tag @a[tag=bs.menu.debug.move.by_motion.close] remove bs.menu.debug.move.by_motion.close - -tellraw @a[tag=bs.menu.debug.move.by_motion] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.move.by_motion,scores={bs.menu.page = 0}] [{"text": " Nothing here :/", "color": "gray"}] - -tellraw @a[tag=bs.menu.debug.move.by_motion] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.move.by_motion.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / move / by_motion", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.move.by_motion.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/orientation.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/orientation.mcfunction deleted file mode 100644 index 645337072e..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/orientation.mcfunction +++ /dev/null @@ -1,47 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.orientation,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.orientation] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.orientation] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.orientation,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.orientation,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.orientation,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.orientation,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.orientation] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.orientation] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.orientation] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.orientation] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.orientation,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.orientation] remove bs.menu.debug -tag @a[tag=bs.menu.debug.orientation.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.orientation.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.orientation.close] remove bs.menu.debug.orientation -tag @a[tag=bs.menu.debug.orientation.close] remove bs.menu.debug.orientation.close - -tellraw @a[tag=bs.menu.debug.orientation] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.add] ["", {"text": " add: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.add"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.add_h] ["", {"text": " add_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.add_h] ["", {"text": " add_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.add_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.add_v] ["", {"text": " add_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.add_v] ["", {"text": " add_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.add_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.get_h] ["", {"text": " get_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.get_h] ["", {"text": " get_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.get_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.get_v] ["", {"text": " get_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.get_v] ["", {"text": " get_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.get_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.normalize] ["", {"text": " normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.normalize] ["", {"text": " normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.set_h] ["", {"text": " set_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.set_h] ["", {"text": " set_h: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.set_h"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=!bs.debug.orientation.set_v] ["", {"text": " set_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.orientation,scores={bs.menu.page = 0},tag=bs.debug.orientation.set_v] ["", {"text": " set_v: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.orientation.set_v"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.orientation] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.orientation.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / orientation", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.orientation.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/schedule.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/schedule.mcfunction deleted file mode 100644 index 1793d3ad1a..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/schedule.mcfunction +++ /dev/null @@ -1,33 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.schedule,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.schedule] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.schedule] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.schedule,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.schedule,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.schedule,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.schedule,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.schedule] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.schedule] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.schedule] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.schedule] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.schedule,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.schedule] remove bs.menu.debug -tag @a[tag=bs.menu.debug.schedule.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.schedule.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.schedule.close] remove bs.menu.debug.schedule -tag @a[tag=bs.menu.debug.schedule.close] remove bs.menu.debug.schedule.close - -tellraw @a[tag=bs.menu.debug.schedule] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.schedule,scores={bs.menu.page = 0},tag=!bs.debug.schedule.cancel_schedule_command] ["", {"text": " cancel_schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.schedule,scores={bs.menu.page = 0},tag=bs.debug.schedule.cancel_schedule_command] ["", {"text": " cancel_schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.schedule.cancel_schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.schedule,scores={bs.menu.page = 0},tag=!bs.debug.schedule.clear_queue] ["", {"text": " clear_queue: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.schedule,scores={bs.menu.page = 0},tag=bs.debug.schedule.clear_queue] ["", {"text": " clear_queue: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.schedule.clear_queue"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.schedule,scores={bs.menu.page = 0},tag=!bs.debug.schedule.schedule_command] ["", {"text": " schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.schedule,scores={bs.menu.page = 0},tag=bs.debug.schedule.schedule_command] ["", {"text": " schedule_command: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.schedule.schedule_command"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.schedule] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.schedule.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / schedule", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.schedule.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/time.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/time.mcfunction deleted file mode 100644 index 6d1a7c0870..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/time.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.time,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.time] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.time] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.time,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.time,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.time,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.time,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.time] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.time] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.time] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.time] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.time,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.time] remove bs.menu.debug -tag @a[tag=bs.menu.debug.time.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.time.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.time.close] remove bs.menu.debug.time -tag @a[tag=bs.menu.debug.time.close] remove bs.menu.debug.time.close - -tellraw @a[tag=bs.menu.debug.time] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.time,scores={bs.menu.page = 0},tag=!bs.debug.time.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.time,scores={bs.menu.page = 0},tag=bs.debug.time.get] ["", {"text": " get: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.time.get"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.time,scores={bs.menu.page = 0},tag=!bs.debug.time.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.time,scores={bs.menu.page = 0},tag=bs.debug.time.set] ["", {"text": " set: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.time.set"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.time] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.time.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / time", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.time.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/tree.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/tree.mcfunction deleted file mode 100644 index 6a75969dc6..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/tree.mcfunction +++ /dev/null @@ -1,28 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.tree,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.tree] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.tree] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.tree,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.tree,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.tree,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.tree,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.tree] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.tree] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.tree] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.tree] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.tree,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.tree] remove bs.menu.debug -tag @a[tag=bs.menu.debug.tree.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.tree.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.tree.close] remove bs.menu.debug.tree -tag @a[tag=bs.menu.debug.tree.close] remove bs.menu.debug.tree.close - -tellraw @a[tag=bs.menu.debug.tree] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.tree,scores={bs.menu.page = 0}] [{"text": " Nothing here :/", "color": "gray"}] - -tellraw @a[tag=bs.menu.debug.tree] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.tree.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / tree", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.tree.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/vector.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/vector.mcfunction deleted file mode 100644 index 7a765271e1..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/vector.mcfunction +++ /dev/null @@ -1,29 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.vector,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.vector] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.vector,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.vector,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.vector,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.vector,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.vector] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.vector] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.vector] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.vector] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.vector,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector] remove bs.menu.debug -tag @a[tag=bs.menu.debug.vector.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.vector.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.close] remove bs.menu.debug.vector -tag @a[tag=bs.menu.debug.vector.close] remove bs.menu.debug.vector.close - -tellraw @a[tag=bs.menu.debug.vector] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.vector,scores={bs.menu.page = 0}] {"text": " + classic", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.classic"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu.debug.vector,scores={bs.menu.page = 0}] {"text": " + local", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.local"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} - -tellraw @a[tag=bs.menu.debug.vector] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / vector", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/vector/classic.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/vector/classic.mcfunction deleted file mode 100644 index a299126727..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/vector/classic.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.vector.classic,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.classic] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.vector.classic] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.vector.classic,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.vector.classic,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.vector.classic,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.vector.classic,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.vector.classic] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.vector.classic] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.vector.classic] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.vector.classic] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.vector.classic,tag=bs.menu.debug.vector] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.classic] remove bs.menu.debug.vector -tag @a[tag=bs.menu.debug.vector.classic.close] add bs.menu.debug.vector -execute as @a[tag=bs.menu.debug.vector.classic.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.classic.close] remove bs.menu.debug.vector.classic -tag @a[tag=bs.menu.debug.vector.classic.close] remove bs.menu.debug.vector.classic.close - -tellraw @a[tag=bs.menu.debug.vector.classic] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=!bs.debug.vector.classic.fast_normalize] ["", {"text": " fast_normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=bs.debug.vector.classic.fast_normalize] ["", {"text": " fast_normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=!bs.debug.vector.classic.get_ata] ["", {"text": " get_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.get_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.get_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=bs.debug.vector.classic.get_ata] ["", {"text": " get_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.get_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.get_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=!bs.debug.vector.classic.get_by_orientation] ["", {"text": " get_by_orientation: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.get_by_orientation"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.get_by_orientation"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=bs.debug.vector.classic.get_by_orientation] ["", {"text": " get_by_orientation: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.get_by_orientation"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.get_by_orientation"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=!bs.debug.vector.classic.length] ["", {"text": " length: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.length"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.length"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=bs.debug.vector.classic.length] ["", {"text": " length: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.length"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.length"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=!bs.debug.vector.classic.length_squared] ["", {"text": " length_squared: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.length_squared"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.classic.length_squared"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.classic,scores={bs.menu.page = 0},tag=bs.debug.vector.classic.length_squared] ["", {"text": " length_squared: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.length_squared"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.classic.length_squared"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.vector.classic] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.classic.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / vector / classic", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.classic.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/vector/local.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/vector/local.mcfunction deleted file mode 100644 index e830d10b57..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/vector/local.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.vector.local,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.local] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.vector.local] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.vector.local,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.vector.local,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.vector.local,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.vector.local,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.vector.local] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.vector.local] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.vector.local] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.vector.local] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.vector.local,tag=bs.menu.debug.vector] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.local] remove bs.menu.debug.vector -tag @a[tag=bs.menu.debug.vector.local.close] add bs.menu.debug.vector -execute as @a[tag=bs.menu.debug.vector.local.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.vector.local.close] remove bs.menu.debug.vector.local -tag @a[tag=bs.menu.debug.vector.local.close] remove bs.menu.debug.vector.local.close - -tellraw @a[tag=bs.menu.debug.vector.local] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.vector.local,scores={bs.menu.page = 0},tag=!bs.debug.vector.local.fast_normalize] ["", {"text": " fast_normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.local.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.local.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.local,scores={bs.menu.page = 0},tag=bs.debug.vector.local.fast_normalize] ["", {"text": " fast_normalize: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.local.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.local.fast_normalize"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.local,scores={bs.menu.page = 0},tag=!bs.debug.vector.local.get_from_classic_vector] ["", {"text": " get_from_classic_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.local.get_from_classic_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.vector.local.get_from_classic_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.vector.local,scores={bs.menu.page = 0},tag=bs.debug.vector.local.get_from_classic_vector] ["", {"text": " get_from_classic_vector: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.local.get_from_classic_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.vector.local.get_from_classic_vector"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.vector.local] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.local.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / vector / local", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.vector.local.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/view.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/view.mcfunction deleted file mode 100644 index dfd302217b..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/view.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.view,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.view] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.view] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.view,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.view,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.view,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.view,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.view] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.view] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.view] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.view] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.view,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.view] remove bs.menu.debug -tag @a[tag=bs.menu.debug.view.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.view.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.view.close] remove bs.menu.debug.view -tag @a[tag=bs.menu.debug.view.close] remove bs.menu.debug.view.close - -tellraw @a[tag=bs.menu.debug.view] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=!bs.debug.view.aimed_block] ["", {"text": " aimed_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=bs.debug.view.aimed_block] ["", {"text": " aimed_block: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.aimed_block"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=!bs.debug.view.aimed_entity] ["", {"text": " aimed_entity: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=bs.debug.view.aimed_entity] ["", {"text": " aimed_entity: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.aimed_entity"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=!bs.debug.view.can_see_ata] ["", {"text": " can_see_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=bs.debug.view.can_see_ata] ["", {"text": " can_see_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.can_see_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=!bs.debug.view.has_in_front_ata] ["", {"text": " has_in_front_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.view,scores={bs.menu.page = 0},tag=bs.debug.view.has_in_front_ata] ["", {"text": " has_in_front_ata: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.view.has_in_front_ata"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.view] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.view.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / view", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.view.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/debug/xp.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/debug/xp.mcfunction deleted file mode 100644 index c61afb9bc6..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/debug/xp.mcfunction +++ /dev/null @@ -1,51 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.debug.xp,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.xp] add bs.menu.active -scoreboard players add @a[tag=bs.menu.debug.xp] bs.menu.page 0 -execute as @a[tag=bs.menu.debug.xp,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.xp,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.debug.xp,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.xp,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.debug.xp] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu.debug.xp] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.debug.xp] remove bs.menu.nextPage -tag @a[tag=bs.menu.debug.xp] remove bs.menu.previousPage -execute as @a[tag=bs.menu.debug.xp,tag=bs.menu.debug] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.xp] remove bs.menu.debug -tag @a[tag=bs.menu.debug.xp.close] add bs.menu.debug -execute as @a[tag=bs.menu.debug.xp.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.debug.xp.close] remove bs.menu.debug.xp -tag @a[tag=bs.menu.debug.xp.close] remove bs.menu.debug.xp.close - -tellraw @a[tag=bs.menu.debug.xp] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.add_levels] ["", {"text": " add_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.add_levels] ["", {"text": " add_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.add_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.add_points] ["", {"text": " add_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.add_points] ["", {"text": " add_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.add_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.get_bar] ["", {"text": " get_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.get_bar] ["", {"text": " get_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.get_bar_rounded] ["", {"text": " get_bar_rounded: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.get_bar_rounded] ["", {"text": " get_bar_rounded: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_bar_rounded"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.get_level_points] ["", {"text": " get_level_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.get_level_points] ["", {"text": " get_level_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_level_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.get_total_points] ["", {"text": " get_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.get_total_points] ["", {"text": " get_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.get_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.remove_levels] ["", {"text": " remove_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.remove_levels] ["", {"text": " remove_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.remove_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.remove_points] ["", {"text": " remove_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.remove_points] ["", {"text": " remove_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.remove_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.set_bar] ["", {"text": " set_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.set_bar] ["", {"text": " set_bar: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_bar"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.set_levels] ["", {"text": " set_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.set_levels] ["", {"text": " set_levels: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_levels"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.set_points] ["", {"text": " set_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.set_points] ["", {"text": " set_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=!bs.debug.xp.set_total_points] ["", {"text": " set_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.debug.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to add the tag"}}] -tellraw @a[tag=bs.menu.debug.xp,scores={bs.menu.page = 0},tag=bs.debug.xp.set_total_points] ["", {"text": " set_total_points: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/tag @s remove bs.debug.xp.set_total_points"}, "hoverEvent": {"action": "show_text", "contents": "Click to remove the tag"}}] - -tellraw @a[tag=bs.menu.debug.xp] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.xp.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Debug / xp", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug.xp.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/dispatch.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/dispatch.mcfunction deleted file mode 100644 index e9dd9c721a..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/dispatch.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute if entity @a[tag=bs.menu] run function bs:menu/main -execute if entity @a[tag=bs.menu.debug] run function bs:menu/debug -execute if entity @a[tag=bs.menu.debug.biome] run function bs:menu/debug/biome -execute if entity @a[tag=bs.menu.debug.block] run function bs:menu/debug/block -execute if entity @a[tag=bs.menu.debug.cache] run function bs:menu/debug/cache -execute if entity @a[tag=bs.menu.debug.color] run function bs:menu/debug/color -execute if entity @a[tag=bs.menu.debug.health] run function bs:menu/debug/health -execute if entity @a[tag=bs.menu.debug.id] run function bs:menu/debug/id -execute if entity @a[tag=bs.menu.debug.id.cuid] run function bs:menu/debug/id/cuid -execute if entity @a[tag=bs.menu.debug.item] run function bs:menu/debug/item -execute if entity @a[tag=bs.menu.debug.link] run function bs:menu/debug/link -execute if entity @a[tag=bs.menu.debug.location] run function bs:menu/debug/location -execute if entity @a[tag=bs.menu.debug.mapedit] run function bs:menu/debug/mapedit -execute if entity @a[tag=bs.menu.debug.mapedit.brush] run function bs:menu/debug/mapedit/brush -execute if entity @a[tag=bs.menu.debug.math] run function bs:menu/debug/math -execute if entity @a[tag=bs.menu.debug.math.algebra] run function bs:menu/debug/math/algebra -execute if entity @a[tag=bs.menu.debug.math.bitwise] run function bs:menu/debug/math/bitwise -execute if entity @a[tag=bs.menu.debug.math.common] run function bs:menu/debug/math/common -execute if entity @a[tag=bs.menu.debug.math.special] run function bs:menu/debug/math/special -execute if entity @a[tag=bs.menu.debug.math.trig] run function bs:menu/debug/math/trig -execute if entity @a[tag=bs.menu.debug.memory] run function bs:menu/debug/memory -execute if entity @a[tag=bs.menu.debug.move] run function bs:menu/debug/move -execute if entity @a[tag=bs.menu.debug.move.by_motion] run function bs:menu/debug/move/by_motion -execute if entity @a[tag=bs.menu.debug.orientation] run function bs:menu/debug/orientation -execute if entity @a[tag=bs.menu.debug.schedule] run function bs:menu/debug/schedule -execute if entity @a[tag=bs.menu.debug.time] run function bs:menu/debug/time -execute if entity @a[tag=bs.menu.debug.tree] run function bs:menu/debug/tree -execute if entity @a[tag=bs.menu.debug.vector] run function bs:menu/debug/vector -execute if entity @a[tag=bs.menu.debug.vector.classic] run function bs:menu/debug/vector/classic -execute if entity @a[tag=bs.menu.debug.vector.local] run function bs:menu/debug/vector/local -execute if entity @a[tag=bs.menu.debug.view] run function bs:menu/debug/view -execute if entity @a[tag=bs.menu.debug.xp] run function bs:menu/debug/xp -execute if entity @a[tag=bs.menu.debug.example] run function bs:menu/debug/example -execute if entity @a[tag=bs.menu.debug.lgdir] run function bs:menu/debug/lgdir -execute if entity @a[tag=bs.menu.gamerules] run function bs:menu/gamerules diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules.mcfunction deleted file mode 100644 index b8de1ba64f..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules.mcfunction +++ /dev/null @@ -1,30 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: - -tellraw @s ["",{"text":"\n x","bold":true,"color":"dark_red","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Rules"},"hoverEvent":{"action":"show_text","value":"Exit Game Rules"}},{"text":" ","color":"gold"},{"text":"Game Rules","underlined":true,"color":"gold"},{"text":"\n "}] - - -execute if entity @s[tag=!bs.menu.Rules.Page_2] run function bs:menu/gamerule/rules_page_1 -execute if entity @s[tag=bs.menu.Rules.Page_2,tag=!bs.menu.Rules.Page_3] run function bs:menu/gamerule/rules_page_2 -execute if entity @s[tag=bs.menu.Rules.Page_3,tag=!bs.menu.Rules.Page_4] run function bs:menu/gamerule/rules_page_3 -execute if entity @s[tag=bs.menu.Rules.Page_4,tag=!bs.menu.Rules.Page_5] run function bs:menu/gamerule/rules_page_4 -execute if entity @s[tag=bs.menu.Rules.Page_5] run function gutils:menu/gamerule/rules_page_5 diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_1.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_1.mcfunction deleted file mode 100644 index 29067b86f6..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_1.mcfunction +++ /dev/null @@ -1,50 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: - -# Anounce Advancements -execute store result score menu.rules.announceAdvancement bs.data run gamerule announceAdvancements -execute if score menu.rules.announceAdvancement bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Announce Advancements: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule announceAdvancements false"},"hoverEvent":{"action":"show_text","value":"Disable Announce Advancements"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule announceAdvancements false"},"hoverEvent":{"action":"show_text","value":"Disable Announce Advancements"}}] -execute if score menu.rules.announceAdvancement bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Announce Advancements: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule announceAdvancements true"},"hoverEvent":{"action":"show_text","value":"Enable Announce Advancements"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule announceAdvancements true"},"hoverEvent":{"action":"show_text","value":"Enable Announce Advancements"}}] - -# Command Block Output -execute store result score menu.rules.commandBlockOutput bs.data run gamerule commandBlockOutput -execute if score menu.rules.commandBlockOutput bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Command Block Output: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule commandBlockOutput false"},"hoverEvent":{"action":"show_text","value":"Disable Command Block Output"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule commandBlockOutput false"},"hoverEvent":{"action":"show_text","value":"Disable Command Block Output"}}] -execute if score menu.rules.commandBlockOutput bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Command Block Output: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule commandBlockOutput true"},"hoverEvent":{"action":"show_text","value":"Enable Command Block Output"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule commandBlockOutput true"},"hoverEvent":{"action":"show_text","value":"Enable Command Block Output"}}] - -# Daylight Cycle -execute store result score menu.rules.daylightCycle bs.data run gamerule doDaylightCycle -execute if score menu.rules.daylightCycle bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Daylight Cycle: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doDaylightCycle false"},"hoverEvent":{"action":"show_text","value":"Disable Daylight Cycle"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doDaylightCycle false"},"hoverEvent":{"action":"show_text","value":"Disable Daylight Cycle"}}] -execute if score menu.rules.daylightCycle bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Daylight Cycle: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doDaylightCycle true"},"hoverEvent":{"action":"show_text","value":"Enable Daylight Cycle"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doDaylightCycle true"},"hoverEvent":{"action":"show_text","value":"Enable Daylight Cycle"}}] - -# Disable Elytra Movement Check -execute store result score menu.rules.elytraMovementCheck bs.data run gamerule disableElytraMovementCheck -execute if score menu.rules.elytraMovementCheck bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Elytra Movement Check: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule disableElytraMovementCheck false"},"hoverEvent":{"action":"show_text","value":"Enable Elytra Movement Check"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule disableElytraMovementCheck false"},"hoverEvent":{"action":"show_text","value":"Enable Elytra Movement Check"}}] -execute if score menu.rules.elytraMovementCheck bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Elytra Movement Check: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule disableElytraMovementCheck true"},"hoverEvent":{"action":"show_text","value":"Disable Elytra Movement Check"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule disableElytraMovementCheck true"},"hoverEvent":{"action":"show_text","value":"Disable Elytra Movement Check"}}] - -# Entity Drops -execute store result score menu.rules.entityDrops bs.data run gamerule doEntityDrops -execute if score menu.rules.entityDrops bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Entity Drops: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doEntityDrops false"},"hoverEvent":{"action":"show_text","value":"Disable Entity Drops"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doEntityDrops false"},"hoverEvent":{"action":"show_text","value":"Disable Entity Drops"}}] -execute if score menu.rules.entityDrops bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Entity Drops: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doEntityDrops true"},"hoverEvent":{"action":"show_text","value":"Enable Entity Drops"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doEntityDrops true"},"hoverEvent":{"action":"show_text","value":"Enable Entity Drops"}}] - - -# Pages -tellraw @s ["",{"text":"\n [<]","color":"gray"},{"text":" "},{"text":"1/5","color":"gray"},{"text":" "},{"text":"[>]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @p add bs.menu.Rules.Page_2"},"hoverEvent":{"action":"show_text","value":"Next page"}}] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_2.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_2.mcfunction deleted file mode 100644 index 6e2694f75f..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_2.mcfunction +++ /dev/null @@ -1,52 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: - - -# Fire Tick -execute store result score menu.rules.fireTick bs.data run gamerule doFireTick -execute if score menu.rules.fireTick bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Fire Tick: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doFireTick false"},"hoverEvent":{"action":"show_text","value":"Disable Fire Tick"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doFireTick false"},"hoverEvent":{"action":"show_text","value":"Disable Fire Tick"}}] -execute if score menu.rules.fireTick bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Fire Tick: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doFireTick true"},"hoverEvent":{"action":"show_text","value":"Enable Fire Tick"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doFireTick true"},"hoverEvent":{"action":"show_text","value":"Enable Fire Tick"}}] - -# Keep Inventory -execute store result score menu.rules.keepInventory bs.data run gamerule keepInventory -execute if score menu.rules.keepInventory bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Keep Inventory: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule keepInventory false"},"hoverEvent":{"action":"show_text","value":"Disable Keep Inventory"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule keepInventory false"},"hoverEvent":{"action":"show_text","value":"Disable Keep Inventory"}}] -execute if score menu.rules.keepInventory bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Keep Inventory: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule keepInventory true"},"hoverEvent":{"action":"show_text","value":"Enable Keep Inventory"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule keepInventory true"},"hoverEvent":{"action":"show_text","value":"Enable Keep Inventory"}}] - -# Limited Crafting -execute store result score menu.rules.limitedCrafting bs.data run gamerule doLimitedCrafting -execute if score menu.rules.limitedCrafting bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Limited Crafting: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doLimitedCrafting false"},"hoverEvent":{"action":"show_text","value":"Disable Limited Crafting"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doLimitedCrafting false"},"hoverEvent":{"action":"show_text","value":"Disable Limited Crafting"}}] -execute if score menu.rules.limitedCrafting bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Limited Crafting: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doLimitedCrafting true"},"hoverEvent":{"action":"show_text","value":"Enable Limited Crafting"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doLimitedCrafting true"},"hoverEvent":{"action":"show_text","value":"Enable Limited Crafting"}}] - -# Log Admin Commands -execute store result score menu.rules.logs bs.data run gamerule logAdminCommands -execute if score menu.rules.logs bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Log Admin Commands: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule logAdminCommands false"},"hoverEvent":{"action":"show_text","value":"Disable Log Admin Commands"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule logAdminCommands false"},"hoverEvent":{"action":"show_text","value":"Disable Log Admin Commands"}}] -execute if score menu.rules.logs bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Log Admin Commands: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule logAdminCommands true"},"hoverEvent":{"action":"show_text","value":"Enable Log Admin Commands"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule logAdminCommands true"},"hoverEvent":{"action":"show_text","value":"Enable Log Admin Commands"}}] - -# NaturalRegeneration -execute store result score menu.rules.naturalRegen bs.data run gamerule naturalRegeneration -execute if score menu.rules.naturalRegen bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Natural Regeneration: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule naturalRegeneration false"},"hoverEvent":{"action":"show_text","value":"Disable Natural Regeneration"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule naturalRegeneration false"},"hoverEvent":{"action":"show_text","value":"Disable Natural Regeneration"}}] -execute if score menu.rules.naturalRegen bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Natural Regeneration: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule naturalRegeneration true"},"hoverEvent":{"action":"show_text","value":"Enable Natural Regeneration"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule naturalRegeneration true"},"hoverEvent":{"action":"show_text","value":"Enable Natural Regeneration"}}] - - - -# Pages -tellraw @s ["",{"text":"\n [<]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Rules.Page_2"},"hoverEvent":{"action":"show_text","value":"Previous page"}},{"text":" "},{"text":"2/5","color":"gray"},{"text":" "},{"text":"[>]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @p add bs.menu.Rules.Page_3"},"hoverEvent":{"action":"show_text","value":"Next page"}}] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_3.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_3.mcfunction deleted file mode 100644 index 16eb039120..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_3.mcfunction +++ /dev/null @@ -1,50 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: - - -# Max Command Chain Length -execute store result score menu.rules.maxCommandChain bs.data run gamerule maxCommandChainLength -tellraw @s ["",{"text":" - Max Command Chain Length: ","color":"gray","clickEvent":{"action":"suggest_command","value":"/gamerule maxCommandChainLength "},"hoverEvent":{"action":"show_text","value":"Modify Max Command Chain Length (Default: 65536)"}},{"score":{"name":"menu.rules.maxCommandChain","objective":"bs.ata"},"color":"blue","clickEvent":{"action":"suggest_command","value":"/gamerule maxCommandChainLength "},"hoverEvent":{"action":"show_text","value":"Modify Max Command Chain Length (Default: 65536)"}}] - -# Max Entity Cramming -execute store result score menu.rules.maxEntityCramming bs.data run gamerule maxEntityCramming -tellraw @s ["",{"text":" - Max Entity Cramming: ","color":"gray","clickEvent":{"action":"suggest_command","value":"/gamerule maxEntityCramming "},"hoverEvent":{"action":"show_text","value":"Modify Max Entity Cramming (Default: 24)"}},{"score":{"name":"menu.rules.maxEntityCramming","objective":"bs.ata"},"color":"blue","clickEvent":{"action":"suggest_command","value":"/gamerule maxEntityCramming "},"hoverEvent":{"action":"show_text","value":"Modify Max Entity Cramming (Default: 24)"}}] - -# MobGriefing -execute store result score menu.rules.mobGriefing bs.data run gamerule mobGriefing -execute if score menu.rules.mobGriefing bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Mob Griefing: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule mobGriefing false"},"hoverEvent":{"action":"show_text","value":"Disable Mob Griefing"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule mobGriefing false"},"hoverEvent":{"action":"show_text","value":"Disable Mob Griefing"}}] -execute if score menu.rules.mobGriefing bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Mob Griefing: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule mobGriefing true"},"hoverEvent":{"action":"show_text","value":"Enable Mob Griefing"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule mobGriefing true"},"hoverEvent":{"action":"show_text","value":"Enable Mob Griefing"}}] - -# MobLoot -execute store result score menu.rules.mobLoot bs.data run gamerule doMobLoot -execute if score menu.rules.mobLoot bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Mob Loot: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doMobLoot false"},"hoverEvent":{"action":"show_text","value":"Disable Mob Loot"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doMobLoot false"},"hoverEvent":{"action":"show_text","value":"Disable Mob Loot"}}] -execute if score menu.rules.mobLoot bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Mob Loot: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doMobLoot true"},"hoverEvent":{"action":"show_text","value":"Enable Mob Loot"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doMobLoot true"},"hoverEvent":{"action":"show_text","value":"Enable Mob Loot"}}] - -# MobSpawning -execute store result score menu.rules.mobSpawning bs.data run gamerule doMobSpawning -execute if score menu.rules.mobSpawning bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Mob Spawning: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doMobSpawning false"},"hoverEvent":{"action":"show_text","value":"Disable Mob Spawning"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doMobSpawning false"},"hoverEvent":{"action":"show_text","value":"Disable Mob Spawning"}}] -execute if score menu.rules.mobSpawning bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Mob Spawning: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doMobSpawning true"},"hoverEvent":{"action":"show_text","value":"Enable Mob Spawning"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doMobSpawning true"},"hoverEvent":{"action":"show_text","value":"Enable Mob Spawning"}}] - - - -# Pages -tellraw @s ["",{"text":"\n [<]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Rules.Page_3"},"hoverEvent":{"action":"show_text","value":"Previous page"}},{"text":" "},{"text":"3/5","color":"gray"},{"text":" "},{"text":"[>]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @p add bs.menu.Rules.Page_4"},"hoverEvent":{"action":"show_text","value":"Next page"}}] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_4.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_4.mcfunction deleted file mode 100644 index 76009d13ca..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_4.mcfunction +++ /dev/null @@ -1,49 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: - - -# Random Tick Speed -execute store result score menu.rules.tickSpeed bs.data run gamerule randomTickSpeed -tellraw @s ["",{"text":" - Random Tick Speed: ","color":"gray","clickEvent":{"action":"suggest_command","value":"/gamerule randomTickSpeed "},"hoverEvent":{"action":"show_text","value":"Modify Random Tick Speed (Default: 3)"}},{"score":{"name":"menu.rules.tickSpeed","objective":"bs.ata"},"color":"blue","clickEvent":{"action":"suggest_command","value":"/gamerule randomTickSpeed "},"hoverEvent":{"action":"show_text","value":"Modify Random Tick Speed (Default: 3)"}}] - -# Reduced Debug Info -execute store result score menu.rules.reduceDebug bs.data run gamerule reducedDebugInfo -execute if score menu.rules.reduceDebug bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Reduced Debug Info: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule reducedDebugInfo false"},"hoverEvent":{"action":"show_text","value":"Disable Reduced Debug Info"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule reducedDebugInfo false"},"hoverEvent":{"action":"show_text","value":"Disable Reduced Debug Info"}}] -execute if score menu.rules.reduceDebug bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Reduced Debug Info: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule reducedDebugInfo true"},"hoverEvent":{"action":"show_text","value":"Enable Reduced Debug Info"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule reducedDebugInfo true"},"hoverEvent":{"action":"show_text","value":"Enable Reduced Debug Info"}}] - -# Send Command Feedback -execute store result score menu.rules.sendFeedback bs.data run gamerule sendCommandFeedback -execute if score menu.rules.sendFeedback bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Send Command Feedback: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule sendCommandFeedback false"},"hoverEvent":{"action":"show_text","value":"Disable Send Command Feedback"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule sendCommandFeedback false"},"hoverEvent":{"action":"show_text","value":"Disable Send Command Feedback"}}] -execute if score menu.rules.sendFeedback bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Send Command Feedback: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule sendCommandFeedback true"},"hoverEvent":{"action":"show_text","value":"Enable Send Command Feedback"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule sendCommandFeedback true"},"hoverEvent":{"action":"show_text","value":"Enable Send Command Feedback"}}] - -# Show Death Messages -execute store result score menu.rules.deathMessage bs.data run gamerule showDeathMessages -execute if score menu.rules.deathMessage bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Show Death Messages: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule showDeathMessages false"},"hoverEvent":{"action":"show_text","value":"Hide Death Messages"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule showDeathMessages false"},"hoverEvent":{"action":"show_text","value":"Hide Death Messages"}}] -execute if score menu.rules.deathMessage bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Show Death Messages: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule showDeathMessages true"},"hoverEvent":{"action":"show_text","value":"Show Death Messages"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule showDeathMessages true"},"hoverEvent":{"action":"show_text","value":"Show Death Messages"}}] - -# Spawn Radius -execute store result score menu.rules.spawnRadius bs.data run gamerule spawnRadius -tellraw @s ["",{"text":" - Spawn Radius: ","color":"gray","clickEvent":{"action":"suggest_command","value":"/gamerule spawnRadius "},"hoverEvent":{"action":"show_text","value":"Modify Spawn Radius (Default: 10)"}},{"score":{"name":"menu.rules.spawnRadius","objective":"bs.ata"},"color":"blue","clickEvent":{"action":"suggest_command","value":"/gamerule spawnRadius "},"hoverEvent":{"action":"show_text","value":"Modify Spawn Radius (Default: 10)"}}] - - -# Pages -tellraw @s ["",{"text":"\n [<]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Rules.Page_4"},"hoverEvent":{"action":"show_text","value":"Previous page"}},{"text":" "},{"text":"4/5","color":"gray"},{"text":" "},{"text":"[>]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @p add bs.menu.Rules.Page_5"},"hoverEvent":{"action":"show_text","value":"Next page"}}] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_5.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_5.mcfunction deleted file mode 100644 index 99dbb9bc4b..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerule/rules_page_5.mcfunction +++ /dev/null @@ -1,47 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: - - -# Spectators Generate Chunks -execute store result score menu.rules.specGenChunk bs.data run gamerule spectatorsGenerateChunks -execute if score menu.rules.specGenChunk bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Spectators Generate Chunks: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule spectatorsGenerateChunks false"},"hoverEvent":{"action":"show_text","value":"Prevent Spectators to Generate Chunks"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule spectatorsGenerateChunks false"},"hoverEvent":{"action":"show_text","value":"Prevent Spectators to Generate Chunks"}}] -execute if score menu.rules.specGenChunk bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Spectators Generate Chunks: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule spectatorsGenerateChunks true"},"hoverEvent":{"action":"show_text","value":"Allow Spectators to Generate Chunks"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule spectatorsGenerateChunks true"},"hoverEvent":{"action":"show_text","value":"Allow Spectators to Generate Chunks"}}] - -# TileDrops -execute store result score menu.rules.tileDrops bs.data run gamerule doTileDrops -execute if score menu.rules.tileDrops bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Tile Drops: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doTileDrops false"},"hoverEvent":{"action":"show_text","value":"Disable Tile Drops"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doTileDrops false"},"hoverEvent":{"action":"show_text","value":"Disable Tile Drops"}}] -execute if score menu.rules.tileDrops bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Tile Drops: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doTileDrops true"},"hoverEvent":{"action":"show_text","value":"Enable Tile Drops"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doTileDrops true"},"hoverEvent":{"action":"show_text","value":"Enable Tile Drops"}}] - -# Weather Cycle -execute store result score menu.rules.weatherCycle bs.data run gamerule doWeatherCycle -execute if score menu.rules.weatherCycle bs.data matches 1 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Weather Cycle: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doWeatherCycle false"},"hoverEvent":{"action":"show_text","value":"Disable Weather Cycle"}},{"text":"βœ”","color":"green","clickEvent":{"action":"run_command","value":"/gamerule doWeatherCycle false"},"hoverEvent":{"action":"show_text","value":"Disable Weather Cycle"}}] -execute if score menu.rules.weatherCycle bs.data matches 0 run tellraw @s ["",{"text":" ","color":"gray"},{"text":"- Weather Cycle: ","color":"gray","clickEvent":{"action":"run_command","value":"/gamerule doWeatherCycle true"},"hoverEvent":{"action":"show_text","value":"Enable Weather Cycle"}},{"text":"x","color":"red","clickEvent":{"action":"run_command","value":"/gamerule doWeatherCycle true"},"hoverEvent":{"action":"show_text","value":"Enable Weather Cycle"}}] - - -# WorldBorder -execute store result score menu.rules.worldBorder bs.data run worldborder get -tellraw @s ["",{"text":" - World Border: ","color":"gray","clickEvent":{"action":"suggest_command","value":"/worldborder set "},"hoverEvent":{"action":"show_text","value":"Modify World Border (Default: 60000000)"}},{"score":{"name":"menu.rules.worldBorder","objective":"bs.ata"},"color":"blue","clickEvent":{"action":"suggest_command","value":"/worldborder set "},"hoverEvent":{"action":"show_text","value":"Modify World Border (Default: 60000000)"}}] - -tellraw @s ["",{"text":" "}] - -# Pages -tellraw @s ["",{"text":"\n [<]","color":"gold","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Rules.Page_5"},"hoverEvent":{"action":"show_text","value":"Previous page"}},{"text":" "},{"text":"5/5","color":"gray"},{"text":" "},{"text":"[>]","color":"gray"}] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/gamerules.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/gamerules.mcfunction deleted file mode 100644 index d7b5c62ff5..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/gamerules.mcfunction +++ /dev/null @@ -1,143 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu.gamerules,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.gamerules] add bs.menu.active -scoreboard players add @a[tag=bs.menu.gamerules] bs.menu.page 0 -execute as @a[tag=bs.menu.gamerules,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.gamerules,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu.gamerules,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu.gamerules,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu.gamerules] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 2 -execute as @a[tag=bs.menu.gamerules] if score @s bs.menu.page matches 3.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu.gamerules] remove bs.menu.nextPage -tag @a[tag=bs.menu.gamerules] remove bs.menu.previousPage -execute as @a[tag=bs.menu.gamerules,tag=bs.menu] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.gamerules] remove bs.menu -tag @a[tag=bs.menu.gamerules.close] add bs.menu -execute as @a[tag=bs.menu.gamerules.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.gamerules.close] remove bs.menu.gamerules -tag @a[tag=bs.menu.gamerules.close] remove bs.menu.gamerules.close - -tellraw @a[tag=bs.menu.gamerules] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -execute store result score #gamerule bs run gamerule announceAdvancements -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " announceAdvancements: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule announceAdvancements true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule announceAdvancements true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " announceAdvancements: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule announceAdvancements false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule announceAdvancements false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule commandBlockOutput -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " commandBlockOutput: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule commandBlockOutput true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule commandBlockOutput true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " commandBlockOutput: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule commandBlockOutput false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule commandBlockOutput false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule disableElytraMovementCheck -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " disableElytraMovementCheck: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule disableElytraMovementCheck true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule disableElytraMovementCheck true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " disableElytraMovementCheck: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule disableElytraMovementCheck false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule disableElytraMovementCheck false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule disableRaids -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " disableRaids: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule disableRaids true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule disableRaids true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " disableRaids: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule disableRaids false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule disableRaids false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doDaylightCycle -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doDaylightCycle: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doDaylightCycle true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doDaylightCycle true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doDaylightCycle: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doDaylightCycle false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doDaylightCycle false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doEntityDrops -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doEntityDrops: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doEntityDrops true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doEntityDrops true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doEntityDrops: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doEntityDrops false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doEntityDrops false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doFireTick -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doFireTick: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doFireTick true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doFireTick true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doFireTick: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doFireTick false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doFireTick false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doImmediateRespawn -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doImmediateRespawn: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doImmediateRespawn true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doImmediateRespawn true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doImmediateRespawn: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doImmediateRespawn false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doImmediateRespawn false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doInsomnia -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doInsomnia: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doInsomnia true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doInsomnia true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doInsomnia: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doInsomnia false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doInsomnia false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doLimitedCrafting -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doLimitedCrafting: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doLimitedCrafting true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doLimitedCrafting true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doLimitedCrafting: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doLimitedCrafting false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doLimitedCrafting false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doMobLoot -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doMobLoot: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doMobLoot true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doMobLoot true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doMobLoot: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doMobLoot false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doMobLoot false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doMobSpawning -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doMobSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doMobSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doMobSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doMobSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doMobSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doMobSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doPatrolSpawning -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doPatrolSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doPatrolSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doPatrolSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doPatrolSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doPatrolSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doPatrolSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doTileDrops -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doTileDrops: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doTileDrops true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doTileDrops true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doTileDrops: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doTileDrops false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doTileDrops false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doTraderSpawning -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doTraderSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doTraderSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doTraderSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] ["", {"text": " doTraderSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doTraderSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doTraderSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] - -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 0}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 1 / 3 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -# Page 2 - -execute store result score #gamerule bs run gamerule doWardenSpawning -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " doWardenSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doWardenSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doWardenSpawning true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " doWardenSpawning: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doWardenSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doWardenSpawning false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule doWeatherCycle -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " doWeatherCycle: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doWeatherCycle true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule doWeatherCycle true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " doWeatherCycle: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule doWeatherCycle false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule doWeatherCycle false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule drowningDamage -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " drowningDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule drowningDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule drowningDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " drowningDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule drowningDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule drowningDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule fallDamage -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " fallDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule fallDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule fallDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " fallDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule fallDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule fallDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule fireDamage -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " fireDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule fireDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule fireDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " fireDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule fireDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule fireDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule forgiveDeadPlayers -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " forgiveDeadPlayers: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule forgiveDeadPlayers true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule forgiveDeadPlayers true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " forgiveDeadPlayers: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule forgiveDeadPlayers false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule forgiveDeadPlayers false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule freezeDamage -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " freezeDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule freezeDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule freezeDamage true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " freezeDamage: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule freezeDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule freezeDamage false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule keepInventory -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " keepInventory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule keepInventory true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule keepInventory true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " keepInventory: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule keepInventory false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule keepInventory false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule logAdminCommands -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " logAdminCommands: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule logAdminCommands true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule logAdminCommands true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " logAdminCommands: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule logAdminCommands false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule logAdminCommands false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule maxCommandChainLength -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " maxCommandChainLength: ", "color": "gray", "clickEvent": {"action": "suggest_command", "value": "/gamerule maxCommandChainLength"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}, {"score": {"name": "#gamerule", "objective": "bs"}, "color": "yellow", "clickEvent": {"action": "suggest_command", "value": "/gamerule maxCommandChainLength"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}] -execute store result score #gamerule bs run gamerule maxEntityCramming -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " maxEntityCramming: ", "color": "gray", "clickEvent": {"action": "suggest_command", "value": "/gamerule maxEntityCramming"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}, {"score": {"name": "#gamerule", "objective": "bs"}, "color": "yellow", "clickEvent": {"action": "suggest_command", "value": "/gamerule maxEntityCramming"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}] -execute store result score #gamerule bs run gamerule mobGriefing -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " mobGriefing: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule mobGriefing true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule mobGriefing true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " mobGriefing: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule mobGriefing false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule mobGriefing false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule naturalRegeneration -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " naturalRegeneration: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule naturalRegeneration true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule naturalRegeneration true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " naturalRegeneration: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule naturalRegeneration false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule naturalRegeneration false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule playersSleepingPercentage -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " playersSleepingPercentage: ", "color": "gray", "clickEvent": {"action": "suggest_command", "value": "/gamerule playersSleepingPercentage"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}, {"score": {"name": "#gamerule", "objective": "bs"}, "color": "yellow", "clickEvent": {"action": "suggest_command", "value": "/gamerule playersSleepingPercentage"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}] -execute store result score #gamerule bs run gamerule randomTickSpeed -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] ["", {"text": " randomTickSpeed: ", "color": "gray", "clickEvent": {"action": "suggest_command", "value": "/gamerule randomTickSpeed"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}, {"score": {"name": "#gamerule", "objective": "bs"}, "color": "yellow", "clickEvent": {"action": "suggest_command", "value": "/gamerule randomTickSpeed"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}] - -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 1}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 2 / 3 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -# Page 3 - -execute store result score #gamerule bs run gamerule reducedDebugInfo -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " reducedDebugInfo: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule reducedDebugInfo true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule reducedDebugInfo true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " reducedDebugInfo: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule reducedDebugInfo false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule reducedDebugInfo false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule sendCommandFeedback -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " sendCommandFeedback: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule sendCommandFeedback true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule sendCommandFeedback true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " sendCommandFeedback: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule sendCommandFeedback false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule sendCommandFeedback false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule showDeathMessages -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " showDeathMessages: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule showDeathMessages true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule showDeathMessages true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " showDeathMessages: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule showDeathMessages false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule showDeathMessages false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule spawnRadius -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " spawnRadius: ", "color": "gray", "clickEvent": {"action": "suggest_command", "value": "/gamerule spawnRadius"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}, {"score": {"name": "#gamerule", "objective": "bs"}, "color": "yellow", "clickEvent": {"action": "suggest_command", "value": "/gamerule spawnRadius"}, "hoverEvent": {"action": "show_text", "contents": "Click to change the gamerule value"}}] -execute store result score #gamerule bs run gamerule spectatorsGenerateChunks -execute if score #gamerule bs matches 0 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " spectatorsGenerateChunks: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule spectatorsGenerateChunks true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}, {"text": "βœ—", "color": "red", "clickEvent": {"action": "run_command", "value": "/gamerule spectatorsGenerateChunks true"}, "hoverEvent": {"action": "show_text", "contents": "Click to enable the gamerule"}}] -execute if score #gamerule bs matches 1 run tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] ["", {"text": " spectatorsGenerateChunks: ", "color": "gray", "clickEvent": {"action": "run_command", "value": "/gamerule spectatorsGenerateChunks false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}, {"text": "βœ”", "color": "green", "clickEvent": {"action": "run_command", "value": "/gamerule spectatorsGenerateChunks false"}, "hoverEvent": {"action": "show_text", "contents": "Click to disable the gamerule"}}] -execute store result score #gamerule bs run gamerule universalAnger - -tellraw @a[tag=bs.menu.gamerules,scores={bs.menu.page = 2}] [{"text": "\n Page ", "color": "dark_aqua"}, {"text": "[<]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.previousPage"}, "hoverEvent": {"action": "show_text", "contents": "Previous page"}}, {"text": " 3 / 3 ", "color": "dark_aqua"}, {"text": "[>]", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.nextPage"}, "hoverEvent": {"action": "show_text", "contents": "Next page"}}] - - -tellraw @a[tag=bs.menu.gamerules] [{"text": "\n"}, {"text": " < ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.gamerules.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}, {"text": "Bookshelf Menu / Gamerules", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.gamerules.close"}, "hoverEvent": {"action": "show_text", "contents": "Go back"}}] \ No newline at end of file diff --git a/datapacks/Bookshelf/data/bs/functions/menu/informations.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/informations.mcfunction deleted file mode 100644 index 0356052015..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/informations.mcfunction +++ /dev/null @@ -1,27 +0,0 @@ -# NAME: Menu G-Lib -# PATH: bs:menu - -# AUTHOR: LeiRoF - -# VERSION: 1.0 -# MINECRAFT: 1.13 - -# REQUIEREMENTS: - -# INPUT: - -# OUTPUT: - - -# NOTE: - -# CONFIGURATION: - - -# CODE: -tellraw @s ["",{"text":"\n x","bold":true,"color":"dark_red","clickEvent":{"action":"run_command","value":"/tag @s remove bs.menu.Informations"},"hoverEvent":{"action":"show_text","value":"Exit informations"}},{"text":" ","color":"gold"},{"text":"Informations","underlined":true,"color":"gold"},{"text":"\n "}] - -tellraw @s ["",{"text":" "},{"text":"> Documentation","color":"green","clickEvent":{"action":"open_url","value":"https://bs-core.readthedocs.io//documentation-en"},"hoverEvent":{"action":"show_text","value":"Read our documentation"}}] -tellraw @s ["",{"text":"\n "},{"text":"> Official Website","color":"gold","clickEvent":{"action":"open_url","value":"https://gunivers.net/gunivers-lib/"},"hoverEvent":{"action":"show_text","value":"Go to our website (in french)"}}] -tellraw @s ["",{"text":"\n "},{"text":"> Our Discord","color":"blue","clickEvent":{"action":"open_url","value":"https://discord.gg/E8qq6tN"},"hoverEvent":{"action":"show_text","value":"Join our Discord server !"}}] -tellraw @s ["",{"text":"\n "},{"text":"> Help us","color":"red","clickEvent":{"action":"open_url","value":"https://utip.io/gunivers/"},"hoverEvent":{"action":"show_text","value":"You can help us by become a patron !"}}] diff --git a/datapacks/Bookshelf/data/bs/functions/menu/main.mcfunction b/datapacks/Bookshelf/data/bs/functions/menu/main.mcfunction deleted file mode 100644 index 32a8cbb4cf..0000000000 --- a/datapacks/Bookshelf/data/bs/functions/menu/main.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -# This function was automatically generated. - -execute as @a[tag=bs.menu,tag=!bs.menu.active] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu] add bs.menu.active -scoreboard players add @a[tag=bs.menu] bs.menu.page 0 -execute as @a[tag=bs.menu,tag=bs.menu.nextPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu,tag=bs.menu.previousPage] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -execute as @a[tag=bs.menu,tag=bs.menu.nextPage] run scoreboard players add @s bs.menu.page 1 -execute as @a[tag=bs.menu,tag=bs.menu.previousPage] run scoreboard players remove @s bs.menu.page 1 -execute as @a[tag=bs.menu] if score @s bs.menu.page matches ..-1 run scoreboard players set @s bs.menu.page 0 -execute as @a[tag=bs.menu] if score @s bs.menu.page matches 1.. run scoreboard players set @s bs.menu.page 0 -tag @a[tag=bs.menu] remove bs.menu.nextPage -tag @a[tag=bs.menu] remove bs.menu.previousPage -tag @a[tag=bs.menu.close] remove bs.menu.active -tellraw @a[tag=bs.menu.close] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}, {"text": " Thank you for using Bookshelf!\n", "color": "dark_aqua", "bold": true}, {"text": " Share us your creations on twitter! ", "color": "gray"}, {"text": "@Gunivers_\n", "color": "gold", "clickEvent": {"action": "open_url", "value": "https://twitter.com/Gunivers_"}, "hoverEvent": {"action": "show_text", "contents": "Visit our Twitter page"}}] -execute as @a[tag=bs.menu.close] run playsound minecraft:item.book.page_turn master @s ~ ~ ~ 2 1 1 -tag @a[tag=bs.menu.close] remove bs.menu -tag @a[tag=bs.menu.close] remove bs.menu.close - -tellraw @a[tag=bs.menu] [{"text": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}] - - -# Page 1 - -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] {"text": " + Gamerules", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.gamerules"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " ", "color": "gray"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] {"text": " + Debug", "color": "gold", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.debug"}, "hoverEvent": {"action": "show_text", "contents": "Click to open the sub-menu"}} -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " ", "color": "gray"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " "}, {"text": "Documentation", "color": "blue", "clickEvent": {"action": "open_url", "value": "https://mc-bookshelf.rtfd.io"}, "hoverEvent": {"action": "show_text", "contents": "Click to follow the link"}}, {"text": " βž₯", "color": "blue"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " ", "color": "gray"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " "}, {"text": "Official website", "color": "blue", "clickEvent": {"action": "open_url", "value": "https://bs.gunivers.net"}, "hoverEvent": {"action": "show_text", "contents": "Click to follow the link"}}, {"text": " βž₯", "color": "blue"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " ", "color": "gray"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " "}, {"text": "Our Discord", "color": "blue", "clickEvent": {"action": "open_url", "value": "https://discord.gg/E8qq6tN"}, "hoverEvent": {"action": "show_text", "contents": "Click to follow the link"}}, {"text": " βž₯", "color": "blue"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " ", "color": "gray"}] -tellraw @a[tag=bs.menu,scores={bs.menu.page = 0}] [{"text": " "}, {"text": "Support us", "color": "blue", "clickEvent": {"action": "open_url", "value": "https://discord.gg/E8qq6tN"}, "hoverEvent": {"action": "show_text", "contents": "Click to follow the link"}}, {"text": " βž₯", "color": "blue"}] - -tellraw @a[tag=bs.menu] [{"text": "\n"}, {"text": " x ", "color": "red", "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.close"}, "hoverEvent": {"action": "show_text", "contents": "Exit menu"}}, {"text": "Bookshelf Menu", "color": "dark_aqua", "underlined": true, "bold": true, "clickEvent": {"action": "run_command", "value": "/tag @s add bs.menu.close"}, "hoverEvent": {"action": "show_text", "contents": "Exit menu"}}] \ No newline at end of file diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c79a965b21..090ea0798a 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,50 +1,37 @@ +--- +html_theme.sidebar_primary.remove: true +--- + # πŸ› οΈ Changelog -## (WIP) 1.19 - 2.0 - Bookshelf +## Bookshelf - 2.0.0 ```{admonition} Breaking changes :class: warning -This version contain breaking changes. In the following changelog, they are identified by the πŸ’₯ emoji. +This new version is filled with breaking changes. Since maintaining a list of those became unrealistic, the following changelog only highlights a selection of tweaks and new functionalities. ``` -### βž• Addition - -- There is now a changelog! πŸŽ‰ -- Added `bs.vector:get_by_motion` function -- Added a scale 3 variation to the `bs.math:exp` function -- (WIP) Added unit tests to ensure that the library is working as expected before each release. -- It is now possible to control every aspect off the collision process in `bs.move:by_vector` -- Added fractionned distribution to allow users to download modules as independant datapack - Thanks to ascpial in https://github.com/Gunivers/Bookshelf/pull/55 -- `bs.vector:normalize` and `bs.vector:fast_normalize` now have a `bs.opt.0` option to specify the output precision and return the normalization factor on `bs.out.0`. -- Added a new log module as `bs.log:_` (https://github.com/Gunivers/Bookshelf/pull/76) +### πŸŽ‰ Addition +- There is now a changelog! +- Added player health manipulation. +- Added precise collisions (move, raycast and view). +- Added float manipulation (frexp and ldexp). +- Added a new hitbox module. +- Added a new raycast module. +- Added a new sidebar module. ### πŸ” Tweaks - -- πŸ’₯ All vectors scores where rename such as `bs.vector.x` become `bs.vector.x` to be fully consistent with the rest of the lib. This is a breaking change, but it should be easy to fix in your projects with a simple "search & replace" action. -- πŸ’₯ Classical and local vector submodules was merge. `bs.vector[Left,Up,Front]` was replaced by `bs.vector.[x,y,z]` -- πŸ’₯ The project got a fresh new identity: Bookshelf. It imply that all the namespace, score, entities tag and other names containing the "glib" prefix was changed to "bs". This is a breaking change, but it should be easy to fix in your projects with a simple "search & replace" action. -- (WIP) Improved documentation style (inspired from Numpy doc) -- πŸ’₯ `bs.math:log` now give output shifted by 3 digits (3,14159 -> 3141) instead of 4 to be more consistant with other mathematical functions. -- πŸ’₯ Merged LGdir and BiomeDetector systems in `bs.example` module -- πŸ’₯ Merged all `bs.math` submodules. All math function are now at the root of the `bs.math` namespace. -- πŸ’₯ Moved `bs.health:safe_kill` to `bs.core:entity/safe_kill` -- πŸ’₯ Moved `bs.core:default_entity` to `bs.core:entity/summon` -- πŸ’₯ Refactored `bs.biome` variable names to match the development standards: - - (score) `bs.temperature` $\rightarrow$ `bs.biome.temp` - - (tag) `bs.canRain` $\rightarrow$ `bs.biome.CanRain` - - (tag) `bs.canSnow` $\rightarrow$ `bs.biome.CanSnow` -- πŸ’₯ `bs.location:get_relative` and `bs.location:add` now use `bs.loc.[rx,ry,rz]` scores -- πŸ’₯ "accuracy" folders was renamed to "scale" and files inside was renamed "10-X" to "X" -- πŸ’₯ Constant names were renamed to apply snake case convention +- The project has a new fresh identity: Bookshelf. +- Every module has been reworked for improved accuracy, performance, and/or simplicity. +- Renamed almost everything (scores, objectives, functions, ...). +- Many functions now utilize macros, storage, or fake scores instead of objectives. +- Removed the core module. The library no longer requires a base module. +- Removed outdated modules (cache, item, mapedit, and memory). +- Merged the location and orientation modules into a new position module. +- Bitwise operations have been moved out of the math module into a separate module. +- Enhanced the accuracy of the move and view modules due to their rework and the addition of the new hitbox module. +- The schedule module now maintains the current execution context. ### πŸ› Bug fixes - -- Orientation and location getters was not clearing the default entity, which sometimes cause bugs in systems that try to get the entity at the same location. -- πŸ’₯ The `bs.math:sin` function was actually cmputing -sin(x) instead of sin(x). -- Fixed `bs.math:common/log`, `bs.math:log10`, `bs.math:log2` and `bs.math:loga` functions -- Fixed `bs.math:arctan` function -- Fixed `bs.move:by_local_vector` function -- Fixed `bs.bitwise:two_complement` function -- Fixed `bs.location:spread` and `bs.location:spread/scale/3` - Thanks to A2va in https://github.com/Gunivers/Bookshelf/pull/41 -- Fixed `bs.view` modules +- Who knows at this point πŸ€·β€β™‚οΈ, almost no legacy code remains... diff --git a/docs/_static/bookshelf.js b/docs/_static/bookshelf.js index 8347c7b22e..8d237f5846 100644 --- a/docs/_static/bookshelf.js +++ b/docs/_static/bookshelf.js @@ -1,6 +1,6 @@ const getTheme = () => { const theme = document.documentElement.dataset.theme; - return theme !== "light" && theme !== "dark" ? theme : ( + return (theme === "light" || theme === "dark") ? theme : ( window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light' ) } diff --git a/docs/contribute/conservation-principle.md b/docs/contribute/conservation-principle.md index bad997119b..f9ea8691cc 100644 --- a/docs/contribute/conservation-principle.md +++ b/docs/contribute/conservation-principle.md @@ -24,10 +24,15 @@ This is a new directive, so most of the functions doesn't respect it for now. Pl Also for scores, by default, inputs and outputs are using `bs.in` and `bs.out`. But they can use others scores when it's more appropriate, especially when you want your data to represent the state of an entity: +```mcfunction +# Get the position of the source entity +function bs.position:get_pos {scale:1000} + +# Multiply the X coordinate by 2 +scoreboard players operation @s bs.pos.x *= 2 bs.const + +# Place the entity at the new position +function bs.position:set_pos {scale:.001} ``` -# Multiply the X coordinate of the source entity and place the entity at the new location -function bs.location:get -scoreboard players operation @s bs.loc.x *= 2 bs.const -function bs.location:set -``` -In this exemple, the `get` function will return `bs.loc.[x,y,z]` scores, that are also used as input for the `set` function. + +In this exemple, the `get` function will return `bs.pos.[x,y,z]` scores, that are also used as input for the `set` function. diff --git a/docs/contribute/index.md b/docs/contribute/index.md index 86cadb22eb..157f8711b8 100644 --- a/docs/contribute/index.md +++ b/docs/contribute/index.md @@ -4,7 +4,7 @@ html_theme.sidebar_secondary.remove: true # 🀝 Contribute -Bookshelf is a community project and can therefore be developed by several people at the same time. To keep the project clean and consistent, it is necessary for the different developers to respect some conventions when developing functions. In the following page, you can find all the Bookshelf standards. This standard is signed by the prefix "**`bs.`**" in the namespaces so you can identify all the datapacks that use it. +Bookshelf is a community project and can therefore be developed by several people at the same time. To keep the project clean and consistent, it is necessary for the different developers to respect some conventions when developing functions. In the following page, you can find all the Bookshelf standards. This standard is signed by the prefix `bs.` in the namespaces so you can identify all the datapacks that use it. To contribute on this project, you must diff --git a/docs/contribute/nomenclature.md b/docs/contribute/nomenclature.md index 144b32e0a1..9c9996deda 100644 --- a/docs/contribute/nomenclature.md +++ b/docs/contribute/nomenclature.md @@ -6,17 +6,16 @@ html_theme.sidebar_secondary.remove: true Bookshelf respects certain naming conventions in order to reduce the effort needed to read and understand code. -- Storage use the snake_case convention and is limited to the one defined in the shared data section. +- The storage use the snake_case convention and is limited to what is defined in the shared data section. Example: `bs:data .` -- Objectives use the snake_case convention with a `bs.` prefix. +- Objectives use the snake_case convention and must be prefixed with `bs.`. - Example: `bs..my_objective` -- Tags use the snake_case convention with an indication of the path to the module as prefix. + Example: `bs.my_objective` +- Tags use the snake_case convention and must be prefixed with an indication of the path to the module. Example: `bs..my_tag` -- Fake players use the snake_case convention with an indication of the path to the module as prefix. Each score should be prefixed by either `#` for temporary scores or `$` for important ones. Prefixing the score with `bs.` is not needed there. - - Exemple: `$.debug` or `#.any`. +- Fake players use the snake_case convention and must be prefixed with an indication of the path to the module without the `bs.`. Each score should also be prefixed by either `#` for temporary scores or `$` for important ones. + Example: `$.debug` or `#.any` - Functions use the snake_case convention. A few names are reserved for special functions at the root of each module: `__help__`, `__load__`, `__tick__`, and `__unload__`. diff --git a/docs/contribute/shared-data.md b/docs/contribute/shared-data.md index 36d0232765..b652f8b243 100644 --- a/docs/contribute/shared-data.md +++ b/docs/contribute/shared-data.md @@ -27,7 +27,7 @@ In order to reduce the footprint of the library here are some shared objectives | `bs:data` | Global data storage. Path format: `..` | | `bs:in` | Default storage for inputs. Path format: `..` | | `bs:out` | Default storage for outputs. Path format: `.` or `..` | -| `bs:ctx` | Fast contextual storage. Only path accepted are `x`, `y`, `z` for values (store) and `_` for set data (macro). | +| `bs:ctx` | Fast contextual storage. Only path accepted are `x`, `y`, `z` for numbers (store) and `_` for other data. | --- @@ -37,16 +37,16 @@ These commands can be used at load time to create global entities that can be us ```mcfunction # The most useful entity, used for position, arithmetic, and much more... -execute unless entity B5-0-0-0-1 run summon minecraft:marker 0.0 0.0 0.0 {UUID:[181,0,0,1],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Marker","color":"aqua"}]'} +execute unless entity B5-0-0-0-1 run summon minecraft:marker 0.0 0.0 0.0 {UUID:[181,0,0,1],Tags:["bs.entity","bs.persistent"]} # An entity that can be used to interpret text or compute transformations -execute unless entity B5-0-0-0-2 run summon minecraft:text_display 0.0 0.0 0.0 {view_range:0f,UUID:[181,0,0,2],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Text Display","color":"aqua"}]'} +execute unless entity B5-0-0-0-2 run summon minecraft:text_display 0.0 0.0 0.0 {UUID:[181,0,0,2],Tags:["bs.entity","bs.persistent"],view_range:0f} # An entity that can be used to manipulate loots or compute transformations -execute unless entity B5-0-0-0-3 run summon minecraft:item_display 0.0 0.0 0.0 {view_range:0f,UUID:[181,0,0,3],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Item Display","color":"aqua"}]'} +execute unless entity B5-0-0-0-3 run summon minecraft:item_display 0.0 0.0 0.0 {UUID:[181,0,0,3],Tags:["bs.entity","bs.persistent"],view_range:0f} # An entity used as an UUID pointer (modify Owner then execute on origin) -execute unless entity B5-0-0-0-4 run summon minecraft:snowball -30000000 0 1600 {UUID:[I;181,0,0,4],Tags:["bs.entity","bs.persistent"],CustomName:'[{"text":"BS ","color":"dark_gray"},{"text":"Entity Pointer","color":"aqua"}]',NoGravity:1b,Invulnerable:1b} +execute unless entity B5-0-0-0-4 run summon minecraft:snowball -30000000 0 1600 {UUID:[I;181,0,0,4],Tags:["bs.entity","bs.persistent"],NoGravity:1b,Invulnerable:1b} ``` diff --git a/docs/faq.md b/docs/faq.md index c203474c74..73cfce1dc3 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -1,48 +1,45 @@ -# πŸ“‹ FAQ - -## Can I use the lib in my map/server project? - -Of course! The lib is made for you to use it in your projects! - -A mention of Bookshelf and/or Gunivers in a message of thanks is always welcome. Contribute to make the open-source world a respectful place! πŸ€— +--- +html_theme.sidebar_primary.remove: true +--- -Also, don't hesitate to share us your creation in order to let us know how you use the lib (and let us give you some additional visibility to your project)! 😍 +# πŸ“‹ FAQ -## What about copyrights? +## Can I use Bookshelf in my project? -The lib is under a license that allows you to use and modify it for your personal use and distribute a map or a datapack that uses the lib without any problem as long as you don't make money on it. +Absolutely! Bookshelf is designed to be used in any project. A mention of Bookshelf and/or Gunivers in a message of thanks is always appreciated. Let's keep the open-source world a respectful place πŸ€—! Additionally, feel free to share your creations with us to let us know how you use the library (and allow us to provide additional visibility to your project). -## Is this lib compatible with other datapacks? +## Is it compatible with other datapacks? -Yes! The lib respond to constraints that allow it to be compatible with most of datapacks. All Bookshelf scores, tags namespace and others start with `bs.` and use fakeplayers when it's possible to avoid conflicts. +Yes! Bookshelf adheres to constraints that ensure compatibility with most datapacks. All Bookshelf scores, tags, and namespaces start with `bs.` and use fake players whenever possible to avoid conflicts. -## Is the lib heavy? +## Is it resource-heavy? -### CPU usage +### 🧠 CPU Usage -By principle, a lib is just a set of tools that you can call. If you don't, this set of tool will do nothing by it's own. It will not impact the CPU performances in any way if you don't use it. This impact will depend of the functions you will call and the frequency of these calls. The documentation contain warning and performance tips below functions that can be heavy. +As a library is simply a set of tools that you can call upon, it will not impact CPU performance unless actively used. The CPU impact depends on the functions you invoke and their frequency. The documentation provides warnings and performance tips for functions that may be resource-intensive. -### Memory usage +### πŸ’Ύ Memory Usage -In term of memory usage, Minecraft parse the entire datapack when the game load, so the number of files doesn't matter and instructions are very very very very light in memory so you can have a lot of them without seeing a big diffference in RAM usage. Moreover, the lib is fully modulare, allowing you to only takes modules that you will use. +Minecraft parses the entire datapack upon loading, so the number of files is inconsequential. Instructions are lightweight in memory, allowing for numerous functions without a significant increase in RAM usage. Furthermore, Bookshelf's modular nature enables you to select only the modules you require. -### Disk usage +### πŸ’½ Disk Usage -The lib is compressed in a zip file so it is only few Mb. Still to big for you? No problem, remember that the entire lib is modular, so you can select only the modules you will use. Also, you should download the lib from github releases or Bookshelf manager, not directly via the repository. In fact, there is an entire map, documentation and generators in the reporistory that you don't need to download if you just want to use the lib. Releases et Bookshelf manager are made to give you only usefull files. +Bookshelf is compressed into a zip file, making it only a few megabytes in size. If size remains a concern, you can selectively choose the modules you need. Additionally, it's recommended to download Bookshelf from GitHub releases, which provide only essential files, rather than directly from the repository. ## Are the functions optimized? -The lib is mainly focused on accessibility and multi-purpose usage. There is then a lot of things that are considered which can sometimes lead to choices that are not the most optimized in a given contexte, but that better fit the lib objectives. However, as long as there is no dilemma between accessibility and optimization, the lib will always try to be as optimized as possible. +Bookshelf prioritizes accessibility and versatility. While this may occasionally result in choices that are not the most optimized for a specific context, they align with the library's objectives. Nevertheless, optimization is continually considered, and suggestions and pull requests to enhance Bookshelf are welcomed. If you have ideas for improvement (optimization, accessibility, or otherwise), please share them with us! -Also, we are always open to suggestions and pull requests that can improve the lib. If you have an idea to improve the lib (optimization, accessibility or anything else), don't hesitate to share it with us! +## What about copyrights? +Bookshelf is licensed to allow you to use and modify it for personal use and distribute maps or datapacks that use Bookshelf without any issues, as long as you do not monetize them. ```{button-link} https://discord.gg/E8qq6tN :color: primary :shadow: :align: center -Another questions? Join us on Discord! +More questions? Join us on Discord! ``` --- diff --git a/docs/modules.md b/docs/modules.md index d74695d5a8..81141ad50b 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -30,7 +30,6 @@ modules/move modules/position modules/raycast modules/schedule -modules/selector modules/sidebar modules/time modules/tree @@ -44,5 +43,6 @@ modules/xp :hidden: :caption: Dev modules +modules/dump modules/log ``` diff --git a/docs/modules/dump.md b/docs/modules/dump.md new file mode 100644 index 0000000000..06e7f9a554 --- /dev/null +++ b/docs/modules/dump.md @@ -0,0 +1,60 @@ +# πŸ”¬ Dump + +**`#bs.dump:help`** + +The dump module provides mechanisms for extracting the state out of any "variables". + +--- + +## πŸ”§ Functions + +You can find below all functions available in this module. + +--- + +### Dump var + +```{function} #bs.dump:var + +Dump the content of given variables to the chat. + +:Inputs: + **Macro var `var` [any]**: Can be any structured data. The only requirement is that each value must be a valid data or score path: + + :::{list-table} + * - **data** + - ` ` + * - **score** + - ` ` + ::: +``` + +*View position scores as an array:* +```mcfunction +function #bs.position:get_pos {scale:1} +function #bs.dump:var {var: ["@s bs.pos.x", "@s bs.pos.y", "@s bs.pos.z"]} +``` + +*View an undefined score and the player recipe book (with a depth of 1):* +```mcfunction + +function #bs.dump:var {var: {_: "foo bar", recipes: "entity @s recipeBook 1"}} +``` + +*View the content of the Bookshelf const storage (value must be escaped at the top level only):* +```mcfunction + +function #bs.dump:var {var: '"storage bs:const"'} +``` + +> **Credits**: Aksiome + +--- + +
+ +**πŸ’¬ Did it help you?** + +Feel free to leave your questions and feedbacks below! + +
diff --git a/docs/modules/link.md b/docs/modules/link.md index 351d7225a8..d4a075ff4d 100644 --- a/docs/modules/link.md +++ b/docs/modules/link.md @@ -80,7 +80,7 @@ Replace the entity at its relative position and local rotation. This operation r ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:imitate_pos_and_rot @@ -106,7 +106,7 @@ Replace the entity at its relative position. This operation repeated in a loop s ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:imitate_pos @@ -132,7 +132,7 @@ Replace the entity at its local rotation. This operation repeated in a loop simu ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:imitate_rot @@ -158,7 +158,7 @@ Replace the entity at its relative position along an axis. This operation repeat ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:imitate_pos_x @@ -188,7 +188,7 @@ Replace the entity at its horizontal or vertical local rotation. This operation ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:imitate_rot_h @@ -222,7 +222,7 @@ Keep the local position relative to the parent entity. ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:keep_local_pos @@ -259,7 +259,7 @@ Mirror the position and rotation of an entity along a plane. ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:mirror_x_plane @@ -290,7 +290,7 @@ Mirror the position and rotation of an entity around a given point. ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] positioned 0 0 0 run function #bs.link:mirror_point_ata @@ -324,7 +324,7 @@ Determine the rotation and displacement made by the parent entity, and reproduce ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:reverse_pos_and_rot @@ -350,7 +350,7 @@ Determine the displacement made by the parent entity, and reproduce it in the op ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:reverse_pos @@ -376,7 +376,7 @@ Determine the rotation performed by the parent entity, and reproduce it in the o ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:reverse_rot @@ -402,7 +402,7 @@ Determine the displacement made by the parent entity along a single axis, and re ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:reverse_pos_x @@ -432,7 +432,7 @@ Determine the rotation performed by the parent entity along a rotation axis, and ```mcfunction # Once -execute as @e[type=armor_stand] at @s run function #bs.link:create_link_ata +execute as @e[type=armor_stand] run function #bs.link:create_link_ata # In a loop execute as @e[predicate=bs.link:has_link] run function #bs.link:reverse_rot_h diff --git a/docs/modules/log.md b/docs/modules/log.md index 6baeeabe0e..467f88e7a2 100644 --- a/docs/modules/log.md +++ b/docs/modules/log.md @@ -2,71 +2,7 @@ **`#bs.log:help`** -(first-steps)= -## πŸ‘Ά First steps - -Bookshelf provides functions to log messages in the chat. Different log levels are available for various types of logs: -1. **Debug**: Detailed debug information. -2. **Information**: Interesting / significant events. -3. **Warning**: Exceptional occurrences that are not errors. -4. **Error**: Runtime errors that should be monitored and fixed. - ---- - -### Manage log granularity - -A significant number of logs can quickly flood the chat. To prevent this, Bookshelf's log module can be configured to display specific logs based on two parameters: the **log level** and the **feature**. - -Users need to give themselves tags that follow a strict syntax: `bs.log..`, where the level can be `debug`, `info`, `warn`, or `error`. To avoid conflict, Bookshelf modules use a strict syntax for the feature: `.`. - -The `_` symbol acts as a wildcard, logging all features or all levels: -- `bs.log._.`: show all logs regardless of the feature. -- `bs.log.._`: show all logs regardless of the level. -- `bs.log._._`: show all logs. - -```{note} -Each level allows the visualization of subsequent levels. For example, if a user give themselves a tag ending with warn, they can visualize logs of warn and error levels. By default, logs are not displayed to any user. -``` - ---- - -### Customize log messages - -Log functions take three variables as input. The `path` of the current function that inform users of the log origin, the `feature` used in the tag and the `message`. - -```{warning} -The `message` string must be a valid JSON text component. Thus, to specify a plain string text as a message, the message needs to be escaped (`"\"message\""` or `'"message"'`). -``` - -*Log a simple warning message. We assume the log originates from the `bs.foo:bar` function:* -```mcfunction -function #bs.log:warn { path: "bs.foo:bar", feature: "foo.bar", message: '"A warning message"' } -``` -Will display the following message if the user has one of these tags: -- `bs.log.foo.bar.warn` -- `bs.log.foo.bar.info` -- `bs.log.foo.bar.debug` -- `bs.log._.warn` -- `bs.log._.info` -- `bs.log._.debug` -- `bs.log._._` -- `bs.log.foo.bar._` - -![](/_imgs/modules/log/example-1.png) - -*Log a complex info message. We assume the log originates from the `bs.foo:baz` function:* -```mcfunction -function #bs.log:info { path: "bs.foo:baz", feature: "foo.baz", message: '{"text":"Score: ","color":"light_purple"},{"score":{"name":"-1","objective":"bs.const"}},{"text":", "},{"text":"@p: ","color":"light_purple"},{"selector":"@p"},{"text":", "},{"text":"[hover me]","color":"light_purple","hoverEvent":{"action":"show_text","contents":"That tickles!"}}' } -``` - -Will display the following message if the user has one of these tags: -- `bs.log.foo.baz.info` -- `bs.log.foo.baz.debug` -- `bs.log._.info` -- `bs.log._.debug` -- `bs.log.foo.baz._` - -![](/_imgs/modules/log/example-2.png) +Log messages in the chat with varying levels of severity. --- @@ -76,13 +12,11 @@ You can find below all functions available in this module. --- -### Log messages - ::::{tab-set} :::{tab-item} Error ```{function} #bs.log:error -Log a message as an error. For more information on how it works see the [first steps](#first-steps) section. +Log a message as an error. For more information on how it works see the [usage](#usage) section. :Inputs: **Macro Var `path` [string]**: Origin path for the log (current Minecraft function). @@ -100,7 +34,7 @@ function #bs.log:info { path: "bs.foo:bar", feature: "foo.bar", message: '"Error :::{tab-item} Warning ```{function} #bs.log:warn -Log a message as a warning. For more information on how it works see the [first steps](#first-steps) section. +Log a message as a warning. For more information on how it works see the [usage](#usage) section. :Inputs: **Macro Var `path` [string]**: Origin path for the log (current Minecraft function). @@ -118,7 +52,7 @@ function #bs.log:info { path: "bs.foo:bar", feature: "foo.bar", message: '"Warni :::{tab-item} Information ```{function} #bs.log:info -Log a message as an information. For more information on how it works see the [first steps](#first-steps) section. +Log a message as an information. For more information on how it works see the [usage](#usage) section. :Inputs: **Macro Var `path` [string]**: Origin path for the log (current Minecraft function). @@ -136,7 +70,7 @@ function #bs.log:info { path: "bs.foo:bar", feature: "foo.bar", message: '"Info" :::{tab-item} Debug ```{function} #bs.log:debug -Log a message as a debug. For more information on how it works see the [first steps](#first-steps) section. +Log a message as a debug. For more information on how it works see the [usage](#usage) section. :Inputs: **Macro Var `path` [string]**: Origin path for the log (current Minecraft function). @@ -157,6 +91,74 @@ function #bs.log:debug { path: "bs.foo:bar", feature: "foo.bar", message: '"Debu --- +(usage)= +## πŸŽ“ How to use? + +Different log levels are available for various types of logs: +1. **Debug**: Detailed debug information. +2. **Information**: Interesting / significant events. +3. **Warning**: Exceptional occurrences that are not errors. +4. **Error**: Runtime errors that should be monitored and fixed. + +--- + +### Manage granularity + +A significant number of logs can quickly flood the chat. To prevent this, Bookshelf's log module can be configured to display specific logs based on two parameters: the **log level** and the **feature**. + +Users need to give themselves tags that follow a strict syntax: `bs.log..`, where the level can be `debug`, `info`, `warn`, or `error`. To avoid conflict, Bookshelf modules use a strict syntax for the feature: `.`. + +The `_` symbol acts as a wildcard, logging all features or all levels: +- `bs.log._.`: show all logs regardless of the feature. +- `bs.log.._`: show all logs regardless of the level. +- `bs.log._._`: show all logs. + +```{note} +Each level allows the visualization of subsequent levels. For example, if a user give themselves a tag ending with warn, they can visualize logs of warn and error levels. By default, logs are not displayed to any user. +``` + +--- + +### Customize messages + +Log functions take three variables as input. The `path` of the current function that inform users of the log origin, the `feature` used in the tag and the `message`. + +```{warning} +The `message` string must be a valid JSON text component. Thus, to specify a plain string text as a message, the message needs to be escaped (`"\"message\""` or `'"message"'`). +``` + +*Log a simple warning message. We assume the log originates from the `bs.foo:bar` function:* +```mcfunction +function #bs.log:warn { path: "bs.foo:bar", feature: "foo.bar", message: '"A warning message"' } +``` +Will display the following message if the user has one of these tags: +- `bs.log.foo.bar.warn` +- `bs.log.foo.bar.info` +- `bs.log.foo.bar.debug` +- `bs.log._.warn` +- `bs.log._.info` +- `bs.log._.debug` +- `bs.log._._` +- `bs.log.foo.bar._` + +![](/_imgs/modules/log/example-1.png) + +*Log a complex info message. We assume the log originates from the `bs.foo:baz` function:* +```mcfunction +function #bs.log:info { path: "bs.foo:baz", feature: "foo.baz", message: '{"text":"Score: ","color":"light_purple"},{"score":{"name":"-1","objective":"bs.const"}},{"text":", "},{"text":"@p: ","color":"light_purple"},{"selector":"@p"},{"text":", "},{"text":"[hover me]","color":"light_purple","hoverEvent":{"action":"show_text","contents":"That tickles!"}}' } +``` + +Will display the following message if the user has one of these tags: +- `bs.log.foo.baz.info` +- `bs.log.foo.baz.debug` +- `bs.log._.info` +- `bs.log._.debug` +- `bs.log.foo.baz._` + +![](/_imgs/modules/log/example-2.png) + +--- +
**πŸ’¬ Did it help you?** diff --git a/docs/modules/raycast.md b/docs/modules/raycast.md index 811f821d89..76433a23fa 100644 --- a/docs/modules/raycast.md +++ b/docs/modules/raycast.md @@ -8,6 +8,10 @@ Cast rays and see if they collide with blocks or entities. Unlike traditional raycasts, this module uses a voxel traversal algorithm which is a lot more precise. Also, thanks to the `bs.hitbox` module, it supports all of the different hitboxes, including both blocks & entities. ``` +```{important} +This module limits the world size to 2,147,483 to prevent scoreboard overflow. +``` + ```{epigraph} "Reality only reveals itself when it is illuminated by a ray of poetry." diff --git a/docs/modules/vector.md b/docs/modules/vector.md index e202004620..d1609543d5 100644 --- a/docs/modules/vector.md +++ b/docs/modules/vector.md @@ -40,7 +40,7 @@ You can find below all functions available in this module. ### Basis rotation 3D -```{function} #bs.vector:basis_rot_3d +```{function} #bs.vector:basis_rot_3d {scaling:} Get the equivalent of the vector passed in parameter in a base with a different rotation. Useful to convert absolute/relative positions into local positions. @@ -118,7 +118,7 @@ tellraw @a [{"text": "X = ", "color": "dark_gray"},{"score":{"name":"$vector.bas ### Cartesian to spherical -```{function} #bs.vector:cartesian_to_spherical +```{function} #bs.vector:cartesian_to_spherical {scaling:} Convert cartesian coordinates to spherical coordinates. @@ -146,7 +146,7 @@ This system returns non conventional shperical coordinates. ### Cross product -```{function} #bs.vector:cross_product +```{function} #bs.vector:cross_product {scaling:} Compute the vector product between $u$ and $v$. @@ -167,7 +167,7 @@ Compute the vector product between $u$ and $v$. ### Dot product -```{function} #bs.vector:dot_product +```{function} #bs.vector:dot_product {scaling:} Compute the scalar product between $u$ and $v$. @@ -179,7 +179,7 @@ Compute the scalar product between $u$ and $v$. **Macro Var `scaling` [number]**: Scalar for the function’s input and output. :Outputs: - **Scores `$vector.dot_product.[0,1,2] bs.out`**: Result of the operation $=u Β· v$. + **Scores `$vector.dot_product bs.out`**: Result of the operation $=u Β· v$. ``` > **Credits**: Aksiome, Majoras16 @@ -228,13 +228,15 @@ If you want to minimize the performance impact, we recomande you to use the `len ::: :::{tab-item} Length squared -```{function} #bs.vector:length_squared +```{function} #bs.vector:length_squared {scaling:} Compute the squared norm of the vector. :Inputs: **Scores `$vector.length_squared.[0,1,2] bs.in`**: Vector components. + **Macro Var `scaling` [number]**: Scalar for the function’s input and output. + :Outputs: **Return | Score `$vector.length_squared bs.out`**: Vector length squared. ``` @@ -298,7 +300,7 @@ Get the min component of a vector. ::::{tab-set} :::{tab-item} Classic -```{function} #bs.vector:normalize +```{function} #bs.vector:normalize {scale:} Normalize the vector by putting the length at the given scale while keeping proportions. @@ -320,7 +322,7 @@ Normalization of vector doesn't often need to be accurate, so you can try first ::: :::{tab-item} Fast -```{function} #bs.vector:fast_normalize +```{function} #bs.vector:fast_normalize {scale:} Normalize the vector by placing the largest component at the given scale while keeping proportions. @@ -344,7 +346,7 @@ Normalize the vector by placing the largest component at the given scale while k ### Spherical to cartesian -```{function} #bs.vector:spherical_to_cartesian +```{function} #bs.vector:spherical_to_cartesian {scaling:} Convert spherical coordinates to cartesian coordinates. diff --git a/docs/modules/view.md b/docs/modules/view.md index aace40596f..fa20567a14 100644 --- a/docs/modules/view.md +++ b/docs/modules/view.md @@ -9,6 +9,11 @@ Execute commands based on what an entity sees. :class: dark_light p-2 ``` +```{important} +This module limits the world size to 2,147,483 to prevent scoreboard overflow. +``` + + ```{epigraph} "Vision is the act of seeing things as they could be, not as they are." @@ -66,6 +71,8 @@ Run a command as the entity that is aimed by the current entity. **Execution `as `**: Entity whose eyes determine the vision origin. **Macro Var `run` [string]**: Command to run as the targeted entity. + + **Tag**: Tag for entities that can be aimed (default: `bs.raycast.is_solid`). ``` *Run a command as the entity that you are looking at:* @@ -86,6 +93,8 @@ Run a command at the entity that is aimed by the current entity. **Execution `as `**: Entity whose eyes determine the vision origin. **Macro Var `run` [string]**: Command to run at the targeted entity. + + **Tag**: Tag for entities that can be aimed (default: `bs.raycast.is_solid`). ``` *Run a command at the entity that you are looking at:* diff --git a/docs/modules/xp.md b/docs/modules/xp.md index 1835e2756f..2980056bd2 100644 --- a/docs/modules/xp.md +++ b/docs/modules/xp.md @@ -80,17 +80,17 @@ Fill the XP bar partially. :Inputs: **Execution `as `**: Players to fill the XP bar. - **Macro Var `progress` [number]**: Percentage of the bar to add. + **Macro Var `progress` [number]**: Progress to add to the bar. :Outputs: **State**: Players XP is updated. ``` -*Add 25.5% to the fill level of your bar:* +*Add 25% to the fill level of your bar:* ```mcfunction # Once (execute on you) -function #bs.xp:add_progress {progress:25.5} +function #bs.xp:add_progress {progress:0.25} # See the result # look at your XP bar in survival mode @@ -189,7 +189,7 @@ tellraw @a [{"text":"I have "},{"score":{"name":"$xp.get_total_points","objectiv ```{function} #bs.xp:get_progress {scale:} -Get the fill progress percentage of the XP bar. +Get the fill progress of the XP bar. :Inputs: **Execution `as `**: Players from whom you want to get the bar progress. @@ -197,17 +197,17 @@ Get the fill progress percentage of the XP bar. **Macro Var `scale` [number]**: Scalar for the function's outputs. :Outputs: - **Return | Score `$xp.get_progress bs.out`**: Fill percentage of the xp bar after scaling. + **Return | Score `$xp.get_progress bs.out`**: Fill level of the xp bar after scaling. ``` -*Get the fill per cent mille of the xp bar:* +*Get the fill percentage of the xp bar:* ```mcfunction # Once (execute on you) -function #bs.xp:get_progresss {scale:1000} +function #bs.xp:get_progress {scale:100} # See the result -tellraw @a [{"text":"My experience bar is filled at "},{"score":{"name":"$xp.get_progress","objective":"bs.out"}},{"text":"/100000"}] +tellraw @a [{"text":"My experience bar is filled at "},{"score":{"name":"$xp.get_progress","objective":"bs.out"}},{"text":"/100"}] ``` ::: @@ -307,7 +307,7 @@ Fill the XP bar partially. :Inputs: **Execution `as `**: Players to fill the XP bar. - **Macro Var `progress` [number]**: Percentage of the bar to fill. + **Macro Var `progress` [number]**: Progress to set on the bar. :Outputs: **State**: Players XP is updated. @@ -317,7 +317,7 @@ Fill the XP bar partially. ```mcfunction # Once -function #bs.xp:set_progress {progress:50.0} +function #bs.xp:set_progress {progress:0.5} # See the result # look at your XP bar in survival mode diff --git a/docs/quickstart.md b/docs/quickstart.md index aab1e75e38..7200430190 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -1,3 +1,7 @@ +--- +html_theme.sidebar_primary.remove: true +--- + # πŸš€ Quickstart This page gives a quick overview of how to get started with the Bookshelf library, and how to use it. @@ -40,7 +44,7 @@ The Github repository includes a demo map (still a work in progress) and four da This is the main datapack of the library, containing all the useful tools for your project. It's the only one to keep in the end. The datapack is divided into modules, so install only the ones you need. -**πŸ“ datapacks / Bookshelf Dev (WIP)** +**πŸ“ datapacks / Bookshelf Dev** This datapack includes utilities for developers, such as logs, unit tests, and more. Its purpose is to provide essential tools to assist you during the development phase of your project. diff --git a/docs/special-thanks.md b/docs/special-thanks.md index 5a455b7436..2642adacee 100644 --- a/docs/special-thanks.md +++ b/docs/special-thanks.md @@ -1,10 +1,11 @@ --- +html_theme.sidebar_primary.remove: true html_theme.sidebar_secondary.remove: true --- # ❀️ Special thanks -Bookshelf is a collaborative project, and it is thanks to the work of many people that it exists today. Here is a list of special thanks, people who have made a great contribution to this project and without who it would not be what it is today. +Bookshelf is a collaborative project, made possible by the dedication and contributions of numerous individuals. We extend special thanks to those who have made significant contributions to this project, without whom it would not be what it is today. ```{button-link} https://github.com/Gunivers/Bookshelf/graphs/contributors :color: primary @@ -30,72 +31,54 @@ See all contributors --- -Creator of the original Gunivers Libs, and the current maintainer of Bookshelf. +Creator of the original Gunivers Libs, and contributor of Bookshelf. ::: -:::{grid-item-card} ThΓ©o Giraudet (aka Oromis) -:link: https://github.com/theogiraudet -:link-type: url -:margin: 0 3 0 0 - -```{image} /_imgs/credits/theogiraudet.png -:align: center -:class: dark_light, bs-rounded -``` - ---- - -Huge contributor of the original Gunivers Libs and Bookshelf. - -::: - -:::{grid-item-card} KubbyDev -:link: https://github.com/KubbyDev +:::{grid-item-card} Aksiome +:link: https://github.com/aksiome :link-type: url :margin: 0 3 0 0 -```{image} /_imgs/credits/kubbydev.png +```{image} /_imgs/credits/aksiome.png :align: center :class: dark_light, bs-rounded ``` --- -Huge contributor of the original Gunivers Libs. +Contributor of the last version of Bookshelf, and current maintainer. ::: -:::{grid-item-card} Aksiome -:link: https://github.com/aksiome +:::{grid-item-card} ThΓ©o Giraudet (aka Oromis) +:link: https://github.com/theogiraudet :link-type: url :margin: 0 3 0 0 -```{image} /_imgs/credits/aksiome.png +```{image} /_imgs/credits/theogiraudet.png :align: center :class: dark_light, bs-rounded ``` --- -Huge contributor of the latest version of Bookshelf. +Contributor of the original Gunivers Libs and Bookshelf. ::: -:::{grid-item-card} Theaustudio -:link: https://github.com/Theaustudio +:::{grid-item-card} KubbyDev +:link: https://github.com/KubbyDev :link-type: url :margin: 0 3 0 0 -```{image} /_imgs/credits/theaustudio.png +```{image} /_imgs/credits/kubbydev.png :align: center :class: dark_light, bs-rounded ``` --- -Main developer of the Bookshelf Manager website. - -::: +Contributor of the original Gunivers Libs. :::: diff --git a/scripts/generators/block/block.py b/scripts/generators/block/block.py index f97c23708a..0525660d75 100644 --- a/scripts/generators/block/block.py +++ b/scripts/generators/block/block.py @@ -1,84 +1,21 @@ import sys -import math -import nbtlib + from pathlib import Path +from .data_provider import DataProvider +from .data_processors import CreateTagsFiles, CreateTypesFile, CreateStatesFile, CreateRegistryFiles, UpdateStorageFile -from .data import DataProvider, ITEMS -from .utils import render, write_file -def run(mc_version, world_path): +def run(mc_version: str, world_path: str): data = DataProvider(mc_version) module = Path(world_path).joinpath("datapacks/Bookshelf/data/bs.block/") - print("βš™οΈ Generating block tags") - write_file(module.joinpath("tags/blocks/has_state.json"), [ - '{"values":' + render([block["type"] for block in data.blocks if block['group'] > 0]) + "}" - ]) - for i in range(math.floor(math.log2(len(data.blocks))) + 1): - write_file(module.joinpath(f"tags/blocks/type/group_{2**i}.json"), [ - '{"values":' + render([block["type"] for block in data.blocks if (block["id"] >> i) & 1]) + "}" - ]) - print("βœ… Done!") - - print("βš™οΈ Generating types_table.mcfunction") - write_file(module.joinpath("functions/load/types_table.mcfunction"), [ - "# This file was automatically generated, do not edit it", - "data modify storage bs:const block set value " + render([{ - "id": block["id"], - "group": block["group"], - "type": block["type"], - "item": ITEMS.get(block['type'], block['type']), - } for block in data.blocks]) - ]) - print("βœ… Done!") - - print("βš™οΈ Generating states_table.mcfunction") - write_file(module.joinpath("functions/load/states_table.mcfunction"), [ - "# This file was automatically generated, do not edit it" - ] + [ - "data modify storage bs:const block[{group:" + str(group + 1) + "}].iterable_properties set value " + render([{ - "name": name, - "options": [{ - "index": index, - "value": value, - "state": f"{name}={value},", - "property": {name: value}, - } for index, value in enumerate(options)], - } for name, options in states.items()]) for group, states in enumerate(data.groups[1:]) - ]) - print("βœ… Done!") - - print("βš™οΈ Generating registry functions") - for group, states in enumerate(data.groups[1:]): - write_file(module.joinpath(f"functions/get/registry/{group + 1}.mcfunction"), [ - "# This file was automatically generated, do not edit it" - ] + [ - 'execute if block ~ ~ ~ #bs.block:has_state[%name%=%value%] run data modify storage bs:out block.iterable_properties[{name:"%name%"}].options[{value:"%value%"}].selected set value 1b' - .replace("%name%", name) - .replace("%value%", value) - for name, options in states.items() for value in options - ]) - print("βœ… Done!") + CreateTypesFile(module.joinpath("functions/load/types_table.mcfunction")).process(data) + CreateStatesFile(module.joinpath("functions/load/states_table.mcfunction")).process(data) + CreateRegistryFiles(module.joinpath("functions/get/registry/")).process(data) + CreateTagsFiles(module.joinpath("tags/blocks")).process(data) - print("βš™οΈ Updating storage file asset") - with nbtlib.load(Path(world_path).joinpath("assets/command_storage_bs.dat")) as storage: - storage['']['data']['contents']['const']['block'] = nbtlib.parse_nbt(render([{ - "id": block["id"], - "group": block["group"], - "type": block["type"], - "item": ITEMS.get(block['type'], block['type']), - "iterable_properties": [{ - "name": name, - "options": [{ - "index": index, - "value": value, - "state": f"{name}={value},", - "property": {name: value}, - } for index, value in enumerate(options)], - } for name, options in data.groups[block["group"]].items()] - } for block in data.blocks])) - print("βœ… Done!") + UpdateStorageFile(Path(world_path).joinpath("assets/command_storage_bs.dat")).process(data) if __name__ == "__main__": diff --git a/scripts/generators/block/data.py b/scripts/generators/block/data.py deleted file mode 100644 index 2b15a208c0..0000000000 --- a/scripts/generators/block/data.py +++ /dev/null @@ -1,104 +0,0 @@ -import requests - -ITEMS = { - "minecraft:wall_torch": "minecraft:torch", - "minecraft:soul_wall_torch": "minecraft:soul_torch", - "minecraft:redstone_wall_torch": "minecraft:redstone_torch", - "minecraft:oak_wall_sign": "minecraft:oak_sign", - "minecraft:spruce_wall_sign": "minecraft:spruce_sign", - "minecraft:birch_wall_sign": "minecraft:birch_sign", - "minecraft:jungle_wall_sign": "minecraft:jungle_sign", - "minecraft:acacia_wall_sign": "minecraft:acacia_sign", - "minecraft:cherry_wall_sign": "minecraft:cherry_sign", - "minecraft:dark_oak_wall_sign": "minecraft:dark_oak_sign", - "minecraft:mangrove_wall_sign": "minecraft:mangrove_sign", - "minecraft:bamboo_wall_sign": "minecraft:bamboo_sign", - "minecraft:crimson_wall_sign": "minecraft:crimson_sign", - "minecraft:warped_wall_sign": "minecraft:warped_sign", - "minecraft:oak_wall_hanging_sign": "minecraft:oak_hanging_sign", - "minecraft:spruce_wall_hanging_sign": "minecraft:spruce_hanging_sign", - "minecraft:birch_wall_hanging_sign": "minecraft:birch_hanging_sign", - "minecraft:jungle_wall_hanging_sign": "minecraft:jungle_hanging_sign", - "minecraft:acacia_wall_hanging_sign": "minecraft:acacia_hanging_sign", - "minecraft:cherry_wall_hanging_sign": "minecraft:cherry_hanging_sign", - "minecraft:dark_oak_wall_hanging_sign": "minecraft:dark_oak_hanging_sign", - "minecraft:mangrove_wall_hanging_sign": "minecraft:mangrove_hanging_sign", - "minecraft:bamboo_wall_hanging_sign": "minecraft:bamboo_hanging_sign", - "minecraft:crimson_wall_hanging_sign": "minecraft:crimson_hanging_sign", - "minecraft:warped_wall_hanging_sign": "minecraft:warped_hanging_sign", - "minecraft:tube_coral_wall_fan": "minecraft:tube_coral_fan", - "minecraft:brain_coral_wall_fan": "minecraft:brain_coral_fan", - "minecraft:bubble_coral_wall_fan": "minecraft:bubble_coral_fan", - "minecraft:fire_coral_wall_fan": "minecraft:fire_coral_fan", - "minecraft:horn_coral_wall_fan": "minecraft:horn_coral_fan", - "minecraft:dead_tube_coral_wall_fan": "minecraft:dead_tube_coral_fan", - "minecraft:dead_brain_coral_wall_fan": "minecraft:dead_brain_coral_fan", - "minecraft:dead_bubble_coral_wall_fan": "minecraft:dead_bubble_coral_fan", - "minecraft:dead_fire_coral_wall_fan": "minecraft:dead_fire_coral_fan", - "minecraft:dead_horn_coral_wall_fan": "minecraft:dead_horn_coral_fan", - "minecraft:white_wall_banner": "minecraft:white_banner", - "minecraft:orange_wall_banner": "minecraft:orange_banner", - "minecraft:magenta_wall_banner": "minecraft:magenta_banner", - "minecraft:light_blue_wall_banner": "minecraft:light_blue_banner", - "minecraft:yellow_wall_banner": "minecraft:yellow_banner", - "minecraft:lime_wall_banner": "minecraft:lime_banner", - "minecraft:pink_wall_banner": "minecraft:pink_banner", - "minecraft:gray_wall_banner": "minecraft:gray_banner", - "minecraft:light_gray_wall_banner": "minecraft:light_gray_banner", - "minecraft:cyan_wall_banner": "minecraft:cyan_banner", - "minecraft:purple_wall_banner": "minecraft:purple_banner", - "minecraft:blue_wall_banner": "minecraft:blue_banner", - "minecraft:brown_wall_banner": "minecraft:brown_banner", - "minecraft:green_wall_banner": "minecraft:green_banner", - "minecraft:red_wall_banner": "minecraft:red_banner", - "minecraft:black_wall_banner": "minecraft:black_banner", - "minecraft:player_wall_head": "minecraft:player_head", - "minecraft:zombie_wall_head": "minecraft:zombie_head", - "minecraft:creeper_wall_head": "minecraft:creeper_head", - "minecraft:dragon_wall_head": "minecraft:dragon_head", - "minecraft:piglin_wall_head": "minecraft:piglin_head", - "minecraft:skeleton_wall_skull": "minecraft:skeleton_skull", - "minecraft:wither_skeleton_wall_skull": "minecraft:wither_skeleton_skull", - "minecraft:redstone_wire": "minecraft:redstone", - "minecraft:tripwire": "minecraft:string", - "minecraft:water": "minecraft:water_bucket", - "minecraft:lava": "minecraft:lava_bucket", - "minecraft:powder_snow": "minecraft:powder_snow_bucket", - "minecraft:big_dripleaf_stem": "minecraft:big_dripleaf", - "minecraft:wheat": "minecraft:wheat_seeds", - "minecraft:cocoa": "minecraft:cocoa_beans", - "minecraft:melon_stem": "minecraft:pumpkin_seeds", - "minecraft:pumpkin_stem": "minecraft:pumpkin_seeds", - "minecraft:attached_melon_stem": "minecraft:melon_seeds", - "minecraft:attached_pumpkin_stem": "minecraft:melon_seeds", - "minecraft:water_cauldron": "minecraft:cauldron", - "minecraft:lava_cauldron": "minecraft:cauldron", - "minecraft:powder_snow_cauldron": "minecraft:cauldron", - "minecraft:carrots": "minecraft:carrot", - "minecraft:potatoes": "minecraft:potato", - "minecraft:torchflower_crop": "minecraft:torchflower_seeds", - "minecraft:pitcher_crop": "minecraft:pitcher_pod", - "minecraft:beetroots": "minecraft:beetroot_seeds", - "minecraft:sweet_berry_bush": "minecraft:sweet_berries", - "minecraft:cave_vines": "minecraft:glow_berries", - "minecraft:cave_vines_plant": "minecraft:glow_berries", -} - -class DataProvider: - blocks = [] - groups = [{}] - - def __init__(self, mc_version): - response = requests.get(f"https://raw.githubusercontent.com/Ersatz77/mcdata/{mc_version}/processed/reports/blocks/simplified/data.min.json") - - for index, (block, block_data) in enumerate(response.json().items()): - states = {} - for name, options in block_data["properties"].items(): - while options[0] != block_data["default"][name]: - options.append(options.pop(0)) - states[name] = options - - if states not in self.groups: - self.groups.append(states) - - self.blocks.append({"id": index + 1, "group": self.groups.index(states), "type": block}) diff --git a/scripts/generators/block/data_processors.py b/scripts/generators/block/data_processors.py new file mode 100644 index 0000000000..8552cf887a --- /dev/null +++ b/scripts/generators/block/data_processors.py @@ -0,0 +1,120 @@ +import math +import nbtlib + +from abc import ABC, abstractmethod +from dataclasses import dataclass +from pathlib import Path +from .data_provider import DataProvider + + +class DataProcessor(ABC): + @abstractmethod + def process(self, data: DataProvider): + pass + + def render(self, value) -> str: + if isinstance(value, dict): + return f'{{{",".join([f"{key}:{self.render(val)}" for key, val in value.items()])}}}' + if isinstance(value, list): + return f'[{",".join([self.render(val) for val in value])}]' + if isinstance(value, str): + return f'"{value}"' + return str(value) + + +@dataclass +class CreateTypesFile(DataProcessor): + file: Path + def process(self, data: DataProvider): + print("βš™οΈ Generating types_table.mcfunction") + self.file.write_text("\n".join(["# This file was automatically generated, do not edit it", " ".join([ + "data modify storage bs:const block set value", + self.render([{ + "id": block["id"], + "group": block["group"], + "type": block["type"], + "item": data.ITEMS_DICT.get(block["type"], block["type"]), + } for block in data.blocks]) + ]), ""]), newline="\n") + print("βœ… Done!") + + +@dataclass +class CreateStatesFile(DataProcessor): + file: Path + def process(self, data: DataProvider): + print("βš™οΈ Generating states_table.mcfunction") + self.file.write_text("\n".join(["# This file was automatically generated, do not edit it"] + [ + " ".join([ + f"data modify storage bs:const block[{{group:{str(group + 1)}}}].iterable_properties set value", + self.render([{ + "name": name, + "options": [{ + "index": index, + "value": value, + "state": f"{name}={value},", + "property": {name: value}, + } for index, value in enumerate(options)], + } for name, options in states.items()]) + ]) for group, states in enumerate(data.groups[1:]) + ] + [""]), newline="\n") + print("βœ… Done!") + + +@dataclass +class CreateRegistryFiles(DataProcessor): + dir: Path + def process(self, data: DataProvider): + print("βš™οΈ Generating registry functions") + for group, states in enumerate(data.groups[1:]): + self.dir.joinpath(f"{group + 1}.mcfunction").write_text("\n".join([ + "# This file was automatically generated, do not edit it" + ] + [ + " ".join([ + f'execute if block ~ ~ ~ #bs.block:has_state[{name}={value}] run', + f'data modify storage bs:out block.iterable_properties[{{name:"{name}"}}].options[{{value:"{value}"}}].selected set value 1b', + ]) + for name, options in states.items() for value in options + ] + [""]), newline="\n") + print("βœ… Done!") + + +@dataclass +class CreateTagsFiles(DataProcessor): + dir: Path + def process(self, data: DataProvider): + print("βš™οΈ Generating block tags") + for i in range(math.floor(math.log2(len(data.blocks))) + 1): + self.dir.joinpath(f"type/group_{2**i}.json").write_text( + f'{{"values":{self.render([block["type"] for block in data.blocks if (block["id"] >> i) & 1])}}}', + newline="\n" + ) + self.dir.joinpath("has_state.json").write_text( + f'{{"values":{self.render([block["type"] for block in data.blocks if block["group"] > 0])}}}', + newline="\n" + ) + print("βœ… Done!") + + +@dataclass +class UpdateStorageFile(DataProcessor): + file: Path + def process(self, data: DataProvider): + print("βš™οΈ Updating storage file asset") + with nbtlib.load(self.file) as storage: + storage['']['data']['contents']['const']['block'] = nbtlib.parse_nbt(self.render([{ + "id": block["id"], + "group": block["group"], + "type": block["type"], + "item": data.ITEMS_DICT.get(block["type"], block["type"]), + "iterable_properties": [{ + "name": name, + "options": [{ + "index": index, + "value": value, + "state": f"{name}={value},", + "property": {name: value}, + } for index, value in enumerate(options)], + } for name, options in data.groups[block["group"]].items()] + } for block in data.blocks])) + print("βœ… Done!") diff --git a/scripts/generators/block/data_provider.py b/scripts/generators/block/data_provider.py new file mode 100644 index 0000000000..470bf4a2a2 --- /dev/null +++ b/scripts/generators/block/data_provider.py @@ -0,0 +1,104 @@ +import requests + + +class DataProvider: + ITEMS_DICT = { + "minecraft:wall_torch": "minecraft:torch", + "minecraft:soul_wall_torch": "minecraft:soul_torch", + "minecraft:redstone_wall_torch": "minecraft:redstone_torch", + "minecraft:oak_wall_sign": "minecraft:oak_sign", + "minecraft:spruce_wall_sign": "minecraft:spruce_sign", + "minecraft:birch_wall_sign": "minecraft:birch_sign", + "minecraft:jungle_wall_sign": "minecraft:jungle_sign", + "minecraft:acacia_wall_sign": "minecraft:acacia_sign", + "minecraft:cherry_wall_sign": "minecraft:cherry_sign", + "minecraft:dark_oak_wall_sign": "minecraft:dark_oak_sign", + "minecraft:mangrove_wall_sign": "minecraft:mangrove_sign", + "minecraft:bamboo_wall_sign": "minecraft:bamboo_sign", + "minecraft:crimson_wall_sign": "minecraft:crimson_sign", + "minecraft:warped_wall_sign": "minecraft:warped_sign", + "minecraft:oak_wall_hanging_sign": "minecraft:oak_hanging_sign", + "minecraft:spruce_wall_hanging_sign": "minecraft:spruce_hanging_sign", + "minecraft:birch_wall_hanging_sign": "minecraft:birch_hanging_sign", + "minecraft:jungle_wall_hanging_sign": "minecraft:jungle_hanging_sign", + "minecraft:acacia_wall_hanging_sign": "minecraft:acacia_hanging_sign", + "minecraft:cherry_wall_hanging_sign": "minecraft:cherry_hanging_sign", + "minecraft:dark_oak_wall_hanging_sign": "minecraft:dark_oak_hanging_sign", + "minecraft:mangrove_wall_hanging_sign": "minecraft:mangrove_hanging_sign", + "minecraft:bamboo_wall_hanging_sign": "minecraft:bamboo_hanging_sign", + "minecraft:crimson_wall_hanging_sign": "minecraft:crimson_hanging_sign", + "minecraft:warped_wall_hanging_sign": "minecraft:warped_hanging_sign", + "minecraft:tube_coral_wall_fan": "minecraft:tube_coral_fan", + "minecraft:brain_coral_wall_fan": "minecraft:brain_coral_fan", + "minecraft:bubble_coral_wall_fan": "minecraft:bubble_coral_fan", + "minecraft:fire_coral_wall_fan": "minecraft:fire_coral_fan", + "minecraft:horn_coral_wall_fan": "minecraft:horn_coral_fan", + "minecraft:dead_tube_coral_wall_fan": "minecraft:dead_tube_coral_fan", + "minecraft:dead_brain_coral_wall_fan": "minecraft:dead_brain_coral_fan", + "minecraft:dead_bubble_coral_wall_fan": "minecraft:dead_bubble_coral_fan", + "minecraft:dead_fire_coral_wall_fan": "minecraft:dead_fire_coral_fan", + "minecraft:dead_horn_coral_wall_fan": "minecraft:dead_horn_coral_fan", + "minecraft:white_wall_banner": "minecraft:white_banner", + "minecraft:orange_wall_banner": "minecraft:orange_banner", + "minecraft:magenta_wall_banner": "minecraft:magenta_banner", + "minecraft:light_blue_wall_banner": "minecraft:light_blue_banner", + "minecraft:yellow_wall_banner": "minecraft:yellow_banner", + "minecraft:lime_wall_banner": "minecraft:lime_banner", + "minecraft:pink_wall_banner": "minecraft:pink_banner", + "minecraft:gray_wall_banner": "minecraft:gray_banner", + "minecraft:light_gray_wall_banner": "minecraft:light_gray_banner", + "minecraft:cyan_wall_banner": "minecraft:cyan_banner", + "minecraft:purple_wall_banner": "minecraft:purple_banner", + "minecraft:blue_wall_banner": "minecraft:blue_banner", + "minecraft:brown_wall_banner": "minecraft:brown_banner", + "minecraft:green_wall_banner": "minecraft:green_banner", + "minecraft:red_wall_banner": "minecraft:red_banner", + "minecraft:black_wall_banner": "minecraft:black_banner", + "minecraft:player_wall_head": "minecraft:player_head", + "minecraft:zombie_wall_head": "minecraft:zombie_head", + "minecraft:creeper_wall_head": "minecraft:creeper_head", + "minecraft:dragon_wall_head": "minecraft:dragon_head", + "minecraft:piglin_wall_head": "minecraft:piglin_head", + "minecraft:skeleton_wall_skull": "minecraft:skeleton_skull", + "minecraft:wither_skeleton_wall_skull": "minecraft:wither_skeleton_skull", + "minecraft:redstone_wire": "minecraft:redstone", + "minecraft:tripwire": "minecraft:string", + "minecraft:water": "minecraft:water_bucket", + "minecraft:lava": "minecraft:lava_bucket", + "minecraft:powder_snow": "minecraft:powder_snow_bucket", + "minecraft:big_dripleaf_stem": "minecraft:big_dripleaf", + "minecraft:wheat": "minecraft:wheat_seeds", + "minecraft:cocoa": "minecraft:cocoa_beans", + "minecraft:melon_stem": "minecraft:pumpkin_seeds", + "minecraft:pumpkin_stem": "minecraft:pumpkin_seeds", + "minecraft:attached_melon_stem": "minecraft:melon_seeds", + "minecraft:attached_pumpkin_stem": "minecraft:melon_seeds", + "minecraft:water_cauldron": "minecraft:cauldron", + "minecraft:lava_cauldron": "minecraft:cauldron", + "minecraft:powder_snow_cauldron": "minecraft:cauldron", + "minecraft:carrots": "minecraft:carrot", + "minecraft:potatoes": "minecraft:potato", + "minecraft:torchflower_crop": "minecraft:torchflower_seeds", + "minecraft:pitcher_crop": "minecraft:pitcher_pod", + "minecraft:beetroots": "minecraft:beetroot_seeds", + "minecraft:sweet_berry_bush": "minecraft:sweet_berries", + "minecraft:cave_vines": "minecraft:glow_berries", + "minecraft:cave_vines_plant": "minecraft:glow_berries", + } + + def __init__(self, mc_version: str): + self.blocks = [] + self.groups = [{}] + response = requests.get(f"https://raw.githubusercontent.com/Ersatz77/mcdata/{mc_version}/processed/reports/blocks/simplified/data.min.json") + + for index, (block, block_data) in enumerate(response.json().items()): + states = {} + for name, options in block_data["properties"].items(): + while options[0] != block_data["default"][name]: + options.append(options.pop(0)) + states[name] = options + + if states not in self.groups: + self.groups.append(states) + + self.blocks.append({"id": index + 1, "group": self.groups.index(states), "type": block}) diff --git a/scripts/generators/block/utils.py b/scripts/generators/block/utils.py deleted file mode 100644 index f867f3fbc8..0000000000 --- a/scripts/generators/block/utils.py +++ /dev/null @@ -1,19 +0,0 @@ -def render(value): - """ - Recursively render values like dictionaries and lists as a string. - """ - if isinstance(value, dict): - return "{" + ",".join([key + ":" + render(val) for key, val in value.items()]) + "}" - if isinstance(value, list): - return "[" + ",".join([render(val) for val in value]) + "]" - if isinstance(value, str): - return '"' + value + '"' - return str(value) - - -def write_file(file, lines): - """ - Write multiple lines to a file. - """ - with open(file, "w") as file: - file.write("\n".join(lines))