diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..87881599 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,48 @@ +name: Bug 反馈 | Bug Feedback +description: + 反馈一个 MiniGames 地图的错误。 +title: "[Bug] " +labels: [bug] +body: + - type: markdown + attributes: + value: | + 提交前请确认: + * 该问题确实是 **MiniGames 地图 的错误**,而**不算服务端的问题**。如果实在不确定,也可以直接发 Issue 询问。 + * 你的地图版本是**最新的版本**。 + + 如果你的问题并不属于上述两类,你可以选取另一种 Issue 类型,或者直接前往官方QQ群进行反馈:958572618 + - type: textarea + id: server-platform + attributes: + label: 服务端信息 + description: 请输入您遇到服务端信息。包含模组/插件列表等等。 + placeholder: e.g. Fabric 1.20.4 + carpet + validations: + required: true + - type: textarea + id: client-platform + attributes: + label: 客户端信息 + description: 请输入您遇到客户端端信息。包含模组/插件列表等等。 + placeholder: e.g. Fabric 1.20.4 + sodium + carpet + validations: + required: true + - type: textarea + id: bug-report + attributes: + label: 问题描述 + description: 请尽可能地详细描述你所遇到的问题,并描述如何重新触发这个问题。 + placeholder: | + 1. ... + validations: + required: true + - type: textarea + id: server-log + attributes: + label: 客户端/服务端日志 + description: | + 如果和服务端有关,请提供您的服务端日志。 + 如果和客户端有关,请提供您的客户端日志。 + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..a99e2f55 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,14 @@ +blank_issues_enabled: false +contact_links: + - name: QQ群 + url: https://mcminigames.netlify.app/ + about: 遇到问题,请优先前往QQ群提出。QQ群:958572618 + - name: 官网 + url: https://mcminigames.netlify.app/ + about: MiniGames 地图的官网 + - name: 赞助通道 Buy me a Coffee + url: https://afdian.net/@wifi_left + about: Buy me a Coffee. + - name: 其他反馈 | Others + url: https://github.com/wifi-left/Map-MiniGames/issues/new + about: 通过 Discussions 反馈其他问题。 diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..6b2c2809 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,15 @@ +name: 新功能 | New Features +description: 为 MiniGames地图 提出新功能 +title: "[Feature] " +labels: [enhancement] +body: +- type: markdown + attributes: + value: 请确认 Issues 列表无重复的项目。 +- type: textarea + id: description + attributes: + label: 描述 | Description + description: 请详细描述你想加入的新功能。 + validations: + required: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..fee3c4a0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + +# 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 "build" + build: + # The type of runner that the job will run on + runs-on: windows-latest + name: Pack + # 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 + - uses: actions/checkout@v3 + - name: Archive the Map + shell: powershell + run: ./zip.ps1 + - name: Create GitHub release + uses: marvinpinto/action-automatic-releases@latest + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "v${{ env.versionD }}" + title: "${{ env.versionDetail }}" + prerelease: false + files: | + ../build/*.zip \ No newline at end of file diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..4a176eca --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,17 @@ +name: 'GitHub Actions Mirror' + +on: [push, delete] + +jobs: + mirror_to_gitlab: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v1 + - name: 'Mirror to gitlab' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@gitlab.com:wifi-left/Map-MiniGames.git + ssh_private_key: + ${{ secrets.SSH_KEY2 }} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..fc2bf5be --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +/debug +/advancements +/DIM-1 +/DIM1 +/playerdata +/scripts +/stats +/level.dat_old +/build +/session.lock +/map_resourcepack \ No newline at end of file diff --git a/LISENCE b/LISENCE new file mode 100644 index 00000000..1625c179 --- /dev/null +++ b/LISENCE @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. \ No newline at end of file diff --git a/QUICKPLAY.md b/QUICKPLAY.md new file mode 100644 index 00000000..ec2e6918 --- /dev/null +++ b/QUICKPLAY.md @@ -0,0 +1,80 @@ +# 快速开始游戏(管理员) +## 快速加入(自己) +### 通常情况 +#### 基本用法 + +其中 [] 为可选内容,<>为必选内容 + +``` +/function [minecraft:]<游戏id>/join +``` +例如: + +小游戏合集:`/function small_games/total/join` + +#### 游戏ID +删除线为正在制作或者已被删除。 +|游戏名|ID| +|:----:|:----:| +|Battle Box|battle| +|信仰方块|believer| +|冰船|boat| +|赛车|car_race| +|色盲大战|color| +|星跳水立方|dropper| +|战桥|duel| +|~~高尔夫~~|golf| +|躲猫猫(道具)|hide2| +|躲猫猫(动物)|hideseek| +|烫手的山芋|hotpotever| +|饥饿游戏|hunger| +|职业战争|job_pvp| +|密室杀手|killerever| +|Live Longest|live| +|关卡跑酷|lpark| +|冬泳怪鸽|poolwar| +|五子棋|small_games/chess| +|小游戏合集|small_games/total| +|Snow|snow| +|TNT Wars|tntwars| +|狼人杀|twolf| +|Zombie Days(PVE)|zombieever| + +### 例外 +1. 生存游戏: + ``` + /function surgame:join + ``` + +2. 起床战争 + ``` + /function bedwars/message/join + ``` + +## 返回大厅 +命令:`/trigger hub`(全局,所有玩家可用) + +或者 +## 旁观者 +### 命令 +菜单:`/trigger spec`(全局,所有玩家可用) +### 小注 +部分游戏~~不支持~~(有些可能忘写逻辑了,有些可能有BUG,发现这些请提交 Issue 或者反馈到 QQ 群)。 +### 明确不支持 +跑酷、迷宫 + +## 让其他玩家加入 +可以调用 `execute` + +语法为: +``` +/execute as <玩家名称> run <加入命令(删掉最前面的“/”)> +``` + +例如: + +小游戏合集 + +``` +/execute as @a run function small_games/total/join +``` \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..eeea9d3e --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# MiniGames +如果您想要使用此地图,请遵守: +1. 请不要删除任何原作者信息 +2. 如果进行修改请添加明显提示 +3. 不可商用 + +# 快速开始、强制进入游戏(管理员) +详见 [QUICKPLAY.md](QUICKPLAY.md) + +# 反馈BUG +请在 GitHub Issue 或者qq群里反馈 + +# 关于对于部分插件的支持 +我尝试支持了 `ViaVersion` 以及 `Geyser` 模组。 + +请使用 `/function via:use1_8` 命令启用支持 + +使用 `/function via:use1_18` 命令关闭支持 + +# 资源包的使用 +您可以在服务器配置资源包的 GitHub / GitLab 直链达到自动下载资源包。 + +GitLab 下载速度更快。 + +GitLab 的 URL 为:[https://gitlab.com/wifi-left/Map-MiniGames/-/raw/master/resourcepack/MiniGameRes.zip?inline=false](https://gitlab.com/wifi-left/Map-MiniGames/-/raw/master/resourcepack/MiniGameRes.zip?inline=false) + +GitHub 的 URL 为:[https://github.com/wifi-left/Map-MiniGames/raw/master/resourcepack/MiniGameRes.zip](https://github.com/wifi-left/Map-MiniGames/raw/master/resourcepack/MiniGameRes.zip) + +# 目前待做列表 +[To-do List](./todo.md) + +# 服务端安装教程 +1. [教程 - 服务器建设 - Minecraft Wiki](https://zh.minecraft.wiki/w/%E6%95%99%E7%A8%8B#%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%AE%BE%E7%BD%AE) + +请参考上述教程。 \ No newline at end of file diff --git a/carpet.conf b/carpet.conf new file mode 100644 index 00000000..b1a6a535 --- /dev/null +++ b/carpet.conf @@ -0,0 +1,14 @@ +spawnChunksSize 2 +commandLog true +commandPerimeterInfo ops +language zh_cn +creativeNoClip true +fogOff true +commandProfile ops +commandDistance ops +fastRedstoneDust true +commandScript ops +antiCheatDisabled true +defaultLoggers tps +commandInfo ops +lagFreeSpawning true diff --git a/data/JMPlayerSettings.dat b/data/JMPlayerSettings.dat new file mode 100644 index 00000000..4c3d05e7 Binary files /dev/null and b/data/JMPlayerSettings.dat differ diff --git a/data/WorldUUID.dat b/data/WorldUUID.dat new file mode 100644 index 00000000..0c65631c Binary files /dev/null and b/data/WorldUUID.dat differ diff --git a/data/capabilities.dat b/data/capabilities.dat new file mode 100644 index 00000000..e8c06e22 Binary files /dev/null and b/data/capabilities.dat differ diff --git a/data/chunks.dat b/data/chunks.dat new file mode 100644 index 00000000..74e000bb Binary files /dev/null and b/data/chunks.dat differ diff --git a/data/command_storage_boat.dat b/data/command_storage_boat.dat new file mode 100644 index 00000000..4e7cca2a Binary files /dev/null and b/data/command_storage_boat.dat differ diff --git a/data/command_storage_compass.dat b/data/command_storage_compass.dat new file mode 100644 index 00000000..5cd149b3 Binary files /dev/null and b/data/command_storage_compass.dat differ diff --git a/data/command_storage_gun.dat b/data/command_storage_gun.dat new file mode 100644 index 00000000..ca6b730c Binary files /dev/null and b/data/command_storage_gun.dat differ diff --git a/data/command_storage_minecraft.dat b/data/command_storage_minecraft.dat new file mode 100644 index 00000000..07d9b0be Binary files /dev/null and b/data/command_storage_minecraft.dat differ diff --git a/data/fabricRegistry.dat b/data/fabricRegistry.dat new file mode 100644 index 00000000..bc90aeb0 Binary files /dev/null and b/data/fabricRegistry.dat differ diff --git a/data/fabricRegistry.dat.1 b/data/fabricRegistry.dat.1 new file mode 100644 index 00000000..bc90aeb0 Binary files /dev/null and b/data/fabricRegistry.dat.1 differ diff --git a/data/fabricRegistry.dat.2 b/data/fabricRegistry.dat.2 new file mode 100644 index 00000000..bc90aeb0 Binary files /dev/null and b/data/fabricRegistry.dat.2 differ diff --git a/data/idcounts.dat b/data/idcounts.dat new file mode 100644 index 00000000..d0b0052f Binary files /dev/null and b/data/idcounts.dat differ diff --git a/data/map_12.dat b/data/map_12.dat new file mode 100644 index 00000000..43d8b142 Binary files /dev/null and b/data/map_12.dat differ diff --git a/data/map_13.dat b/data/map_13.dat new file mode 100644 index 00000000..938373b2 Binary files /dev/null and b/data/map_13.dat differ diff --git a/data/map_17.dat b/data/map_17.dat new file mode 100644 index 00000000..da31f4bb Binary files /dev/null and b/data/map_17.dat differ diff --git a/data/map_18.dat b/data/map_18.dat new file mode 100644 index 00000000..5098757a Binary files /dev/null and b/data/map_18.dat differ diff --git a/data/map_19.dat b/data/map_19.dat new file mode 100644 index 00000000..a0449434 Binary files /dev/null and b/data/map_19.dat differ diff --git a/data/map_20.dat b/data/map_20.dat new file mode 100644 index 00000000..cd462bf2 Binary files /dev/null and b/data/map_20.dat differ diff --git a/data/map_21.dat b/data/map_21.dat new file mode 100644 index 00000000..f4d1926e Binary files /dev/null and b/data/map_21.dat differ diff --git a/data/map_22.dat b/data/map_22.dat new file mode 100644 index 00000000..ac10c87e Binary files /dev/null and b/data/map_22.dat differ diff --git a/data/map_23.dat b/data/map_23.dat new file mode 100644 index 00000000..7ec176e0 Binary files /dev/null and b/data/map_23.dat differ diff --git a/data/map_24.dat b/data/map_24.dat new file mode 100644 index 00000000..6a2cc6c9 Binary files /dev/null and b/data/map_24.dat differ diff --git a/data/map_25.dat b/data/map_25.dat new file mode 100644 index 00000000..b2e9d69c Binary files /dev/null and b/data/map_25.dat differ diff --git a/data/map_26.dat b/data/map_26.dat new file mode 100644 index 00000000..b7afc946 Binary files /dev/null and b/data/map_26.dat differ diff --git a/data/map_27.dat b/data/map_27.dat new file mode 100644 index 00000000..9176095f Binary files /dev/null and b/data/map_27.dat differ diff --git a/data/map_28.dat b/data/map_28.dat new file mode 100644 index 00000000..073c0c66 Binary files /dev/null and b/data/map_28.dat differ diff --git a/data/map_29.dat b/data/map_29.dat new file mode 100644 index 00000000..201b8a98 Binary files /dev/null and b/data/map_29.dat differ diff --git a/data/map_3.dat b/data/map_3.dat new file mode 100644 index 00000000..d40889e0 Binary files /dev/null and b/data/map_3.dat differ diff --git a/data/map_30.dat b/data/map_30.dat new file mode 100644 index 00000000..85d2816c Binary files /dev/null and b/data/map_30.dat differ diff --git a/data/map_31.dat b/data/map_31.dat new file mode 100644 index 00000000..74e7a1d9 Binary files /dev/null and b/data/map_31.dat differ diff --git a/data/map_32.dat b/data/map_32.dat new file mode 100644 index 00000000..9ab70397 Binary files /dev/null and b/data/map_32.dat differ diff --git a/data/map_33.dat b/data/map_33.dat new file mode 100644 index 00000000..3bb93597 Binary files /dev/null and b/data/map_33.dat differ diff --git a/data/map_34.dat b/data/map_34.dat new file mode 100644 index 00000000..e9c5d62c Binary files /dev/null and b/data/map_34.dat differ diff --git a/data/map_35.dat b/data/map_35.dat new file mode 100644 index 00000000..694c5092 Binary files /dev/null and b/data/map_35.dat differ diff --git a/data/map_36.dat b/data/map_36.dat new file mode 100644 index 00000000..5098757a Binary files /dev/null and b/data/map_36.dat differ diff --git a/data/map_37.dat b/data/map_37.dat new file mode 100644 index 00000000..f4a8ffea Binary files /dev/null and b/data/map_37.dat differ diff --git a/data/map_38.dat b/data/map_38.dat new file mode 100644 index 00000000..5098757a Binary files /dev/null and b/data/map_38.dat differ diff --git a/data/map_39.dat b/data/map_39.dat new file mode 100644 index 00000000..d4dc0c87 Binary files /dev/null and b/data/map_39.dat differ diff --git a/data/map_4.dat b/data/map_4.dat new file mode 100644 index 00000000..15eb9c6e Binary files /dev/null and b/data/map_4.dat differ diff --git a/data/map_40.dat b/data/map_40.dat new file mode 100644 index 00000000..bdc617be Binary files /dev/null and b/data/map_40.dat differ diff --git a/data/map_41.dat b/data/map_41.dat new file mode 100644 index 00000000..5aa61393 Binary files /dev/null and b/data/map_41.dat differ diff --git a/data/map_42.dat b/data/map_42.dat new file mode 100644 index 00000000..3dc79b33 Binary files /dev/null and b/data/map_42.dat differ diff --git a/data/map_43.dat b/data/map_43.dat new file mode 100644 index 00000000..5a688cbe Binary files /dev/null and b/data/map_43.dat differ diff --git a/data/map_44.dat b/data/map_44.dat new file mode 100644 index 00000000..8f1be10d Binary files /dev/null and b/data/map_44.dat differ diff --git a/data/map_45.dat b/data/map_45.dat new file mode 100644 index 00000000..bab6fbfd Binary files /dev/null and b/data/map_45.dat differ diff --git a/data/map_46.dat b/data/map_46.dat new file mode 100644 index 00000000..b147b816 Binary files /dev/null and b/data/map_46.dat differ diff --git a/data/map_47.dat b/data/map_47.dat new file mode 100644 index 00000000..d7bacab9 Binary files /dev/null and b/data/map_47.dat differ diff --git a/data/map_48.dat b/data/map_48.dat new file mode 100644 index 00000000..632937e1 Binary files /dev/null and b/data/map_48.dat differ diff --git a/data/map_49.dat b/data/map_49.dat new file mode 100644 index 00000000..e5ff9f99 Binary files /dev/null and b/data/map_49.dat differ diff --git a/data/map_5.dat b/data/map_5.dat new file mode 100644 index 00000000..03165142 Binary files /dev/null and b/data/map_5.dat differ diff --git a/data/map_50.dat b/data/map_50.dat new file mode 100644 index 00000000..192e4af1 Binary files /dev/null and b/data/map_50.dat differ diff --git a/data/map_51.dat b/data/map_51.dat new file mode 100644 index 00000000..93c89190 Binary files /dev/null and b/data/map_51.dat differ diff --git a/data/map_52.dat b/data/map_52.dat new file mode 100644 index 00000000..b5fe5422 Binary files /dev/null and b/data/map_52.dat differ diff --git a/data/map_53.dat b/data/map_53.dat new file mode 100644 index 00000000..791a0c63 Binary files /dev/null and b/data/map_53.dat differ diff --git a/data/map_54.dat b/data/map_54.dat new file mode 100644 index 00000000..01011570 Binary files /dev/null and b/data/map_54.dat differ diff --git a/data/map_55.dat b/data/map_55.dat new file mode 100644 index 00000000..60b1e944 Binary files /dev/null and b/data/map_55.dat differ diff --git a/data/map_56.dat b/data/map_56.dat new file mode 100644 index 00000000..6d8d4799 Binary files /dev/null and b/data/map_56.dat differ diff --git a/data/map_57.dat b/data/map_57.dat new file mode 100644 index 00000000..69a91daf Binary files /dev/null and b/data/map_57.dat differ diff --git a/data/map_58.dat b/data/map_58.dat new file mode 100644 index 00000000..7f7aed9d Binary files /dev/null and b/data/map_58.dat differ diff --git a/data/map_59.dat b/data/map_59.dat new file mode 100644 index 00000000..5aa61393 Binary files /dev/null and b/data/map_59.dat differ diff --git a/data/map_60.dat b/data/map_60.dat new file mode 100644 index 00000000..d6315f70 Binary files /dev/null and b/data/map_60.dat differ diff --git a/data/map_61.dat b/data/map_61.dat new file mode 100644 index 00000000..85851806 Binary files /dev/null and b/data/map_61.dat differ diff --git a/data/map_62.dat b/data/map_62.dat new file mode 100644 index 00000000..43b203cc Binary files /dev/null and b/data/map_62.dat differ diff --git a/data/map_63.dat b/data/map_63.dat new file mode 100644 index 00000000..bc2b7524 Binary files /dev/null and b/data/map_63.dat differ diff --git a/data/map_64.dat b/data/map_64.dat new file mode 100644 index 00000000..3c7524ae Binary files /dev/null and b/data/map_64.dat differ diff --git a/data/map_65.dat b/data/map_65.dat new file mode 100644 index 00000000..4e5c2abd Binary files /dev/null and b/data/map_65.dat differ diff --git a/data/map_66.dat b/data/map_66.dat new file mode 100644 index 00000000..b5208c7e Binary files /dev/null and b/data/map_66.dat differ diff --git a/data/map_67.dat b/data/map_67.dat new file mode 100644 index 00000000..0d36a576 Binary files /dev/null and b/data/map_67.dat differ diff --git a/data/map_68.dat b/data/map_68.dat new file mode 100644 index 00000000..d25f86ad Binary files /dev/null and b/data/map_68.dat differ diff --git a/data/map_69.dat b/data/map_69.dat new file mode 100644 index 00000000..71db506f Binary files /dev/null and b/data/map_69.dat differ diff --git a/data/map_70.dat b/data/map_70.dat new file mode 100644 index 00000000..7738956a Binary files /dev/null and b/data/map_70.dat differ diff --git a/data/map_71.dat b/data/map_71.dat new file mode 100644 index 00000000..3ae7d1f1 Binary files /dev/null and b/data/map_71.dat differ diff --git a/data/map_72.dat b/data/map_72.dat new file mode 100644 index 00000000..67b43b13 Binary files /dev/null and b/data/map_72.dat differ diff --git a/data/map_73.dat b/data/map_73.dat new file mode 100644 index 00000000..3ac435b4 Binary files /dev/null and b/data/map_73.dat differ diff --git a/data/map_74.dat b/data/map_74.dat new file mode 100644 index 00000000..5c473604 Binary files /dev/null and b/data/map_74.dat differ diff --git a/data/map_75.dat b/data/map_75.dat new file mode 100644 index 00000000..0f2dcebb Binary files /dev/null and b/data/map_75.dat differ diff --git a/data/map_76.dat b/data/map_76.dat new file mode 100644 index 00000000..a1bedcfb Binary files /dev/null and b/data/map_76.dat differ diff --git a/data/map_77.dat b/data/map_77.dat new file mode 100644 index 00000000..1eb53bc0 Binary files /dev/null and b/data/map_77.dat differ diff --git a/data/map_78.dat b/data/map_78.dat new file mode 100644 index 00000000..24ac0019 Binary files /dev/null and b/data/map_78.dat differ diff --git a/data/map_79.dat b/data/map_79.dat new file mode 100644 index 00000000..44269deb Binary files /dev/null and b/data/map_79.dat differ diff --git a/data/map_80.dat b/data/map_80.dat new file mode 100644 index 00000000..5bc8334f Binary files /dev/null and b/data/map_80.dat differ diff --git a/data/map_81.dat b/data/map_81.dat new file mode 100644 index 00000000..5b03a15f Binary files /dev/null and b/data/map_81.dat differ diff --git a/data/map_82.dat b/data/map_82.dat new file mode 100644 index 00000000..1b6ebc0e Binary files /dev/null and b/data/map_82.dat differ diff --git a/data/map_83.dat b/data/map_83.dat new file mode 100644 index 00000000..d23f94e9 Binary files /dev/null and b/data/map_83.dat differ diff --git a/data/map_84.dat b/data/map_84.dat new file mode 100644 index 00000000..3f035a38 Binary files /dev/null and b/data/map_84.dat differ diff --git a/data/raids.dat b/data/raids.dat new file mode 100644 index 00000000..9af0a357 Binary files /dev/null and b/data/raids.dat differ diff --git a/data/random_sequences.dat b/data/random_sequences.dat new file mode 100644 index 00000000..13e70c7c Binary files /dev/null and b/data/random_sequences.dat differ diff --git a/data/scoreboard.dat b/data/scoreboard.dat new file mode 100644 index 00000000..ce5c9c56 Binary files /dev/null and b/data/scoreboard.dat differ diff --git a/datapacks/G_CAR/data/gcar/functions/action.mcfunction b/datapacks/G_CAR/data/gcar/functions/action.mcfunction new file mode 100644 index 00000000..c56294e3 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/action.mcfunction @@ -0,0 +1,4 @@ +kill @e[type=marker,tag=GCAR.way] +# tag @a remove GCAR.stop +execute as @a[tag=GCAR.go,tag=riding] at @s run function gcar:gcar_go +tag @a remove GCAR.go \ No newline at end of file diff --git a/datapacks/G_CAR/data/gcar/functions/change_action.mcfunction b/datapacks/G_CAR/data/gcar/functions/change_action.mcfunction new file mode 100644 index 00000000..cfdafe63 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/change_action.mcfunction @@ -0,0 +1,31 @@ +# 获取选择的物品栏 /data get entity @s SelectedItemSlot +# 乘坐的实体 /data get entity @s RootVehicle.Entity +tag @e[tag=ridden] remove ridden +tag @a[tag=riding] remove riding +tag @a[tag=GCAR.go] remove GCAR.go +tag @a[tag=GCAR.go0] remove GCAR.go0 +tag @a[tag=GCAR.go1] remove GCAR.go1 +tag @a[tag=GCAR.go2] remove GCAR.go2 +tag @a[tag=GCAR.go3] remove GCAR.go3 +tag @a[tag=GCAR.go4] remove GCAR.go4 +tag @a[tag=GCAR.go5] remove GCAR.go5 +tag @a[tag=GCAR.go6] remove GCAR.go6 +tag @a[tag=GCAR.go7] remove GCAR.go7 + +# /say @a[y_rotation=0..45] +execute as @a[gamemode=!spectator] at @s if data entity @s {RootVehicle:{Entity:{Tags:['GCAR']}}} run tag @s add riding +execute as @a[tag=riding] at @s as @e[tag=GCAR,limit=1,sort=nearest,distance=..1] at @s run tag @s add ridden +execute as @e[tag=ridden,tag=GCAR] at @s run title @a[limit=1,sort=nearest,distance=..1,tag=riding] actionbar ["\u00a7aGCAR \u00a77- 按下",{"keybind":"key.sneak","color":"yellow"},"\u00a77离开 - \u00a7e物品栏第一格\u00a77前进 - \u00a77本次已行驶",{"score":{"objective": "GCAR.long","name": "*"},"color": "green"},"\u00a7am"] +# [tag=GCAR] +# /summon minecraft:minecart ~ ~1 ~ {CustomName:"[\"GCAR\"]",CustomNameVisible:1b,Tags:["GCAR"],CustomDisplayTile:1b,DisplayState:{Name:"minecraft:white_carpet"},DisplayOffset:5} +tag @a[tag=riding,nbt={SelectedItemSlot:0}] add GCAR.go +tag @a[tag=GCAR.go,y_rotation=-22.5..22.5] add GCAR.go0 +tag @a[tag=GCAR.go,y_rotation=22.5..67.5] add GCAR.go1 +tag @a[tag=GCAR.go,y_rotation=67.5..112.5] add GCAR.go2 +tag @a[tag=GCAR.go,y_rotation=112.5..157.5] add GCAR.go3 +tag @a[tag=GCAR.go,y_rotation=157.5..-157.5] add GCAR.go4 +tag @a[tag=GCAR.go,y_rotation=-157.5..-112.5] add GCAR.go5 +tag @a[tag=GCAR.go,y_rotation=-112.5..-67.5] add GCAR.go6 +tag @a[tag=GCAR.go,y_rotation=-67.5..-22.5] add GCAR.go7 +scoreboard players reset @a[tag=!riding,scores={GCAR.tick=-1..}] GCAR.tick +scoreboard players reset @a[tag=!riding,scores={GCAR.long=-1..}] GCAR.long diff --git a/datapacks/G_CAR/data/gcar/functions/gcar_go.mcfunction b/datapacks/G_CAR/data/gcar/functions/gcar_go.mcfunction new file mode 100644 index 00000000..55d5ee24 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/gcar_go.mcfunction @@ -0,0 +1,69 @@ +# execute positioned 0.0 0.0 0.0 run summon minecraft:marker ^ ^ ^2 {Tags:["GCAR.way"]} +# tag @a[tag=GCAR.go,y_rotation=-22.5..22.5] add GCAR.go0 +# tag @a[tag=GCAR.go,y_rotation=22.5..67.5] add GCAR.go1 +# tag @a[tag=GCAR.go,y_rotation=67.5..112.5] add GCAR.go2 +# tag @a[tag=GCAR.go,y_rotation=112.5..157.5] add GCAR.go3 +# tag @a[tag=GCAR.go,y_rotation=157.5..-157.5] add GCAR.go4 +# tag @a[tag=GCAR.go,y_rotation=-157.5..-112.5] add GCAR.go5 +# tag @a[tag=GCAR.go,y_rotation=-112.5..-67.5] add GCAR.go6 +# tag @a[tag=GCAR.go,y_rotation=-67.5..-22.5] add GCAR.go7 +# data modify entity @s Motion[0] set value 0 +# data modify entity @s Motion[2] set value 0 + +execute as @s at @s unless block ~ ~-0.5 ~ air run scoreboard players add @s[tag=GCAR.go] GCAR.tick 1 +execute as @s[scores={GCAR.tick=2..}] at @s run scoreboard players add @s GCAR.long 1 +execute as @s[scores={GCAR.tick=2..}] at @s run scoreboard players set @s GCAR.tick 0 +## Rotation +execute as @s[tag=GCAR.go] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~ ~-0.5 ~ air run data modify entity @s Motion[1] set value 0.04 + +## go0 +execute as @s[tag=GCAR.go0] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value 0.0 +execute as @s[tag=GCAR.go0] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set value 2.0 +execute as @s[tag=GCAR.go0] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~ ~ ~1 air if block ~ ~1.5 ~1 air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 +## go1 +execute as @s[tag=GCAR.go1] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value 45.0 +execute as @s[tag=GCAR.go1] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set value 2.0 +execute as @s[tag=GCAR.go1] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[0] set value -2.0 +execute as @s[tag=GCAR.go1] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~-1 ~ ~1 air if block ~-1 ~1.5 ~1 air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +## go2 +execute as @s[tag=GCAR.go2] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value 180.0 +execute as @s[tag=GCAR.go2] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[0] set value -2.0 +execute as @s[tag=GCAR.go2] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~-1 ~ ~ air if block ~-1 ~1.5 ~ air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +## go3 +execute as @s[tag=GCAR.go3] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value 135.0 +execute as @s[tag=GCAR.go3] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set value -2.0 +execute as @s[tag=GCAR.go3] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[0] set value -2.0 +execute as @s[tag=GCAR.go3] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~-1 ~ ~-1 air if block ~-1 ~1.5 ~-1 air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +## go4 +execute as @s[tag=GCAR.go4] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value 90.0 +execute as @s[tag=GCAR.go4] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set value -2.0 +execute as @s[tag=GCAR.go4] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~ ~ ~-1 air if block ~ ~1.5 ~-1 air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +## go5 +execute as @s[tag=GCAR.go5] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value -135.0 +execute as @s[tag=GCAR.go5] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set value -2.0 +execute as @s[tag=GCAR.go5] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[0] set value 2.0 +execute as @s[tag=GCAR.go5] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~-1 ~ ~1 air if block ~-1 ~1.5 ~1 air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +## go6 +execute as @s[tag=GCAR.go6] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value -90.0 +execute as @s[tag=GCAR.go6] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[0] set value 2.0 +execute as @s[tag=GCAR.go6] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~1 ~ ~ air if block ~1 ~1.5 ~ air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +## go7 +execute as @s[tag=GCAR.go6] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Rotation[0] set value -45.0 + +execute as @s[tag=GCAR.go7] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[0] set value 2.0 +execute as @s[tag=GCAR.go7] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set value 2.0 +execute as @s[tag=GCAR.go7] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~1 ~ ~1 air if block ~1 ~1.5 ~1 air unless block ~ ~-0.9 ~ air run data modify entity @s Motion[1] set value 0.2 + +# execute as @s[tag=GCAR.go] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s if block ~ ~-0.1 ~ air run data modify entity @s Motion[1] set value -0.15 +execute as @s[tag=GCAR.go] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s if block ~ ~-0.5 ~ lime_glazed_terracotta run data modify entity @s Motion[1] set value 1.0 +execute as @s[tag=GCAR.go] as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ~ ~ ~ air unless block ~ ~ ~ #wall_signs unless block ~ ~ ~ #signs unless block ~ ~ ~ torch run data modify entity @s Motion[1] set value 0.2 + +# execute as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s unless block ^ ^ ^0.1 air run data modify entity @s Motion[1] set value 0.1 +# execute as @e[distance=0..1,sort=nearest,limit=1,tag=ridden,tag=GCAR] at @s run data modify entity @s Motion[2] set from entity @e[limit=1,sort=nearest,type=marker,tag=GCAR.way] Pos[2] +kill @e[type=marker,tag=GCAR.way] diff --git a/datapacks/G_CAR/data/gcar/functions/kill_a_car.mcfunction b/datapacks/G_CAR/data/gcar/functions/kill_a_car.mcfunction new file mode 100644 index 00000000..d52f1c46 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/kill_a_car.mcfunction @@ -0,0 +1 @@ +say kill! \ No newline at end of file diff --git a/datapacks/G_CAR/data/gcar/functions/loot_car.mcfunction b/datapacks/G_CAR/data/gcar/functions/loot_car.mcfunction new file mode 100644 index 00000000..8acf34c7 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/loot_car.mcfunction @@ -0,0 +1,2 @@ +kill @s +summon minecraft:minecart ~ ~ ~ {CustomName:'["GCAR"]',CustomNameVisible:1b,Tags:["GCAR"],CustomDisplayTile:1b,DisplayState:{Name:"minecraft:white_carpet"},DisplayOffset:5} \ No newline at end of file diff --git a/datapacks/G_CAR/data/gcar/functions/main.mcfunction b/datapacks/G_CAR/data/gcar/functions/main.mcfunction new file mode 100644 index 00000000..7737936e --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/main.mcfunction @@ -0,0 +1,6 @@ + +function gcar:change_action +function gcar:action +execute as @a[nbt={Inventory:[{id:"minecraft:minecart",Slot:-106b,tag:{gcar:1b}}]}] at @s run function gcar:put_car +# execute as @a[scores={GCAR.long=10000}] at @s run advancement grant @s only gcar:car_master +execute as @e[type=item,nbt={Item:{tag:{display:{Name:'{"text":"GCAR"}'}}}}] at @s run function gcar:loot_car diff --git a/datapacks/G_CAR/data/gcar/functions/put_car.mcfunction b/datapacks/G_CAR/data/gcar/functions/put_car.mcfunction new file mode 100644 index 00000000..108b2fa4 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/put_car.mcfunction @@ -0,0 +1,3 @@ +item replace entity @s weapon.offhand with air +summon minecraft:minecart ~ ~ ~ {CustomName:'["GCAR"]',CustomNameVisible:1b,Tags:["GCAR"],CustomDisplayTile:1b,DisplayState:{Name:"minecraft:white_carpet"},DisplayOffset:5} +tellraw @s ["\u00a7aGCAR 已经准备就绪。"] \ No newline at end of file diff --git a/datapacks/G_CAR/data/gcar/functions/setup.mcfunction b/datapacks/G_CAR/data/gcar/functions/setup.mcfunction new file mode 100644 index 00000000..47e253e0 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/setup.mcfunction @@ -0,0 +1,5 @@ +tellraw @a ["\u00a7b[GCAR] \u00a7a数据包成功加载!"] +scoreboard objectives remove GCAR.long +scoreboard objectives remove GCAR.tick +scoreboard objectives add GCAR.tick dummy "GCAR 行驶路程" +scoreboard objectives add GCAR.long dummy "GCAR 行驶路程" \ No newline at end of file diff --git a/datapacks/G_CAR/data/gcar/functions/test.mcfunction b/datapacks/G_CAR/data/gcar/functions/test.mcfunction new file mode 100644 index 00000000..d131c1e1 --- /dev/null +++ b/datapacks/G_CAR/data/gcar/functions/test.mcfunction @@ -0,0 +1 @@ +say @a[nbt={Inventory:[{id:"minecraft:minecart",Slot:-106b,tag:{display:{}}}]}] \ No newline at end of file diff --git a/datapacks/G_CAR/data/minecraft/tags/functions/load.json b/datapacks/G_CAR/data/minecraft/tags/functions/load.json new file mode 100644 index 00000000..7c9c2858 --- /dev/null +++ b/datapacks/G_CAR/data/minecraft/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "gcar:setup" + ] +} diff --git a/datapacks/G_CAR/data/minecraft/tags/functions/tick.json b/datapacks/G_CAR/data/minecraft/tags/functions/tick.json new file mode 100644 index 00000000..d85433d9 --- /dev/null +++ b/datapacks/G_CAR/data/minecraft/tags/functions/tick.json @@ -0,0 +1,5 @@ +{ + "values": [ + "gcar:main" + ] +} diff --git a/datapacks/G_CAR/pack.mcmeta b/datapacks/G_CAR/pack.mcmeta new file mode 100644 index 00000000..64b64919 --- /dev/null +++ b/datapacks/G_CAR/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "§aGamom's §bCAR §8| §eDATAPACK" + } +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/after/over.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/after/over.mcfunction new file mode 100644 index 00000000..261f974b --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/after/over.mcfunction @@ -0,0 +1,33 @@ +# say @a[tag=bw.play] +scoreboard players reset * bw.tmp.ir +scoreboard players reset * bw.tmp.gd +scoreboard players reset * bw.tmp.dm +scoreboard players reset * bw.tmp.em +scoreboard players reset * bw.axe +scoreboard players reset * bw.pickaxe +scoreboard players reset * bw.armor +tag @a remove bw.attack +tag @a remove bw.armor +tag @a remove bw.speed +tag @a remove bw.fasti +tag @a remove bw.fastii +tag @a remove bw.shears +scoreboard players set bw.state state 6 +tag @a remove bw.play +gamemode spectator @a[tag=bw.player] +clear @a[tag=bw.player] +effect clear @a[tag=bw.player] +schedule function bedwars/after/tp 5s +forceload remove -216 300 -393 121 +kill @e[type=item] + +bossbar set minigames:bedwars value 1 +bossbar set minigames:bedwars max 1 +bossbar set minigames:bedwars players @a[tag=bw.player] +bossbar set minigames:bedwars name ["\u00a7e\u00a7lBEDWARS 起床战争 \u00a77| \u00a7c游戏结束。"] + +kill @e[tag=bw.entity] + +scoreboard players reset @e[type=sheep,tag=bw.tntsheep] +kill @e[type=sheep,tag=bw.tntsheep] +kill @e[type=marker,tag=tntsheep.spawn] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/after/over_timeout.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/after/over_timeout.mcfunction new file mode 100644 index 00000000..4aec8361 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/after/over_timeout.mcfunction @@ -0,0 +1,4 @@ +tellraw @a ["\n\n\n\n\u00a7f\u00a7l平局 > \u00a7b此轮游戏是平局\n"] +title @a[tag=bw.player] title ["\u00a7c\u00a7lGAME OVER"] +title @a[tag=bw.player] subtitle ["\u00a7e平局"] +function minecraft:bedwars/after/over \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/after/overreset.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/after/overreset.mcfunction new file mode 100644 index 00000000..d8d8026f --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/after/overreset.mcfunction @@ -0,0 +1,26 @@ +# say @a[tag=bw.play] +schedule clear bedwars/resets/mogu +schedule clear bedwars/resets/unnamed +schedule clear bedwars/resets/space +scoreboard players reset * bw.tmp.ir +scoreboard players reset * bw.tmp.gd +scoreboard players reset * bw.tmp.dm +scoreboard players reset * bw.tmp.em +scoreboard players reset * bw.axe +scoreboard players reset * bw.pickaxe +scoreboard players reset * bw.armor +tag @a remove bw.attack +tellraw @a ["\n\u00a7f\u00a7l 起床战争 > \u00a7c发生了一些问题,正在尝试修复。\n"] +tag @a remove bw.armor +tag @a remove bw.speed +tag @a remove bw.fasti +tag @a remove bw.fastii +tag @a remove bw.shears +scoreboard players set bw.state state 6 +tag @a remove bw.play +gamemode spectator @a[tag=bw.player] +clear @a[tag=bw.player] +effect clear @a[tag=bw.player] +function bedwars/after/tp +forceload remove -216 300 -393 121 +kill @e[type=item] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/after/tp.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/after/tp.mcfunction new file mode 100644 index 00000000..4d106ccd --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/after/tp.mcfunction @@ -0,0 +1,17 @@ +scoreboard players set bw.state state 0 +gamemode adventure @a[tag=bw.player] + +execute as @a[tag=bw.player] run function minecraft:bedwars/message/join +scoreboard players reset * bw.info +scoreboard players set §c bw.info 7 +scoreboard players set §r欢迎游玩Bedwars! bw.info 6 +scoreboard players set §r bw.info 5 +scoreboard players set §eAuthor§b:§awifi_left bw.info 3 +scoreboard players set §r游戏需要至少2人 bw.info 4 +scoreboard players set §d bw.info 2 +scoreboard players set §eBedwars@MiniGame bw.info 1 + +bossbar set minigames:bedwars value 1 +bossbar set minigames:bedwars max 1 +bossbar set minigames:bedwars players +bossbar set minigames:bedwars visible false \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/armor.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/armor.mcfunction new file mode 100644 index 00000000..4479d47b --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/armor.mcfunction @@ -0,0 +1,10 @@ +tag @a[tag=bw.play] add bwneeds +tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:wooden_sword"}]}] remove bwneeds +tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:stone_sword"}]}] remove bwneeds +tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:iron_sword"}]}] remove bwneeds +tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}] remove bwneeds + +function fix:bw/armor + +execute as @a[tag=INV,tag=bw.play,gamemode=!spectator] run function minecraft:bedwars/during/player/removearmor +execute as @a[tag=!INV,tag=bw.play,gamemode=!spectator] run function minecraft:bedwars/during/player/getarmor \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/beds/destory.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/beds/destory.mcfunction new file mode 100644 index 00000000..01882e3a --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/beds/destory.mcfunction @@ -0,0 +1 @@ +execute as @e[tag=bw.bed.beds] at @s run setblock ~ ~ ~ air \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/before/random_team.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/before/random_team.mcfunction new file mode 100644 index 00000000..aece4919 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/before/random_team.mcfunction @@ -0,0 +1,8 @@ +tag @r[team=bw.wait,tag=!GOABLE.SPEC] add bw.rd.sel +execute if score bw.team.random board matches 0..0 run team join bw.green @a[tag=bw.rd.sel] +execute if score bw.team.random board matches 1..1 run team join bw.yellow @a[tag=bw.rd.sel] +execute if score bw.team.random board matches 2..2 run team join bw.red @a[tag=bw.rd.sel] +execute if score bw.team.random board matches 3..3 run team join bw.blue @a[tag=bw.rd.sel] +tag @a[tag=bw.rd.sel] remove bw.rd.sel +scoreboard players add bw.team.random board 1 +execute if score bw.team.random board matches 4.. run scoreboard players set bw.team.random board 0 diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/before/random_team_2teams.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/before/random_team_2teams.mcfunction new file mode 100644 index 00000000..f0f6ab04 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/before/random_team_2teams.mcfunction @@ -0,0 +1,6 @@ +tag @r[team=bw.wait,tag=!GOABLE.SPEC] add bw.rd.sel +execute if score bw.team.random1 board matches 0..0 run team join bw.red @a[tag=bw.rd.sel] +execute if score bw.team.random1 board matches 1..1 run team join bw.blue @a[tag=bw.rd.sel] +tag @a[tag=bw.rd.sel] remove bw.rd.sel +scoreboard players add bw.team.random1 board 1 +execute if score bw.team.random1 board matches 2.. run scoreboard players set bw.team.random1 board 0 diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/before/start.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/before/start.mcfunction new file mode 100644 index 00000000..954908b5 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/before/start.mcfunction @@ -0,0 +1,12 @@ +tellraw @a[team=bw.wait] ["",{"text":"▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬","color":"green"},{"text":"\n\n "},{"text":"起床战争","bold":true,"color":"yellow"},{"text":"\n\n 保护你的床并摧毁敌人的床。收集铁锭,金锭,绿宝石和钻石\n 来升级,使自身和队伍变得更强。\n\n"},{"text":"▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\n\u00a7a您可以使用 \u00a7e/tm <信息> \u00a7a进行队伍内聊天。","color":"green"}] + +scoreboard players add globle globle.game 1 +scoreboard players operation bw globle.game = globle globle.game +tag @a[team=bw.wait] add bw.player +execute as @a[team=bw.wait] at @s run playsound entity.ender_dragon.growl player @s +schedule clear bedwars/resets/space +schedule clear bedwars/resets/mogu +schedule clear bedwars/resets/unnamed +schedule clear bedwars/resets/glassworld +schedule clear bedwars/resets/special1 +function minecraft:bedwars/reset diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/before/trystart.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/before/trystart.mcfunction new file mode 100644 index 00000000..7cac7abf --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/before/trystart.mcfunction @@ -0,0 +1,6 @@ +playsound ui.button.click player @s +scoreboard players set wait.bw.player tick 0 +execute as @a[team=bw.wait,gamemode=adventure] run scoreboard players add wait.bw.player tick 1 +execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches ..1 run title @a[team=bw.wait] subtitle ["\u00a7cWait for more players !"] +execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches ..1 run title @a[team=bw.wait] title ["\u00a7fBedwars"] +execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches 2.. run function minecraft:bedwars/before/start \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/debug/getpos.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/debug/getpos.mcfunction new file mode 100644 index 00000000..5022d50a --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/debug/getpos.mcfunction @@ -0,0 +1,4 @@ +execute store result score getx board run data get block ~ ~ ~ x +execute store result score gety board run data get block ~ ~ ~ y +execute store result score getz board run data get block ~ ~ ~ z +tellraw @a [{"score":{"name": "getx","objective": "board"},"color": "red"}," ",{"score":{"name": "gety","objective": "board"},"color": "red"}," ",{"score":{"name": "getz","objective": "board"},"color": "red"}] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/blue.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/blue.mcfunction new file mode 100644 index 00000000..eea6a89a --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/blue.mcfunction @@ -0,0 +1,32 @@ +scoreboard players set bd.blue state 0 +execute as @a[scores={pickblue=1..},team=bw.blue] run tellraw @s ["\u00a7c你不能破坏自己的床!"] +execute as @a[scores={pickblue=1..},team=bw.blue] run function minecraft:bedwars/resets/beds/blue +# execute as @a[scores={pickblue=1..},team=bw.blue] run setblock -303 31 277 blue_bed[facing=south,part=head] +execute as @a[scores={pickblue=1..},team=bw.blue] run scoreboard players set bd.blue state 1 + +# execute unless entity @a[scores={pickblue=1..}] run setblock -303 31 276 blue_bed[facing=south] +# execute unless entity @a[scores={pickblue=1..}] run setblock -303 31 277 blue_bed[facing=south,part=head] +# execute unless entity @a[scores={pickblue=1..}] run scoreboard players set bd.blue state 1 + +execute unless entity @a[scores={pickblue=1..},team=bw.blue] run tellraw @a[tag=bw.player] ["\n\u00a7f\u00a7l床被破坏了 > \u00a79蓝队的床\u00a77被",{"selector":"@a[scores={pickblue=1..}]"},"\u00a77破坏了!\n"] +execute unless entity @a[scores={pickblue=1..},team=bw.blue] as @a at @s run playsound entity.ender_dragon.growl player @s +execute unless entity @a[scores={pickblue=1..},team=bw.blue] run title @a[team=bw.blue] title ["\u00a7c床已被破坏"] +execute unless entity @a[scores={pickblue=1..},team=bw.blue] run title @a[team=bw.blue] subtitle ["\u00a7r你将无法重生!"] + +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] + +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] + +# setblock -237 31 208 lime_bed[facing=east] +# setblock -236 31 208 lime_bed[facing=east,part=head] + +# setblock -303 31 276 blue_bed[facing=south] +# setblock -303 31 277 blue_bed[facing=south,part=head] + +# execute unless entity @a[scores={pickblue=1..},team=bw.blue] run scoreboard players reset §9蓝§8 §r蓝队:§a§l✓ bw.info +# execute unless entity @a[scores={pickblue=1..},team=bw.blue] run scoreboard players set §9蓝§8 §r蓝队:§e§l❁ bw.info 9 +# execute unless entity @a[scores={pickblue=1..},team=bw.blue] run scoreboard players display name blue bw.info "§9蓝§8 §r蓝队:§a§l" +execute unless entity @a[scores={pickblue=1..},team=bw.blue] run function minecraft:bedwars/during/updateinfo/blue +scoreboard players reset * pickblue diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/green.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/green.mcfunction new file mode 100644 index 00000000..7bb3edea --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/green.mcfunction @@ -0,0 +1,31 @@ +scoreboard players set bd.green state 0 +execute as @a[scores={pickgreen=1..},team=bw.green] run tellraw @s ["\u00a7c你不能破坏自己的床!"] +execute as @a[scores={pickgreen=1..},team=bw.green] run function minecraft:bedwars/resets/beds/green +# execute as @a[scores={pickgreen=1..},team=bw.green] run setblock -236 31 208 lime_bed[facing=east,part=head] +execute as @a[scores={pickgreen=1..},team=bw.green] run scoreboard players set bd.green state 1 + +# execute unless entity @a[scores={pickgreen=1..}] run setblock -237 31 208 lime_bed[facing=east] +# execute unless entity @a[scores={pickgreen=1..}] run setblock -236 31 208 lime_bed[facing=east,part=head] +# execute unless entity @a[scores={pickgreen=1..}] run scoreboard players set bd.green state 1 + +execute unless entity @a[scores={pickgreen=1..},team=bw.green] run tellraw @a[tag=bw.player] ["\n\u00a7f\u00a7l床被破坏了 > \u00a7a绿队的床\u00a77被",{"selector":"@a[scores={pickgreen=1..}]"},"\u00a77破坏了!\n"] +execute unless entity @a[scores={pickgreen=1..},team=bw.green] as @a at @s run playsound entity.ender_dragon.growl player @s +execute unless entity @a[scores={pickgreen=1..},team=bw.green] run title @a[team=bw.green] title ["\u00a7c床已被破坏"] +execute unless entity @a[scores={pickgreen=1..},team=bw.green] run title @a[team=bw.green] subtitle ["\u00a7r你将无法重生!"] + +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] + +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] + +# setblock -237 31 208 lime_bed[facing=east] +# setblock -236 31 208 lime_bed[facing=east,part=head] + +# setblock -303 31 276 blue_bed[facing=south] +# setblock -303 31 277 blue_bed[facing=south,part=head] + +# execute unless entity @a[scores={pickgreen=1..},team=bw.green] run scoreboard players reset §a绿§8 §r绿队:§a§l✓ bw.info +# execute unless entity @a[scores={pickgreen=1..},team=bw.green] run scoreboard players set §a绿§8 §r绿队:§e§l❁ bw.info 8 +execute unless entity @a[scores={pickgreen=1..},team=bw.green] run function minecraft:bedwars/during/updateinfo/green +scoreboard players reset * pickgreen diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/red.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/red.mcfunction new file mode 100644 index 00000000..4e820770 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/red.mcfunction @@ -0,0 +1,30 @@ +scoreboard players set bd.red state 0 +execute as @a[scores={pickred=1..},team=bw.red] run tellraw @s ["\u00a7c你不能破坏自己的床!"] +execute as @a[scores={pickred=1..},team=bw.red] run function minecraft:bedwars/resets/beds/red +# execute as @a[scores={pickred=1..},team=bw.red] run setblock -305 31 141 red_bed[facing=north,part=head] +execute as @a[scores={pickred=1..},team=bw.red] run scoreboard players set bd.red state 1 + +# execute unless entity @a[scores={pickred=1..}] run setblock -305 31 142 red_bed[facing=north] +# execute unless entity @a[scores={pickred=1..}] run setblock -305 31 141 red_bed[facing=north,part=head] +# execute unless entity @a[scores={pickred=1..}] run scoreboard players set bd.red state 1 + +execute unless entity @a[scores={pickred=1..},team=bw.red] run tellraw @a[tag=bw.player] ["\n\u00a7f\u00a7l床被破坏了 > \u00a7c红队的床\u00a77被",{"selector":"@a[scores={pickred=1..}]"},"\u00a77破坏了!\n"] +execute unless entity @a[scores={pickred=1..},team=bw.red] as @a at @s run playsound entity.ender_dragon.growl player @s +execute unless entity @a[scores={pickred=1..},team=bw.red] run title @a[team=bw.red] title ["\u00a7c床已被破坏"] +execute unless entity @a[scores={pickred=1..},team=bw.red] run title @a[team=bw.red] subtitle ["\u00a7r你将无法重生!"] + +# setblock -371 31 210 red_bed[facing=west] +# setblock -372 31 210 red_bed[facing=west,part=head] + +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] + +# setblock -237 31 208 lime_bed[facing=east] +# setblock -236 31 208 lime_bed[facing=east,part=head] + +# setblock -303 31 276 red_bed[facing=south] +# setblock -303 31 277 red_bed[facing=south,part=head] + +execute unless entity @a[scores={pickred=1..},team=bw.red] run function minecraft:bedwars/during/updateinfo/red + +scoreboard players reset * pickred diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/yellow.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/yellow.mcfunction new file mode 100644 index 00000000..d768ddb3 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/beddestroy/yellow.mcfunction @@ -0,0 +1,30 @@ +scoreboard players set bd.yellow state 0 +execute as @a[scores={pickyellow=1..},team=bw.yellow] run tellraw @s ["\u00a7c你不能破坏自己的床!"] +execute as @a[scores={pickyellow=1..},team=bw.yellow] run function minecraft:bedwars/resets/beds/yellow +# execute as @a[scores={pickyellow=1..},team=bw.yellow] run +execute as @a[scores={pickyellow=1..},team=bw.yellow] run scoreboard players set bd.yellow state 1 + +# execute unless entity @a[scores={pickyellow=1..}] run setblock -371 31 210 yellow_bed[facing=west] +# execute unless entity @a[scores={pickyellow=1..}] run setblock -372 31 210 yellow_bed[facing=west,part=head] +# execute unless entity @a[scores={pickyellow=1..}] run scoreboard players set bd.yellow state 1 + +execute unless entity @a[scores={pickyellow=1..},team=bw.yellow] run tellraw @a[tag=bw.player] ["\n\u00a7f\u00a7l床被破坏了 > \u00a7e黄队的床\u00a77被",{"selector":"@a[scores={pickyellow=1..}]"},"\u00a77破坏了!\n"] +execute unless entity @a[scores={pickyellow=1..},team=bw.yellow] as @a at @s run playsound entity.ender_dragon.growl player @s +execute unless entity @a[scores={pickyellow=1..},team=bw.yellow] run title @a[team=bw.yellow] title ["\u00a7c床已被破坏"] +execute unless entity @a[scores={pickyellow=1..},team=bw.yellow] run title @a[team=bw.yellow] subtitle ["\u00a7r你将无法重生!"] + +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] + +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] + +# setblock -237 31 208 lime_bed[facing=east] +# setblock -236 31 208 lime_bed[facing=east,part=head] + +# setblock -303 31 276 yellow_bed[facing=south] +# setblock -303 31 277 yellow_bed[facing=south,part=head] + +execute unless entity @a[scores={pickyellow=1..},team=bw.yellow] run function minecraft:bedwars/during/updateinfo/yellow + +scoreboard players reset * pickyellow diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/died.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/died.mcfunction new file mode 100644 index 00000000..2db4e23e --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/died.mcfunction @@ -0,0 +1,20 @@ + +tp @s -302 68 210 +gamemode spectator @s +clear @s + +execute if score @s bw.pickaxe matches 2.. run scoreboard players remove @s bw.pickaxe 1 +execute if score @s bw.axe matches 2.. run scoreboard players remove @s bw.axe 1 + +execute at @e[limit=1,tag=bw.bed.yellow] if block ~ ~ ~ yellow_bed run tag @s[team=bw.yellow] add bw.fhing +execute at @e[limit=1,tag=bw.bed.green] if block ~ ~ ~ lime_bed run tag @s[team=bw.green] add bw.fhing +execute at @e[limit=1,tag=bw.bed.blue] if block ~ ~ ~ blue_bed run tag @s[team=bw.blue] add bw.fhing +execute at @e[limit=1,tag=bw.bed.red] if block ~ ~ ~ red_bed run tag @s[team=bw.red] add bw.fhing + +scoreboard players set @s[tag=bw.fhing] board 6 + +execute as @s[tag=!bw.fhing] at @s run tag @s remove bw.play +execute as @s[tag=!bw.play] run tellraw @a[tag=bw.player] ["\u00a7b\u00a7l最终击杀!"] +execute as @s[tag=!bw.fhing] at @s run tellraw @s ["\u00a7c你已被淘汰!"] + +execute as @s[tag=!bw.play] run function minecraft:bedwars/during/updateinfo/update \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/getarmor.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/getarmor.mcfunction new file mode 100644 index 00000000..b982eade --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/getarmor.mcfunction @@ -0,0 +1,32 @@ +execute unless data entity @s {Inventory:[{id:"minecraft:leather_helmet"}]} run item replace entity @s[team=bw.green] armor.head with leather_helmet{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:65280}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_chestplate"}]} run item replace entity @s[team=bw.green] armor.chest with leather_chestplate{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:65280}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_helmet"}]} run item replace entity @s[team=bw.red] armor.head with leather_helmet{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16711680}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_chestplate"}]} run item replace entity @s[team=bw.red] armor.chest with leather_chestplate{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16711680}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_helmet"}]} run item replace entity @s[team=bw.blue] armor.head with leather_helmet{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:255}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_chestplate"}]} run item replace entity @s[team=bw.blue] armor.chest with leather_chestplate{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:255}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_helmet"}]} run item replace entity @s[team=bw.yellow] armor.head with leather_helmet{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16776960}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_chestplate"}]} run item replace entity @s[team=bw.yellow] armor.chest with leather_chestplate{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16776960}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_leggings"}]} run item replace entity @s[team=bw.green,scores={bw.armor=..0}] armor.legs with leather_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:65280}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_boots"}]} run item replace entity @s[team=bw.green,scores={bw.armor=..0}] armor.feet with leather_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:65280}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_leggings"}]} run item replace entity @s[team=bw.red,scores={bw.armor=..0}] armor.legs with leather_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16711680}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_boots"}]} run item replace entity @s[team=bw.red,scores={bw.armor=..0}] armor.feet with leather_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16711680}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_leggings"}]} run item replace entity @s[team=bw.yellow,scores={bw.armor=..0}] armor.legs with leather_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16776960}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_boots"}]} run item replace entity @s[team=bw.yellow,scores={bw.armor=..0}] armor.feet with leather_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:16776960}} + +execute unless data entity @s {Inventory:[{id:"minecraft:leather_leggings"}]} run item replace entity @s[team=bw.blue,scores={bw.armor=..0}] armor.legs with leather_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:255}} +execute unless data entity @s {Inventory:[{id:"minecraft:leather_boots"}]} run item replace entity @s[team=bw.blue,scores={bw.armor=..0}] armor.feet with leather_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}],display:{color:255}} + +execute unless data entity @s {Inventory:[{id:"minecraft:chainmail_leggings"}]} run item replace entity @s[scores={bw.armor=1..1}] armor.legs with chainmail_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} +execute unless data entity @s {Inventory:[{id:"minecraft:chainmail_boots"}]} run item replace entity @s[scores={bw.armor=1..1}] armor.feet with chainmail_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} + +execute unless data entity @s {Inventory:[{id:"minecraft:iron_leggings"}]} run item replace entity @s[scores={bw.armor=2..2}] armor.legs with iron_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} +execute unless data entity @s {Inventory:[{id:"minecraft:iron_boots"}]} run item replace entity @s[scores={bw.armor=2..2}] armor.feet with iron_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} + +execute unless data entity @s {Inventory:[{id:"minecraft:diamond_leggings"}]} run item replace entity @s[scores={bw.armor=3..3}] armor.legs with diamond_leggings{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} +execute unless data entity @s {Inventory:[{id:"minecraft:diamond_boots"}]} run item replace entity @s[scores={bw.armor=3..3}] armor.feet with diamond_boots{Unbreakable:1b,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/getitem.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/getitem.mcfunction new file mode 100644 index 00000000..87fdb604 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/getitem.mcfunction @@ -0,0 +1,11 @@ +function fix:bw/getitem + +execute if score @s bw.tmp.ir matches 1.. run scoreboard players remove @s bw.tmp.ir 1 +execute if score @s bw.tmp.dm matches 1.. run scoreboard players remove @s bw.tmp.dm 1 +execute if score @s bw.tmp.gd matches 1.. run scoreboard players remove @s bw.tmp.gd 1 +execute if score @s bw.tmp.em matches 1.. run scoreboard players remove @s bw.tmp.em 1 + +execute if score @s bw.tmp.ir matches 1.. run function bedwars/during/player/getitem +execute if score @s bw.tmp.dm matches 1.. run function bedwars/during/player/getitem +execute if score @s bw.tmp.gd matches 1.. run function bedwars/during/player/getitem +execute if score @s bw.tmp.em matches 1.. run function bedwars/during/player/getitem \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/loot.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/loot.mcfunction new file mode 100644 index 00000000..89b937aa --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/loot.mcfunction @@ -0,0 +1,27 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +# scoreboard players reset @s[tag=!bw.play] bw.kill +#gamemode spectator @s +data modify storage test Pos set from entity @s Pos +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +scoreboard players reset @s die +execute if entity @a[scores={bw.kill=1..}] at @a[scores={bw.kill=1..}] run scoreboard players operation @a[scores={bw.kill=1..},limit=1] bw.tmp.ir = @s bw.tmp.ir +execute if entity @a[scores={bw.kill=1..}] at @a[scores={bw.kill=1..}] run scoreboard players operation @a[scores={bw.kill=1..},limit=1] bw.tmp.gd = @s bw.tmp.gd +execute if entity @a[scores={bw.kill=1..}] at @a[scores={bw.kill=1..}] run scoreboard players operation @a[scores={bw.kill=1..},limit=1] bw.tmp.dm = @s bw.tmp.dm +execute if entity @a[scores={bw.kill=1..}] at @a[scores={bw.kill=1..}] run scoreboard players operation @a[scores={bw.kill=1..},limit=1] bw.tmp.em = @s bw.tmp.em +# execute unless entity @a[scores={bw.kill=1..}] run data modify entity @e[type=marker,tag=loot,tag=neweee,limit=1] Pos set from storage test Pos +# scoreboard players operation @e[type=marker,tag=loot,tag=neweee] bw.tmp.ir = @s bw.tmp.ir +# scoreboard players operation @e[type=marker,tag=loot,tag=neweee] bw.tmp.gd = @s bw.tmp.gd +# scoreboard players operation @e[type=marker,tag=loot,tag=neweee] bw.tmp.dm = @s bw.tmp.dm +# scoreboard players operation @e[type=marker,tag=loot,tag=neweee] bw.tmp.em = @s bw.tmp.em +# tag @e[type=marker,tag=loot,tag=neweee] remove neweee +execute if entity @a[scores={bw.kill=1..}] run tellraw @a[tag=bw.player] [{"selector":"@s"},"\u00a77 was killed by ",{"selector":"@a[scores={bw.kill=1..}]"}] +execute unless entity @a[scores={bw.kill=1..}] run tellraw @a[tag=bw.player] [{"selector":"@s"},"\u00a77 died."] +execute as @a[scores={bw.kill=1..}] at @s run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @a[scores={bw.kill=1..}] if score @s bw.tmp.ir matches 1.. run tellraw @s [{"text":"+ ","color": "white"},{"score":{"objective": "bw.tmp.ir","name": "@s"},"color": "white"},{"text":" 铁锭","color": "white"}] +execute as @a[scores={bw.kill=1..}] if score @s bw.tmp.gd matches 1.. run tellraw @s [{"text":"+ ","color": "gold"},{"score":{"objective": "bw.tmp.gd","name": "@s"},"color": "gold"},{"text":" 金锭","color": "gold"}] +execute as @a[scores={bw.kill=1..}] if score @s bw.tmp.dm matches 1.. run tellraw @s [{"text":"+ ","color": "aqua"},{"score":{"objective": "bw.tmp.dm","name": "@s"},"color": "aqua"},{"text":" 钻石","color": "aqua"}] +execute as @a[scores={bw.kill=1..}] if score @s bw.tmp.em matches 1.. run tellraw @s [{"text":"+ ","color": "dark_green"},{"score":{"objective": "bw.tmp.em","name": "@s"},"color": "dark_green"},{"text":" 绿宝石","color": "dark_green"}] +execute as @a[scores={bw.kill=1..}] at @s run function bedwars/during/player/getitem +scoreboard players reset @a[tag=bw.player] bw.kill diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/lootkill.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/lootkill.mcfunction new file mode 100644 index 00000000..69aed71c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/lootkill.mcfunction @@ -0,0 +1,5 @@ +scoreboard players reset @s bw.tmp.ir +scoreboard players reset @s bw.tmp.gd +scoreboard players reset @s bw.tmp.dm +scoreboard players reset @s bw.tmp.em +kill @s \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/onlytpspawn.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/onlytpspawn.mcfunction new file mode 100644 index 00000000..2c255043 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/onlytpspawn.mcfunction @@ -0,0 +1,18 @@ +execute if score bw.mode board matches ..3 run tp @s[team=bw.yellow] -383 30 210 -90 0 +execute if score bw.mode board matches ..3 run tp @s[team=bw.blue] -303 30 288 -180 0 +execute if score bw.mode board matches ..3 run tp @s[team=bw.green] -225 30 208 90 0 +execute if score bw.mode board matches ..3 run tp @s[team=bw.red] -305 30 130 0 0 +execute if score bw.mode board matches 4 run tp @s[team=bw.yellow] -359 30 210 -90 0 +execute if score bw.mode board matches 4 run tp @s[team=bw.blue] -305 30 265 -180 0 +execute if score bw.mode board matches 4 run tp @s[team=bw.green] -251 30 211 90 0 +execute if score bw.mode board matches 4 run tp @s[team=bw.red] -305 30 157 0 0 + +execute if score bw.mode board matches 5 run tp @s[team=bw.yellow] -382 33 210 -90 0 +execute if score bw.mode board matches 5 run tp @s[team=bw.blue] -303 33 288 -180 0 +execute if score bw.mode board matches 5 run tp @s[team=bw.green] -226 33 208 90 0 +execute if score bw.mode board matches 5 run tp @s[team=bw.red] -305 33 131 0 0 + +execute if score bw.mode board matches 6 run tp @s[team=bw.yellow] -377 19 210 -90 0 +execute if score bw.mode board matches 6 run tp @s[team=bw.blue] -303 19 284 -180 0 +execute if score bw.mode board matches 6 run tp @s[team=bw.green] -231 19 208 90 0 +execute if score bw.mode board matches 6 run tp @s[team=bw.red] -305 19 136 0 0 \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/rejoin.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/rejoin.mcfunction new file mode 100644 index 00000000..a0ea765f --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/rejoin.mcfunction @@ -0,0 +1,10 @@ +scoreboard players reset @s leave +execute as @s at @s run tellraw @a[tag=bw.player] [{"selector":"@s"},"\u00a77 重新加入了游戏。"] +tag @s[team=bw.blue] add bw.play +tag @s[team=bw.red] add bw.play +tag @s[team=bw.green] add bw.play +tag @s[team=bw.yellow] add bw.play +execute as @s[tag=bw.play] run tellraw @s ["\n\u00a77 本次游戏仍然有效,您已加入游戏!\n \u00a77您可以使用 \u00a76/trigger hub\u00a77返回大厅\n"] +execute as @s[tag=!bw.play] run tellraw @s ["\n\u00a7c 本次游戏仍有效,但无法确认您的队伍!您无法进入游戏\n"] +# execute as @s[team=] run tellraw @s ["\n\u00a77 本次游戏仍然有效,您已加入游戏!\n \u00a77您可以使用 \u00a76/trigger hub\u00a77返回大厅\n"] +execute as @s[tag=bw.play] at @s run function bedwars/during/player/died \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/removearmor.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/removearmor.mcfunction new file mode 100644 index 00000000..f253d4f3 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/removearmor.mcfunction @@ -0,0 +1,4 @@ +item replace entity @s armor.head with air +item replace entity @s armor.chest with air +item replace entity @s armor.legs with air +item replace entity @s armor.feet with air \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/teleport.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/teleport.mcfunction new file mode 100644 index 00000000..d9090059 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/player/teleport.mcfunction @@ -0,0 +1,12 @@ +function bedwars/during/player/onlytpspawn + +# -359 30 210 +# -305 30 265 +# -251 30 211 +# -305 30 157 + +title @s clear +tellraw @s ["\u00a7e你已经重生!"] +tag @s remove bw.fhing +gamemode adventure @s +clear @s \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/bluedied.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/bluedied.mcfunction new file mode 100644 index 00000000..b46d57e1 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/bluedied.mcfunction @@ -0,0 +1,16 @@ + +scoreboard players display name blue bw.info "§9蓝§8 §r蓝队: §c§l✗" +# scoreboard players set §9蓝§8 §r蓝队:§c§l✗ bw.info 9 +##execute as @a[tag=bw.player] at @s run playsound entity.ender_dragon.growl player @s ~ ~ ~ 1 1 1 +tellraw @a[tag=bw.player] ["\n\u00a7r\u00a7l团灭 > \u00a79蓝队\u00a7c已被淘汰!\n"] +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] +# setblock -237 31 208 air +# setblock -236 31 208 air +setblock -303 31 276 air +setblock -303 31 277 air +scoreboard players reset bw.blue state +scoreboard players reset bd.blue state +##✓✗✖❁ \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/greendied.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/greendied.mcfunction new file mode 100644 index 00000000..9252fd1c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/greendied.mcfunction @@ -0,0 +1,17 @@ +##scoreboard players set §c红§8 §r红队:§a✓ bw.info 10 +##scoreboard players set §9蓝§8 §r蓝队:§a✓ bw.info 9 +##scoreboard players set §a绿§8 §r绿队:§a✓ bw.info 8 +##scoreboard players set §e黄§8 §r黄队:§a✓ bw.info 7 +scoreboard players display name green bw.info "§a绿§8 §r绿队: §c§l✗" +tellraw @a[tag=bw.player] ["\n\u00a7r\u00a7l团灭 > \u00a7a绿队\u00a7c已被淘汰!\n"] +scoreboard players reset bw.green state +scoreboard players reset bd.green state +##✓✗✖❁ +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] +setblock -237 31 208 air +setblock -236 31 208 air +# setblock -303 31 276 blue_bed[facing=south] +# setblock -303 31 277 blue_bed[facing=south,part=head] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/reddied.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/reddied.mcfunction new file mode 100644 index 00000000..5fc4d156 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/reddied.mcfunction @@ -0,0 +1,13 @@ +##scoreboard players set §c红§8 §r红队:§a✓ bw.info 10 +##scoreboard players set §9蓝§8 §r蓝队:§a✓ bw.info 9 +##scoreboard players set §a绿§8 §r绿队:§a✓ bw.info 8 +##scoreboard players set §e黄§8 §r黄队:§a✓ bw.info 7 +scoreboard players display name red bw.info "§c红§8 §r红队: §c§l✗" +tellraw @a[tag=bw.player] ["\n\u00a7r\u00a7l团灭 > \u00a7c红队\u00a7c已被淘汰!\n"] +scoreboard players reset bw.red state +scoreboard players reset bd.red state +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] +setblock -305 31 142 air +setblock -305 31 141 air +##✓✗✖❁ \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/yellowdied.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/yellowdied.mcfunction new file mode 100644 index 00000000..29f445ff --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/teamover/yellowdied.mcfunction @@ -0,0 +1,13 @@ +##scoreboard players set §c红§8 §r红队:§a✓ bw.info 10 +##scoreboard players set §9蓝§8 §r蓝队:§a✓ bw.info 9 +##scoreboard players set §a绿§8 §r绿队:§a✓ bw.info 8 +##scoreboard players set §e黄§8 §r黄队:§a✓ bw.info 7 +scoreboard players display name yellow bw.info "§e黄§8 §r黄队: §c§l✗" +tellraw @a[tag=bw.player] ["\n\u00a7r\u00a7l团灭 > \u00a7e黄队\u00a7c已被淘汰!\n"] +scoreboard players reset bw.yellow state +scoreboard players reset bd.yellow state +setblock -371 31 210 air +setblock -372 31 210 air +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] +##✓✗✖❁ \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/blue.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/blue.mcfunction new file mode 100644 index 00000000..cc951ef8 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/blue.mcfunction @@ -0,0 +1,8 @@ +function minecraft:bedwars/totalpeople +execute unless score bw.blue state matches 1 run return 0 +execute if score bd.blue state matches 1 run return 0 +# scoreboard players +execute store result storage minecraft:temp info_count int 1 run scoreboard players get bw.blue tick +data merge storage minecraft:temp {info_message:"§9蓝§8 §r蓝队: §a",info_from:blue} +function minecraft:bedwars/during/updateinfo/connect_info with storage minecraft:temp +# scoreboard players display name blue bw.info "§9蓝§8 §r蓝队:§a§l✓" diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/connect_info.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/connect_info.mcfunction new file mode 100644 index 00000000..26afa513 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/connect_info.mcfunction @@ -0,0 +1 @@ +$scoreboard players display name $(info_from) bw.info "$(info_message)$(info_count)" \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/green.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/green.mcfunction new file mode 100644 index 00000000..edcdd1ff --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/green.mcfunction @@ -0,0 +1,8 @@ +function minecraft:bedwars/totalpeople +execute unless score bw.green state matches 1 run return 0 +execute if score bd.green state matches 1 run return 0 +# scoreboard players +execute store result storage minecraft:temp info_count int 1 run scoreboard players get bw.green tick +data merge storage minecraft:temp {info_message:"§a绿§8 §r绿队: §a",info_from:green} +function minecraft:bedwars/during/updateinfo/connect_info with storage minecraft:temp +# scoreboard players display name green bw.info "§9蓝§8 §r蓝队:§a§l✓" diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/red.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/red.mcfunction new file mode 100644 index 00000000..c5d47341 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/red.mcfunction @@ -0,0 +1,8 @@ +function minecraft:bedwars/totalpeople +execute unless score bw.red state matches 1 run return 0 +execute if score bd.red state matches 1 run return 0 +# scoreboard players +execute store result storage minecraft:temp info_count int 1 run scoreboard players get bw.red tick +data merge storage minecraft:temp {info_message:"§c红§8 §r红队: §a",info_from:red} +function minecraft:bedwars/during/updateinfo/connect_info with storage minecraft:temp +# scoreboard players display name red bw.info "§9蓝§8 §r蓝队:§a§l✓" diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/update.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/update.mcfunction new file mode 100644 index 00000000..7d6db3c0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/update.mcfunction @@ -0,0 +1,4 @@ +function minecraft:bedwars/during/updateinfo/red +function minecraft:bedwars/during/updateinfo/blue +function minecraft:bedwars/during/updateinfo/green +function minecraft:bedwars/during/updateinfo/yellow \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/yellow.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/yellow.mcfunction new file mode 100644 index 00000000..9ba26590 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/updateinfo/yellow.mcfunction @@ -0,0 +1,8 @@ +function minecraft:bedwars/totalpeople +execute unless score bw.yellow state matches 1 run return 0 +execute if score bd.yellow state matches 1 run return 0 +# scoreboard players +execute store result storage minecraft:temp info_count int 1 run scoreboard players get bw.yellow tick +data merge storage minecraft:temp {info_message:"§e黄§8 §r黄队: §a",info_from:yellow} +function minecraft:bedwars/during/updateinfo/connect_info with storage minecraft:temp +# scoreboard players display name yellow bw.info "§9蓝§8 §r蓝队:§a§l✓" diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/blue.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/blue.mcfunction new file mode 100644 index 00000000..609bb8ab --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/blue.mcfunction @@ -0,0 +1,7 @@ +tellraw @a ["\n\n\n\n\u00a7f\u00a7l胜利 > \u00a79蓝队 \u00a76获得了胜利!\n"] +title @a[tag=bw.player] title ["\u00a7c\u00a7lGAME OVER"] +title @a[tag=bw.player] subtitle ["\u00a7dBedwars \u00a79Team Blue \u00a76Won"] + +title @a[team=bw.blue] title ["\u00a76You won!"] +title @a[team=bw.blue] subtitle ["\u00a7dBedwars: \u00a79Team Blue"] +function minecraft:bedwars/after/over \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/green.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/green.mcfunction new file mode 100644 index 00000000..df75e2ad --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/green.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\n\n\n\n\u00a7f\u00a7l胜利 > \u00a7a绿队 \u00a76获得了胜利!\n"] +title @a[tag=bw.player] title ["\u00a7c\u00a7lGAME OVER"] +title @a[tag=bw.player] subtitle ["\u00a7dBedwars \u00a7aTeam Green \u00a76Won"] +title @a[team=bw.green] title ["\u00a76You won!"] +title @a[team=bw.green] subtitle ["\u00a7dBedwars: \u00a7aTeam Green"] +function minecraft:bedwars/after/over \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/red.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/red.mcfunction new file mode 100644 index 00000000..79b476aa --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/red.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\n\n\n\n\u00a7f\u00a7l胜利 > \u00a7c红队 \u00a76获得了胜利!\n"] +title @a[tag=bw.player] title ["\u00a7c\u00a7lGAME OVER"] +title @a[tag=bw.player] subtitle ["\u00a7dBedwars \u00a7cTeam Red \u00a76Won"] +title @a[team=bw.red] title ["\u00a76You won!"] +title @a[team=bw.red] subtitle ["\u00a7dBedwars: \u00a7cTeam Red"] +function minecraft:bedwars/after/over \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/yellow.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/yellow.mcfunction new file mode 100644 index 00000000..9dd72ab3 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/during/win/yellow.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\n\n\n\n\u00a7f\u00a7l胜利 > \u00a7e黄队 \u00a76获得了胜利!\n"] +title @a[tag=bw.player] title ["\u00a7c\u00a7lGAME OVER"] +title @a[tag=bw.player] subtitle ["\u00a7dBedwars \u00a7eTeam Yellow \u00a76Won"] +title @a[team=bw.yellow] title ["\u00a76You won!"] +title @a[team=bw.yellow] subtitle ["\u00a7dBedwars: \u00a7eTeam Yellow"] +function minecraft:bedwars/after/over \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/bedgone.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/bedgone.mcfunction new file mode 100644 index 00000000..622d4eab --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/bedgone.mcfunction @@ -0,0 +1,21 @@ +scoreboard players set bw.event state 3 +scoreboard players set bw.event.countdown board 120 +# bw.event +# 0: Diamond Up +# 1: Emerlad Up +# 2: Bed Gone +# 3: Dragon +# scoreboard players set bw.set.dm board 32 +bossbar set minigames:bedwars max 120 +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7c死亡决斗: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] +scoreboard players display name event bw.info ["\u00a7r即将:死亡决斗"] + +function minecraft:bedwars/beds/destory + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +title @a[tag=bw.play] title ["\u00a7c床已被破坏"] +title @a[tag=bw.play] subtitle ["\u00a7f所有的床都已被破坏"] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/dragon.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/dragon.mcfunction new file mode 100644 index 00000000..3d20ea41 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/dragon.mcfunction @@ -0,0 +1,25 @@ +tellraw @a[tag=bw.player] ["\n\u00a7e\u00a7lBEDWARS \u00a7c死亡决斗开始。凋灵已召唤。\n"] + +scoreboard players set bw.event state 4 +scoreboard players set bw.event.countdown board 360 +# bw.event +# 0: Diamond Up +# 1: Emerlad Up +# 2: Bed Gone +# 3: Dragon +# scoreboard players set bw.set.dm board 32 +bossbar set minigames:bedwars max 360 +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7c游戏结束: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] +scoreboard players display name event bw.info ["\u00a7r即将:游戏结束"] +# tp @s[team=bw.yellow] -383 30 210 -90 0 +# tp @s[team=bw.blue] -303 30 288 -180 0 +# tp @s[team=bw.green] -225 30 208 90 0 +# tp @s[team=bw.red] -305 30 130 0 0 +execute if score bw.yellow state matches 1.. run summon wither -303 60 210 {Team:"bw.yellow",Tags:["bw.entity"],CustomName:'"凋灵"',PersistenceRequired:1b} +execute if score bw.red state matches 1.. run summon wither -303 60 210 {Team:"bw.red",Tags:["bw.entity"],CustomName:'"凋灵"',PersistenceRequired:1b} +execute if score bw.blue state matches 1.. run summon wither -303 60 210 {Team:"bw.blue",Tags:["bw.entity"],CustomName:'"凋灵"',PersistenceRequired:1b} +execute if score bw.green state matches 1.. run summon wither -303 60 210 {Team:"bw.green",Tags:["bw.entity"],CustomName:'"凋灵"',PersistenceRequired:1b} +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/bedgone.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/bedgone.mcfunction new file mode 100644 index 00000000..3027c1f7 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/bedgone.mcfunction @@ -0,0 +1,8 @@ +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7e床自毁: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] + + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +execute if score bw.event.countdown board matches ..0 run function bedwars/events/bedgone \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/dragon.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/dragon.mcfunction new file mode 100644 index 00000000..7ff2064f --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/dragon.mcfunction @@ -0,0 +1,8 @@ +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7c死亡决斗: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +execute if score bw.event.countdown board matches ..0 run function bedwars/events/dragon diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/overgame.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/overgame.mcfunction new file mode 100644 index 00000000..3db648d0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/overgame.mcfunction @@ -0,0 +1,8 @@ +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7c游戏结束: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +execute if score bw.event.countdown board matches ..0 run function bedwars/events/overgame diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/upgradedianmond.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/upgradedianmond.mcfunction new file mode 100644 index 00000000..e59659e1 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/upgradedianmond.mcfunction @@ -0,0 +1,8 @@ +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7b钻石\u00a7e速度升级: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +execute if score bw.event.countdown board matches ..0 run function bedwars/events/upgradedianmond diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/upgradeemerald.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/upgradeemerald.mcfunction new file mode 100644 index 00000000..d276bc89 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/during/upgradeemerald.mcfunction @@ -0,0 +1,9 @@ +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7a绿宝石\u00a7e速度升级: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] + + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +execute if score bw.event.countdown board matches ..0 run function bedwars/events/upgradeemerald \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/eventsecond.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/eventsecond.mcfunction new file mode 100644 index 00000000..9911f5c0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/eventsecond.mcfunction @@ -0,0 +1,15 @@ +bossbar set minigames:bedwars players +bossbar set minigames:bedwars players @a[tag=bw.player] + +# bw.event +# 0: Diamond Up +# 1: Emerlad Up +# 2: Bed Gone +# 3: Dragon +execute if score bw.event state matches ..0 run function bedwars/events/during/upgradedianmond +execute if score bw.event state matches 1 run function bedwars/events/during/upgradeemerald +execute if score bw.event state matches 2 run function bedwars/events/during/bedgone +execute if score bw.event state matches 3 run function bedwars/events/during/dragon +execute if score bw.event state matches 4.. run function bedwars/events/during/overgame + +scoreboard players remove bw.event.countdown board 1 \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/overgame.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/overgame.mcfunction new file mode 100644 index 00000000..e3a23040 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/overgame.mcfunction @@ -0,0 +1 @@ +function bedwars/after/over_timeout \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/upgradedianmond.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/upgradedianmond.mcfunction new file mode 100644 index 00000000..45ffd4e0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/upgradedianmond.mcfunction @@ -0,0 +1,19 @@ +scoreboard players set bw.event state 1 +scoreboard players set bw.event.countdown board 360 +# bw.event +# 0: Diamond Up +# 1: Emerlad Up +# 2: Bed Gone +# 3: Dragon +scoreboard players set bw.set.dm board 32 + +bossbar set minigames:bedwars max 720 +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7a绿宝石\u00a7e速度升级: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] +scoreboard players display name event bw.info ["即将:\u00a7a绿宝石\u00a7r速度升级"] + +tellraw @a[tag=bw.player] ["\u00a7b钻石\u00a7e生成变快。"] + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/events/upgradeemerald.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/events/upgradeemerald.mcfunction new file mode 100644 index 00000000..22025dd9 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/events/upgradeemerald.mcfunction @@ -0,0 +1,19 @@ +scoreboard players set bw.event state 2 +scoreboard players set bw.event.countdown board 600 +# bw.event +# 0: Diamond Up +# 1: Emerlad Up +# 2: Bed Gone +# 3: Dragon +scoreboard players set bw.set.em board 48 + +bossbar set minigames:bedwars max 1440 +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7e床自毁: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] +scoreboard players display name event bw.info ["即将:\u00a7r床自毁"] + +tellraw @a[tag=bw.player] ["\u00a7a绿宝石\u00a7e生成变快。"] + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/init_chest.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/init_chest.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/item/sheepboom.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/item/sheepboom.mcfunction new file mode 100644 index 00000000..827f3007 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/item/sheepboom.mcfunction @@ -0,0 +1,3 @@ +scoreboard players reset @s +execute at @s run function cmdtnt:tntpick +kill @s \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/item/sheepsecond.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/item/sheepsecond.mcfunction new file mode 100644 index 00000000..f9b207d8 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/item/sheepsecond.mcfunction @@ -0,0 +1,12 @@ +playsound minecraft:entity.sheep.ambient block @a ~ ~ ~ 5 0.5 1 +scoreboard players remove @s board 1 +scoreboard players operation tmp board = @s board +data modify block -307 74 207 front_text.messages[2] set value '["\\u00a7C\\u00a7lTNT SHEEP \\u00a77- ",{"score":{"objective":"board","name":"tmp"},"color":"aqua"},"\\u00a7e 秒后爆炸"]' +data modify entity @s CustomName set from block -307 74 207 front_text.messages[2] +execute if score @s board matches 5 run data merge entity @s {Color:14b} +execute if score @s board matches 3 run data merge entity @s {Color:14b} +execute if score @s board matches 1 run data merge entity @s {Color:14b} +execute if score @s board matches 4 run data merge entity @s {Color:0b} +execute if score @s board matches 2 run data merge entity @s {Color:0b} +execute if score @s board matches 0 run data merge entity @s {Color:0b} +execute if score @s board matches ..0 run function bedwars/item/sheepboom \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/item/tntsheep.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/item/tntsheep.mcfunction new file mode 100644 index 00000000..5adf4237 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/item/tntsheep.mcfunction @@ -0,0 +1,5 @@ +summon minecraft:sheep ~ ~ ~ {Tags:["bw.tntsheep","bw.tntsheep.new"],CustomName:'["\\u00a7c\\u00a7lTNT SHEEP"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Attributes:[{Base:1d,Name:"generic.max_health"},{Base:1d,Name:"generic.knockback_resistance"},{Base:0d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.follow_range"},{Base:0d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"},{Base:1d,Name:"generic.armor"},{Base:1d,Name:"generic.armor_toughness"}],Sheared:false,DeathLootTable:"",Color:14b} +scoreboard players set @e[tag=bw.tntsheep.new] board 6 +tag @e[tag=bw.tntsheep.new] remove bw.tntsheep.new +playsound entity.tnt.primed block @a ~ ~ ~ 5 1 1 +kill @s \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/last.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/last.mcfunction new file mode 100644 index 00000000..cf4cde1e --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/last.mcfunction @@ -0,0 +1,4 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score bw.mode board matches 2.. run scoreboard players remove bw.mode board 1 +function bedwars/mapselector/show +# function tntwars/mapselector/show \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/next.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/next.mcfunction new file mode 100644 index 00000000..14714bb9 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/next.mcfunction @@ -0,0 +1,3 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score bw.mode board matches ..5 run scoreboard players add bw.mode board 1 +function bedwars/mapselector/show \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/show.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/show.mcfunction new file mode 100644 index 00000000..1bdb64da --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/mapselector/show.mcfunction @@ -0,0 +1,8 @@ + +execute if score bw.mode board matches 1 run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a7c蘑菇岛"' +execute if score bw.mode board matches 2 run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a7b一枝花"' +execute if score bw.mode board matches ..0 run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a7b一枝花"' +execute if score bw.mode board matches 3 run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a72奇怪的环保太空船"' +execute if score bw.mode board matches 4 run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a7d迷途岛"' +execute if score bw.mode board matches 5 run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a7f玻璃世界"' +execute if score bw.mode board matches 6.. run data modify block -299 76 210 front_text.messages[2] set value '"\\u00a7a四合院"' \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/message/changemode.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/message/changemode.mcfunction new file mode 100644 index 00000000..04688db1 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/message/changemode.mcfunction @@ -0,0 +1,15 @@ +execute if score bw.mode state matches 0..3 run tellraw @a[team=bw.wait] ["\u00a7a起床战争模式调整为 [\u00a76四队模式\u00a7a]"] + +execute if score bw.mode state matches 0 run tellraw @a[team=bw.wait] ["\u00a7a起床战争特殊模式禁用"] +execute if score bw.mode state matches 1 run tellraw @a[team=bw.wait] ["\u00a7a起床战争特殊模式启用:[\u00a7c无床模式\u00a7a]"] +execute if score bw.mode state matches 2 run tellraw @a[team=bw.wait] ["\u00a7a起床战争特殊模式启用:[\u00a7a全解锁模式\u00a7a]"] + + +execute if score bw.mode state matches 4..7 run tellraw @a[team=bw.wait] ["\u00a7a起床战争模式调整为 [\u00a7b两队模式\u00a7a]"] + +execute if score bw.mode state matches 4 run tellraw @a[team=bw.wait] ["\u00a7a起床战争特殊模式禁用"] +execute if score bw.mode state matches 5 run tellraw @a[team=bw.wait] ["\u00a7a起床战争特殊模式启用:[\u00a7c无床模式\u00a7a]"] +execute if score bw.mode state matches 6 run tellraw @a[team=bw.wait] ["\u00a7a起床战争特殊模式启用:[\u00a7a全解锁模式\u00a7a]"] + + +playsound entity.experience_orb.pickup player @s ~ ~ ~ 5 1 1 \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/message/getsign.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/message/getsign.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/message/join.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/message/join.mcfunction new file mode 100644 index 00000000..83fd9a0d --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/message/join.mcfunction @@ -0,0 +1,8 @@ +tellraw @a ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 joined \u00a79\u00a7lBedwars\u00a77 ."] +tp @s -302 76 210 0 0 +execute if score bw.state state matches 1.. run function bedwars/message/spec +execute if score bw.state state matches ..-1 run tellraw @s ["\n\u00a7e您已加入队列。\n"] +execute if score bw.state state matches ..-1 run gamemode spectator @s +team join bw.wait @s +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/message/spec.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/message/spec.mcfunction new file mode 100644 index 00000000..2fa8d11d --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/message/spec.mcfunction @@ -0,0 +1,3 @@ +gamemode spectator @s[gamemode=adventure] +tellraw @s ["\n\u00a7c很抱歉,游戏已经开始。请等待下一局。\n"] +team join bw.wait @s \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/reset.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/reset.mcfunction new file mode 100644 index 00000000..4d6d2260 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/reset.mcfunction @@ -0,0 +1,155 @@ +tellraw @a[tag=bw.player] ["\u00a7e重置中..."] +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7fIt may take some time..."] +gamemode spectator @a[tag=bw.player,gamemode=!creative] + +# kill @e[tag=bw.bed.red] +# kill @e[tag=bw.bed.blue] +# kill @e[tag=bw.bed.yellow] +# kill @e[tag=bw.bed.green] +kill @e[tag=bw.bed.beds] +kill @e[tag=iron,type=marker] +kill @e[tag=gold,type=marker] +kill @e[tag=diamond,type=marker] +kill @e[tag=emerald,type=marker] +kill @e[tag=emerald.title,type=area_effect_cloud] +kill @e[tag=diamond.title,type=area_effect_cloud] +kill @e[tag=emerald.subtitle,type=area_effect_cloud] +kill @e[tag=diamond.subtitle,type=area_effect_cloud] +kill @e[tag=dmshop] +kill @e[tag=shop] +kill @e[tag=shop2] + +bossbar set minigames:bedwars name ["\u00a7e\u00a7lBEDWARS 起床战争 \u00a77| \u00a7a重置中..."] +bossbar set minigames:bedwars value 1 +bossbar set minigames:bedwars max 1 +bossbar set minigames:bedwars players +bossbar set minigames:bedwars players @a[team=bw.wait] +bossbar set minigames:bedwars visible true + + +forceload add -216 300 -393 121 + +scoreboard players reset @e[type=sheep,tag=bw.tntsheep] +kill @e[type=sheep,tag=bw.tntsheep] +kill @e[type=marker,tag=tntsheep.spawn] + +scoreboard players set bw.state state -1 +schedule clear bedwars/resets/mogu +schedule clear bedwars/resets/unnamed +schedule clear bedwars/resets/space +schedule clear bedwars/resets/special1 +schedule clear bedwars/resets/glassworld +scoreboard players set bw.reset board 0 +title @a[tag=bw.player] times 0 200 0 +gamemode spectator @a[tag=bw.player,gamemode=adventure] +execute if score bw.mode board matches 1 run function bedwars/resets/mogu +execute if score bw.mode board matches 2 run function bedwars/resets/unnamed +execute if score bw.mode board matches ..0 run function bedwars/resets/unnamed +execute if score bw.mode board matches 3 run function bedwars/resets/space +execute if score bw.mode board matches 4 run function bedwars/resets/special1 +execute if score bw.mode board matches 5 run function bedwars/resets/glassworld +execute if score bw.mode board matches 6.. run function bedwars/resets/siheyuan +scoreboard objectives modify bw.info displayname ["\u00a7e\u00a7l起床战争"] +scoreboard players reset * bw.info +scoreboard players set date bw.info 14 +scoreboard players set air1 bw.info 13 +scoreboard players set event bw.info 12 +scoreboard players set air2 bw.info 11 +scoreboard players set red bw.info 10 +scoreboard players set blue bw.info 9 +scoreboard players set green bw.info 8 +scoreboard players set yellow bw.info 7 +scoreboard players set air3 bw.info 6 +scoreboard players set info1 bw.info 5 +scoreboard players set info2 bw.info 4 +scoreboard players set info3 bw.info 3 +scoreboard players set air4 bw.info 2 +scoreboard players set BottomTitle bw.info 1 + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m001A"] + +scoreboard players display name red bw.info "§c红§8 §r红队: §a§l✓" +scoreboard players display name blue bw.info "§9蓝§8 §r蓝队: §a§l✓" +scoreboard players display name green bw.info "§a绿§8 §r绿队: §a§l✓" +scoreboard players display name yellow bw.info "§e黄§8 §r黄队: §a§l✓" + +scoreboard players display name event bw.info ["没有任何事情"] + +scoreboard players display name air1 bw.info [""] +scoreboard players display name air2 bw.info [""] +scoreboard players display name air3 bw.info [""] +scoreboard players display name air4 bw.info [""] + +scoreboard players display name info1 bw.info ["没有任何信息:\u00a7a0"] +scoreboard players display name info2 bw.info ["没有任何信息:\u00a7a0"] +scoreboard players display name info3 bw.info ["没有任何信息:\u00a7a0"] + +scoreboard players display name BottomTitle bw.info ["\u00a7eBedwars@MiniGame"] + +# scoreboard players set §707/28/21§8 §8m001A bw.info 14 +# scoreboard players set §a bw.info 13 +# scoreboard players set §r没有任何事情 bw.info 12 +# scoreboard players set §b bw.info 11 +# scoreboard players set §c红§8 §r红队:§a§l✓ bw.info 10 +# scoreboard players set §9蓝§8 §r蓝队:§a§l✓ bw.info 9 +# scoreboard players set §a绿§8 §r绿队:§a§l✓ bw.info 8 +# scoreboard players set §e黄§8 §r黄队:§a§l✓ bw.info 7 +# scoreboard players set §c bw.info 6 +# scoreboard players set §r没有任何信息:§a0§c bw.info 5 +# scoreboard players set §r没有任何信息:§a0§b bw.info 4 +# scoreboard players set §r没有任何信息:§a0 bw.info 3 +# scoreboard players set §d bw.info 2 +# scoreboard players set §eBedwars@MiniGame bw.info 1 + +scoreboard players reset * bw.axe +scoreboard players reset * bw.pickaxe +scoreboard players reset * bw.armor +scoreboard players add @a bw.armor 0 +scoreboard players add @a bw.axe 0 +scoreboard players add @a bw.pickaxe 0 + +tag @a remove bw.shears +tag @a remove bw.speed +tag @a remove bw.attack +tag @a remove bw.armor +tag @a remove bw.fasti +tag @a remove bw.fastii +scoreboard players set bw.em board 0 +scoreboard players set bw.dm board 0 +scoreboard players set bw.gd board 0 +scoreboard players set bw.ir board 0 + +item replace entity @a enderchest.0 with air +item replace entity @a enderchest.1 with air +item replace entity @a enderchest.2 with air +item replace entity @a enderchest.3 with air +item replace entity @a enderchest.4 with air +item replace entity @a enderchest.5 with air +item replace entity @a enderchest.6 with air +item replace entity @a enderchest.7 with air +item replace entity @a enderchest.8 with air +item replace entity @a enderchest.9 with air +item replace entity @a enderchest.10 with air +item replace entity @a enderchest.11 with air +item replace entity @a enderchest.12 with air +item replace entity @a enderchest.13 with air +item replace entity @a enderchest.14 with air +item replace entity @a enderchest.15 with air +item replace entity @a enderchest.16 with air +item replace entity @a enderchest.17 with air +item replace entity @a enderchest.18 with air +item replace entity @a enderchest.19 with air +item replace entity @a enderchest.20 with air +item replace entity @a enderchest.21 with air +item replace entity @a enderchest.22 with air +item replace entity @a enderchest.23 with air +item replace entity @a enderchest.24 with air +item replace entity @a enderchest.25 with air +item replace entity @a enderchest.26 with air + +kill @e[type=arrow] +kill @e[type=fireball] +kill @e[type=egg] +kill @e[type=creeper] +kill @e[type=item] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/blue.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/blue.mcfunction new file mode 100644 index 00000000..110b0dc7 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/blue.mcfunction @@ -0,0 +1,11 @@ +execute if score bw.mode board matches 5 run setblock -303 31 276 blue_bed[facing=south,occupied=true] +execute if score bw.mode board matches 5 run setblock -303 31 277 blue_bed[facing=south,part=head,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -303 31 276 blue_bed[facing=south,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -303 31 277 blue_bed[facing=south,part=head,occupied=true] + +execute if score bw.mode board matches 4 run setblock -326 35 268 blue_bed[facing=west,occupied=true,part=foot] +execute if score bw.mode board matches 4 run setblock -327 35 268 blue_bed[facing=west,occupied=true,part=head] + + +execute if score bw.mode board matches 6 run setblock -296 28 276 blue_bed[occupied=true,facing=east] +execute if score bw.mode board matches 6 run setblock -295 28 276 blue_bed[occupied=true,facing=east,part=head] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/green.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/green.mcfunction new file mode 100644 index 00000000..30382beb --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/green.mcfunction @@ -0,0 +1,10 @@ +execute if score bw.mode board matches 5 run setblock -237 31 208 lime_bed[facing=east,occupied=true] +execute if score bw.mode board matches 5 run setblock -236 31 208 lime_bed[facing=east,part=head,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -237 31 208 lime_bed[facing=east,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -236 31 208 lime_bed[facing=east,part=head,occupied=true] + +execute if score bw.mode board matches 4 run setblock -248 35 232 lime_bed[facing=south,occupied=true,part=foot] +execute if score bw.mode board matches 4 run setblock -248 35 233 lime_bed[facing=south,occupied=true,part=head] + +execute if score bw.mode board matches 6 run setblock -239 28 201 lime_bed[occupied=true,facing=north] +execute if score bw.mode board matches 6 run setblock -239 28 200 lime_bed[occupied=true,facing=north,part=head] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/red.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/red.mcfunction new file mode 100644 index 00000000..b792dc8c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/red.mcfunction @@ -0,0 +1,10 @@ +execute if score bw.mode board matches 5 run setblock -305 31 142 red_bed[facing=north,occupied=true] +execute if score bw.mode board matches 5 run setblock -305 31 141 red_bed[facing=north,part=head,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -305 31 142 red_bed[facing=north,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -305 31 141 red_bed[facing=north,part=head,occupied=true] + +execute if score bw.mode board matches 4 run setblock -283 35 154 red_bed[facing=east,part=head,occupied=true] +execute if score bw.mode board matches 4 run setblock -284 35 154 red_bed[facing=east,part=foot,occupied=true] + +execute if score bw.mode board matches 6 run setblock -312 28 144 red_bed[occupied=true,facing=west] +execute if score bw.mode board matches 6 run setblock -313 28 144 red_bed[occupied=true,facing=west,part=head] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/yellow.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/yellow.mcfunction new file mode 100644 index 00000000..0eea74aa --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/beds/yellow.mcfunction @@ -0,0 +1,10 @@ +execute if score bw.mode board matches 1..3 run setblock -371 31 210 yellow_bed[facing=west,occupied=true] +execute if score bw.mode board matches 1..3 run setblock -372 31 210 yellow_bed[facing=west,part=head,occupied=true] +execute if score bw.mode board matches 5 run setblock -371 31 210 yellow_bed[facing=west,occupied=true] +execute if score bw.mode board matches 5 run setblock -372 31 210 yellow_bed[facing=west,part=head,occupied=true] + +execute if score bw.mode board matches 4 run setblock -362 35 189 yellow_bed[part=foot,facing=north,occupied=true] +execute if score bw.mode board matches 4 run setblock -362 35 188 yellow_bed[part=head,facing=north,occupied=true] + +execute if score bw.mode board matches 6 run setblock -369 28 217 yellow_bed[facing=south,occupied=true] +execute if score bw.mode board matches 6 run setblock -369 28 218 yellow_bed[part=head,facing=south,occupied=true] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/glassworld.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/glassworld.mcfunction new file mode 100644 index 00000000..c1765d91 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/glassworld.mcfunction @@ -0,0 +1,80 @@ +execute if score bw.reset board matches 0..0 in bedwars_backup run forceload add -753 121 -577 299 +execute if score bw.reset board matches 1..1 run fill -216 0 299 -392 0 121 air +execute if score bw.reset board matches 2..2 run fill -216 1 299 -392 1 121 air +execute if score bw.reset board matches 3..3 run fill -216 2 299 -392 2 121 air +execute if score bw.reset board matches 4..4 run fill -216 3 299 -392 3 121 air +execute if score bw.reset board matches 5..5 run fill -216 4 299 -392 4 121 air +execute if score bw.reset board matches 6..6 run fill -216 5 299 -392 5 121 air +execute if score bw.reset board matches 7..7 run fill -216 6 299 -392 6 121 air +execute if score bw.reset board matches 8..8 run fill -216 7 299 -392 7 121 air +execute if score bw.reset board matches 9..9 run fill -216 8 299 -392 8 121 air +execute if score bw.reset board matches 10..10 run fill -216 9 299 -392 9 121 air +execute if score bw.reset board matches 11..11 run fill -216 10 299 -392 10 121 air +execute if score bw.reset board matches 12..12 run fill -216 11 299 -392 11 121 air +execute if score bw.reset board matches 13..13 run fill -216 12 299 -392 12 121 air +execute if score bw.reset board matches 14..14 run clone from bedwars_backup -753 3 121 -577 3 299 -392 13 121 +execute if score bw.reset board matches 15..15 run clone from bedwars_backup -753 4 121 -577 4 299 -392 14 121 +execute if score bw.reset board matches 16..16 run clone from bedwars_backup -753 5 121 -577 5 299 -392 15 121 +execute if score bw.reset board matches 17..17 run clone from bedwars_backup -753 6 121 -577 6 299 -392 16 121 +execute if score bw.reset board matches 18..18 run clone from bedwars_backup -753 7 121 -577 7 299 -392 17 121 +execute if score bw.reset board matches 19..19 run clone from bedwars_backup -753 8 121 -577 8 299 -392 18 121 +execute if score bw.reset board matches 20..20 run clone from bedwars_backup -753 9 121 -577 9 299 -392 19 121 +execute if score bw.reset board matches 21..21 run clone from bedwars_backup -753 10 121 -577 10 299 -392 20 121 +execute if score bw.reset board matches 22..22 run clone from bedwars_backup -753 11 121 -577 11 299 -392 21 121 +execute if score bw.reset board matches 23..23 run clone from bedwars_backup -753 12 121 -577 12 299 -392 22 121 +execute if score bw.reset board matches 24..24 run clone from bedwars_backup -753 13 121 -577 13 299 -392 23 121 +execute if score bw.reset board matches 25..25 run clone from bedwars_backup -753 14 121 -577 14 299 -392 24 121 +execute if score bw.reset board matches 26..26 run clone from bedwars_backup -753 15 121 -577 15 299 -392 25 121 +execute if score bw.reset board matches 27..27 run clone from bedwars_backup -753 16 121 -577 16 299 -392 26 121 +execute if score bw.reset board matches 28..28 run clone from bedwars_backup -753 17 121 -577 17 299 -392 27 121 +execute if score bw.reset board matches 29..29 run clone from bedwars_backup -753 18 121 -577 18 299 -392 28 121 +execute if score bw.reset board matches 30..30 run clone from bedwars_backup -753 19 121 -577 19 299 -392 29 121 +execute if score bw.reset board matches 31..31 run clone from bedwars_backup -753 20 121 -577 20 299 -392 30 121 +execute if score bw.reset board matches 32..32 run clone from bedwars_backup -753 21 121 -577 21 299 -392 31 121 +execute if score bw.reset board matches 33..33 run clone from bedwars_backup -753 22 121 -577 22 299 -392 32 121 +execute if score bw.reset board matches 34..34 run clone from bedwars_backup -753 23 121 -577 23 299 -392 33 121 +execute if score bw.reset board matches 35..35 run clone from bedwars_backup -753 24 121 -577 24 299 -392 34 121 +execute if score bw.reset board matches 36..36 run clone from bedwars_backup -753 25 121 -577 25 299 -392 35 121 +execute if score bw.reset board matches 37..37 run clone from bedwars_backup -753 26 121 -577 26 299 -392 36 121 +execute if score bw.reset board matches 38..38 run clone from bedwars_backup -753 27 121 -577 27 299 -392 37 121 +execute if score bw.reset board matches 39..39 run clone from bedwars_backup -753 28 121 -577 28 299 -392 38 121 +execute if score bw.reset board matches 40..40 run clone from bedwars_backup -753 29 121 -577 29 299 -392 39 121 +execute if score bw.reset board matches 41..41 run clone from bedwars_backup -753 30 121 -577 30 299 -392 40 121 +execute if score bw.reset board matches 42..42 run clone from bedwars_backup -753 31 121 -577 31 299 -392 41 121 +execute if score bw.reset board matches 43..43 run clone from bedwars_backup -753 32 121 -577 32 299 -392 42 121 +execute if score bw.reset board matches 44..44 run fill -216 43 299 -392 43 121 air +execute if score bw.reset board matches 45..45 run fill -216 44 299 -392 44 121 air +execute if score bw.reset board matches 46..46 run fill -216 45 299 -392 45 121 air +execute if score bw.reset board matches 47..47 run fill -216 46 299 -392 46 121 air +execute if score bw.reset board matches 48..48 run fill -216 47 299 -392 47 121 air +execute if score bw.reset board matches 49..49 run fill -216 48 299 -392 48 121 air +execute if score bw.reset board matches 50..50 run fill -216 49 299 -392 49 121 air +execute if score bw.reset board matches 51..51 run fill -216 50 299 -392 50 121 air +execute if score bw.reset board matches 52..52 run fill -216 51 299 -392 51 121 air +execute if score bw.reset board matches 53..53 run fill -216 52 299 -392 52 121 air +execute if score bw.reset board matches 54..54 run fill -216 53 299 -392 53 121 air +execute if score bw.reset board matches 55..55 run fill -216 54 299 -392 54 121 air +execute if score bw.reset board matches 56..56 run fill -216 55 299 -392 55 121 air +execute if score bw.reset board matches 57..57 run fill -216 56 299 -392 56 121 air +execute if score bw.reset board matches 58..58 run fill -216 57 299 -392 57 121 air +execute if score bw.reset board matches 59..59 run fill -216 58 299 -392 58 121 air +execute if score bw.reset board matches 60..60 run fill -216 59 299 -392 59 121 air +execute if score bw.reset board matches 61..61 run fill -216 60 299 -392 60 121 air +execute if score bw.reset board matches 62..62 run fill -216 61 299 -392 61 121 air +execute if score bw.reset board matches 63..63 run fill -216 62 299 -392 62 121 air +execute if score bw.reset board matches 64..64 run fill -216 63 299 -392 63 121 air +execute if score bw.reset board matches 65..65 run fill -216 64 299 -392 64 121 air +execute if score bw.reset board matches 66..66 run fill -216 65 299 -392 65 121 air +execute if score bw.reset board matches 67..67 run fill -216 66 299 -392 66 121 air + +execute if score bw.reset board matches 68..68 run function bedwars/resets/points/glassworld + +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7bMap: \u00a7fGlass World\u00a77 ; ",{"score":{"objective": "board","name": "bw.reset"},"color":"green"},"\u00a7b / \u00a7c70"] +execute if score bw.reset board matches ..69 run schedule function bedwars/resets/glassworld 1t +execute if score bw.reset board matches 70.. run function bedwars/resets/resetover + +scoreboard players add bw.reset board 1 + +bossbar set minigames:bedwars max 70 +execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/mogu.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/mogu.mcfunction new file mode 100644 index 00000000..9173bbeb --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/mogu.mcfunction @@ -0,0 +1,85 @@ +execute if score bw.reset board matches 0..0 in bedwars_backup run forceload add -573 299 -397 121 +execute if score bw.reset board matches 1..1 run clone from bedwars_backup -573 77 299 -397 77 121 -392 0 121 +execute if score bw.reset board matches 2..2 run clone from bedwars_backup -573 78 299 -397 78 121 -392 1 121 +execute if score bw.reset board matches 3..3 run clone from bedwars_backup -573 79 299 -397 79 121 -392 2 121 +execute if score bw.reset board matches 4..4 run clone from bedwars_backup -573 80 299 -397 80 121 -392 3 121 +execute if score bw.reset board matches 5..5 run clone from bedwars_backup -573 81 299 -397 81 121 -392 4 121 +execute if score bw.reset board matches 6..6 run clone from bedwars_backup -573 82 299 -397 82 121 -392 5 121 +execute if score bw.reset board matches 7..7 run clone from bedwars_backup -573 83 299 -397 83 121 -392 6 121 +execute if score bw.reset board matches 8..8 run clone from bedwars_backup -573 84 299 -397 84 121 -392 7 121 +execute if score bw.reset board matches 9..9 run clone from bedwars_backup -573 85 299 -397 85 121 -392 8 121 +execute if score bw.reset board matches 10..10 run clone from bedwars_backup -573 86 299 -397 86 121 -392 9 121 +execute if score bw.reset board matches 11..11 run clone from bedwars_backup -573 87 299 -397 87 121 -392 10 121 +execute if score bw.reset board matches 12..12 run clone from bedwars_backup -573 88 299 -397 88 121 -392 11 121 +execute if score bw.reset board matches 13..13 run clone from bedwars_backup -573 89 299 -397 89 121 -392 12 121 +execute if score bw.reset board matches 14..14 run clone from bedwars_backup -573 90 299 -397 90 121 -392 13 121 +execute if score bw.reset board matches 15..15 run clone from bedwars_backup -573 91 299 -397 91 121 -392 14 121 +execute if score bw.reset board matches 16..16 run clone from bedwars_backup -573 92 299 -397 92 121 -392 15 121 +execute if score bw.reset board matches 17..17 run clone from bedwars_backup -573 93 299 -397 93 121 -392 16 121 +execute if score bw.reset board matches 18..18 run clone from bedwars_backup -573 94 299 -397 94 121 -392 17 121 +execute if score bw.reset board matches 19..19 run clone from bedwars_backup -573 95 299 -397 95 121 -392 18 121 +execute if score bw.reset board matches 20..20 run clone from bedwars_backup -573 96 299 -397 96 121 -392 19 121 +execute if score bw.reset board matches 21..21 run clone from bedwars_backup -573 97 299 -397 97 121 -392 20 121 +execute if score bw.reset board matches 22..22 run clone from bedwars_backup -573 98 299 -397 98 121 -392 21 121 +execute if score bw.reset board matches 23..23 run clone from bedwars_backup -573 99 299 -397 99 121 -392 22 121 +execute if score bw.reset board matches 24..24 run clone from bedwars_backup -573 100 299 -397 100 121 -392 23 121 +execute if score bw.reset board matches 25..25 run clone from bedwars_backup -573 101 299 -397 101 121 -392 24 121 +execute if score bw.reset board matches 26..26 run clone from bedwars_backup -573 102 299 -397 102 121 -392 25 121 +execute if score bw.reset board matches 27..27 run clone from bedwars_backup -573 103 299 -397 103 121 -392 26 121 +execute if score bw.reset board matches 28..28 run clone from bedwars_backup -573 104 299 -397 104 121 -392 27 121 +execute if score bw.reset board matches 29..29 run clone from bedwars_backup -573 105 299 -397 105 121 -392 28 121 +execute if score bw.reset board matches 30..30 run clone from bedwars_backup -573 106 299 -397 106 121 -392 29 121 +execute if score bw.reset board matches 31..31 run clone from bedwars_backup -573 107 299 -397 107 121 -392 30 121 +execute if score bw.reset board matches 32..32 run clone from bedwars_backup -573 108 299 -397 108 121 -392 31 121 +execute if score bw.reset board matches 33..33 run clone from bedwars_backup -573 109 299 -397 109 121 -392 32 121 +execute if score bw.reset board matches 34..34 run clone from bedwars_backup -573 110 299 -397 110 121 -392 33 121 +execute if score bw.reset board matches 35..35 run clone from bedwars_backup -573 111 299 -397 111 121 -392 34 121 +execute if score bw.reset board matches 36..36 run clone from bedwars_backup -573 112 299 -397 112 121 -392 35 121 +execute if score bw.reset board matches 37..37 run clone from bedwars_backup -573 113 299 -397 113 121 -392 36 121 +execute if score bw.reset board matches 38..38 run clone from bedwars_backup -573 114 299 -397 114 121 -392 37 121 +execute if score bw.reset board matches 39..39 run clone from bedwars_backup -573 115 299 -397 115 121 -392 38 121 +execute if score bw.reset board matches 40..40 run clone from bedwars_backup -573 116 299 -397 116 121 -392 39 121 +execute if score bw.reset board matches 41..41 run clone from bedwars_backup -573 117 299 -397 117 121 -392 40 121 +execute if score bw.reset board matches 42..42 run clone from bedwars_backup -573 118 299 -397 118 121 -392 41 121 +execute if score bw.reset board matches 43..43 run clone from bedwars_backup -573 119 299 -397 119 121 -392 42 121 +execute if score bw.reset board matches 44..44 run clone from bedwars_backup -573 120 299 -397 120 121 -392 43 121 +execute if score bw.reset board matches 45..45 run clone from bedwars_backup -573 121 299 -397 121 121 -392 44 121 +execute if score bw.reset board matches 46..46 run clone from bedwars_backup -573 122 299 -397 122 121 -392 45 121 +execute if score bw.reset board matches 47..47 run clone from bedwars_backup -573 123 299 -397 123 121 -392 46 121 +execute if score bw.reset board matches 48..48 run clone from bedwars_backup -573 124 299 -397 124 121 -392 47 121 +execute if score bw.reset board matches 49..49 run clone from bedwars_backup -573 125 299 -397 125 121 -392 48 121 +execute if score bw.reset board matches 50..50 run clone from bedwars_backup -573 126 299 -397 126 121 -392 49 121 +execute if score bw.reset board matches 51..51 run clone from bedwars_backup -573 127 299 -397 127 121 -392 50 121 +execute if score bw.reset board matches 52..52 run clone from bedwars_backup -573 128 299 -397 128 121 -392 51 121 +execute if score bw.reset board matches 53..53 run clone from bedwars_backup -573 129 299 -397 129 121 -392 52 121 +execute if score bw.reset board matches 54..54 run clone from bedwars_backup -573 130 299 -397 130 121 -392 53 121 +execute if score bw.reset board matches 55..55 run clone from bedwars_backup -573 131 299 -397 131 121 -392 54 121 +execute if score bw.reset board matches 56..56 run clone from bedwars_backup -573 132 299 -397 132 121 -392 55 121 +execute if score bw.reset board matches 57..57 run clone from bedwars_backup -573 133 299 -397 133 121 -392 56 121 +execute if score bw.reset board matches 58..58 run clone from bedwars_backup -573 134 299 -397 134 121 -392 57 121 +execute if score bw.reset board matches 59..59 run clone from bedwars_backup -573 135 299 -397 135 121 -392 58 121 +execute if score bw.reset board matches 60..60 run clone from bedwars_backup -573 136 299 -397 136 121 -392 59 121 +execute if score bw.reset board matches 61..61 run clone from bedwars_backup -573 137 299 -397 137 121 -392 60 121 +execute if score bw.reset board matches 62..62 run clone from bedwars_backup -573 138 299 -397 138 121 -392 61 121 +execute if score bw.reset board matches 63..63 run clone from bedwars_backup -573 139 299 -397 139 121 -392 62 121 +execute if score bw.reset board matches 64..64 run clone from bedwars_backup -573 140 299 -397 140 121 -392 63 121 +execute if score bw.reset board matches 65..65 run clone from bedwars_backup -573 141 299 -397 141 121 -392 64 121 +execute if score bw.reset board matches 66..66 run clone from bedwars_backup -573 142 299 -397 142 121 -392 65 121 +execute if score bw.reset board matches 67..67 run clone from bedwars_backup -573 143 299 -397 143 121 -392 66 121 +execute if score bw.reset board matches 68..68 run clone from bedwars_backup -573 144 299 -397 144 121 -392 67 121 +execute if score bw.reset board matches 69..69 run clone from bedwars_backup -573 145 299 -397 145 121 -392 68 121 +execute if score bw.reset board matches 70..70 run clone from bedwars_backup -573 146 299 -397 146 121 -392 69 121 +execute if score bw.reset board matches 71..71 run clone from bedwars_backup -573 147 299 -397 147 121 -392 70 121 +execute if score bw.reset board matches 72..72 run clone from bedwars_backup -573 148 299 -397 148 121 -392 71 121 +execute if score bw.reset board matches 73..73 run clone from bedwars_backup -573 149 299 -397 149 121 -392 72 121 +execute if score bw.reset board matches 74..74 run function bedwars/resets/points/mogu +# execute if score bw.reset board matches 74..74 run title @a actionbar ["\u00a7c重置即将完毕"] +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7bMap: \u00a7aMogu Island\u00a77 ; ",{"score":{"objective": "board","name": "bw.reset"},"color":"green"},"\u00a7b / \u00a7c74"] +execute if score bw.reset board matches ..74 run schedule function bedwars/resets/mogu 1t +execute if score bw.reset board matches 75.. run function bedwars/resets/resetover + +scoreboard players add bw.reset board 1 + +bossbar set minigames:bedwars max 75 +execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/placebed.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/placebed.mcfunction new file mode 100644 index 00000000..4412a93a --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/placebed.mcfunction @@ -0,0 +1,16 @@ +# setblock -371 31 210 yellow_bed[facing=west] +# setblock -372 31 210 yellow_bed[facing=west,part=head] + +# setblock -305 31 142 red_bed[facing=north] +# setblock -305 31 141 red_bed[facing=north,part=head] + +# setblock -237 31 208 lime_bed[facing=east] +# setblock -236 31 208 lime_bed[facing=east,part=head] + +# setblock -303 31 276 blue_bed[facing=south] +# setblock -303 31 277 blue_bed[facing=south,part=head] + +function minecraft:bedwars/resets/beds/blue +function minecraft:bedwars/resets/beds/green +function minecraft:bedwars/resets/beds/red +function minecraft:bedwars/resets/beds/yellow \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/glassworld.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/glassworld.mcfunction new file mode 100644 index 00000000..c376987c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/glassworld.mcfunction @@ -0,0 +1,68 @@ +# yellow +summon marker -371 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +summon marker -372 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +# red +summon marker -305 31 142 {Tags:["bw.bed.beds","bw.bed.red"]} +summon marker -305 31 141 {Tags:["bw.bed.beds","bw.bed.red"]} +# green +summon marker -237 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +summon marker -236 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +# blue +summon marker -303 31 276 {Tags:["bw.bed.beds","bw.bed.blue"]} +summon marker -303 31 277 {Tags:["bw.bed.beds","bw.bed.blue"]} + +# # iron and gold +summon marker -226 29.5 207 {Tags:["iron"]} +summon marker -226 29.5 209 {Tags:["iron"]} +summon marker -226 29.5 208 {Tags:["iron"]} +summon marker -226 29.5 208 {Tags:["gold"]} +summon marker -302 29.5 288 {Tags:["iron"]} +summon marker -304 29.5 288 {Tags:["iron"]} +summon marker -303 29.5 288 {Tags:["iron"]} +summon marker -303 29.5 288 {Tags:["gold"]} +summon marker -382 29.5 211 {Tags:["iron"]} +summon marker -382 29.5 209 {Tags:["iron"]} +summon marker -382 29.5 210 {Tags:["iron"]} +summon marker -382 29.5 210 {Tags:["gold"]} +summon marker -306 29.5 131 {Tags:["iron"]} +summon marker -304 29.5 131 {Tags:["iron"]} +summon marker -305 29.5 131 {Tags:["iron"]} +summon marker -305 29.5 131 {Tags:["gold"]} +# -305 31 122 +# # effect + +summon area_effect_cloud -230 30.5 206 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -229 30.5 206 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -301 30.5 284 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -301 30.5 285 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -378 30.5 212 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -379 30.5 212 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -307 30.5 135 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -307 30.5 134 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +# # shop +summon area_effect_cloud -229 30.5 210 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -305 30.5 285 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -379 30.5 208 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -303 30.5 134 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -230 30.5 210 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -305 30.5 284 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -378 30.5 208 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -303 30.5 135 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} + +summon marker -305 27 175 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -341 27 210 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -305 27 247 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -271 28 210 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +# # diamond + +# -276 27 176 +# -275 27 242 +# -335 36 239 +# -337 35 167 +# # emerald +summon marker -305 29 210 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -305 36 210 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -305 23 210 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m001B"] diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/mogu.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/mogu.mcfunction new file mode 100644 index 00000000..7db3a7d1 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/mogu.mcfunction @@ -0,0 +1,73 @@ +# yellow +summon marker -371 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +summon marker -372 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +# red +summon marker -305 31 142 {Tags:["bw.bed.beds","bw.bed.red"]} +summon marker -305 31 141 {Tags:["bw.bed.beds","bw.bed.red"]} +# green +summon marker -237 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +summon marker -236 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +# blue +summon marker -303 31 276 {Tags:["bw.bed.beds","bw.bed.blue"]} +summon marker -303 31 277 {Tags:["bw.bed.beds","bw.bed.blue"]} + +# # iron +summon marker -388 30 211 {Tags:["iron"]} +summon marker -388 30 210 {Tags:["iron"]} +summon marker -388 30 209 {Tags:["iron"]} +summon marker -387 30 210 {Tags:["iron"]} +summon marker -306 30 125 {Tags:["iron"]} +summon marker -305 30 125 {Tags:["iron"]} +summon marker -304 30 125 {Tags:["iron"]} +summon marker -305 30 126 {Tags:["iron"]} +summon marker -220 30 207 {Tags:["iron"]} +summon marker -220 30 208 {Tags:["iron"]} +summon marker -220 30 209 {Tags:["iron"]} +summon marker -221 30 208 {Tags:["iron"]} +summon marker -302 30 293 {Tags:["iron"]} +summon marker -303 30 293 {Tags:["iron"]} +summon marker -304 30 293 {Tags:["iron"]} +summon marker -303 30 292 {Tags:["iron"]} +# # gold +summon marker -388 30 210 {Tags:["gold"]} +summon marker -305 30 125 {Tags:["gold"]} +summon marker -220 30 208 {Tags:["gold"]} +summon marker -303 30 293 {Tags:["gold"]} +# -305 31 122 +# # effect +summon area_effect_cloud -310 31.5 129 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -224 31.5 203 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -298 31.5 289 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -384 31.5 215 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +# # shop +# summon area_effect_cloud -384 31.5 205 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -385 31.5 205 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -383 31.5 205 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 31.5 128 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -300 31.5 129 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 31.5 130 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -224 31.5 213 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -223 31.5 213 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -225 31.5 213 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -308 31.5 290 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -308 31.5 289 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -308 31.5 288 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# # diamond +# summon area_effect_cloud -346 31 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b,Age:-19298239} +# summon area_effect_cloud -260 31 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b,Age:-19298239} +# summon area_effect_cloud -260 31 253 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b,Age:-19298239} +# summon area_effect_cloud -346 31 253 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b,Age:-19298239} + +summon marker -346 31 167 {Tags:["diamond","bedwars"]} +summon marker -260 31 167 {Tags:["diamond","bedwars"]} +summon marker -260 31 253 {Tags:["diamond","bedwars"]} +summon marker -346 31 253 {Tags:["diamond","bedwars"]} +# # emerald +# summon area_effect_cloud -314 36 198 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b,Age:-19298239} +# summon area_effect_cloud -294 36 222 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b,Age:-19298239} + +summon marker -314 36 198 {Tags:["emerald","bedwars"]} +summon marker -294 36 222 {Tags:["emerald","bedwars"]} + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m001A"] diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/siheyuan.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/siheyuan.mcfunction new file mode 100644 index 00000000..e41f808d --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/siheyuan.mcfunction @@ -0,0 +1,62 @@ +# beds +# yellow -369 28 217 -369 28 218 +summon marker -369 28 217 {Tags:["bw.bed.beds","bw.bed.yellow"]} +summon marker -369 28 218 {Tags:["bw.bed.beds","bw.bed.yellow"]} +# red -312 28 144 -313 28 144 +summon marker -312 28 144 {Tags:["bw.bed.beds","bw.bed.red"]} +summon marker -313 28 144 {Tags:["bw.bed.beds","bw.bed.red"]} +# green -239 28 201 -239 28 200 +summon marker -239 28 201 {Tags:["bw.bed.beds","bw.bed.green"]} +summon marker -239 28 200 {Tags:["bw.bed.beds","bw.bed.green"]} +# blue -296 28 276 -295 28 276 +summon marker -296 28 276 {Tags:["bw.bed.beds","bw.bed.blue"]} +summon marker -295 28 276 {Tags:["bw.bed.beds","bw.bed.blue"]} + +# SHOP +summon area_effect_cloud -310 19.5 129 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -310 19.5 127 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -224 19.5 203 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -222 19.5 203 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -298 19.5 291 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -298 19.5 293 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -384 19.5 215 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -386 19.5 215 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# EFFECT +summon area_effect_cloud -300 19.5 127 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 19.5 129 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -222 19.5 213 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -224 19.5 213 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -308 19.5 293 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -308 19.5 291 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -386 19.5 205 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -384 19.5 205 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} + +# iron gold + +summon marker -223 18 208 {Tags:["gold"]} +summon marker -305 18 128 {Tags:["gold"]} +summon marker -385 18 210 {Tags:["gold"]} +summon marker -303 18 292 {Tags:["gold"]} + +summon marker -223 18 207 {Tags:["iron"]} +summon marker -223 18 209 {Tags:["iron"]} +summon marker -306 18 128 {Tags:["iron"]} +summon marker -304 18 128 {Tags:["iron"]} +summon marker -385 18 211 {Tags:["iron"]} +summon marker -385 18 209 {Tags:["iron"]} +summon marker -302 18 292 {Tags:["iron"]} +summon marker -304 18 292 {Tags:["iron"]} + +# diamond +summon marker -329 32.5 235 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -278 32.5 235 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -278 32.5 185 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -329 32.5 185 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +# emerald +summon marker -305 33.5 210 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -305 17.5 210 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m004A"] diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/space.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/space.mcfunction new file mode 100644 index 00000000..317d9fce --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/space.mcfunction @@ -0,0 +1,65 @@ +# yellow +summon marker -371 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +summon marker -372 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +# red +summon marker -305 31 142 {Tags:["bw.bed.beds","bw.bed.red"]} +summon marker -305 31 141 {Tags:["bw.bed.beds","bw.bed.red"]} +# green +summon marker -237 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +summon marker -236 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +# blue +summon marker -303 31 276 {Tags:["bw.bed.beds","bw.bed.blue"]} +summon marker -303 31 277 {Tags:["bw.bed.beds","bw.bed.blue"]} +# # iron +summon marker -306 33 122 {Tags:["iron"]} +summon marker -305 33 122 {Tags:["iron"]} +summon marker -304 33 122 {Tags:["iron"]} +summon marker -305 33 123 {Tags:["iron"]} +summon marker -217 33 207 {Tags:["iron"]} +summon marker -217 33 208 {Tags:["iron"]} +summon marker -217 33 209 {Tags:["iron"]} +summon marker -218 33 208 {Tags:["iron"]} +summon marker -302 33 296 {Tags:["iron"]} +summon marker -303 33 296 {Tags:["iron"]} +summon marker -304 33 296 {Tags:["iron"]} +summon marker -303 33 295 {Tags:["iron"]} +summon marker -391 33 211 {Tags:["iron"]} +summon marker -391 33 210 {Tags:["iron"]} +summon marker -391 33 209 {Tags:["iron"]} +summon marker -390 33 210 {Tags:["iron"]} +# # gold +summon marker -305 33 122 {Tags:["gold"]} +summon marker -217 33 208 {Tags:["gold"]} +summon marker -303 33 296 {Tags:["gold"]} +summon marker -391 33 210 {Tags:["gold"]} +# -305 31 122 +# # effect +summon area_effect_cloud -310 31.5 129 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -224 31.5 203 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -298 31.5 289 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -384 31.5 215 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +# # shop +# summon area_effect_cloud -384 31.5 205 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -385 31.5 205 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -383 31.5 205 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 31.5 128 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -300 31.5 129 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 31.5 130 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -224 31.5 213 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -223 31.5 213 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -225 31.5 213 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -308 31.5 290 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -308 31.5 289 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -308 31.5 288 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# # diamond +summon marker -346 31 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -260 31 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -260 31 253 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -346 31 253 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +# # emerald +summon marker -291 38 198 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -315 38 222 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -303 44 210 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m002A"] diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/special1.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/special1.mcfunction new file mode 100644 index 00000000..ee413633 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/special1.mcfunction @@ -0,0 +1,67 @@ +# yellow +summon marker -362 35 189 {Tags:["bw.bed.beds","bw.bed.yellow"]} +summon marker -362 35 188 {Tags:["bw.bed.beds","bw.bed.yellow"]} +# red +summon marker -283 35 154 {Tags:["bw.bed.beds","bw.bed.red"]} +summon marker -284 35 154 {Tags:["bw.bed.beds","bw.bed.red"]} +# green +summon marker -248 35 232 {Tags:["bw.bed.beds","bw.bed.green"]} +summon marker -248 35 233 {Tags:["bw.bed.beds","bw.bed.green"]} +# blue +summon marker -326 35 268 {Tags:["bw.bed.beds","bw.bed.blue"]} +summon marker -327 35 268 {Tags:["bw.bed.beds","bw.bed.blue"]} +# # iron +summon marker -307 30 153 {Tags:["iron"]} +# summon marker -306 29 153 {Tags:["iron"]} +summon marker -305 30 153 {Tags:["iron"]} +summon marker -247 30 209 {Tags:["iron"]} +# summon marker -247 29 210 {Tags:["iron"]} +summon marker -247 30 211 {Tags:["iron"]} +summon marker -303 30 269 {Tags:["iron"]} +# summon marker -304 29 269 {Tags:["iron"]} +summon marker -305 30 269 {Tags:["iron"]} +summon marker -363 30 212 {Tags:["iron"]} +# summon marker -363 29 211 {Tags:["iron"]} +summon marker -363 30 210 {Tags:["iron"]} + +# # gold + +summon marker -306 29 153 {Tags:["gold"]} +summon marker -247 29 210 {Tags:["gold"]} +summon marker -304 29 269 {Tags:["gold"]} +summon marker -363 29 211 {Tags:["gold"]} +# -305 31 122 +# # effect + +summon area_effect_cloud -307 31.5 161 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -255 31.5 209 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -303 31.5 261 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -355 31.5 212 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +# # shop +summon area_effect_cloud -305 31.5 161 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -255 31.5 211 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -305 31.5 261 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -355 31.5 210 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -255 31.5 210 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -304 31.5 261 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -355 31.5 211 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -306 31.5 161 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} + + +# # diamond +summon marker -276 27 176 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -275 27 242 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -335 36 239 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -337 35 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} + +# -276 27 176 +# -275 27 242 +# -335 36 239 +# -337 35 167 +# # emerald +summon marker -294 41 194 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -294 45 220 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} + + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m002B"] diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/unnamed.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/unnamed.mcfunction new file mode 100644 index 00000000..f5dbd730 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/points/unnamed.mcfunction @@ -0,0 +1,70 @@ +# yellow +summon marker -371 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +summon marker -372 31 210 {Tags:["bw.bed.beds","bw.bed.yellow"]} +# red +summon marker -305 31 142 {Tags:["bw.bed.beds","bw.bed.red"]} +summon marker -305 31 141 {Tags:["bw.bed.beds","bw.bed.red"]} +# green +summon marker -237 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +summon marker -236 31 208 {Tags:["bw.bed.beds","bw.bed.green"]} +# blue +summon marker -303 31 276 {Tags:["bw.bed.beds","bw.bed.blue"]} +summon marker -303 31 277 {Tags:["bw.bed.beds","bw.bed.blue"]} +# # iron +summon marker -306 31 122 {Tags:["iron"]} +summon marker -305 31 122 {Tags:["iron"]} +summon marker -304 31 122 {Tags:["iron"]} +summon marker -305 31 123 {Tags:["iron"]} +summon marker -217 31 207 {Tags:["iron"]} +summon marker -217 31 208 {Tags:["iron"]} +summon marker -217 31 209 {Tags:["iron"]} +summon marker -218 31 208 {Tags:["iron"]} +summon marker -302 31 296 {Tags:["iron"]} +summon marker -303 31 296 {Tags:["iron"]} +summon marker -304 31 296 {Tags:["iron"]} +summon marker -303 31 295 {Tags:["iron"]} +summon marker -391 31 211 {Tags:["iron"]} +summon marker -391 31 210 {Tags:["iron"]} +summon marker -391 31 209 {Tags:["iron"]} +summon marker -390 31 210 {Tags:["iron"]} +# # gold +summon marker -305 31 122 {Tags:["gold"]} +summon marker -217 31 208 {Tags:["gold"]} +summon marker -303 31 296 {Tags:["gold"]} +summon marker -391 31 210 {Tags:["gold"]} +# -305 31 122 +# # effect +summon area_effect_cloud -310 31.5 129 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -224 31.5 203 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -298 31.5 289 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -384 31.5 215 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +# # shop + +summon area_effect_cloud -310 31.5 129 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -224 31.5 203 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -298 31.5 289 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -384 31.5 215 {Tags:["bedwars","dmshop"],CustomName:'"\\u00a7b\\u00a7lEffect Shop"',CustomNameVisible:1b,Age:-19103293} +# # shop +# summon area_effect_cloud -384 31.5 205 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -385 31.5 205 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -383 31.5 205 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 31.5 128 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -300 31.5 129 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -300 31.5 130 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -224 31.5 213 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -223 31.5 213 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -225 31.5 213 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} + +summon area_effect_cloud -308 31.5 290 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a761"',CustomNameVisible:1b,Age:-19103293} +# summon area_effect_cloud -308 31.5 289 {Tags:["shop","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop"',CustomNameVisible:1b,Age:-19103293} +summon area_effect_cloud -308 31.5 288 {Tags:["shop2","bedwars"],CustomName:'"\\u00a7a\\u00a7lItem Shop \\u00a762"',CustomNameVisible:1b,Age:-19103293} +# # diamond +summon marker -346 31 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -260 31 167 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -260 31 253 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +summon marker -346 31 253 {Tags:["diamond","bedwars"],CustomName:'"\\u00a7b\\u00a7lDiamond Spawner"',CustomNameVisible:1b} +# # emerald +summon marker -314 36 198 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} +summon marker -294 36 222 {Tags:["emerald","bedwars"],CustomName:'"\\u00a7a\\u00a7lEmerald Spawner"',CustomNameVisible:1b} + +scoreboard players display name date bw.info ["\u00a7701/19/24§8 \u00a78m003A"] diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/resetover.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/resetover.mcfunction new file mode 100644 index 00000000..96e2af39 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/resetover.mcfunction @@ -0,0 +1,101 @@ +title @a[tag=bw.player] title ["\u00a7aBedwars"] +title @a[tag=bw.player] subtitle ["\u00a7fEnjoy the game!"] +execute as @e[tag=diamond,type=marker] at @s run summon minecraft:area_effect_cloud ~ ~1.8 ~ {Age:-2147483648,Duration:-1,WaitTime: -2147483648,Tags:["bedwars","diamond.title"],CustomName:'"\\u00a7b\\u00a7l钻石"',CustomNameVisible:1b} +execute as @e[tag=diamond,type=marker] at @s run summon minecraft:area_effect_cloud ~ ~1.5 ~ {Age:-2147483648,Duration:-1,WaitTime: -2147483648,Tags:["bedwars","diamond.subtitle"],CustomName:'"To be edited"',CustomNameVisible:1b} +execute as @e[tag=emerald,type=marker] at @s run summon minecraft:area_effect_cloud ~ ~1.8 ~ {Age:-2147483648,Duration:-1,WaitTime: -2147483648,Tags:["bedwars","emerald.title"],CustomName:'"\\u00a72绿宝石"',CustomNameVisible:1b} +execute as @e[tag=emerald,type=marker] at @s run summon minecraft:area_effect_cloud ~ ~1.5 ~ {Age:-2147483648,Duration:-1,WaitTime: -2147483648,Tags:["bedwars","emerald.subtitle"],CustomName:'"To be edited"',CustomNameVisible:1b} + +tellraw @a[tag=bw.player] ["\u00a7a重置完毕!"] +scoreboard players set bw.reset board 0 +execute in bedwars_backup run forceload remove -573 299 -397 121 +execute in bedwars_backup run forceload remove -753 121 -577 299 +schedule clear bedwars/resets/mogu +schedule clear bedwars/resets/unnamed +team join bw.wait @a[tag=GOABLE.SPEC,team=bw.green] +team join bw.wait @a[tag=GOABLE.SPEC,team=bw.blue] +team join bw.wait @a[tag=GOABLE.SPEC,team=bw.red] +team join bw.wait @a[tag=GOABLE.SPEC,team=bw.yellow] +gamemode spectator @a[tag=GOABLE.SPEC,team=bw.wait] +tag @a[team=bw.wait,tag=!GOABLE.SPEC] add bw.play +title @a[tag=bw.player] reset +title @a[tag=bw.player] title ["\u00a7eBedwars"] +title @a[tag=bw.player] subtitle ["\u00a7a游戏开始!"] +execute if score bw.mode state matches 0..3 run execute as @a[team=bw.wait,tag=!GOABLE.SPEC] at @s run function minecraft:bedwars/before/random_team +execute if score bw.mode state matches 4..7 run execute as @a[team=bw.wait,tag=!GOABLE.SPEC] at @s run function minecraft:bedwars/before/random_team_2teams +tag @a[team=bw.wait] remove bw.play +tellraw @a ["\u00a7a\u00a7l[MESSAGE] \u00a76起床战争\u00a7b游戏已经开始!"] +tellraw @a[team=bw.blue] ["\u00a76你加入了\u00a79蓝队"] +tellraw @a[team=bw.green] ["\u00a76你加入了\u00a7a绿队"] +tellraw @a[team=bw.red] ["\u00a76你加入了\u00a7c红队"] +tellraw @a[team=bw.yellow] ["\u00a76你加入了\u00a7e黄队"] +tellraw @a[team=bw.wait] ["\u00a77你现在处于旁观模式。"] +gamemode adventure @a[team=bw.yellow] +gamemode adventure @a[team=bw.blue] +gamemode adventure @a[team=bw.green] +gamemode adventure @a[team=bw.red] +# execute as @a run function minecraft:bedwars/before/teleport +execute as @a[tag=bw.play] run function bedwars/during/player/onlytpspawn + +scoreboard players operation @a[tag=bw.play] globle.game = bw globle.game + +scoreboard players set bd.blue state 1 +scoreboard players set bd.green state 1 +scoreboard players set bd.yellow state 1 +scoreboard players set bd.red state 1 +scoreboard players set bw.blue state 1 +scoreboard players set bw.green state 1 +scoreboard players set bw.yellow state 1 +scoreboard players set bw.red state 1 + +data merge block -302 30 131 {Items: []} +data merge block -226 30 211 {Items: []} +data merge block -306 30 287 {Items: []} +data merge block -382 30 207 {Items: []} + +function bedwars/resets/placebed + +execute if score bw.mode state matches 1 as @e[tag=bw.bed.beds] at @s run setblock ~ ~ ~ air +execute if score bw.mode state matches 5 as @e[tag=bw.bed.beds] at @s run setblock ~ ~ ~ air + +execute if score bw.mode state matches 1 run tellraw @a[tag=bw.player] ["\n \u00a7c\u00a7l无床模式\u00a76已启用。\n"] +execute if score bw.mode state matches 5 run tellraw @a[tag=bw.player] ["\n \u00a7c\u00a7l无床模式\u00a76已启用。\n"] +execute if score bw.mode state matches 2 run tellraw @a[tag=bw.player] ["\n \u00a7a\u00a7l全解锁模式\u00a76已启用。\n"] +execute if score bw.mode state matches 6 run tellraw @a[tag=bw.player] ["\n \u00a7a\u00a7l全解锁模式\u00a76已启用。\n"] + +execute if score bw.mode state matches 1 run scoreboard players display name info1 bw.info ["游戏模式:\u00a7c无床模式"] +execute if score bw.mode state matches 5 run scoreboard players display name info1 bw.info ["游戏模式:\u00a7c无床模式"] +execute if score bw.mode state matches 2 run scoreboard players display name info1 bw.info ["游戏模式:\u00a7a全解锁模式"] +execute if score bw.mode state matches 6 run scoreboard players display name info1 bw.info ["游戏模式:\u00a7a全解锁模式"] + +execute if score bw.mode state matches 2 run tag @a[tag=bw.player] add bw.attack +execute if score bw.mode state matches 2 run tag @a[tag=bw.player] add bw.armor +execute if score bw.mode state matches 2 run tag @a[tag=bw.player] add bw.speed +execute if score bw.mode state matches 2 run tag @a[tag=bw.player] add bw.fastii + +execute if score bw.mode state matches 6 run tag @a[tag=bw.player] add bw.attack +execute if score bw.mode state matches 6 run tag @a[tag=bw.player] add bw.armor +execute if score bw.mode state matches 6 run tag @a[tag=bw.player] add bw.speed +execute if score bw.mode state matches 6 run tag @a[tag=bw.player] add bw.fastii + +scoreboard players set bw.state state 1 + +scoreboard players set bw.event state 0 +scoreboard players set bw.event.countdown board 720 +# bw.event +# 0: Diamond Up +# 1: Emerlad Up +# 2: Bed Gone +# 3: Dragon +bossbar set minigames:bedwars max 360 +# execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board +bossbar set minigames:bedwars name ["\u00a7f\u00a7lBEDWARS 起床战争 \u00a77| \u00a7b钻石\u00a7e速度升级: ",{"score":{"name": "bw.event.countdown","objective": "board"},"color":"light_purple"},"\u00a7es"] +scoreboard players display name event bw.info ["即将:\u00a7b钻石\u00a7r速度升级"] + +execute store result score bw.event.time tick run bossbar get minigames:bedwars max +scoreboard players operation bw.event.time tick -= bw.event.countdown board +execute store result bossbar minigames:bedwars value run scoreboard players get bw.event.time tick + +scoreboard players set bw.set.em board 90 +scoreboard players set bw.set.dm board 60 + +kill @e[type=item] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/siheyuan.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/siheyuan.mcfunction new file mode 100644 index 00000000..e98113a0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/siheyuan.mcfunction @@ -0,0 +1,79 @@ +execute if score bw.reset board matches 0..0 in bedwars_backup run forceload add -753 121 -577 299 +execute if score bw.reset board matches 2 run fill -216 0 299 -392 0 121 air +execute if score bw.reset board matches 2 run fill -216 1 299 -392 1 121 air +execute if score bw.reset board matches 2 run fill -216 2 299 -392 2 121 air +execute if score bw.reset board matches 2 run fill -216 3 299 -392 3 121 air +execute if score bw.reset board matches 2 run fill -216 4 299 -392 4 121 air +execute if score bw.reset board matches 2 run fill -216 5 299 -392 5 121 air +execute if score bw.reset board matches 2 run fill -216 6 299 -392 6 121 air +execute if score bw.reset board matches 2 run fill -216 7 299 -392 7 121 air +execute if score bw.reset board matches 2 run fill -216 8 299 -392 8 121 air +# execute if score bw.reset board matches 2 run clone from bedwars_backup -753 90 299 -577 143 121 -392 5 121 +execute if score bw.reset board matches 3 run clone from bedwars_backup -753 90 299 -577 90 121 -392 9 121 +execute if score bw.reset board matches 3 run clone from bedwars_backup -753 91 299 -577 91 121 -392 10 121 +execute if score bw.reset board matches 4 run clone from bedwars_backup -753 92 299 -577 92 121 -392 11 121 +execute if score bw.reset board matches 5 run clone from bedwars_backup -753 93 299 -577 93 121 -392 12 121 +execute if score bw.reset board matches 6 run clone from bedwars_backup -753 94 299 -577 94 121 -392 13 121 +execute if score bw.reset board matches 7 run clone from bedwars_backup -753 95 299 -577 95 121 -392 14 121 +execute if score bw.reset board matches 8 run clone from bedwars_backup -753 96 299 -577 96 121 -392 15 121 +execute if score bw.reset board matches 9 run clone from bedwars_backup -753 97 299 -577 97 121 -392 16 121 +execute if score bw.reset board matches 10 run clone from bedwars_backup -753 98 299 -577 98 121 -392 17 121 +execute if score bw.reset board matches 11 run clone from bedwars_backup -753 99 299 -577 99 121 -392 18 121 +execute if score bw.reset board matches 12 run clone from bedwars_backup -753 100 299 -577 100 121 -392 19 121 +execute if score bw.reset board matches 13 run clone from bedwars_backup -753 101 299 -577 101 121 -392 20 121 +execute if score bw.reset board matches 14 run clone from bedwars_backup -753 102 299 -577 102 121 -392 21 121 +execute if score bw.reset board matches 15 run clone from bedwars_backup -753 103 299 -577 103 121 -392 22 121 +execute if score bw.reset board matches 16 run clone from bedwars_backup -753 104 299 -577 104 121 -392 23 121 +execute if score bw.reset board matches 17 run clone from bedwars_backup -753 105 299 -577 105 121 -392 24 121 +execute if score bw.reset board matches 18 run clone from bedwars_backup -753 106 299 -577 106 121 -392 25 121 +execute if score bw.reset board matches 19 run clone from bedwars_backup -753 107 299 -577 107 121 -392 26 121 +execute if score bw.reset board matches 20 run clone from bedwars_backup -753 108 299 -577 108 121 -392 27 121 +execute if score bw.reset board matches 21 run clone from bedwars_backup -753 109 299 -577 109 121 -392 28 121 +execute if score bw.reset board matches 22 run clone from bedwars_backup -753 110 299 -577 110 121 -392 29 121 +execute if score bw.reset board matches 23 run clone from bedwars_backup -753 111 299 -577 111 121 -392 30 121 +execute if score bw.reset board matches 24 run clone from bedwars_backup -753 112 299 -577 112 121 -392 31 121 +execute if score bw.reset board matches 25 run clone from bedwars_backup -753 113 299 -577 113 121 -392 32 121 +execute if score bw.reset board matches 26 run clone from bedwars_backup -753 114 299 -577 114 121 -392 33 121 +execute if score bw.reset board matches 27 run clone from bedwars_backup -753 115 299 -577 115 121 -392 34 121 +execute if score bw.reset board matches 28 run clone from bedwars_backup -753 116 299 -577 116 121 -392 35 121 +execute if score bw.reset board matches 29 run clone from bedwars_backup -753 117 299 -577 117 121 -392 36 121 +execute if score bw.reset board matches 30 run clone from bedwars_backup -753 118 299 -577 118 121 -392 37 121 +execute if score bw.reset board matches 31 run clone from bedwars_backup -753 119 299 -577 119 121 -392 38 121 +execute if score bw.reset board matches 32 run clone from bedwars_backup -753 120 299 -577 120 121 -392 39 121 +execute if score bw.reset board matches 33 run clone from bedwars_backup -753 121 299 -577 121 121 -392 40 121 +execute if score bw.reset board matches 34 run clone from bedwars_backup -753 122 299 -577 122 121 -392 41 121 +execute if score bw.reset board matches 35 run clone from bedwars_backup -753 123 299 -577 123 121 -392 42 121 +execute if score bw.reset board matches 36 run clone from bedwars_backup -753 124 299 -577 124 121 -392 43 121 +execute if score bw.reset board matches 37 run clone from bedwars_backup -753 125 299 -577 125 121 -392 44 121 +execute if score bw.reset board matches 38 run clone from bedwars_backup -753 126 299 -577 126 121 -392 45 121 +execute if score bw.reset board matches 39 run clone from bedwars_backup -753 127 299 -577 127 121 -392 46 121 +execute if score bw.reset board matches 40 run clone from bedwars_backup -753 128 299 -577 128 121 -392 47 121 +execute if score bw.reset board matches 41 run clone from bedwars_backup -753 129 299 -577 129 121 -392 48 121 +execute if score bw.reset board matches 42 run clone from bedwars_backup -753 130 299 -577 130 121 -392 49 121 +execute if score bw.reset board matches 43 run clone from bedwars_backup -753 131 299 -577 131 121 -392 50 121 +execute if score bw.reset board matches 44 run clone from bedwars_backup -753 132 299 -577 132 121 -392 51 121 +execute if score bw.reset board matches 45 run clone from bedwars_backup -753 133 299 -577 133 121 -392 52 121 +execute if score bw.reset board matches 46 run clone from bedwars_backup -753 134 299 -577 134 121 -392 53 121 +execute if score bw.reset board matches 47 run clone from bedwars_backup -753 135 299 -577 135 121 -392 54 121 +execute if score bw.reset board matches 48 run clone from bedwars_backup -753 136 299 -577 136 121 -392 55 121 +execute if score bw.reset board matches 49 run clone from bedwars_backup -753 137 299 -577 137 121 -392 56 121 +execute if score bw.reset board matches 50 run clone from bedwars_backup -753 138 299 -577 138 121 -392 57 121 +execute if score bw.reset board matches 51 run clone from bedwars_backup -753 139 299 -577 139 121 -392 58 121 +execute if score bw.reset board matches 52 run clone from bedwars_backup -753 140 299 -577 140 121 -392 59 121 +execute if score bw.reset board matches 53 run clone from bedwars_backup -753 141 299 -577 141 121 -392 60 121 +execute if score bw.reset board matches 54 run clone from bedwars_backup -753 142 299 -577 142 121 -392 61 121 +execute if score bw.reset board matches 55 run fill -216 62 299 -392 62 121 air +execute if score bw.reset board matches 56 run fill -216 63 299 -392 63 121 air +execute if score bw.reset board matches 57 run fill -216 64 299 -392 64 121 air +execute if score bw.reset board matches 58 run fill -216 65 299 -392 65 121 air +execute if score bw.reset board matches 59 run fill -216 66 299 -392 66 121 air +execute if score bw.reset board matches 60 run function bedwars/resets/points/siheyuan +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7bMap: \u00a7f四合院\u00a77 ; ",{"score":{"objective": "board","name": "bw.reset"},"color":"green"},"\u00a7b / \u00a7c60"] +execute if score bw.reset board matches ..60 run schedule function bedwars/resets/siheyuan 1t +execute if score bw.reset board matches 61.. run function bedwars/resets/resetover + +scoreboard players add bw.reset board 1 + +bossbar set minigames:bedwars max 60 +execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/space.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/space.mcfunction new file mode 100644 index 00000000..5d70d775 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/space.mcfunction @@ -0,0 +1,88 @@ +# /clone -573 153 121 -397 153 299 +# -> 225 +# +execute if score bw.reset board matches 0..0 in bedwars_backup run forceload add -573 299 -397 121 +execute if score bw.reset board matches 1..1 run clone from bedwars_backup -573 153 121 -397 153 299 -392 0 121 +execute if score bw.reset board matches 2..2 run clone from bedwars_backup -573 154 121 -397 154 299 -392 1 121 +execute if score bw.reset board matches 3..3 run clone from bedwars_backup -573 155 121 -397 155 299 -392 2 121 +execute if score bw.reset board matches 4..4 run clone from bedwars_backup -573 156 121 -397 156 299 -392 3 121 +execute if score bw.reset board matches 5..5 run clone from bedwars_backup -573 157 121 -397 157 299 -392 4 121 +execute if score bw.reset board matches 6..6 run clone from bedwars_backup -573 158 121 -397 158 299 -392 5 121 +execute if score bw.reset board matches 7..7 run clone from bedwars_backup -573 159 121 -397 159 299 -392 6 121 +execute if score bw.reset board matches 8..8 run clone from bedwars_backup -573 160 121 -397 160 299 -392 7 121 +execute if score bw.reset board matches 9..9 run clone from bedwars_backup -573 161 121 -397 161 299 -392 8 121 +execute if score bw.reset board matches 10..10 run clone from bedwars_backup -573 162 121 -397 162 299 -392 9 121 +execute if score bw.reset board matches 11..11 run clone from bedwars_backup -573 163 121 -397 163 299 -392 10 121 +execute if score bw.reset board matches 12..12 run clone from bedwars_backup -573 164 121 -397 164 299 -392 11 121 +execute if score bw.reset board matches 13..13 run clone from bedwars_backup -573 165 121 -397 165 299 -392 12 121 +execute if score bw.reset board matches 14..14 run clone from bedwars_backup -573 166 121 -397 166 299 -392 13 121 +execute if score bw.reset board matches 15..15 run clone from bedwars_backup -573 167 121 -397 167 299 -392 14 121 +execute if score bw.reset board matches 16..16 run clone from bedwars_backup -573 168 121 -397 168 299 -392 15 121 +execute if score bw.reset board matches 17..17 run clone from bedwars_backup -573 169 121 -397 169 299 -392 16 121 +execute if score bw.reset board matches 18..18 run clone from bedwars_backup -573 170 121 -397 170 299 -392 17 121 +execute if score bw.reset board matches 19..19 run clone from bedwars_backup -573 171 121 -397 171 299 -392 18 121 +execute if score bw.reset board matches 20..20 run clone from bedwars_backup -573 172 121 -397 172 299 -392 19 121 +execute if score bw.reset board matches 21..21 run clone from bedwars_backup -573 173 121 -397 173 299 -392 20 121 +execute if score bw.reset board matches 22..22 run clone from bedwars_backup -573 174 121 -397 174 299 -392 21 121 +execute if score bw.reset board matches 23..23 run clone from bedwars_backup -573 175 121 -397 175 299 -392 22 121 +execute if score bw.reset board matches 24..24 run clone from bedwars_backup -573 176 121 -397 176 299 -392 23 121 +execute if score bw.reset board matches 25..25 run clone from bedwars_backup -573 177 121 -397 177 299 -392 24 121 +execute if score bw.reset board matches 26..26 run clone from bedwars_backup -573 178 121 -397 178 299 -392 25 121 +execute if score bw.reset board matches 27..27 run clone from bedwars_backup -573 179 121 -397 179 299 -392 26 121 +execute if score bw.reset board matches 28..28 run clone from bedwars_backup -573 180 121 -397 180 299 -392 27 121 +execute if score bw.reset board matches 29..29 run clone from bedwars_backup -573 181 121 -397 181 299 -392 28 121 +execute if score bw.reset board matches 30..30 run clone from bedwars_backup -573 182 121 -397 182 299 -392 29 121 +execute if score bw.reset board matches 31..31 run clone from bedwars_backup -573 183 121 -397 183 299 -392 30 121 +execute if score bw.reset board matches 32..32 run clone from bedwars_backup -573 184 121 -397 184 299 -392 31 121 +execute if score bw.reset board matches 33..33 run clone from bedwars_backup -573 185 121 -397 185 299 -392 32 121 +execute if score bw.reset board matches 34..34 run clone from bedwars_backup -573 186 121 -397 186 299 -392 33 121 +execute if score bw.reset board matches 35..35 run clone from bedwars_backup -573 187 121 -397 187 299 -392 34 121 +execute if score bw.reset board matches 36..36 run clone from bedwars_backup -573 188 121 -397 188 299 -392 35 121 +execute if score bw.reset board matches 37..37 run clone from bedwars_backup -573 189 121 -397 189 299 -392 36 121 +execute if score bw.reset board matches 38..38 run clone from bedwars_backup -573 190 121 -397 190 299 -392 37 121 +execute if score bw.reset board matches 39..39 run clone from bedwars_backup -573 191 121 -397 191 299 -392 38 121 +execute if score bw.reset board matches 40..40 run clone from bedwars_backup -573 192 121 -397 192 299 -392 39 121 +execute if score bw.reset board matches 41..41 run clone from bedwars_backup -573 193 121 -397 193 299 -392 40 121 +execute if score bw.reset board matches 42..42 run clone from bedwars_backup -573 194 121 -397 194 299 -392 41 121 +execute if score bw.reset board matches 43..43 run clone from bedwars_backup -573 195 121 -397 195 299 -392 42 121 +execute if score bw.reset board matches 44..44 run clone from bedwars_backup -573 196 121 -397 196 299 -392 43 121 +execute if score bw.reset board matches 45..45 run clone from bedwars_backup -573 197 121 -397 197 299 -392 44 121 +execute if score bw.reset board matches 46..46 run clone from bedwars_backup -573 198 121 -397 198 299 -392 45 121 +execute if score bw.reset board matches 47..47 run clone from bedwars_backup -573 199 121 -397 199 299 -392 46 121 +execute if score bw.reset board matches 48..48 run clone from bedwars_backup -573 200 121 -397 200 299 -392 47 121 +execute if score bw.reset board matches 49..49 run clone from bedwars_backup -573 201 121 -397 201 299 -392 48 121 +execute if score bw.reset board matches 50..50 run clone from bedwars_backup -573 202 121 -397 202 299 -392 49 121 +execute if score bw.reset board matches 51..51 run clone from bedwars_backup -573 203 121 -397 203 299 -392 50 121 +execute if score bw.reset board matches 52..52 run clone from bedwars_backup -573 204 121 -397 204 299 -392 51 121 +execute if score bw.reset board matches 53..53 run clone from bedwars_backup -573 205 121 -397 205 299 -392 52 121 +execute if score bw.reset board matches 54..54 run clone from bedwars_backup -573 206 121 -397 206 299 -392 53 121 +execute if score bw.reset board matches 55..55 run clone from bedwars_backup -573 207 121 -397 207 299 -392 54 121 +execute if score bw.reset board matches 56..56 run clone from bedwars_backup -573 208 121 -397 208 299 -392 55 121 +execute if score bw.reset board matches 57..57 run clone from bedwars_backup -573 209 121 -397 209 299 -392 56 121 +execute if score bw.reset board matches 58..58 run clone from bedwars_backup -573 210 121 -397 210 299 -392 57 121 +execute if score bw.reset board matches 59..59 run clone from bedwars_backup -573 211 121 -397 211 299 -392 58 121 +execute if score bw.reset board matches 60..60 run clone from bedwars_backup -573 212 121 -397 212 299 -392 59 121 +execute if score bw.reset board matches 61..61 run clone from bedwars_backup -573 213 121 -397 213 299 -392 60 121 +execute if score bw.reset board matches 62..62 run clone from bedwars_backup -573 214 121 -397 214 299 -392 61 121 +execute if score bw.reset board matches 63..63 run clone from bedwars_backup -573 215 121 -397 215 299 -392 62 121 +execute if score bw.reset board matches 64..64 run clone from bedwars_backup -573 216 121 -397 216 299 -392 63 121 +execute if score bw.reset board matches 65..65 run clone from bedwars_backup -573 217 121 -397 217 299 -392 64 121 +execute if score bw.reset board matches 66..66 run clone from bedwars_backup -573 218 121 -397 218 299 -392 65 121 +execute if score bw.reset board matches 67..67 run clone from bedwars_backup -573 219 121 -397 219 299 -392 66 121 +execute if score bw.reset board matches 68..68 run clone from bedwars_backup -573 220 121 -397 220 299 -392 67 121 +execute if score bw.reset board matches 69..69 run clone from bedwars_backup -573 221 121 -397 221 299 -392 68 121 +execute if score bw.reset board matches 70..70 run clone from bedwars_backup -573 222 121 -397 222 299 -392 69 121 +execute if score bw.reset board matches 71..71 run clone from bedwars_backup -573 223 121 -397 223 299 -392 70 121 +execute if score bw.reset board matches 72..72 run clone from bedwars_backup -573 224 121 -397 224 299 -392 71 121 +execute if score bw.reset board matches 73..73 run clone from bedwars_backup -573 225 121 -397 225 299 -392 72 121 +execute if score bw.reset board matches 74..74 run function bedwars/resets/points/space + +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7bMap: \u00a7c奇怪的环保太空船\u00a77 ; ",{"score":{"objective": "board","name": "bw.reset"},"color":"green"},"\u00a7b / \u00a7c75"] +execute if score bw.reset board matches ..74 run schedule function bedwars/resets/space 1t +execute if score bw.reset board matches 75.. run function bedwars/resets/resetover + +scoreboard players add bw.reset board 1 + +bossbar set minigames:bedwars max 75 +execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/special1.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/special1.mcfunction new file mode 100644 index 00000000..674d4192 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/special1.mcfunction @@ -0,0 +1,82 @@ +# /clone -573 153 121 -397 153 299 +# -> 225 +# +execute if score bw.reset board matches 0..0 in bedwars_backup run forceload add -573 299 -397 121 +execute if score bw.reset board matches 1..1 run fill -216 0 299 -392 0 121 air +execute if score bw.reset board matches 2..2 run fill -216 1 299 -392 1 121 air +execute if score bw.reset board matches 3..3 run fill -216 2 299 -392 2 121 air +execute if score bw.reset board matches 4..4 run fill -216 3 299 -392 3 121 air +execute if score bw.reset board matches 5..5 run fill -216 4 299 -392 4 121 air +execute if score bw.reset board matches 6..6 run fill -216 5 299 -392 5 121 air +execute if score bw.reset board matches 7..7 run fill -216 6 299 -392 6 121 air +execute if score bw.reset board matches 8..8 run fill -216 7 299 -392 7 121 air +execute if score bw.reset board matches 9..9 run fill -216 8 299 -392 8 121 air +execute if score bw.reset board matches 10..10 run fill -216 9 299 -392 9 121 air +execute if score bw.reset board matches 11..11 run fill -216 10 299 -392 10 121 air +execute if score bw.reset board matches 12..12 run fill -216 11 299 -392 11 121 air +execute if score bw.reset board matches 13..13 run fill -216 12 299 -392 12 121 air +execute if score bw.reset board matches 14 run clone from bedwars_backup -573 227 121 -397 227 299 -392 13 121 +execute if score bw.reset board matches 15 run clone from bedwars_backup -573 228 121 -397 228 299 -392 14 121 +execute if score bw.reset board matches 16 run clone from bedwars_backup -573 229 121 -397 229 299 -392 15 121 +execute if score bw.reset board matches 17 run clone from bedwars_backup -573 230 121 -397 230 299 -392 16 121 +execute if score bw.reset board matches 18 run clone from bedwars_backup -573 231 121 -397 231 299 -392 17 121 +execute if score bw.reset board matches 19 run clone from bedwars_backup -573 232 121 -397 232 299 -392 18 121 +execute if score bw.reset board matches 20 run clone from bedwars_backup -573 233 121 -397 233 299 -392 19 121 +execute if score bw.reset board matches 21 run clone from bedwars_backup -573 234 121 -397 234 299 -392 20 121 +execute if score bw.reset board matches 22 run clone from bedwars_backup -573 235 121 -397 235 299 -392 21 121 +execute if score bw.reset board matches 23 run clone from bedwars_backup -573 236 121 -397 236 299 -392 22 121 +execute if score bw.reset board matches 24 run clone from bedwars_backup -573 237 121 -397 237 299 -392 23 121 +execute if score bw.reset board matches 25 run clone from bedwars_backup -573 238 121 -397 238 299 -392 24 121 +execute if score bw.reset board matches 26 run clone from bedwars_backup -573 239 121 -397 239 299 -392 25 121 +execute if score bw.reset board matches 27 run clone from bedwars_backup -573 240 121 -397 240 299 -392 26 121 +execute if score bw.reset board matches 28 run clone from bedwars_backup -573 241 121 -397 241 299 -392 27 121 +execute if score bw.reset board matches 29 run clone from bedwars_backup -573 242 121 -397 242 299 -392 28 121 +execute if score bw.reset board matches 30 run clone from bedwars_backup -573 243 121 -397 243 299 -392 29 121 +execute if score bw.reset board matches 31 run clone from bedwars_backup -573 244 121 -397 244 299 -392 30 121 +execute if score bw.reset board matches 32 run clone from bedwars_backup -573 245 121 -397 245 299 -392 31 121 +execute if score bw.reset board matches 33 run clone from bedwars_backup -573 246 121 -397 246 299 -392 32 121 +execute if score bw.reset board matches 34 run clone from bedwars_backup -573 247 121 -397 247 299 -392 33 121 +execute if score bw.reset board matches 35 run clone from bedwars_backup -573 248 121 -397 248 299 -392 34 121 +execute if score bw.reset board matches 36 run clone from bedwars_backup -573 249 121 -397 249 299 -392 35 121 +execute if score bw.reset board matches 37 run clone from bedwars_backup -573 250 121 -397 250 299 -392 36 121 +execute if score bw.reset board matches 38 run clone from bedwars_backup -573 251 121 -397 251 299 -392 37 121 +execute if score bw.reset board matches 39 run clone from bedwars_backup -573 252 121 -397 252 299 -392 38 121 +execute if score bw.reset board matches 40 run clone from bedwars_backup -573 253 121 -397 253 299 -392 39 121 +execute if score bw.reset board matches 41 run clone from bedwars_backup -573 254 121 -397 254 299 -392 40 121 +execute if score bw.reset board matches 42 run clone from bedwars_backup -573 255 121 -397 255 299 -392 41 121 +execute if score bw.reset board matches 43 run clone from bedwars_backup -573 256 121 -397 256 299 -392 42 121 +execute if score bw.reset board matches 44 run clone from bedwars_backup -573 257 121 -397 257 299 -392 43 121 +execute if score bw.reset board matches 45 run clone from bedwars_backup -573 258 121 -397 258 299 -392 44 121 +execute if score bw.reset board matches 46 run clone from bedwars_backup -573 259 121 -397 259 299 -392 45 121 +execute if score bw.reset board matches 47 run clone from bedwars_backup -573 260 121 -397 260 299 -392 46 121 +execute if score bw.reset board matches 48 run clone from bedwars_backup -573 261 121 -397 261 299 -392 47 121 +execute if score bw.reset board matches 49 run clone from bedwars_backup -573 262 121 -397 262 299 -392 48 121 +execute if score bw.reset board matches 50 run clone from bedwars_backup -573 263 121 -397 263 299 -392 49 121 +execute if score bw.reset board matches 51 run clone from bedwars_backup -573 264 121 -397 264 299 -392 50 121 +execute if score bw.reset board matches 52 run clone from bedwars_backup -573 265 121 -397 265 299 -392 51 121 +execute if score bw.reset board matches 53 run clone from bedwars_backup -573 266 121 -397 266 299 -392 52 121 +execute if score bw.reset board matches 54 run clone from bedwars_backup -573 267 121 -397 267 299 -392 53 121 +execute if score bw.reset board matches 55 run clone from bedwars_backup -573 268 121 -397 268 299 -392 54 121 +execute if score bw.reset board matches 56 run clone from bedwars_backup -573 269 121 -397 269 299 -392 55 121 +execute if score bw.reset board matches 57 run clone from bedwars_backup -573 270 121 -397 270 299 -392 56 121 +execute if score bw.reset board matches 58 run clone from bedwars_backup -573 271 121 -397 271 299 -392 57 121 +execute if score bw.reset board matches 59 run clone from bedwars_backup -573 272 121 -397 272 299 -392 58 121 +execute if score bw.reset board matches 60 run clone from bedwars_backup -573 273 121 -397 273 299 -392 59 121 +execute if score bw.reset board matches 61 run clone from bedwars_backup -573 274 121 -397 274 299 -392 60 121 +execute if score bw.reset board matches 62 run clone from bedwars_backup -573 275 121 -397 275 299 -392 61 121 +execute if score bw.reset board matches 63 run clone from bedwars_backup -573 276 121 -397 276 299 -392 62 121 +execute if score bw.reset board matches 64 run clone from bedwars_backup -573 277 121 -397 277 299 -392 63 121 +execute if score bw.reset board matches 65 run clone from bedwars_backup -573 278 121 -397 278 299 -392 64 121 +execute if score bw.reset board matches 66 run clone from bedwars_backup -573 279 121 -397 279 299 -392 65 121 +execute if score bw.reset board matches 67 run clone from bedwars_backup -573 280 121 -397 280 299 -392 66 121 +execute if score bw.reset board matches 74..74 run function bedwars/resets/points/special1 + +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7bMap: \u00a7d迷途岛\u00a77 ; ",{"score":{"objective": "board","name": "bw.reset"},"color":"green"},"\u00a7b / \u00a7c75"] +execute if score bw.reset board matches ..74 run schedule function bedwars/resets/special1 1t +execute if score bw.reset board matches 75.. run function bedwars/resets/resetover + +scoreboard players add bw.reset board 1 + +bossbar set minigames:bedwars max 75 +execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/resets/unnamed.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/unnamed.mcfunction new file mode 100644 index 00000000..5ccafad7 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/resets/unnamed.mcfunction @@ -0,0 +1,89 @@ +execute if score bw.reset board matches 0..0 in bedwars_backup run forceload add -573 299 -397 121 +execute if score bw.reset board matches 1..1 run clone from bedwars_backup -573 0 299 -397 0 121 -392 0 121 +execute if score bw.reset board matches 2..2 run clone from bedwars_backup -573 1 299 -397 1 121 -392 1 121 +execute if score bw.reset board matches 3..3 run clone from bedwars_backup -573 2 299 -397 2 121 -392 2 121 +execute if score bw.reset board matches 4..4 run clone from bedwars_backup -573 3 299 -397 3 121 -392 3 121 +execute if score bw.reset board matches 5..5 run clone from bedwars_backup -573 4 299 -397 4 121 -392 4 121 +execute if score bw.reset board matches 6..6 run clone from bedwars_backup -573 5 299 -397 5 121 -392 5 121 +execute if score bw.reset board matches 7..7 run clone from bedwars_backup -573 6 299 -397 6 121 -392 6 121 +execute if score bw.reset board matches 8..8 run clone from bedwars_backup -573 7 299 -397 7 121 -392 7 121 +execute if score bw.reset board matches 9..9 run clone from bedwars_backup -573 8 299 -397 8 121 -392 8 121 +execute if score bw.reset board matches 10..10 run clone from bedwars_backup -573 9 299 -397 9 121 -392 9 121 +execute if score bw.reset board matches 11..11 run clone from bedwars_backup -573 10 299 -397 10 121 -392 10 121 +execute if score bw.reset board matches 12..12 run clone from bedwars_backup -573 11 299 -397 11 121 -392 11 121 +execute if score bw.reset board matches 13..13 run clone from bedwars_backup -573 12 299 -397 12 121 -392 12 121 +execute if score bw.reset board matches 14..14 run clone from bedwars_backup -573 13 299 -397 13 121 -392 13 121 +execute if score bw.reset board matches 15..15 run clone from bedwars_backup -573 14 299 -397 14 121 -392 14 121 +execute if score bw.reset board matches 16..16 run clone from bedwars_backup -573 15 299 -397 15 121 -392 15 121 +execute if score bw.reset board matches 17..17 run clone from bedwars_backup -573 16 299 -397 16 121 -392 16 121 +execute if score bw.reset board matches 18..18 run clone from bedwars_backup -573 17 299 -397 17 121 -392 17 121 +execute if score bw.reset board matches 19..19 run clone from bedwars_backup -573 18 299 -397 18 121 -392 18 121 +execute if score bw.reset board matches 20..20 run clone from bedwars_backup -573 19 299 -397 19 121 -392 19 121 +execute if score bw.reset board matches 21..21 run clone from bedwars_backup -573 20 299 -397 20 121 -392 20 121 +execute if score bw.reset board matches 22..22 run clone from bedwars_backup -573 21 299 -397 21 121 -392 21 121 +execute if score bw.reset board matches 23..23 run clone from bedwars_backup -573 22 299 -397 22 121 -392 22 121 +execute if score bw.reset board matches 24..24 run clone from bedwars_backup -573 23 299 -397 23 121 -392 23 121 +execute if score bw.reset board matches 25..25 run clone from bedwars_backup -573 24 299 -397 24 121 -392 24 121 +execute if score bw.reset board matches 26..26 run clone from bedwars_backup -573 25 299 -397 25 121 -392 25 121 +execute if score bw.reset board matches 27..27 run clone from bedwars_backup -573 26 299 -397 26 121 -392 26 121 +execute if score bw.reset board matches 28..28 run clone from bedwars_backup -573 27 299 -397 27 121 -392 27 121 +execute if score bw.reset board matches 29..29 run clone from bedwars_backup -573 28 299 -397 28 121 -392 28 121 +execute if score bw.reset board matches 30..30 run clone from bedwars_backup -573 29 299 -397 29 121 -392 29 121 +execute if score bw.reset board matches 31..31 run clone from bedwars_backup -573 30 299 -397 30 121 -392 30 121 +execute if score bw.reset board matches 32..32 run clone from bedwars_backup -573 31 299 -397 31 121 -392 31 121 +execute if score bw.reset board matches 33..33 run clone from bedwars_backup -573 32 299 -397 32 121 -392 32 121 +execute if score bw.reset board matches 34..34 run clone from bedwars_backup -573 33 299 -397 33 121 -392 33 121 +execute if score bw.reset board matches 35..35 run clone from bedwars_backup -573 34 299 -397 34 121 -392 34 121 +execute if score bw.reset board matches 36..36 run clone from bedwars_backup -573 35 299 -397 35 121 -392 35 121 +execute if score bw.reset board matches 37..37 run clone from bedwars_backup -573 36 299 -397 36 121 -392 36 121 +execute if score bw.reset board matches 38..38 run clone from bedwars_backup -573 37 299 -397 37 121 -392 37 121 +execute if score bw.reset board matches 39..39 run clone from bedwars_backup -573 38 299 -397 38 121 -392 38 121 +execute if score bw.reset board matches 40..40 run clone from bedwars_backup -573 39 299 -397 39 121 -392 39 121 +execute if score bw.reset board matches 41..41 run clone from bedwars_backup -573 40 299 -397 40 121 -392 40 121 +execute if score bw.reset board matches 42..42 run clone from bedwars_backup -573 41 299 -397 41 121 -392 41 121 +execute if score bw.reset board matches 43..43 run clone from bedwars_backup -573 42 299 -397 42 121 -392 42 121 +execute if score bw.reset board matches 44..44 run clone from bedwars_backup -573 43 299 -397 43 121 -392 43 121 +execute if score bw.reset board matches 45..45 run clone from bedwars_backup -573 44 299 -397 44 121 -392 44 121 +execute if score bw.reset board matches 46..46 run clone from bedwars_backup -573 45 299 -397 45 121 -392 45 121 +execute if score bw.reset board matches 47..47 run clone from bedwars_backup -573 46 299 -397 46 121 -392 46 121 +execute if score bw.reset board matches 48..48 run clone from bedwars_backup -573 47 299 -397 47 121 -392 47 121 +execute if score bw.reset board matches 49..49 run clone from bedwars_backup -573 48 299 -397 48 121 -392 48 121 +execute if score bw.reset board matches 50..50 run clone from bedwars_backup -573 49 299 -397 49 121 -392 49 121 +execute if score bw.reset board matches 51..51 run clone from bedwars_backup -573 50 299 -397 50 121 -392 50 121 +execute if score bw.reset board matches 52..52 run clone from bedwars_backup -573 51 299 -397 51 121 -392 51 121 +execute if score bw.reset board matches 53..53 run clone from bedwars_backup -573 52 299 -397 52 121 -392 52 121 +execute if score bw.reset board matches 54..54 run clone from bedwars_backup -573 53 299 -397 53 121 -392 53 121 +execute if score bw.reset board matches 55..55 run clone from bedwars_backup -573 54 299 -397 54 121 -392 54 121 +execute if score bw.reset board matches 56..56 run clone from bedwars_backup -573 55 299 -397 55 121 -392 55 121 +execute if score bw.reset board matches 57..57 run clone from bedwars_backup -573 56 299 -397 56 121 -392 56 121 +execute if score bw.reset board matches 58..58 run clone from bedwars_backup -573 57 299 -397 57 121 -392 57 121 +execute if score bw.reset board matches 59..59 run clone from bedwars_backup -573 58 299 -397 58 121 -392 58 121 +execute if score bw.reset board matches 60..60 run clone from bedwars_backup -573 59 299 -397 59 121 -392 59 121 +execute if score bw.reset board matches 61..61 run clone from bedwars_backup -573 60 299 -397 60 121 -392 60 121 +execute if score bw.reset board matches 62..62 run clone from bedwars_backup -573 61 299 -397 61 121 -392 61 121 +execute if score bw.reset board matches 63..63 run clone from bedwars_backup -573 62 299 -397 62 121 -392 62 121 +execute if score bw.reset board matches 64..64 run clone from bedwars_backup -573 63 299 -397 63 121 -392 63 121 +execute if score bw.reset board matches 65..65 run clone from bedwars_backup -573 64 299 -397 64 121 -392 64 121 +execute if score bw.reset board matches 66..66 run clone from bedwars_backup -573 65 299 -397 65 121 -392 65 121 +execute if score bw.reset board matches 67..67 run clone from bedwars_backup -573 66 299 -397 66 121 -392 66 121 +execute if score bw.reset board matches 68..68 run clone from bedwars_backup -573 67 299 -397 67 121 -392 67 121 +execute if score bw.reset board matches 69..69 run clone from bedwars_backup -573 68 299 -397 68 121 -392 68 121 +execute if score bw.reset board matches 70..70 run clone from bedwars_backup -573 69 299 -397 69 121 -392 69 121 +execute if score bw.reset board matches 71..71 run clone from bedwars_backup -573 70 299 -397 70 121 -392 70 121 +execute if score bw.reset board matches 72..72 run clone from bedwars_backup -573 71 299 -397 71 121 -392 71 121 +execute if score bw.reset board matches 73..73 run clone from bedwars_backup -573 72 299 -397 72 121 -392 72 121 +# execute if score bw.reset board matches 73..73 run function bedwars/resets/points/unnamed +execute if score bw.reset board matches 74..74 run function bedwars/resets/points/unnamed +# execute if score bw.reset board matches 74..74 run title @a actionbar ["\u00a7a重置即将完毕"] + +# execute if score bw.reset board matches 74..74 run forceload remove -573 299 -397 121 + +title @a[tag=bw.player] title ["\u00a7eReseting..."] +title @a[tag=bw.player] subtitle ["\u00a7bMap: \u00a7c一枝花\u00a77 ; ",{"score":{"objective": "board","name": "bw.reset"},"color":"green"},"\u00a7b / \u00a7c75"] +execute if score bw.reset board matches ..74 run schedule function bedwars/resets/unnamed 1t +execute if score bw.reset board matches 75.. run function bedwars/resets/resetover + +scoreboard players add bw.reset board 1 + +bossbar set minigames:bedwars max 75 +execute store result bossbar minigames:bedwars value run scoreboard players get bw.reset board \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/second.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/second.mcfunction new file mode 100644 index 00000000..76d1c775 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/second.mcfunction @@ -0,0 +1,37 @@ +# execute as @e[tag=emerald] at @s run title @a[distance=0..2] actionbar ["\u00a7aEmerald \u00a7e将在 ",{"score":{"objective":"board","name":"bw.em","value":"1"},"color":"aqua"},"\u00a7bs\u00a7e 后产出。"] +# execute as @e[tag=diamond] at @s run title @a[distance=0..2] actionbar ["\u00a7bDiamond \u00a7e将在 ",{"score":{"objective":"board","name":"bw.dm","value":"1"},"color":"green"},"\u00a7as\u00a7e 后产出。"] +execute if score bw.state state matches 1.. run function minecraft:bedwars/summon +execute if score bw.state state matches 1.. run function minecraft:bedwars/testforover + +## 防止重置的时候出现问题 +execute if score bw.state state matches ..-1 run function bedwars/testforreset +# +function minecraft:bedwars/armor + +execute as @e[tag=bw.tntsheep] at @s run function bedwars/item/sheepsecond + +effect give @a[tag=bw.attack] strength 2 0 true +effect give @a[tag=bw.fasti] haste 2 0 true +effect give @a[tag=bw.fastii] haste 2 1 true +effect give @a[tag=bw.armor] resistance 2 0 true +effect give @a[tag=bw.speed] speed 2 0 true +# execute as @a[tag=bw.player] at @s run attribute @s minecraft:generic.attack_speed base set 8 +## Death +scoreboard players remove @a[tag=bw.fhing] board 1 +execute as @a[tag=bw.fhing] if score @s board matches ..0 run function minecraft:bedwars/during/player/teleport +tellraw @a[tag=bw.fhing] ["\u00a7e你将在",{"score":{"objective": "board","name": "*"},"color":"red"},"\u00a7e秒后重生!"] +title @a[tag=bw.fhing] title ["\u00a7c你死了!"] +title @a[tag=bw.fhing] subtitle ["\u00a7e你将在",{"score":{"objective": "board","name": "*"},"color":"red"},"\u00a7e秒后重生!"] +# execute as @a[tag=INV] at @s run particle minecraft:block gold_block ~ ~ ~ 0 0 0 1 15 force + + +## Other +recipe take @a[tag=bw.player] * + +## Shop Item +function bedwars/shop/resetshop + +#execute as @a[tag=bw.play] run attribute @s minecraft:generic.attack_speed base set 10 + +## Events +execute if score bw.state state matches 1..3 run function bedwars/events/eventsecond \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/setup.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/setup.mcfunction new file mode 100644 index 00000000..4ac250d0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/setup.mcfunction @@ -0,0 +1,18 @@ +scoreboard objectives modify bw.info displayname ["\u00a7e\u00a7l起床战争"] + +bossbar add minigames:bedwars "起床战争" +# scoreboard players reset * bw.info +# scoreboard players set §707/28/21§8 §8m001A bw.info 14 +# scoreboard players set §a bw.info 13 +# scoreboard players set §r没有任何事情 bw.info 12 +# scoreboard players set §b bw.info 11 +# # scoreboard players set §c红§8 §r红队:§a✓ bw.info 10 +# # scoreboard players set §9蓝§8 §r蓝队:§a✓ bw.info 9 +# # scoreboard players set §a绿§8 §r绿队:§a✓ bw.info 8 +# # scoreboard players set §e黄§8 §r黄队:§a✓ bw.info 7 +# scoreboard players set §c bw.info 6 +# scoreboard players set §r没有任何信息:§a0§c bw.info 5 +# scoreboard players set §r没有任何信息:§a0§b bw.info 4 +# scoreboard players set §r没有任何信息:§a0 bw.info 3 +# scoreboard players set §d bw.info 2 +# scoreboard players set §eBedwars@MiniGame bw.info 1 \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy114514.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy114514.mcfunction new file mode 100644 index 00000000..7355f7c2 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy114514.mcfunction @@ -0,0 +1,21 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +tellraw @s[tag=bw.speed] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[tag=bw.speed] ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.speed] bw.tmp.dm matches 6.. run clear @s diamond 6 +execute unless score @s[tag=!bw.speed] bw.tmp.dm matches 6.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[tag=!bw.speed] bw.tmp.dm matches 6.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.speed,team=bw.green] bw.tmp.dm matches 6.. run tellraw @a[team=bw.green] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.speed,team=bw.green] bw.tmp.dm matches 6.. run tag @a[team=bw.green] add bw.speed + +execute if score @s[tag=!bw.speed,team=bw.red] bw.tmp.dm matches 6.. run tellraw @a[team=bw.red] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.speed,team=bw.red] bw.tmp.dm matches 6.. run tag @a[team=bw.red] add bw.speed + +execute if score @s[tag=!bw.speed,team=bw.blue] bw.tmp.dm matches 6.. run tellraw @a[team=bw.blue] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.speed,team=bw.blue] bw.tmp.dm matches 6.. run tag @a[team=bw.blue] add bw.speed + +execute if score @s[tag=!bw.speed,team=bw.yellow] bw.tmp.dm matches 6.. run tellraw @a[team=bw.yellow] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.speed,team=bw.yellow] bw.tmp.dm matches 6.. run tag @a[team=bw.yellow] add bw.speed \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy5.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy5.mcfunction new file mode 100644 index 00000000..ba7fc7e6 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy5.mcfunction @@ -0,0 +1,21 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +tellraw @s[tag=bw.attack] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[tag=bw.attack] ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.attack] bw.tmp.dm matches 8.. run clear @s diamond 8 +execute unless score @s[tag=!bw.attack] bw.tmp.dm matches 8.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[tag=!bw.attack] bw.tmp.dm matches 8.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.attack,team=bw.green] bw.tmp.dm matches 8.. run tellraw @a[team=bw.green] [{"selector":"@s"},"\u00a7a购买了\u00a76团队力量加成"] +execute if score @s[tag=!bw.attack,team=bw.green] bw.tmp.dm matches 8.. run tag @a[team=bw.green] add bw.attack + +execute if score @s[tag=!bw.attack,team=bw.red] bw.tmp.dm matches 8.. run tellraw @a[team=bw.red] [{"selector":"@s"},"\u00a7a购买了\u00a76团队力量加成"] +execute if score @s[tag=!bw.attack,team=bw.red] bw.tmp.dm matches 8.. run tag @a[team=bw.red] add bw.attack + +execute if score @s[tag=!bw.attack,team=bw.blue] bw.tmp.dm matches 8.. run tellraw @a[team=bw.blue] [{"selector":"@s"},"\u00a7a购买了\u00a76团队力量加成"] +execute if score @s[tag=!bw.attack,team=bw.blue] bw.tmp.dm matches 8.. run tag @a[team=bw.blue] add bw.attack + +execute if score @s[tag=!bw.attack,team=bw.yellow] bw.tmp.dm matches 8.. run tellraw @a[team=bw.yellow] [{"selector":"@s"},"\u00a7a购买了\u00a76团队力量加成"] +execute if score @s[tag=!bw.attack,team=bw.yellow] bw.tmp.dm matches 8.. run tag @a[team=bw.yellow] add bw.attack \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy6.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy6.mcfunction new file mode 100644 index 00000000..ad9c78f0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy6.mcfunction @@ -0,0 +1,20 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +tellraw @s[tag=bw.armor] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[tag=bw.armor] ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.armor] bw.tmp.dm matches 5.. run clear @s diamond 5 +execute unless score @s[tag=!bw.armor] bw.tmp.dm matches 5.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[tag=!bw.armor] bw.tmp.dm matches 5.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.armor,team=bw.green] bw.tmp.dm matches 5.. run tellraw @a[team=bw.green] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.armor,team=bw.green] bw.tmp.dm matches 5.. run tag @a[team=bw.green] add bw.armor +execute if score @s[tag=!bw.armor,team=bw.red] bw.tmp.dm matches 5.. run tellraw @a[team=bw.red] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.armor,team=bw.red] bw.tmp.dm matches 5.. run tag @a[team=bw.red] add bw.armor + +execute if score @s[tag=!bw.armor,team=bw.blue] bw.tmp.dm matches 5.. run tellraw @a[team=bw.blue] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.armor,team=bw.blue] bw.tmp.dm matches 5.. run tag @a[team=bw.blue] add bw.armor + +execute if score @s[tag=!bw.armor,team=bw.yellow] bw.tmp.dm matches 5.. run tellraw @a[team=bw.yellow] [{"selector":"@s"},"\u00a7a购买了\u00a76团队抗性加成"] +execute if score @s[tag=!bw.armor,team=bw.yellow] bw.tmp.dm matches 5.. run tag @a[team=bw.yellow] add bw.armor \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy7.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy7.mcfunction new file mode 100644 index 00000000..146f69f2 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy7.mcfunction @@ -0,0 +1,25 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +tag @a[tag=bw.fastii] add bw.fasti +tellraw @s[tag=bw.fasti] ["\u00a7c你已经购买过这个东西了!"] + +playsound minecraft:entity.enderman.teleport player @s[tag=bw.fasti] ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.fasti] bw.tmp.dm matches 4.. run clear @s diamond 4 +execute unless score @s[tag=!bw.fasti] bw.tmp.dm matches 4.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[tag=!bw.fasti] bw.tmp.dm matches 4.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.fasti,team=bw.green] bw.tmp.dm matches 4.. run tellraw @a[team=bw.green] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(I)加成"] +execute if score @s[tag=!bw.fasti,team=bw.green] bw.tmp.dm matches 4.. run tag @a[team=bw.green] add bw.fasti + +execute if score @s[tag=!bw.fasti,team=bw.red] bw.tmp.dm matches 4.. run tellraw @a[team=bw.red] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(I)加成"] +execute if score @s[tag=!bw.fasti,team=bw.red] bw.tmp.dm matches 4.. run tag @a[team=bw.red] add bw.fasti + +execute if score @s[tag=!bw.fasti,team=bw.blue] bw.tmp.dm matches 4.. run tellraw @a[team=bw.blue] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(I)加成"] +execute if score @s[tag=!bw.fasti,team=bw.blue] bw.tmp.dm matches 4.. run tag @a[team=bw.blue] add bw.fasti + +execute if score @s[tag=!bw.fasti,team=bw.yellow] bw.tmp.dm matches 4.. run tellraw @a[team=bw.yellow] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(I)加成"] +execute if score @s[tag=!bw.fasti,team=bw.yellow] bw.tmp.dm matches 4.. run tag @a[team=bw.yellow] add bw.fasti + +tag @a[tag=bw.fastii] remove bw.fasti \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy8.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy8.mcfunction new file mode 100644 index 00000000..1cf908f8 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buy8.mcfunction @@ -0,0 +1,25 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +tellraw @s[tag=bw.fastii] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[tag=bw.fastii] ~ ~ ~ 1 0 1 +tellraw @s[tag=!bw.fasti,tag=!bw.fastii] ["\u00a7c你还没有购买 急迫(I)!"] +playsound minecraft:entity.enderman.teleport player @s[tag=!bw.fasti,tag=!bw.fastii] ~ ~ ~ 1 0 1 +execute if score @s[tag=bw.fasti] bw.tmp.dm matches 6.. run clear @s diamond 6 +execute unless score @s[tag=bw.fasti] bw.tmp.dm matches 6.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[tag=bw.fasti] bw.tmp.dm matches 6.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[tag=bw.fasti,team=bw.green] bw.tmp.dm matches 6.. run tellraw @a[team=bw.green] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(II)加成"] +execute if score @s[tag=bw.fasti,team=bw.green] bw.tmp.dm matches 6.. run tag @a[team=bw.green] add bw.fastii + +execute if score @s[tag=bw.fasti,team=bw.red] bw.tmp.dm matches 6.. run tellraw @a[team=bw.red] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(II)加成"] +execute if score @s[tag=bw.fasti,team=bw.red] bw.tmp.dm matches 6.. run tag @a[team=bw.red] add bw.fastii + +execute if score @s[tag=bw.fasti,team=bw.blue] bw.tmp.dm matches 6.. run tellraw @a[team=bw.blue] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(II)加成"] +execute if score @s[tag=bw.fasti,team=bw.blue] bw.tmp.dm matches 6.. run tag @a[team=bw.blue] add bw.fastii + +execute if score @s[tag=bw.fasti,team=bw.yellow] bw.tmp.dm matches 6.. run tellraw @a[team=bw.yellow] [{"selector":"@s"},"\u00a7a购买了\u00a76团队挖掘速度(II)加成"] +execute if score @s[tag=bw.fasti,team=bw.yellow] bw.tmp.dm matches 6.. run tag @a[team=bw.yellow] add bw.fastii + +tag @a[tag=bw.fastii] remove bw.fasti \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buyf35.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buyf35.mcfunction new file mode 100644 index 00000000..ded06b0b --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/buyf35.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +#-34 +execute if score @s bw.tmp.gd matches 8.. run clear @s gold_ingot 8 +execute unless score @s bw.tmp.gd matches 8.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 8.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 8.. run tellraw @s ["\u00a7a你购买了\u00a76TNT Sheep * 1"] +execute if score @s bw.tmp.gd matches 8.. run give @s sheep_spawn_egg{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"],EntityTag:{id:"minecraft:marker",Tags:["tntsheep.spawn"]},display:{Name:'"\\u00a7cTNT Sheep"',Lore:['"\\u00a7a仅可用于破坏方块"']}} 1 diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/resetshop.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/resetshop.mcfunction new file mode 100644 index 00000000..41b70f93 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/resetshop.mcfunction @@ -0,0 +1,3 @@ +execute as @e[tag=dmshop] at @s run data modify block ~ ~ ~ Items set from storage minecraft:dmshop Item +execute as @e[tag=shop] at @s run data modify block ~ ~ ~ Items set from storage minecraft:shop Item +execute as @e[tag=shop2] at @s run data modify block ~ ~ ~ Items set from storage minecraft:shop Item2 diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/shop/shoptick.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/shoptick.mcfunction new file mode 100644 index 00000000..3879b141 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/shop/shoptick.mcfunction @@ -0,0 +1,285 @@ +## Diamond Shop + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s stone_sword{shop:5} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.5 +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s iron_chestplate{shop:6} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.6 +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s iron_pickaxe{shop:7} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.7 +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s diamond_pickaxe{shop:8} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.8 +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s potion{shop:114514} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.114514 + +## Item Shop + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s golden_apple{shop:9} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.9 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s white_wool{shop:-2} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-2 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s end_stone{shop:-3} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-3 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s shears{shop:-4} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-4 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s ladder{shop:-5} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-5 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s oak_planks{shop:-6} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-6 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s obsidian{shop:-7} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-7 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s chainmail_boots{shop:-10} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-10 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s iron_boots{shop:-11} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-11 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s diamond_boots{shop:-12} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-12 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s wooden_pickaxe{shop:-15} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-15 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s wooden_axe{shop:-16} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-16 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s iron_pickaxe{shop:-17} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-17 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s iron_axe{shop:-18} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-18 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s diamond_pickaxe{shop:-19} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-19 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s diamond_axe{shop:-20} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-20 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s water_bucket{shop:-21} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-21 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s stick{shop:-22} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-22 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s egg{shop:-23} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-23 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s arrow{shop:-24} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-24 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s stone_sword{shop:-25} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-25 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s iron_sword{shop:-26} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-26 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s diamond_sword{shop:-27} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-27 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s bow{shop:-30} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-30 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s bow{shop:-31} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-31 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s potion{shop:-32} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-32 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s potion{shop:-33} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-33 + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s ender_pearl{shop:-34} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-34 + + +scoreboard players reset @s bw.board +execute as @s store success score @s bw.board run clear @s tnt{shop:-35} +execute as @s if score @s bw.board matches 1.. run tag @s add bw.buy.-35 + +## Diamond Shop +execute as @s[tag=bw.buy.5] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.5] run function minecraft:bedwars/shop/buy5 +#/playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +tag @s remove bw.buy.5 + +execute as @s[tag=bw.buy.6] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.6] run function minecraft:bedwars/shop/buy6 +#/playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +tag @s remove bw.buy.6 + +execute as @s[tag=bw.buy.7] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.7] run function minecraft:bedwars/shop/buy7 +#/playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +tag @s remove bw.buy.7 + +execute as @s[tag=bw.buy.8] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.8] run function minecraft:bedwars/shop/buy8 +#/playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +tag @s remove bw.buy.8 + +## Item Shop + + +execute as @s[tag=bw.buy.-2] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-2] run function minecraft:bedwars/shop/buyf2 +#/playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +tag @s remove bw.buy.-2 + +execute as @s[tag=bw.buy.-3] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-3] at @s run function minecraft:bedwars/shop/buyf3 +tag @s remove bw.buy.-3 + +execute as @s[tag=bw.buy.-4] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-4] at @s run function minecraft:bedwars/shop/buyf4 +tag @s remove bw.buy.-4 + +execute as @s[tag=bw.buy.-5] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-5] at @s run function minecraft:bedwars/shop/buyf5 +tag @s remove bw.buy.-5 + +execute as @s[tag=bw.buy.-6] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-6] at @s run function minecraft:bedwars/shop/buyf6 +tag @s remove bw.buy.-6 + +execute as @s[tag=bw.buy.-7] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-7] at @s run function minecraft:bedwars/shop/buyf7 +tag @s remove bw.buy.-7 + +execute as @s[tag=bw.buy.-10] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-10] at @s run function minecraft:bedwars/shop/buyf10 +tag @s remove bw.buy.-10 + +execute as @s[tag=bw.buy.-11] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-11] at @s run function minecraft:bedwars/shop/buyf11 +tag @s remove bw.buy.-11 + +execute as @s[tag=bw.buy.-12] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-12] at @s run function minecraft:bedwars/shop/buyf12 +tag @s remove bw.buy.-12 + +execute as @s[tag=bw.buy.-15] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-15] at @s run function minecraft:bedwars/shop/buyf15 +tag @s remove bw.buy.-15 + +execute as @s[tag=bw.buy.-16] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-16] at @s run function minecraft:bedwars/shop/buyf16 +tag @s remove bw.buy.-16 + +execute as @s[tag=bw.buy.-17] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-17] at @s run function minecraft:bedwars/shop/buyf17 +tag @s remove bw.buy.-17 + +execute as @s[tag=bw.buy.-18] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-18] at @s run function minecraft:bedwars/shop/buyf18 +tag @s remove bw.buy.-18 + +execute as @s[tag=bw.buy.-19] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-19] at @s run function minecraft:bedwars/shop/buyf19 +tag @s remove bw.buy.-19 + +execute as @s[tag=bw.buy.-20] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-20] at @s run function minecraft:bedwars/shop/buyf20 +tag @s remove bw.buy.-20 + +execute as @s[tag=bw.buy.-21] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-21] at @s run function minecraft:bedwars/shop/buyf21 +tag @s remove bw.buy.-21 + +execute as @s[tag=bw.buy.-22] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-22] at @s run function minecraft:bedwars/shop/buyf22 +tag @s remove bw.buy.-22 + +execute as @s[tag=bw.buy.-23] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-23] at @s run function minecraft:bedwars/shop/buyf23 +tag @s remove bw.buy.-23 + +execute as @s[tag=bw.buy.-24] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-24] at @s run function minecraft:bedwars/shop/buyf24 +tag @s remove bw.buy.-24 + +execute as @s[tag=bw.buy.-25] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-25] at @s run function minecraft:bedwars/shop/buyf25 +tag @s remove bw.buy.-25 + +execute as @s[tag=bw.buy.-26] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-26] at @s run function minecraft:bedwars/shop/buyf26 +tag @s remove bw.buy.-26 + +execute as @s[tag=bw.buy.-27] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-27] at @s run function minecraft:bedwars/shop/buyf27 +tag @s remove bw.buy.-27 + + + +execute as @s[tag=bw.buy.-30] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-30] at @s run function minecraft:bedwars/shop/buyf30 +tag @s remove bw.buy.-30 + +execute as @s[tag=bw.buy.-31] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-31] at @s run function minecraft:bedwars/shop/buyf31 +tag @s remove bw.buy.-31 + +execute as @s[tag=bw.buy.-32] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-32] at @s run function minecraft:bedwars/shop/buyf32 +tag @s remove bw.buy.-32 + +execute as @s[tag=bw.buy.-33] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-33] at @s run function minecraft:bedwars/shop/buyf33 +tag @s remove bw.buy.-33 + +execute as @s[tag=bw.buy.-34] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-34] at @s run function minecraft:bedwars/shop/buyf34 +tag @s remove bw.buy.-34 + +execute as @s[tag=bw.buy.-35] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.-35] at @s run function minecraft:bedwars/shop/buyf35 +tag @s remove bw.buy.-35 + +execute as @s[tag=bw.buy.9] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.9] at @s run function minecraft:bedwars/shop/buy9 +tag @s remove bw.buy.9 + +execute as @s[tag=bw.buy.114514] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +execute as @s[tag=bw.buy.114514] at @s run function minecraft:bedwars/shop/buy114514 +tag @s remove bw.buy.114514 + +function bedwars/shop/resetshop \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/summon.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/summon.mcfunction new file mode 100644 index 00000000..8265cf00 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/summon.mcfunction @@ -0,0 +1,34 @@ +#execute if score bw.em board matches ..0 as @e[type=marker,tag=emerald] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:emerald",Count:1b,tag:{HideFlags:63,CanDe1stroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} +#execute if score bw.dm board matches ..0 as @e[type=marker,tag=diamond] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:diamond",Count:1b,tag:{HideFlags:63,CanDe1stroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} +#execute if score bw.ir board matches ..0 as @e[type=marker,tag=iron] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:iron_ingot",Count:1b,tag:{HideFlags:63,CanDe1stroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} +#execute if score bw.gd board matches ..0 as @e[type=marker,tag=gold] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:gold_ingot",Count:1b,tag:{HideFlags:63,CanDe1stroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} + +scoreboard players remove bw.em board 1 +scoreboard players remove bw.dm board 1 + +execute if score bw.em board matches ..0 as @e[type=marker,tag=emerald] at @s run function minecraft:bedwars/summont/emerald + +data modify block -307 74 207 front_text.messages[0] set value '["\\u00a7e将在",{"score":{"objective":"board","name":"bw.em"},"color":"red"},"\\u00a7e秒后产生"]' +data modify block -307 74 207 front_text.messages[1] set value '["\\u00a7e将在",{"score":{"objective":"board","name":"bw.dm"},"color":"red"},"\\u00a7e秒后产生"]' +execute as @e[type=area_effect_cloud,tag=emerald.subtitle] at @s run data modify entity @s CustomName set from block -307 74 207 front_text.messages[0] +execute as @e[type=area_effect_cloud,tag=diamond.subtitle] at @s run data modify entity @s CustomName set from block -307 74 207 front_text.messages[1] +# execute if score bw.dm board matches ..0 as @e[type=marker,tag=diamond] at @s run function minecraft:bedwars/summont/diamond +execute if score bw.dm board matches ..0 as @e[type=marker,tag=diamond] at @s run function minecraft:bedwars/summont/diamond +execute if score bw.ir board matches ..0 as @e[type=marker,tag=iron] at @s run function minecraft:bedwars/summont/iron +execute if score bw.gd board matches ..0 as @e[type=marker,tag=gold] at @s run function minecraft:bedwars/summont/gold + +execute as @e[tag=gold] at @s run fill ~2 ~-2 ~2 ~-2 ~2 ~-2 air replace #minecraft:bedblocks +execute as @e[tag=diamond] at @s run fill ~2 ~-2 ~2 ~-2 ~2 ~-2 air replace #minecraft:bedblocks +execute as @e[tag=iron] at @s run fill ~2 ~-2 ~2 ~-2 ~2 ~-2 air replace #minecraft:bedblocks +execute as @e[tag=emerald] at @s run fill ~2 ~-2 ~2 ~-2 ~2 ~-2 air replace #minecraft:bedblocks + +# execute if score bw.em board matches ..0 run scoreboard players set bw.em board 72 +# execute if score bw.dm board matches ..0 run scoreboard players set bw.dm board 48 +execute if score bw.dm board matches ..0 run scoreboard players operation bw.dm board = bw.set.dm board +execute if score bw.em board matches ..0 run scoreboard players operation bw.em board = bw.set.em board + +execute if score bw.gd board matches ..0 run scoreboard players set bw.gd board 11 +execute if score bw.ir board matches ..0 run scoreboard players set bw.ir board 3 + +scoreboard players remove bw.gd board 1 +scoreboard players remove bw.ir board 1 \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/summont/diamond.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/diamond.mcfunction new file mode 100644 index 00000000..70da591c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/diamond.mcfunction @@ -0,0 +1,3 @@ +execute store result score temp board run data get entity @e[type=item,distance=0..2,limit=1,sort=nearest,nbt={Item:{id:"minecraft:diamond"}}] Item.Count + +function fix:bw/dmspan \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/summont/emerald.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/emerald.mcfunction new file mode 100644 index 00000000..03fe81b1 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/emerald.mcfunction @@ -0,0 +1,2 @@ +execute store result score temp board run data get entity @e[type=item,distance=0..2,limit=1,sort=nearest,nbt={Item:{id:"minecraft:emerald"}}] Item.Count +function fix:bw/emspan \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/summont/gold.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/gold.mcfunction new file mode 100644 index 00000000..e1104c4c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/gold.mcfunction @@ -0,0 +1,10 @@ +# function fix:bw/gospan +scoreboard players set temp board 0 +scoreboard players set temp1 board 0 +execute store result score temp board run data get entity @e[type=item,distance=0..2,limit=1,sort=nearest,nbt={Item:{id:"minecraft:gold_ingot"}}] Item.Count +execute at @s as @a[tag=bw.play,gamemode=!spectator,distance=0..2] run scoreboard players add temp1 board 1 +execute if score temp1 board matches ..1 run function fix:bw/gospan +execute if score temp1 board matches 2.. run function fix:bw/gogive +execute if score temp1 board matches 2.. run playsound entity.item.pickup player @a[tag=bw.play,gamemode=!spectator,distance=0..2] ~ ~ ~ 1 1 0.5 + +scoreboard players reset temp board diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/summont/iron.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/iron.mcfunction new file mode 100644 index 00000000..aa048ca9 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/summont/iron.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set temp board 0 +scoreboard players set temp1 board 0 +execute store result score temp board run data get entity @e[type=item,distance=0..2,limit=1,sort=nearest,nbt={Item:{id:"minecraft:iron_ingot"}}] Item.Count +execute at @s as @a[tag=bw.play,gamemode=!spectator,distance=0..2] run scoreboard players add temp1 board 1 +execute if score temp1 board matches ..1 run function fix:bw/irspan +execute if score temp1 board matches 2.. run function fix:bw/irgive +execute if score temp1 board matches 2.. run playsound entity.item.pickup player @a[tag=bw.play,gamemode=!spectator,distance=0..2] ~ ~ ~ 1 1 0.5 +scoreboard players reset temp board diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/testfor.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/testfor.mcfunction new file mode 100644 index 00000000..b855d5d0 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/testfor.mcfunction @@ -0,0 +1,4 @@ +execute if score bd.blue state matches 1.. as @e[tag=bw.bed.blue,limit=1] at @s unless block ~ ~ ~ blue_bed run function minecraft:bedwars/during/beddestroy/blue +execute if score bd.green state matches 1.. as @e[tag=bw.bed.green,limit=1] at @s unless block ~ ~ ~ lime_bed run function minecraft:bedwars/during/beddestroy/green +execute if score bd.yellow state matches 1.. as @e[tag=bw.bed.yellow,limit=1] at @s unless block ~ ~ ~ yellow_bed run function minecraft:bedwars/during/beddestroy/yellow +execute if score bd.red state matches 1.. as @e[tag=bw.bed.red,limit=1] at @s unless block ~ ~ ~ red_bed run function minecraft:bedwars/during/beddestroy/red \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/testforover.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/testforover.mcfunction new file mode 100644 index 00000000..6fd44034 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/testforover.mcfunction @@ -0,0 +1,17 @@ +function minecraft:bedwars/totalpeople + +# Team Over + +execute if score bw.green state matches 1.. unless score bw.green tick matches 1.. run function minecraft:bedwars/during/teamover/greendied +execute if score bw.blue state matches 1.. unless score bw.blue tick matches 1.. run function minecraft:bedwars/during/teamover/bluedied +execute if score bw.yellow state matches 1.. unless score bw.yellow tick matches 1.. run function minecraft:bedwars/during/teamover/yellowdied +execute if score bw.red state matches 1.. unless score bw.red tick matches 1.. run function minecraft:bedwars/during/teamover/reddied + +# Win + +execute if score bw.state state matches 1..5 if score bw.green tick matches 1.. unless score bw.red tick matches 1.. unless score bw.yellow tick matches 1.. unless score bw.blue tick matches 1.. run function minecraft:bedwars/during/win/green +execute if score bw.state state matches 1..5 if score bw.red tick matches 1.. unless score bw.green tick matches 1.. unless score bw.yellow tick matches 1.. unless score bw.blue tick matches 1.. run function minecraft:bedwars/during/win/red +execute if score bw.state state matches 1..5 if score bw.blue tick matches 1.. unless score bw.red tick matches 1.. unless score bw.yellow tick matches 1.. unless score bw.green tick matches 1.. run function minecraft:bedwars/during/win/blue +execute if score bw.state state matches 1..5 if score bw.yellow tick matches 1.. unless score bw.red tick matches 1.. unless score bw.green tick matches 1.. unless score bw.blue tick matches 1.. run function minecraft:bedwars/during/win/yellow + +execute if score bw.state state matches 1..5 if score bw.total tick matches ..1 run function bedwars/after/over diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/testforreset.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/testforreset.mcfunction new file mode 100644 index 00000000..30f1d021 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/testforreset.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set bw.waitreset tick 0 +execute as @a[tag=bw.player] run scoreboard players add bw.waitreset tick 1 +execute if score bw.waitreset tick matches ..1 run function bedwars/after/overreset \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/tick.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/tick.mcfunction new file mode 100644 index 00000000..d07a401d --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/tick.mcfunction @@ -0,0 +1,115 @@ +# /say @e[nbt={Inventory:[{id:"minecraft:white_wool"}]}] +#data modify block -183 11 126 Items set from storage minecraft:shop Item +#tag @a[nbt={Inventory:[{id:"minecraft:gray_stained_glass_pane",tag:{shop:1}}]}] add bw.buy.1 +execute as @a[tag=bw.play,scores={die=1..}] at @s run function minecraft:bedwars/during/player/loot +execute if score bw.state state matches 1.. run function minecraft:bedwars/testfor +## Shop +# 不可购买 +scoreboard players reset @a[tag=bw.player] bw.board +execute as @a[tag=bw.player] store success score @s bw.board run clear @s gray_stained_glass_pane{shop:1} +execute as @a[tag=bw.player] if score @s bw.board matches 1.. run tag @s add bw.buy.1 +execute as @a[tag=bw.buy.1] at @s run playsound minecraft:entity.player.burp player @s ~ ~ ~ 1 1 1 +execute as @a[tag=bw.buy.1,limit=1] at @s run function bedwars/shop/resetshop +#/playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 2 1 +tag @a remove bw.buy.1 +# 可购买 +scoreboard players reset @a[tag=bw.player] bw.board +execute as @a[tag=bw.player] store success score @s bw.board run clear @s #minecraft:shopitem{bwshopitem:1} 0 +execute as @a[tag=bw.player] if score @s bw.board matches 1.. run function bedwars/shop/shoptick + +execute as @e[tag=tntsheep.spawn] at @s run function bedwars/item/tntsheep + + +## Other +spawnpoint @a[tag=bw.player] -225 9 111 + +fill -309 33 127 -303 29 134 air replace #minecraft:bedblocks +fill -386 33 214 -380 29 208 air replace #minecraft:bedblocks +fill -300 30 292 -305 30 285 air replace #minecraft:bedblocks +fill -221 33 205 -228 29 211 air replace #minecraft:bedblocks + +fill -302 30 128 -301 32 130 air replace #minecraft:bedblocks +fill -385 30 207 -382 33 207 air replace #minecraft:bedblocks +fill -306 33 291 -306 30 286 air replace #minecraft:bedblocks + +kill @e[type=item,nbt={Item:{id:"minecraft:red_bed"}}] +kill @e[type=item,nbt={Item:{id:"minecraft:blue_bed"}}] +kill @e[type=item,nbt={Item:{id:"minecraft:yellow_bed"}}] +kill @e[type=item,nbt={Item:{id:"minecraft:lime_bed"}}] +kill @e[type=item,nbt={Item:{tag:{bw:1}}}] + +execute as @e[tag=bedwars,type=area_effect_cloud] at @s run data merge entity @s {Duration:-1,Age: -2147483648,WaitTime: -2147483648} +# [!] +function fix:bw/editnbt +# +execute if score bw.state state matches 1.. as @a[tag=bw.play] at @s as @e[distance=0..5,type=item,tag=!flaged] run tag @s add flaged +scoreboard players reset @a bw.board +#Item:{id:"minecraft:emerald",Count:1b,tag:{HideFlags:63,Can1Destroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}} + +execute as @a[x=-225,y=9,z=111,distance=0..2,gamemode=!creative] at @s run function minecraft:bedwars/during/player/died + +execute as @e[type=egg] if score @s board matches 2.. at @s run setblock ~ ~-2.5 ~ white_wool keep +execute as @e[type=egg] if score @s board matches 2.. at @s run setblock ~1 ~-2.5 ~ white_wool keep +execute as @e[type=egg] if score @s board matches 2.. at @s run setblock ~-1 ~-2.5 ~ white_wool keep +execute as @e[type=egg] if score @s board matches 2.. at @s run setblock ~ ~-2.5 ~1 white_wool keep +execute as @e[type=egg] if score @s board matches 2.. at @s run setblock ~ ~-2.5 ~-1 white_wool keep +execute as @e[type=egg] if score @s board matches 2.. at @s run playsound entity.chicken.egg player @a +execute as @e[type=egg] if score @s board matches 30.. run kill @s +kill @e[type=chicken] +execute as @e[type=egg] run scoreboard players add @s board 1 +execute as @a[gamemode=adventure] at @s run kill @s[y=-70,dy=-100] + +## Kill Shop Items +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] +kill @e[type=item,nbt={Item:{tag:{bwshopitem:1}}}] + +## Invis +tag @a[tag=INV] remove INV +tag @a[nbt={active_effects:[{id:"minecraft:invisibility"}]}] add INV +execute if entity @e[scores={attack.1=1..},tag=bw.player] run effect clear @a[tag=INV,scores={hurt.1=1..}] invisibility +execute if entity @e[scores={attack.1=1..},tag=bw.player] run tellraw @a[tag=INV,scores={hurt.1=1..}] ["\u00a7c你的隐身状态因为受到伤害被取消!"] +scoreboard players reset @a[scores={hurt.1=1..}] hurt.1 +scoreboard players reset @a[scores={attack.1=1..}] attack.1 +execute as @a[tag=INV] at @s run particle minecraft:dust 0.388 0.388 0.388 1 ~ ~ ~ 0 0 0 1 1 force diff --git a/datapacks/bedwars/data/minecraft/functions/bedwars/totalpeople.mcfunction b/datapacks/bedwars/data/minecraft/functions/bedwars/totalpeople.mcfunction new file mode 100644 index 00000000..5bb1acba --- /dev/null +++ b/datapacks/bedwars/data/minecraft/functions/bedwars/totalpeople.mcfunction @@ -0,0 +1,10 @@ +scoreboard players set bw.green tick 0 +execute as @a[team=bw.green,tag=bw.play] run scoreboard players add bw.green tick 1 +scoreboard players set bw.blue tick 0 +execute as @a[team=bw.blue,tag=bw.play] run scoreboard players add bw.blue tick 1 +scoreboard players set bw.yellow tick 0 +execute as @a[team=bw.yellow,tag=bw.play] run scoreboard players add bw.yellow tick 1 +scoreboard players set bw.red tick 0 +execute as @a[team=bw.red,tag=bw.play] run scoreboard players add bw.red tick 1 +scoreboard players set bw.total tick 0 +execute as @a[tag=bw.play] run scoreboard players add bw.total tick 1 \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/item_modifiers/bwdm.json b/datapacks/bedwars/data/minecraft/item_modifiers/bwdm.json new file mode 100644 index 00000000..920df64d --- /dev/null +++ b/datapacks/bedwars/data/minecraft/item_modifiers/bwdm.json @@ -0,0 +1,6 @@ +[ + { + "function": "set_nbt", + "tag": "{bwshopitem:2}" + } +] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/item_modifiers/bwitem.json b/datapacks/bedwars/data/minecraft/item_modifiers/bwitem.json new file mode 100644 index 00000000..04370383 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/item_modifiers/bwitem.json @@ -0,0 +1,6 @@ +[ + { + "function": "set_nbt", + "tag": "{bwshopitem:1}" + } +] \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/blocks/bedblocks.json b/datapacks/bedwars/data/minecraft/tags/blocks/bedblocks.json new file mode 100644 index 00000000..aa756021 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/blocks/bedblocks.json @@ -0,0 +1,13 @@ +{ + "replace": true, + "values": [ + "#minecraft:wool", + "minecraft:end_stone", + "minecraft:dark_oak_planks", + "minecraft:obsidian", + "#minecraft:stainglass", + "minecraft:water", + "minecraft:ladder", + "#minecraft:beds" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/blocks/bwstones.json b/datapacks/bedwars/data/minecraft/tags/blocks/bwstones.json new file mode 100644 index 00000000..22878865 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/blocks/bwstones.json @@ -0,0 +1,67 @@ +{ + "values": [ + "minecraft:acacia_log", + "minecraft:andesite", + "minecraft:andesite_slab", + "minecraft:andesite_stairs", + "minecraft:andesite_wall", + "minecraft:bedrock", + "minecraft:blast_furnace", + "minecraft:cauldron", + "minecraft:chiseled_stone_bricks", + "minecraft:coal_ore", + "minecraft:deepslate_coal_ore", + "minecraft:cobblestone", + "minecraft:cobblestone_slab", + "minecraft:cobblestone_stairs", + "minecraft:cobblestone_wall", + "minecraft:cracked_stone_bricks", + "minecraft:diamond_ore", + "minecraft:deepslate_diamond_ore", + "minecraft:dispenser", + "minecraft:dropper", + "minecraft:emerald_ore", + "minecraft:deepslate_emerald_ore", + "minecraft:ender_chest", + "minecraft:furnace", + "minecraft:gold_ore", + "minecraft:deepslate_gold_ore", + "minecraft:gravel", + "minecraft:hopper", + "minecraft:iron_ore", + "minecraft:deepslate_iron_ore", + "minecraft:lapis_ore", + "minecraft:deepslate_lapis_ore", + "minecraft:lava_cauldron", + "minecraft:mossy_cobblestone", + "minecraft:mossy_cobblestone_slab", + "minecraft:mossy_cobblestone_stairs", + "minecraft:mossy_cobblestone_wall", + "minecraft:mossy_stone_brick_slab", + "minecraft:mossy_stone_brick_stairs", + "minecraft:mossy_stone_brick_wall", + "minecraft:observer", + "minecraft:piston", + "minecraft:piston_head", + "minecraft:polished_andesite", + "minecraft:polished_andesite_slab", + "minecraft:polished_andesite_stairs", + "minecraft:redstone_ore", + "minecraft:deepslate_redstone_ore", + "minecraft:smoker", + "minecraft:smooth_stone", + "minecraft:smooth_stone_slab", + "minecraft:spawner", + "minecraft:sticky_piston", + "minecraft:stone", + "minecraft:stone_brick_slab", + "minecraft:stone_brick_stairs", + "minecraft:stone_brick_wall", + "minecraft:stone_bricks", + "minecraft:stone_pressure_plate", + "minecraft:stone_slab", + "minecraft:stone_stairs", + "minecraft:stonecutter", + "minecraft:water_cauldron" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/blocks/climbable.json b/datapacks/bedwars/data/minecraft/tags/blocks/climbable.json new file mode 100644 index 00000000..5cae040a --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/blocks/climbable.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "minecraft:chain" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/blocks/concrete.json b/datapacks/bedwars/data/minecraft/tags/blocks/concrete.json new file mode 100644 index 00000000..2dd7f1c2 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/blocks/concrete.json @@ -0,0 +1,21 @@ +{ + "replace": false, + "values": [ + "minecraft:white_concrete", + "minecraft:orange_concrete", + "minecraft:magenta_concrete", + "minecraft:light_blue_concrete", + "minecraft:yellow_concrete", + "minecraft:lime_concrete", + "minecraft:pink_concrete", + "minecraft:gray_concrete", + "minecraft:light_gray_concrete", + "minecraft:cyan_concrete", + "minecraft:purple_concrete", + "minecraft:blue_concrete", + "minecraft:brown_concrete", + "minecraft:green_concrete", + "minecraft:red_concrete", + "minecraft:black_concrete" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/blocks/stainglass.json b/datapacks/bedwars/data/minecraft/tags/blocks/stainglass.json new file mode 100644 index 00000000..c2580732 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/blocks/stainglass.json @@ -0,0 +1,39 @@ +{ + "replace": false, + "values": [ + "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", + "minecraft:tinted_glass", + "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", + "minecraft:glass_pane" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/items/fence_gates.json b/datapacks/bedwars/data/minecraft/tags/items/fence_gates.json new file mode 100644 index 00000000..f94523b9 --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/items/fence_gates.json @@ -0,0 +1,13 @@ +{ + "replace": false, + "values": [ + "minecraft:acacia_fence_gate", + "minecraft:birch_fence_gate", + "minecraft:dark_oak_fence_gate", + "minecraft:jungle_fence_gate", + "minecraft:oak_fence_gate", + "minecraft:spruce_fence_gate", + "minecraft:crimson_fence_gate", + "minecraft:warped_fence_gate" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/items/shopitem.json b/datapacks/bedwars/data/minecraft/tags/items/shopitem.json new file mode 100644 index 00000000..a21b7eff --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/items/shopitem.json @@ -0,0 +1,37 @@ +{ + "values": [ + "tnt", + "stone_sword", + "iron_chestplate", + "iron_pickaxe", + "diamond_pickaxe", + "golden_apple", + "gray_stained_glass_pane", + "white_wool", + "end_stone", + "shears", + "ladder", + "oak_planks", + "obsidian", + "chainmail_boots", + "iron_boots", + "diamond_boots", + "wooden_pickaxe", + "wooden_axe", + "iron_pickaxe", + "iron_axe", + "diamond_pickaxe", + "diamond_axe", + "water_bucket", + "snowball", + "egg", + "arrow", + "stone_sword", + "iron_sword", + "diamond_sword", + "bow", + "potion", + "ender_pearl", + "stick" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/data/minecraft/tags/items/snowmineable.json b/datapacks/bedwars/data/minecraft/tags/items/snowmineable.json new file mode 100644 index 00000000..d34c958c --- /dev/null +++ b/datapacks/bedwars/data/minecraft/tags/items/snowmineable.json @@ -0,0 +1,38 @@ +{ + "replace": false, + "values": [ + "minecraft:snow_block", + "minecraft:grass_block", + "minecraft:dirt", + "minecraft:snow", + "minecraft:mycelium", + "minecraft:red_sand", + "minecraft:sand", + "minecraft:gravel", + "minecraft:rooted_dirt", + "minecraft:podzol", + "minecraft:coarse_dirt", + "minecraft:soul_sand", + "minecraft:dirt_path", + "minecraft:farmland", + "minecraft:soul_soil", + "minecraft:stone", + "minecraft:cobblestone", + "#minecraft:logs", + "#minecraft:leaves", + "#minecraft:doors", + "#minecraft:planks", + "#minecraft:rails", + "#minecraft:stairs", + "minecraft:ladder", + "minecraft:glass_pane", + "minecraft:torch", + "minecraft:book", + "minecraft:bookshelf", + "#minecraft:fences", + "#minecraft:fence_gates", + "#minecraft:trapdoors", + "minecraft:white_terracotta", + "#minecraft:walls" + ] +} \ No newline at end of file diff --git a/datapacks/bedwars/pack.mcmeta b/datapacks/bedwars/pack.mcmeta new file mode 100644 index 00000000..c754c30b --- /dev/null +++ b/datapacks/bedwars/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks 2 §a[Bedwars_Default]" + } +} \ No newline at end of file diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_1.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_1.nbt new file mode 100644 index 00000000..959acc16 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_1.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_10.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_10.nbt new file mode 100644 index 00000000..2c94f35f Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_10.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_11.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_11.nbt new file mode 100644 index 00000000..26c90579 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_11.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_12.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_12.nbt new file mode 100644 index 00000000..c525a9ba Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_12.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_13.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_13.nbt new file mode 100644 index 00000000..35c4eebf Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_13.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_14.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_14.nbt new file mode 100644 index 00000000..b6b78284 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_14.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_15.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_15.nbt new file mode 100644 index 00000000..50f9d1e2 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_15.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_2.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_2.nbt new file mode 100644 index 00000000..4db45392 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_2.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_3.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_3.nbt new file mode 100644 index 00000000..f14d92e3 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_3.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_4.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_4.nbt new file mode 100644 index 00000000..4fe31b6a Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_4.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_5.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_5.nbt new file mode 100644 index 00000000..b390b1a7 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_5.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_6.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_6.nbt new file mode 100644 index 00000000..b390b1a7 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_6.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_7.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_7.nbt new file mode 100644 index 00000000..9f05ba6c Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_7.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_8.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_8.nbt new file mode 100644 index 00000000..6a22ce2f Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_8.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_ice_9.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_ice_9.nbt new file mode 100644 index 00000000..11238976 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_ice_9.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_1.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_1.nbt new file mode 100644 index 00000000..11ff3453 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_1.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_10.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_10.nbt new file mode 100644 index 00000000..489344f2 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_10.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_11.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_11.nbt new file mode 100644 index 00000000..416f175e Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_11.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_12.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_12.nbt new file mode 100644 index 00000000..7df08616 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_12.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_13.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_13.nbt new file mode 100644 index 00000000..0bd930bf Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_13.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_14.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_14.nbt new file mode 100644 index 00000000..489344f2 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_14.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_15.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_15.nbt new file mode 100644 index 00000000..27680e07 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_15.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_2.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_2.nbt new file mode 100644 index 00000000..27680e07 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_2.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_3.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_3.nbt new file mode 100644 index 00000000..44e08bbc Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_3.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_4.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_4.nbt new file mode 100644 index 00000000..b4dd6ba0 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_4.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_5.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_5.nbt new file mode 100644 index 00000000..4cc9095b Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_5.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_6.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_6.nbt new file mode 100644 index 00000000..e95392d8 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_6.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_7.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_7.nbt new file mode 100644 index 00000000..6afb7850 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_7.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_8.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_8.nbt new file mode 100644 index 00000000..f5e35612 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_8.nbt differ diff --git a/datapacks/boat_structures/data/minecraft/structures/boat_water_9.nbt b/datapacks/boat_structures/data/minecraft/structures/boat_water_9.nbt new file mode 100644 index 00000000..5aad6d65 Binary files /dev/null and b/datapacks/boat_structures/data/minecraft/structures/boat_water_9.nbt differ diff --git a/datapacks/boat_structures/pack.mcmeta b/datapacks/boat_structures/pack.mcmeta new file mode 100644 index 00000000..5b16af33 --- /dev/null +++ b/datapacks/boat_structures/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 16, + "description": "Map's Datapacks - Structures #1" + } +} \ No newline at end of file diff --git a/datapacks/compasstracker/data/compasstrack/functions/second.mcfunction b/datapacks/compasstracker/data/compasstrack/functions/second.mcfunction new file mode 100644 index 00000000..765880ce --- /dev/null +++ b/datapacks/compasstracker/data/compasstrack/functions/second.mcfunction @@ -0,0 +1,5 @@ + +execute in airworld as @a[team=play.sur.zom] at @s run function compasstrack:updatecompass + +execute as @a[team=play.sur.zom] at @s run effect give @a[distance=0..7,team=play.sur] glowing 2 25 true +execute as @a[team=play.sur] at @s run effect give @a[distance=0..7,team=play.sur.zom] glowing 2 25 true \ No newline at end of file diff --git a/datapacks/compasstracker/data/compasstrack/functions/tick.mcfunction b/datapacks/compasstracker/data/compasstrack/functions/tick.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/compasstracker/data/compasstrack/functions/updatecompass.mcfunction b/datapacks/compasstracker/data/compasstrack/functions/updatecompass.mcfunction new file mode 100644 index 00000000..57ac37bc --- /dev/null +++ b/datapacks/compasstracker/data/compasstrack/functions/updatecompass.mcfunction @@ -0,0 +1,9 @@ +execute at @s run tag @p[team=play.sur,gamemode=survival] add sur.sel +clear @s compass +execute if entity @a[tag=sur.sel,limit=1] run item replace entity @s[team=play.sur.zom] hotbar.8 with minecraft:compass{LodestoneDimension:"minecraft:airworld",LodestonePos:{X:0,Y:0,Z:0},LodestoneTracked:0b,display:{Name:'"\\u00a7f玩家追踪指南针 \\u00a7c(请勿移动此物品)"',Lore:['"\\u00a77默认追踪离你最近的玩家"']}} +execute unless entity @a[tag=sur.sel,limit=1] run item replace entity @s[team=play.sur.zom] hotbar.8 with minecraft:compass{LodestoneDimension:"minecraft:airworld",LodestonePos:{X:0,Y:0,Z:0},LodestoneTracked:0b,display:{Name:'"\\u00a7f玩家追踪指南针 \\u00a78- \\u00a7c失去目标"',Lore:['"\\u00a77默认追踪离你最近的玩家"']}} +data modify storage compass:tmp Pos.X set from entity @a[tag=sur.sel,limit=1] Pos[0] +data modify storage compass:tmp Pos.Y set from entity @a[tag=sur.sel,limit=1] Pos[1] +data modify storage compass:tmp Pos.Z set from entity @a[tag=sur.sel,limit=1] Pos[2] +item modify entity @s hotbar.8 compasstrack:compassupdater +tag @a remove sur.sel \ No newline at end of file diff --git a/datapacks/compasstracker/data/compasstrack/item_modifiers/compassupdater.json b/datapacks/compasstracker/data/compasstrack/item_modifiers/compassupdater.json new file mode 100644 index 00000000..7e4375bb --- /dev/null +++ b/datapacks/compasstracker/data/compasstrack/item_modifiers/compassupdater.json @@ -0,0 +1,16 @@ +[ + { + "function": "copy_nbt", + "source": { + "type": "storage", + "source": "compass:tmp" + }, + "ops": [ + { + "source": "Pos", + "target": "LodestonePos", + "op": "replace" + } + ] + } +] \ No newline at end of file diff --git a/datapacks/compasstracker/pack.mcmeta b/datapacks/compasstracker/pack.mcmeta new file mode 100644 index 00000000..cec263f0 --- /dev/null +++ b/datapacks/compasstracker/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapack - 生存游戏指南针" + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/adventuring_time.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/adventuring_time.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/adventuring_time.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/arbalistic.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/arbalistic.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/arbalistic.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/bullseye.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/bullseye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/bullseye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/hero_of_the_village.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/hero_of_the_village.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/hero_of_the_village.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/honey_block_slide.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/honey_block_slide.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/honey_block_slide.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/kill_a_mob.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/kill_a_mob.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/kill_a_mob.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/kill_all_mobs.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/kill_all_mobs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/kill_all_mobs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/lightning_rod_with_villager_no_fire.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/lightning_rod_with_villager_no_fire.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/lightning_rod_with_villager_no_fire.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/ol_betsy.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/ol_betsy.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/ol_betsy.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/root.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/root.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/shoot_arrow.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/shoot_arrow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/shoot_arrow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/sleep_in_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/sleep_in_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/sleep_in_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/sniper_duel.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/sniper_duel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/sniper_duel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_dragon.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_dragon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_dragon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_ghast.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_ghast.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_ghast.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_parrot.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_parrot.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/spyglass_at_parrot.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/summon_iron_golem.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/summon_iron_golem.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/summon_iron_golem.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/throw_trident.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/throw_trident.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/throw_trident.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/totem_of_undying.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/totem_of_undying.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/totem_of_undying.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/trade.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/trade.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/trade.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/two_birds_one_arrow.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/two_birds_one_arrow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/two_birds_one_arrow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/very_very_frightening.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/very_very_frightening.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/very_very_frightening.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/voluntary_exile.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/voluntary_exile.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/voluntary_exile.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/walk_on_powder_snow_with_leather_boots.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/walk_on_powder_snow_with_leather_boots.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/walk_on_powder_snow_with_leather_boots.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/adventure/whos_the_pillager_now.json b/datapacks/empty_advancements/data/minecraft/advancements/adventure/whos_the_pillager_now.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/adventure/whos_the_pillager_now.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/dragon_breath.json b/datapacks/empty_advancements/data/minecraft/advancements/end/dragon_breath.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/dragon_breath.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/dragon_egg.json b/datapacks/empty_advancements/data/minecraft/advancements/end/dragon_egg.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/dragon_egg.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/elytra.json b/datapacks/empty_advancements/data/minecraft/advancements/end/elytra.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/elytra.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/enter_end_gateway.json b/datapacks/empty_advancements/data/minecraft/advancements/end/enter_end_gateway.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/enter_end_gateway.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/find_end_city.json b/datapacks/empty_advancements/data/minecraft/advancements/end/find_end_city.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/find_end_city.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/kill_dragon.json b/datapacks/empty_advancements/data/minecraft/advancements/end/kill_dragon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/kill_dragon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/levitate.json b/datapacks/empty_advancements/data/minecraft/advancements/end/levitate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/levitate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/respawn_dragon.json b/datapacks/empty_advancements/data/minecraft/advancements/end/respawn_dragon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/respawn_dragon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/end/root.json b/datapacks/empty_advancements/data/minecraft/advancements/end/root.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/end/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/axolotl_in_a_bucket.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/axolotl_in_a_bucket.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/axolotl_in_a_bucket.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/balanced_diet.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/balanced_diet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/balanced_diet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/bred_all_animals.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/bred_all_animals.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/bred_all_animals.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/breed_an_animal.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/breed_an_animal.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/breed_an_animal.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/complete_catalogue.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/complete_catalogue.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/complete_catalogue.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/fishy_business.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/fishy_business.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/fishy_business.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/kill_axolotl_target.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/kill_axolotl_target.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/kill_axolotl_target.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/make_a_sign_glow.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/make_a_sign_glow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/make_a_sign_glow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/obtain_netherite_hoe.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/obtain_netherite_hoe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/obtain_netherite_hoe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/plant_seed.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/plant_seed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/plant_seed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/ride_a_boat_with_a_goat.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/ride_a_boat_with_a_goat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/ride_a_boat_with_a_goat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/root.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/root.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/safely_harvest_honey.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/safely_harvest_honey.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/safely_harvest_honey.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/silk_touch_nest.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/silk_touch_nest.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/silk_touch_nest.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/tactical_fishing.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/tactical_fishing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/tactical_fishing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/tame_an_animal.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/tame_an_animal.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/tame_an_animal.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/wax_off.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/wax_off.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/wax_off.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/husbandry/wax_on.json b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/wax_on.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/husbandry/wax_on.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/all_effects.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/all_effects.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/all_effects.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/all_potions.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/all_potions.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/all_potions.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/brew_potion.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/brew_potion.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/brew_potion.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/charge_respawn_anchor.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/charge_respawn_anchor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/charge_respawn_anchor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/create_beacon.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/create_beacon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/create_beacon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/create_full_beacon.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/create_full_beacon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/create_full_beacon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/distract_piglin.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/distract_piglin.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/distract_piglin.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/explore_nether.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/explore_nether.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/explore_nether.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/fast_travel.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/fast_travel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/fast_travel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/find_bastion.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/find_bastion.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/find_bastion.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/find_fortress.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/find_fortress.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/find_fortress.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/get_wither_skull.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/get_wither_skull.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/get_wither_skull.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/loot_bastion.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/loot_bastion.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/loot_bastion.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/netherite_armor.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/netherite_armor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/netherite_armor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_ancient_debris.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_ancient_debris.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_ancient_debris.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_blaze_rod.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_blaze_rod.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_blaze_rod.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_crying_obsidian.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_crying_obsidian.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/obtain_crying_obsidian.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/return_to_sender.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/return_to_sender.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/return_to_sender.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/ride_strider.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/ride_strider.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/ride_strider.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/root.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/root.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/summon_wither.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/summon_wither.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/summon_wither.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/uneasy_alliance.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/uneasy_alliance.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/uneasy_alliance.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/nether/use_lodestone.json b/datapacks/empty_advancements/data/minecraft/advancements/nether/use_lodestone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/nether/use_lodestone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/blaze_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/blaze_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/blaze_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/brewing_stand.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/brewing_stand.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/brewing_stand.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/cauldron.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/cauldron.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/cauldron.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/fermented_spider_eye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/fermented_spider_eye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/fermented_spider_eye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/glass_bottle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/glass_bottle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/glass_bottle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/glistering_melon_slice.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/glistering_melon_slice.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/glistering_melon_slice.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/golden_carrot.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/golden_carrot.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/golden_carrot.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/magma_cream.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/magma_cream.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/brewing/magma_cream.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/acacia_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/amethyst_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/amethyst_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/amethyst_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_slab_from_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_slab_from_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_slab_from_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_stairs_from_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_stairs_from_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/andesite_stairs_from_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/birch_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/black_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_slab_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_slab_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_slab_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_stairs_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_stairs_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blackstone_stairs_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_ice.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_ice.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_ice.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/blue_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bone_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bone_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bone_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bookshelf.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bookshelf.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bookshelf.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_slab_from_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_slab_from_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_slab_from_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_stairs_from_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_stairs_from_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brick_stairs_from_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/brown_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_deepslate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_deepslate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_deepslate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_nether_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_nether_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_nether_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_nether_bricks_from_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_nether_bricks_from_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_nether_bricks_from_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_polished_blackstone_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_quartz_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_quartz_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_quartz_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_quartz_block_from_quartz_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_quartz_block_from_quartz_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_quartz_block_from_quartz_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_red_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_red_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_red_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_red_sandstone_from_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_red_sandstone_from_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_red_sandstone_from_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_sandstone_from_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_sandstone_from_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_sandstone_from_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks_from_stone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks_from_stone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks_from_stone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks_stone_from_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks_stone_from_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/chiseled_stone_bricks_stone_from_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/clay.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/clay.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/clay.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/coal_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/coal_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/coal_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/coarse_dirt.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/coarse_dirt.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/coarse_dirt.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_stairs_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_stairs_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobbled_deepslate_stairs_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_slab_from_cobblestone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_slab_from_cobblestone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_slab_from_cobblestone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_stairs_from_cobblestone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_stairs_from_cobblestone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cobblestone_stairs_from_cobblestone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/copper_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/copper_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/copper_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_deepslate_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_deepslate_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_deepslate_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_deepslate_tiles.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_deepslate_tiles.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_deepslate_tiles.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_nether_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_nether_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_nether_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_polished_blackstone_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_polished_blackstone_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_polished_blackstone_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_stone_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_stone_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cracked_stone_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_hyphae.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_hyphae.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_hyphae.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/crimson_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_from_copper_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_from_copper_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_from_copper_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab_from_copper_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab_from_copper_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab_from_copper_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab_from_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab_from_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_slab_from_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs_from_copper_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs_from_copper_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs_from_copper_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs_from_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs_from_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_copper_stairs_from_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_from_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_from_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_from_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab_from_cut_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab_from_cut_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab_from_cut_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab_from_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab_from_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_red_sandstone_slab_from_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_from_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_from_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_from_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab_from_cut_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab_from_cut_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab_from_cut_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab_from_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab_from_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cut_sandstone_slab_from_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/cyan_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_oak_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_slab_from_dark_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_slab_from_dark_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_slab_from_dark_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_stairs_from_dark_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_stairs_from_dark_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dark_prismarine_stairs_from_dark_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_slab_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_brick_stairs_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_bricks_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_slab_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/deepslate_tiles_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diamond_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diamond_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diamond_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_slab_from_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_slab_from_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_slab_from_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_stairs_from_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_stairs_from_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/diorite_stairs_from_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dried_kelp_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dried_kelp_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dried_kelp_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dripstone_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dripstone_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/dripstone_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/emerald_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/emerald_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/emerald_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab_from_end_stone_brick_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab_from_end_stone_brick_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab_from_end_stone_brick_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab_from_end_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab_from_end_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_slab_from_end_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs_from_end_stone_brick_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs_from_end_stone_brick_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs_from_end_stone_brick_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs_from_end_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs_from_end_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_brick_stairs_from_end_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_bricks_from_end_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_bricks_from_end_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/end_stone_bricks_from_end_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_from_exposed_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_from_exposed_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_from_exposed_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab_from_exposed_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab_from_exposed_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab_from_exposed_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab_from_exposed_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab_from_exposed_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_slab_from_exposed_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs_from_exposed_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs_from_exposed_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs_from_exposed_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs_from_exposed_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs_from_exposed_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/exposed_cut_copper_stairs_from_exposed_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/glowstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/glowstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/glowstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gold_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gold_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gold_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_slab_from_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_slab_from_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_slab_from_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_stairs_from_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_stairs_from_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/granite_stairs_from_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/gray_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/green_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/hay_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/hay_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/hay_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/iron_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/iron_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/iron_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jack_o_lantern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jack_o_lantern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jack_o_lantern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/jungle_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lapis_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lapis_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lapis_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_blue_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/light_gray_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/lime_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magenta_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magma_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magma_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/magma_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/melon.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/melon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/melon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_from_moss_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_from_moss_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_from_moss_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_from_vine.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_from_vine.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_from_vine.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_slab_from_mossy_cobblestone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_slab_from_mossy_cobblestone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_slab_from_mossy_cobblestone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_stairs_from_mossy_cobblestone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_stairs_from_mossy_cobblestone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_cobblestone_stairs_from_mossy_cobblestone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_slab_from_mossy_stone_brick_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_slab_from_mossy_stone_brick_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_slab_from_mossy_stone_brick_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_stairs_from_mossy_stone_brick_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_stairs_from_mossy_stone_brick_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_brick_stairs_from_mossy_stone_brick_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_bricks_from_moss_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_bricks_from_moss_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_bricks_from_moss_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_bricks_from_vine.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_bricks_from_vine.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/mossy_stone_bricks_from_vine.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_slab_from_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_slab_from_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_slab_from_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_stairs_from_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_stairs_from_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_brick_stairs_from_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_wart_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_wart_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/nether_wart_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/netherite_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/netherite_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/netherite_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oak_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/orange_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_from_oxidized_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_from_oxidized_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_from_oxidized_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab_from_oxidized_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab_from_oxidized_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab_from_oxidized_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab_from_oxidized_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab_from_oxidized_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_slab_from_oxidized_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs_from_oxidized_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs_from_oxidized_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs_from_oxidized_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs_from_oxidized_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs_from_oxidized_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/oxidized_cut_copper_stairs_from_oxidized_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/packed_ice.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/packed_ice.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/packed_ice.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/pink_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_from_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_from_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_from_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab_from_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab_from_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab_from_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab_from_polished_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab_from_polished_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_slab_from_polished_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs_from_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs_from_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs_from_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs_from_polished_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs_from_polished_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_andesite_stairs_from_polished_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_basalt.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_basalt.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_basalt.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_basalt_from_basalt_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_basalt_from_basalt_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_basalt_from_basalt_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_polished_blackstone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_polished_blackstone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_polished_blackstone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_slab_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_polished_blackstone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_polished_blackstone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_polished_blackstone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_brick_stairs_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_bricks_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_slab_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_blackstone_stairs_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_slab_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_deepslate_stairs_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_from_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_from_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_from_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab_from_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab_from_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab_from_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab_from_polished_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab_from_polished_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_slab_from_polished_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs_from_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs_from_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs_from_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs_from_polished_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs_from_polished_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_diorite_stairs_from_polished_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_from_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_from_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_from_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab_from_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab_from_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab_from_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab_from_polished_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab_from_polished_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_slab_from_polished_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs_from_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs_from_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs_from_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs_from_polished_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs_from_polished_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/polished_granite_stairs_from_polished_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_slab_from_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_slab_from_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_slab_from_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_stairs_from_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_stairs_from_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_brick_stairs_from_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_slab_from_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_slab_from_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_slab_from_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_stairs_from_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_stairs_from_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/prismarine_stairs_from_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purple_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_pillar.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_pillar.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_pillar.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_pillar_from_purpur_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_pillar_from_purpur_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_pillar_from_purpur_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_slab_from_purpur_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_slab_from_purpur_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_slab_from_purpur_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_stairs_from_purpur_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_stairs_from_purpur_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/purpur_stairs_from_purpur_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_bricks_from_quartz_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_bricks_from_quartz_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_bricks_from_quartz_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_pillar.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_pillar.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_pillar.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_pillar_from_quartz_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_pillar_from_quartz_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_pillar_from_quartz_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_slab_from_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_slab_from_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_slab_from_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_stairs_from_quartz_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_stairs_from_quartz_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/quartz_stairs_from_quartz_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_copper_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_copper_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_copper_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_gold_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_gold_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_gold_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_iron_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_iron_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/raw_iron_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_slab_from_red_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_slab_from_red_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_slab_from_red_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_stairs_from_red_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_stairs_from_red_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_brick_stairs_from_red_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_nether_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_slab_from_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_slab_from_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_slab_from_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_stairs_from_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_stairs_from_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_sandstone_stairs_from_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/red_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_slab_from_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_slab_from_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_slab_from_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_stairs_from_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_stairs_from_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sandstone_stairs_from_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sea_lantern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sea_lantern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sea_lantern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_basalt.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_basalt.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_basalt.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_slab_from_smooth_quartz_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_slab_from_smooth_quartz_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_slab_from_smooth_quartz_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_stairs_from_smooth_quartz_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_stairs_from_smooth_quartz_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_quartz_stairs_from_smooth_quartz_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_slab_from_smooth_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_slab_from_smooth_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_slab_from_smooth_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_stairs_from_smooth_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_stairs_from_smooth_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_red_sandstone_stairs_from_smooth_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_slab_from_smooth_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_slab_from_smooth_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_slab_from_smooth_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_stairs_from_smooth_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_stairs_from_smooth_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_sandstone_stairs_from_smooth_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone_slab_from_smooth_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone_slab_from_smooth_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/smooth_stone_slab_from_smooth_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/snow_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/snow_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/snow_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sponge.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sponge.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/sponge.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/spruce_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab_from_stone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab_from_stone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab_from_stone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab_from_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab_from_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_slab_from_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs_from_stone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs_from_stone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs_from_stone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs_from_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs_from_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_brick_stairs_from_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_bricks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_bricks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_bricks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_bricks_from_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_bricks_from_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_bricks_from_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_slab_from_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_slab_from_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_slab_from_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_stairs_from_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_stairs_from_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stone_stairs_from_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_acacia_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_acacia_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_acacia_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_birch_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_birch_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_birch_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_crimson_hyphae.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_crimson_hyphae.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_crimson_hyphae.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_dark_oak_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_dark_oak_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_dark_oak_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_jungle_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_jungle_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_jungle_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_oak_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_oak_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_oak_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_spruce_wood.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_spruce_wood.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_spruce_wood.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_warped_hyphae.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_warped_hyphae.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/stripped_warped_hyphae.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/tinted_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/tinted_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/tinted_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_hyphae.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_hyphae.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_hyphae.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_planks.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_planks.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_planks.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/warped_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_copper_block_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_copper_block_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_copper_block_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_from_waxed_copper_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_from_waxed_copper_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_from_waxed_copper_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_waxed_copper_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_waxed_copper_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_waxed_copper_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_waxed_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_waxed_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_slab_from_waxed_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_waxed_copper_block_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_waxed_copper_block_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_waxed_copper_block_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_waxed_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_waxed_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_cut_copper_stairs_from_waxed_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_from_waxed_exposed_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_from_waxed_exposed_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_from_waxed_exposed_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_waxed_exposed_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_waxed_exposed_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_waxed_exposed_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_waxed_exposed_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_waxed_exposed_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_slab_from_waxed_exposed_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_waxed_exposed_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_waxed_exposed_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_waxed_exposed_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_waxed_exposed_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_waxed_exposed_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_exposed_cut_copper_stairs_from_waxed_exposed_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_from_waxed_oxidized_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_from_waxed_oxidized_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_from_waxed_oxidized_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_waxed_oxidized_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_waxed_oxidized_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_waxed_oxidized_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_waxed_oxidized_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_waxed_oxidized_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_slab_from_waxed_oxidized_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_waxed_oxidized_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_waxed_oxidized_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_waxed_oxidized_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_waxed_oxidized_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_waxed_oxidized_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_oxidized_cut_copper_stairs_from_waxed_oxidized_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_from_waxed_weathered_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_from_waxed_weathered_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_from_waxed_weathered_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_waxed_weathered_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_waxed_weathered_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_waxed_weathered_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_waxed_weathered_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_waxed_weathered_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_slab_from_waxed_weathered_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_honeycomb.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_honeycomb.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_honeycomb.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_waxed_weathered_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_waxed_weathered_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_waxed_weathered_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_waxed_weathered_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_waxed_weathered_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/waxed_weathered_cut_copper_stairs_from_waxed_weathered_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_from_weathered_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_from_weathered_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_from_weathered_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab_from_weathered_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab_from_weathered_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab_from_weathered_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab_from_weathered_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab_from_weathered_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_slab_from_weathered_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs_from_weathered_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs_from_weathered_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs_from_weathered_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs_from_weathered_cut_copper_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs_from_weathered_cut_copper_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/weathered_cut_copper_stairs_from_weathered_cut_copper_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_wool_from_string.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_wool_from_string.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/white_wool_from_string.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_concrete_powder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_concrete_powder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_concrete_powder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_stained_glass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_stained_glass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_stained_glass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_wool.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_wool.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/building_blocks/yellow_wool.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/arrow.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/arrow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/arrow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/bow.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/bow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/bow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/crossbow.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/crossbow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/crossbow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_boots.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_boots.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_boots.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_chestplate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_chestplate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_chestplate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_helmet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_helmet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_helmet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_leggings.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_leggings.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_leggings.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_sword.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_sword.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/diamond_sword.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_boots.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_boots.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_boots.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_chestplate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_chestplate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_chestplate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_helmet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_helmet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_helmet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_leggings.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_leggings.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_leggings.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_sword.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_sword.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/golden_sword.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_boots.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_boots.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_boots.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_chestplate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_chestplate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_chestplate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_helmet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_helmet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_helmet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_leggings.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_leggings.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_leggings.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_sword.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_sword.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/iron_sword.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_boots.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_boots.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_boots.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_chestplate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_chestplate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_chestplate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_helmet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_helmet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_helmet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_leggings.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_leggings.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/leather_leggings.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_boots_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_boots_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_boots_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_chestplate_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_chestplate_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_chestplate_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_helmet_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_helmet_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_helmet_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_leggings_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_leggings_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_leggings_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_sword_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_sword_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/netherite_sword_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/shield.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/shield.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/shield.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/spectral_arrow.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/spectral_arrow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/spectral_arrow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/stone_sword.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/stone_sword.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/stone_sword.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/turtle_helmet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/turtle_helmet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/turtle_helmet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/wooden_sword.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/wooden_sword.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/combat/wooden_sword.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/acacia_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/acacia_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/acacia_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/acacia_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/acacia_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/acacia_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/andesite_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/andesite_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/andesite_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/andesite_wall_from_andesite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/andesite_wall_from_andesite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/andesite_wall_from_andesite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/anvil.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/anvil.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/anvil.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/armor_stand.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/armor_stand.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/armor_stand.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/barrel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/barrel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/barrel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/beehive.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/beehive.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/beehive.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/birch_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/birch_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/birch_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/birch_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/birch_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/birch_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/black_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blackstone_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blackstone_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blackstone_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blackstone_wall_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blackstone_wall_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blackstone_wall_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blast_furnace.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blast_furnace.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blast_furnace.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/blue_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brick_wall_from_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brick_wall_from_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brick_wall_from_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/brown_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/campfire.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/campfire.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/campfire.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cartography_table.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cartography_table.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cartography_table.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/chain.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/chain.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/chain.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/chest.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/chest.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/chest.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobbled_deepslate_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobbled_deepslate_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobbled_deepslate_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobblestone_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobblestone_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobblestone_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobblestone_wall_from_cobblestone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobblestone_wall_from_cobblestone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cobblestone_wall_from_cobblestone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/composter.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/composter.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/composter.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crafting_table.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crafting_table.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crafting_table.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crimson_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crimson_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crimson_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crimson_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crimson_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/crimson_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/cyan_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/dark_oak_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/dark_oak_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/dark_oak_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/dark_oak_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/dark_oak_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/dark_oak_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_brick_wall_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/deepslate_tile_wall_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/diorite_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/diorite_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/diorite_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/diorite_wall_from_diorite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/diorite_wall_from_diorite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/diorite_wall_from_diorite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/enchanting_table.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/enchanting_table.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/enchanting_table.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_crystal.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_crystal.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_crystal.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_rod.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_rod.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_rod.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall_from_end_stone_brick_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall_from_end_stone_brick_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall_from_end_stone_brick_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall_from_end_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall_from_end_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/end_stone_brick_wall_from_end_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/ender_chest.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/ender_chest.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/ender_chest.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/fletching_table.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/fletching_table.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/fletching_table.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/flower_pot.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/flower_pot.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/flower_pot.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/furnace.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/furnace.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/furnace.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/glow_item_frame.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/glow_item_frame.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/glow_item_frame.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/granite_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/granite_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/granite_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/granite_wall_from_granite_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/granite_wall_from_granite_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/granite_wall_from_granite_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/gray_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/green_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/grindstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/grindstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/grindstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/honeycomb_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/honeycomb_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/honeycomb_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/iron_bars.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/iron_bars.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/iron_bars.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/item_frame.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/item_frame.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/item_frame.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jukebox.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jukebox.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jukebox.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jungle_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jungle_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jungle_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jungle_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jungle_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/jungle_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/ladder.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/ladder.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/ladder.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lantern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lantern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lantern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_blue_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/light_gray_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lime_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lodestone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lodestone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/lodestone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/loom.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/loom.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/loom.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/magenta_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/moss_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/moss_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/moss_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_cobblestone_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_cobblestone_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_cobblestone_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_cobblestone_wall_from_mossy_cobblestone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_cobblestone_wall_from_mossy_cobblestone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_cobblestone_wall_from_mossy_cobblestone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_stone_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_stone_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_stone_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_stone_brick_wall_from_mossy_stone_brick_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_stone_brick_wall_from_mossy_stone_brick_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/mossy_stone_brick_wall_from_mossy_stone_brick_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_wall_from_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_wall_from_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/nether_brick_wall_from_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/oak_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/oak_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/oak_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/oak_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/oak_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/oak_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/orange_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/painting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/painting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/painting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/pink_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_polished_blackstone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_polished_blackstone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_polished_blackstone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_brick_wall_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall_from_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall_from_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall_from_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall_from_polished_blackstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall_from_polished_blackstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_blackstone_wall_from_polished_blackstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall_from_cobbled_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall_from_polished_deepslate_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall_from_polished_deepslate_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/polished_deepslate_wall_from_polished_deepslate_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/prismarine_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/prismarine_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/prismarine_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/prismarine_wall_from_prismarine_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/prismarine_wall_from_prismarine_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/prismarine_wall_from_prismarine_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/purple_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_nether_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_nether_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_nether_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_nether_brick_wall_from_red_nether_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_nether_brick_wall_from_red_nether_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_nether_brick_wall_from_red_nether_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_sandstone_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_sandstone_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_sandstone_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_sandstone_wall_from_red_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_sandstone_wall_from_red_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_sandstone_wall_from_red_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/red_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/respawn_anchor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/respawn_anchor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/respawn_anchor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/sandstone_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/sandstone_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/sandstone_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/sandstone_wall_from_sandstone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/sandstone_wall_from_sandstone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/sandstone_wall_from_sandstone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/scaffolding.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/scaffolding.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/scaffolding.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/shulker_box.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/shulker_box.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/shulker_box.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/smithing_table.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/smithing_table.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/smithing_table.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/smoker.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/smoker.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/smoker.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/snow.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/snow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/snow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_campfire.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_campfire.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_campfire.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_lantern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_lantern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_lantern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_torch.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_torch.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/soul_torch.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/spruce_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/spruce_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/spruce_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/spruce_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/spruce_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/spruce_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_wall.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_wall.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_wall.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_wall_from_stone_bricks_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_wall_from_stone_bricks_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_wall_from_stone_bricks_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_walls_from_stone_stonecutting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_walls_from_stone_stonecutting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stone_brick_walls_from_stone_stonecutting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stonecutter.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stonecutter.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/stonecutter.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/torch.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/torch.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/torch.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/warped_fence.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/warped_fence.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/warped_fence.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/warped_sign.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/warped_sign.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/warped_sign.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/white_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_banner.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_banner.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_banner.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_bed_from_white_bed.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_bed_from_white_bed.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_bed_from_white_bed.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_candle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_candle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_candle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_carpet_from_white_carpet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_carpet_from_white_carpet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_carpet_from_white_carpet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_glazed_terracotta.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_glazed_terracotta.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_glazed_terracotta.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_stained_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_stained_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_stained_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_stained_glass_pane_from_glass_pane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_stained_glass_pane_from_glass_pane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/decorations/yellow_stained_glass_pane_from_glass_pane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/baked_potato_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/beetroot_soup.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/beetroot_soup.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/beetroot_soup.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/bread.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/bread.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/bread.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cake.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cake.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cake.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_beef_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_chicken_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_cod_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_mutton_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_porkchop_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_rabbit_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cooked_salmon_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cookie.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cookie.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/cookie.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_campfire_cooking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_campfire_cooking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_campfire_cooking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_smelting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_smelting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_smelting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_smoking.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_smoking.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/dried_kelp_from_smoking.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/golden_apple.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/golden_apple.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/golden_apple.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/honey_bottle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/honey_bottle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/honey_bottle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/mushroom_stew.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/mushroom_stew.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/mushroom_stew.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/pumpkin_pie.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/pumpkin_pie.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/pumpkin_pie.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/rabbit_stew_from_brown_mushroom.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/rabbit_stew_from_brown_mushroom.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/rabbit_stew_from_brown_mushroom.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/rabbit_stew_from_red_mushroom.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/rabbit_stew_from_red_mushroom.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/food/rabbit_stew_from_red_mushroom.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/beacon.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/beacon.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/beacon.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/black_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/black_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/black_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/black_dye_from_wither_rose.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/black_dye_from_wither_rose.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/black_dye_from_wither_rose.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/blue_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/blue_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/blue_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/blue_dye_from_cornflower.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/blue_dye_from_cornflower.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/blue_dye_from_cornflower.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bone_meal.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bone_meal.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bone_meal.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bone_meal_from_bone_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bone_meal_from_bone_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bone_meal_from_bone_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/book.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/book.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/book.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bowl.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bowl.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bowl.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/brick.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/brick.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/brick.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/brown_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/brown_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/brown_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bucket.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bucket.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/bucket.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/charcoal.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/charcoal.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/charcoal.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_blasting_coal_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_blasting_coal_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_blasting_coal_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_blasting_deepslate_coal_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_blasting_deepslate_coal_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_blasting_deepslate_coal_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_smelting_coal_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_smelting_coal_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_smelting_coal_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_smelting_deepslate_coal_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_smelting_deepslate_coal_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/coal_from_smelting_deepslate_coal_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/conduit.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/conduit.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/conduit.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_copper_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_copper_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_copper_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_deepslate_copper_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_deepslate_copper_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_deepslate_copper_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_raw_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_raw_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_blasting_raw_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_copper_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_copper_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_copper_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_deepslate_copper_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_deepslate_copper_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_deepslate_copper_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_raw_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_raw_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_smelting_raw_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_waxed_copper_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_waxed_copper_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/copper_ingot_from_waxed_copper_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/creeper_banner_pattern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/creeper_banner_pattern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/creeper_banner_pattern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/cyan_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/cyan_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/cyan_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_blasting_deepslate_diamond_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_blasting_deepslate_diamond_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_blasting_deepslate_diamond_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_blasting_diamond_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_blasting_diamond_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_blasting_diamond_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_smelting_deepslate_diamond_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_smelting_deepslate_diamond_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_smelting_deepslate_diamond_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_smelting_diamond_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_smelting_diamond_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/diamond_from_smelting_diamond_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_blasting_deepslate_emerald_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_blasting_deepslate_emerald_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_blasting_deepslate_emerald_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_blasting_emerald_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_blasting_emerald_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_blasting_emerald_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_smelting_deepslate_emerald_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_smelting_deepslate_emerald_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_smelting_deepslate_emerald_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_smelting_emerald_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_smelting_emerald_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/emerald_from_smelting_emerald_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/ender_eye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/ender_eye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/ender_eye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/fire_charge.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/fire_charge.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/fire_charge.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/firework_rocket_simple.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/firework_rocket_simple.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/firework_rocket_simple.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/flower_banner_pattern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/flower_banner_pattern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/flower_banner_pattern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_deepslate_gold_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_deepslate_gold_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_deepslate_gold_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_gold_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_gold_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_gold_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_nether_gold_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_nether_gold_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_nether_gold_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_raw_gold.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_raw_gold.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_blasting_raw_gold.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_gold_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_gold_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_gold_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_nuggets.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_nuggets.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_nuggets.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_deepslate_gold_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_deepslate_gold_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_deepslate_gold_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_gold_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_gold_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_gold_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_nether_gold_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_nether_gold_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_nether_gold_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_raw_gold.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_raw_gold.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_ingot_from_smelting_raw_gold.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget_from_blasting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget_from_blasting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget_from_blasting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget_from_smelting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget_from_smelting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gold_nugget_from_smelting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gray_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gray_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/gray_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/green_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/green_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/green_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_deepslate_iron_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_deepslate_iron_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_deepslate_iron_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_iron_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_iron_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_iron_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_raw_iron.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_raw_iron.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_blasting_raw_iron.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_iron_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_iron_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_iron_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_nuggets.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_nuggets.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_nuggets.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_deepslate_iron_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_deepslate_iron_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_deepslate_iron_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_iron_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_iron_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_iron_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_raw_iron.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_raw_iron.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_ingot_from_smelting_raw_iron.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget_from_blasting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget_from_blasting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget_from_blasting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget_from_smelting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget_from_smelting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/iron_nugget_from_smelting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_blasting_deepslate_lapis_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_blasting_deepslate_lapis_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_blasting_deepslate_lapis_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_blasting_lapis_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_blasting_lapis_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_blasting_lapis_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_smelting_deepslate_lapis_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_smelting_deepslate_lapis_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_smelting_deepslate_lapis_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_smelting_lapis_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_smelting_lapis_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lapis_lazuli_from_smelting_lapis_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/leather.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/leather.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/leather.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/leather_horse_armor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/leather_horse_armor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/leather_horse_armor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_blue_dye_from_blue_orchid.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_blue_dye_from_blue_orchid.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_blue_dye_from_blue_orchid.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_blue_dye_from_blue_white_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_blue_dye_from_blue_white_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_blue_dye_from_blue_white_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_azure_bluet.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_azure_bluet.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_azure_bluet.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_black_white_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_black_white_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_black_white_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_gray_white_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_gray_white_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_gray_white_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_oxeye_daisy.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_oxeye_daisy.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_oxeye_daisy.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_white_tulip.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_white_tulip.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/light_gray_dye_from_white_tulip.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lime_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lime_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lime_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lime_dye_from_smelting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lime_dye_from_smelting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/lime_dye_from_smelting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_allium.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_allium.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_allium.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_blue_red_pink.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_blue_red_pink.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_blue_red_pink.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_blue_red_white_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_blue_red_white_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_blue_red_white_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_lilac.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_lilac.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_lilac.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_purple_and_pink.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_purple_and_pink.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/magenta_dye_from_purple_and_pink.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/map.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/map.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/map.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/melon_seeds.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/melon_seeds.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/melon_seeds.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/mojang_banner_pattern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/mojang_banner_pattern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/mojang_banner_pattern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/nether_brick.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/nether_brick.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/nether_brick.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_ingot.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_ingot.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_ingot.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_ingot_from_netherite_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_ingot_from_netherite_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_ingot_from_netherite_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_scrap.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_scrap.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_scrap.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_scrap_from_blasting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_scrap_from_blasting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/netherite_scrap_from_blasting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/orange_dye_from_orange_tulip.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/orange_dye_from_orange_tulip.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/orange_dye_from_orange_tulip.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/orange_dye_from_red_yellow.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/orange_dye_from_red_yellow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/orange_dye_from_red_yellow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/paper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/paper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/paper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_peony.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_peony.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_peony.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_pink_tulip.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_pink_tulip.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_pink_tulip.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_red_white_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_red_white_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pink_dye_from_red_white_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/popped_chorus_fruit.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/popped_chorus_fruit.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/popped_chorus_fruit.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pumpkin_seeds.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pumpkin_seeds.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/pumpkin_seeds.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/purple_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/purple_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/purple_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/quartz.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/quartz.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/quartz.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/quartz_from_blasting.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/quartz_from_blasting.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/quartz_from_blasting.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_copper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_copper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_copper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_gold.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_gold.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_gold.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_iron.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_iron.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/raw_iron.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_beetroot.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_beetroot.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_beetroot.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_poppy.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_poppy.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_poppy.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_rose_bush.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_rose_bush.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_rose_bush.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_tulip.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_tulip.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/red_dye_from_tulip.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/skull_banner_pattern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/skull_banner_pattern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/skull_banner_pattern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/slime_ball.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/slime_ball.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/slime_ball.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/stick.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/stick.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/stick.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/stick_from_bamboo_item.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/stick_from_bamboo_item.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/stick_from_bamboo_item.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/sugar_from_honey_bottle.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/sugar_from_honey_bottle.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/sugar_from_honey_bottle.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/sugar_from_sugar_cane.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/sugar_from_sugar_cane.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/sugar_from_sugar_cane.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/wheat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/wheat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/wheat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/white_dye.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/white_dye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/white_dye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/white_dye_from_lily_of_the_valley.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/white_dye_from_lily_of_the_valley.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/white_dye_from_lily_of_the_valley.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/writable_book.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/writable_book.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/writable_book.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/yellow_dye_from_dandelion.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/yellow_dye_from_dandelion.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/yellow_dye_from_dandelion.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/yellow_dye_from_sunflower.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/yellow_dye_from_sunflower.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/misc/yellow_dye_from_sunflower.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/acacia_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/birch_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/comparator.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/comparator.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/comparator.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/crimson_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dark_oak_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/daylight_detector.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/daylight_detector.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/daylight_detector.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dispenser.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dispenser.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dispenser.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dropper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dropper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/dropper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/heavy_weighted_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/heavy_weighted_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/heavy_weighted_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/honey_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/honey_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/honey_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/hopper.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/hopper.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/hopper.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/iron_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/iron_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/iron_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/iron_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/iron_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/iron_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/jungle_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lectern.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lectern.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lectern.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lever.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lever.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lever.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/light_weighted_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/light_weighted_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/light_weighted_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lightning_rod.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lightning_rod.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/lightning_rod.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/note_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/note_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/note_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/oak_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/observer.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/observer.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/observer.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/piston.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/piston.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/piston.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/polished_blackstone_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/polished_blackstone_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/polished_blackstone_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/polished_blackstone_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/polished_blackstone_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/polished_blackstone_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_blasting_deepslate_redstone_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_blasting_deepslate_redstone_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_blasting_deepslate_redstone_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_blasting_redstone_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_blasting_redstone_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_blasting_redstone_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_smelting_deepslate_redstone_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_smelting_deepslate_redstone_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_smelting_deepslate_redstone_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_smelting_redstone_ore.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_smelting_redstone_ore.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_from_smelting_redstone_ore.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_lamp.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_lamp.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_lamp.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_torch.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_torch.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/redstone_torch.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/repeater.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/repeater.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/repeater.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/slime_block.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/slime_block.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/slime_block.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/spruce_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/sticky_piston.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/sticky_piston.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/sticky_piston.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/stone_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/stone_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/stone_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/stone_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/stone_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/stone_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/target.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/target.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/target.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/tnt.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/tnt.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/tnt.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/trapped_chest.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/trapped_chest.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/trapped_chest.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/tripwire_hook.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/tripwire_hook.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/tripwire_hook.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_button.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_button.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_button.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_door.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_door.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_door.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_fence_gate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_fence_gate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_fence_gate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_pressure_plate.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_pressure_plate.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_pressure_plate.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_trapdoor.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_trapdoor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/redstone/warped_trapdoor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/root.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/root.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/clock.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/clock.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/clock.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/compass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/compass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/compass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_axe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_axe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_axe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_hoe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_hoe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_hoe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_pickaxe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_pickaxe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_pickaxe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_shovel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_shovel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/diamond_shovel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/fishing_rod.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/fishing_rod.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/fishing_rod.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/flint_and_steel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/flint_and_steel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/flint_and_steel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_axe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_axe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_axe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_hoe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_hoe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_hoe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_pickaxe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_pickaxe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_pickaxe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_shovel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_shovel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/golden_shovel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_axe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_axe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_axe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_hoe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_hoe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_hoe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_pickaxe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_pickaxe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_pickaxe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_shovel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_shovel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/iron_shovel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/lead.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/lead.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/lead.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_axe_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_axe_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_axe_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_hoe_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_hoe_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_hoe_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_pickaxe_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_pickaxe_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_pickaxe_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_shovel_smithing.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_shovel_smithing.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/netherite_shovel_smithing.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/shears.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/shears.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/shears.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/spyglass.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/spyglass.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/spyglass.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_axe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_axe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_axe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_hoe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_hoe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_hoe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_pickaxe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_pickaxe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_pickaxe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_shovel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_shovel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/stone_shovel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_axe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_axe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_axe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_hoe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_hoe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_hoe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_pickaxe.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_pickaxe.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_pickaxe.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_shovel.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_shovel.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/tools/wooden_shovel.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/acacia_boat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/acacia_boat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/acacia_boat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/activator_rail.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/activator_rail.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/activator_rail.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/birch_boat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/birch_boat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/birch_boat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/carrot_on_a_stick.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/carrot_on_a_stick.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/carrot_on_a_stick.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/chest_minecart.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/chest_minecart.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/chest_minecart.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/dark_oak_boat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/dark_oak_boat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/dark_oak_boat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/detector_rail.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/detector_rail.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/detector_rail.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/furnace_minecart.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/furnace_minecart.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/furnace_minecart.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/hopper_minecart.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/hopper_minecart.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/hopper_minecart.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/jungle_boat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/jungle_boat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/jungle_boat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/minecart.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/minecart.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/minecart.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/oak_boat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/oak_boat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/oak_boat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/powered_rail.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/powered_rail.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/powered_rail.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/rail.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/rail.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/rail.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/spruce_boat.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/spruce_boat.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/spruce_boat.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/tnt_minecart.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/tnt_minecart.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/tnt_minecart.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/warped_fungus_on_a_stick.json b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/warped_fungus_on_a_stick.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/recipes/transportation/warped_fungus_on_a_stick.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/cure_zombie_villager.json b/datapacks/empty_advancements/data/minecraft/advancements/story/cure_zombie_villager.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/cure_zombie_villager.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/deflect_arrow.json b/datapacks/empty_advancements/data/minecraft/advancements/story/deflect_arrow.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/deflect_arrow.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/enchant_item.json b/datapacks/empty_advancements/data/minecraft/advancements/story/enchant_item.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/enchant_item.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/enter_the_end.json b/datapacks/empty_advancements/data/minecraft/advancements/story/enter_the_end.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/enter_the_end.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/enter_the_nether.json b/datapacks/empty_advancements/data/minecraft/advancements/story/enter_the_nether.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/enter_the_nether.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/follow_ender_eye.json b/datapacks/empty_advancements/data/minecraft/advancements/story/follow_ender_eye.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/follow_ender_eye.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/form_obsidian.json b/datapacks/empty_advancements/data/minecraft/advancements/story/form_obsidian.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/form_obsidian.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/iron_tools.json b/datapacks/empty_advancements/data/minecraft/advancements/story/iron_tools.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/iron_tools.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/lava_bucket.json b/datapacks/empty_advancements/data/minecraft/advancements/story/lava_bucket.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/lava_bucket.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/mine_diamond.json b/datapacks/empty_advancements/data/minecraft/advancements/story/mine_diamond.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/mine_diamond.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/mine_stone.json b/datapacks/empty_advancements/data/minecraft/advancements/story/mine_stone.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/mine_stone.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/obtain_armor.json b/datapacks/empty_advancements/data/minecraft/advancements/story/obtain_armor.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/obtain_armor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/root.json b/datapacks/empty_advancements/data/minecraft/advancements/story/root.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/root.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/shiny_gear.json b/datapacks/empty_advancements/data/minecraft/advancements/story/shiny_gear.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/shiny_gear.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/smelt_iron.json b/datapacks/empty_advancements/data/minecraft/advancements/story/smelt_iron.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/smelt_iron.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/data/minecraft/advancements/story/upgrade_tools.json b/datapacks/empty_advancements/data/minecraft/advancements/story/upgrade_tools.json new file mode 100644 index 00000000..7c91f81e --- /dev/null +++ b/datapacks/empty_advancements/data/minecraft/advancements/story/upgrade_tools.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "impossible": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/datapacks/empty_advancements/pack.mcmeta b/datapacks/empty_advancements/pack.mcmeta new file mode 100644 index 00000000..0cb591fd --- /dev/null +++ b/datapacks/empty_advancements/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 7, + "description": "Empty Advancements (1.17)" + } +} \ No newline at end of file diff --git a/datapacks/foodparty/data/foodparty/functions/join.mcfunction b/datapacks/foodparty/data/foodparty/functions/join.mcfunction new file mode 100644 index 00000000..4b70a3d1 --- /dev/null +++ b/datapacks/foodparty/data/foodparty/functions/join.mcfunction @@ -0,0 +1,10 @@ +title @s title ["\u00a7e\u00a7lFOOD CARNIVAL: \u00a7b\u00a7lPARTY"] +title @s subtitle ["\u00a7a美食嘉年华:美食派对"] +team join foodparty +tellraw @a [{"selector":"@s"},"\u00a7b 加入了「\u00a7a美食嘉年华:美食派对\u00a7b」"] +tellraw @s ["\n\u00a7e\u00a7l FOOD CARNIVAL: \u00a7b\u00a7lPARTY\n\u00a7e\u00a7l 美食嘉年华:\u00a7b\u00a7l美食派对\n\n \u00a7d游戏规则:\n \u00a7a寻找材料,制作美食,进行评分!让顾客吃得满意,吃得放心。\n"] +tp @s 213 80 160 0 0 +playsound entity.generic.explode player @s 213 80 160 1 2 1 +clear @s +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/foodparty/data/foodparty/functions/npcevent.mcfunction b/datapacks/foodparty/data/foodparty/functions/npcevent.mcfunction new file mode 100644 index 00000000..bb0e2882 --- /dev/null +++ b/datapacks/foodparty/data/foodparty/functions/npcevent.mcfunction @@ -0,0 +1,18 @@ +execute if block ~ ~-2 ~ command_block[facing=south] run data modify entity @s Motion[2] set value 0.13 +execute if block ~ ~-2 ~ command_block[facing=south] at @s run tp @s ~ ~ ~ 0 ~ +execute if block ~ ~-2 ~ command_block[facing=north] run data modify entity @s Motion[2] set value -0.13 +execute if block ~ ~-2 ~ command_block[facing=north] at @s run tp @s ~ ~ ~ 180 ~ +execute if block ~ ~-2 ~ command_block[facing=east] run data modify entity @s Motion[0] set value 0.13 +execute if block ~ ~-2 ~ command_block[facing=east] at @s run tp @s ~ ~ ~ -90 ~ +execute if block ~ ~-2 ~ command_block[facing=west] run data modify entity @s Motion[0] set value -0.13 +execute if block ~ ~-2 ~ command_block[facing=west] at @s run tp @s ~ ~ ~ 90 ~ +execute if block ~ ~-2 ~ command_block run tag @s add npc.moving +execute if block ~ ~-2 ~ lime_terracotta run tag @s add npc.moving +execute as @s[tag=npc.full] if block ~ ~-2 ~ yellow_terracotta at @s run data modify entity @s Motion[2] set value 0.13 +execute as @s[tag=npc.full] if block ~ ~-2 ~ lime_terracotta at @s run tp @s ~ ~ ~ 180 ~ +execute as @s[tag=npc.full] if block ~ ~-2 ~ lime_terracotta run data modify entity @s Motion[2] set value -0.13 +execute as @s[tag=npc.hungry] if block ~ ~-2 ~ lime_terracotta run data modify entity @s Motion[2] set value 0.13 +execute as @s[tag=npc.hungry] if block ~ ~-2 ~ lime_terracotta at @s run tp @s ~ ~ ~ 0 ~ +tag @s remove npc.moving +execute as @s[tag=!npc.moving] run data merge entity @s {NoAI:0b} +execute as @s[tag=npc.moving] run data merge entity @s {NoAI:1b} \ No newline at end of file diff --git a/datapacks/foodparty/data/foodparty/functions/second.mcfunction b/datapacks/foodparty/data/foodparty/functions/second.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/foodparty/data/foodparty/functions/spec.mcfunction b/datapacks/foodparty/data/foodparty/functions/spec.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/foodparty/data/foodparty/functions/start.mcfunction b/datapacks/foodparty/data/foodparty/functions/start.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/foodparty/data/foodparty/functions/tick.mcfunction b/datapacks/foodparty/data/foodparty/functions/tick.mcfunction new file mode 100644 index 00000000..834abf52 --- /dev/null +++ b/datapacks/foodparty/data/foodparty/functions/tick.mcfunction @@ -0,0 +1 @@ +execute as @e[tag=foodparty.npc] at @s run function foodparty:npcevent \ No newline at end of file diff --git a/datapacks/foodparty/data/foodparty/functions/trystart.mcfunction b/datapacks/foodparty/data/foodparty/functions/trystart.mcfunction new file mode 100644 index 00000000..c0b1f78c --- /dev/null +++ b/datapacks/foodparty/data/foodparty/functions/trystart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=foodparty,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score foodparty.state state matches 1.. run function foodparty:spec +execute unless score foodparty.state state matches 1.. if score wait.player tick matches ..0 run tellraw @s ["\u00a7c人数不够!请等待至少1人!"] +execute unless score foodparty.state state matches 1.. if score wait.player tick matches ..0 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score foodparty.state state matches 1.. if score wait.player tick matches 1.. run function foodparty:start \ No newline at end of file diff --git a/datapacks/foodparty/pack.mcmeta b/datapacks/foodparty/pack.mcmeta new file mode 100644 index 00000000..15f42abd --- /dev/null +++ b/datapacks/foodparty/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks §a[Food Party]" + } +} \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/gun/countdownmove.mcfunction b/datapacks/item_gun/data/boatgun/functions/gun/countdownmove.mcfunction new file mode 100644 index 00000000..576b2ff4 --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/gun/countdownmove.mcfunction @@ -0,0 +1,3 @@ +execute as @s at @s run function boatgun:gun/move +scoreboard players remove tmp.countdown board 1 +execute if score tmp.countdown board matches 1.. run function boatgun:gun/countdownmove \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/gun/die.mcfunction b/datapacks/item_gun/data/boatgun/functions/gun/die.mcfunction new file mode 100644 index 00000000..0b49ef4a --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/gun/die.mcfunction @@ -0,0 +1,2 @@ +scoreboard players reset @s +kill @s \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/gun/main.mcfunction b/datapacks/item_gun/data/boatgun/functions/gun/main.mcfunction new file mode 100644 index 00000000..378b46b3 --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/gun/main.mcfunction @@ -0,0 +1,3 @@ +scoreboard players operation tmp.countdown board = @s btw.gunspeed +# execute if score tmp.count +execute as @s at @s run function boatgun:gun/countdownmove diff --git a/datapacks/item_gun/data/boatgun/functions/gun/move.mcfunction b/datapacks/item_gun/data/boatgun/functions/gun/move.mcfunction new file mode 100644 index 00000000..3e01f632 --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/gun/move.mcfunction @@ -0,0 +1,17 @@ +execute if data entity @s {data:{team:1}} run particle minecraft:dust 0.059 0.973 0.439 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{team:2}} run particle minecraft:dust 0.973 0.059 0.059 1 ~ ~ ~ 0 0 0 1 1 + +execute if score @s PSTJ matches ..-1 run function boatgun:gun/die +execute if score @s PSTJ matches 0.. if block ^ ^ ^1 #gunblock run function boatgun:gun/die +execute if score @s PSTJ matches 0.. if block ^ ^ ^0.5 #gunblock run function boatgun:gun/die +# park.uuid +execute if score @s PSTJ matches 0.. run tp @s ^ ^ ^1 +execute if score @s PSTJ matches 0.. run function boatgun:gun/testfortarget +# Target TEAM B +# Target TEAM A +# say @a[tag=hitted] +execute if score @s PSTJ matches 0.. if data entity @s {data:{team:2}} if entity @a[team=btw.play.a,tag=hitted] run function boatgun:hit/b +execute if score @s PSTJ matches 0.. if data entity @s {data:{team:1}} if entity @a[team=btw.play.b,tag=hitted] run function boatgun:hit/a +# execute if score @s PSTJ matches 0.. run scoreboard players remove @s PSTJ 1 +tag @e[tag=hitted] remove hitted +execute if score @s PSTJ matches 0.. run scoreboard players remove @s PSTJ 1 \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/gun/testfortarget.mcfunction b/datapacks/item_gun/data/boatgun/functions/gun/testfortarget.mcfunction new file mode 100644 index 00000000..2246232e --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/gun/testfortarget.mcfunction @@ -0,0 +1,7 @@ +# execute positioned ~-0.5 ~ ~-0.5 run tag @e[dx=0.5,dy=2,dz=0.5,tag=pve.zombie] add hitted +# execute positioned ~ ~ ~ run tag @e[distance=..0.5,tag=pve.zombie] add hitted +tag @s add selel +execute as @e[distance=0..3,limit=1,team=btw.play.a,sort=nearest] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel] run tag @s add hitted +execute as @e[distance=0..3,limit=1,team=btw.play.b,sort=nearest] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel] run tag @s add hitted +# say @a[tag=hitted] +tag @s remove selel \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/hit/a.mcfunction b/datapacks/item_gun/data/boatgun/functions/hit/a.mcfunction new file mode 100644 index 00000000..b854e9bc --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/hit/a.mcfunction @@ -0,0 +1,22 @@ +tag @s add sel +tag @a[team=btw.play.b,tag=hitted] add seled +execute as @a[team=btw.play.a] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=btw.boat,type=boat] if score @s park.uuid = @a[tag=hitted,limit=1] park.uuid run tag @s add damage.boat +execute store result score tmp board run data get entity @s data.damage +execute if score tmp board matches ..0 run scoreboard players set tmp board 1 + + + +execute as @e[tag=damage.boat] at @s run scoreboard players operation @s btw.score -= tmp board +execute as @a[tag=seled] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=seled] at @s run playsound entity.player.hurt player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +scoreboard players add @a[tag=hit.player] btw.coin 10 +title @a[tag=seled] actionbar ["\u00a7c\u00a7l被击中。\u00a76剩余血量:",{"score":{"objective": "btw.score","name": "@e[tag=damage.boat,limit=1]"},"color": "gold"}] +tellraw @a[tag=hit.player] ["\u00a7c\u00a7l击中目标。\u00a76剩余血量:",{"score":{"objective": "btw.score","name": "@e[tag=damage.boat,limit=1]"},"color": "gold"}] +tag @a[tag=seled] remove seled +tag @s remove sel +tag @e[type=boat,tag=damage.boat] remove damage.boat +tag @a remove hit.player + +function boatgun:gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/hit/b.mcfunction b/datapacks/item_gun/data/boatgun/functions/hit/b.mcfunction new file mode 100644 index 00000000..bac693c1 --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/hit/b.mcfunction @@ -0,0 +1,21 @@ +tag @s add sel +tag @a[team=btw.play.a,tag=hitted] add seled +execute as @a[team=btw.play.b] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=btw.boat,type=boat] if score @s park.uuid = @a[tag=hitted,limit=1] park.uuid run tag @s add damage.boat +execute store result score tmp board run data get entity @s data.damage +execute if score tmp board matches ..0 run scoreboard players set tmp board 1 + + + +execute as @e[tag=damage.boat] at @s run scoreboard players operation @s btw.score -= tmp board +execute as @a[tag=seled] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=seled] at @s run playsound entity.player.hurt player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +scoreboard players add @a[tag=hit.player] btw.coin 10 +title @a[tag=seled] actionbar ["\u00a7c\u00a7l被击中。\u00a76剩余血量:",{"score":{"objective": "btw.score","name": "@e[tag=damage.boat,limit=1]"},"color": "gold"}] +tellraw @a[tag=hit.player] ["\u00a7c\u00a7l击中目标。\u00a76剩余血量:",{"score":{"objective": "btw.score","name": "@e[tag=damage.boat,limit=1]"},"color": "gold"}] +tag @a[tag=seled] remove seled +tag @s remove sel +tag @e[type=boat,tag=damage.boat] remove damage.boat +tag @a remove hit.player +function boatgun:gun/die diff --git a/datapacks/item_gun/data/boatgun/functions/shoot/a.mcfunction b/datapacks/item_gun/data/boatgun/functions/shoot/a.mcfunction new file mode 100644 index 00000000..06c7459c --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/shoot/a.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["boat.gun.line","gun.new"],data:{team:1}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +scoreboard players operation @e[tag=gun.new,limit=1] btw.gunspeed = @s btw.gunspeed +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 24 +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +# item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/boatgun/functions/shoot/b.mcfunction b/datapacks/item_gun/data/boatgun/functions/shoot/b.mcfunction new file mode 100644 index 00000000..18aec0f0 --- /dev/null +++ b/datapacks/item_gun/data/boatgun/functions/shoot/b.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["boat.gun.line","gun.new"],data:{team:2}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +scoreboard players operation @e[tag=gun.new,limit=1] btw.gunspeed = @s btw.gunspeed +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 24 +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +# item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/1/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/1/hit.mcfunction new file mode 100644 index 00000000..8115ade8 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/1/hit.mcfunction @@ -0,0 +1,26 @@ +tag @s add sel +execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=hitted,limit=1] unless data entity @s {Invulnerable:1b} run damage @s 3 minecraft:player_gun by @a[tag=hit.player,limit=1] +execute store result score tmp.health board as @e[tag=hitted] run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +# execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players remove tmp.health board 30 +execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+30\u00a76 Coins"] + +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] +data modify entity @e[tag=hitted,limit=1] AngryAt set from entity @s UUID +execute as @e[tag=hitted] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players add @s zombie.coin 30 +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/1/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/1/shoot.mcfunction new file mode 100644 index 00000000..b2ccf8bb --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/1/shoot.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:1}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed +scoreboard players set @e[tag=gun.new] PSTJ 15 +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/2/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/2/hit.mcfunction new file mode 100644 index 00000000..4752b4f8 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/2/hit.mcfunction @@ -0,0 +1,28 @@ +tag @s add sel +execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=hitted,limit=1] unless data entity @s {Invulnerable:1b} run damage @s 3 minecraft:player_gun by @a[tag=hit.player,limit=1] + +execute store result score tmp.health board as @e[tag=hitted] run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +# execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players remove tmp.health board 30 +execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+30\u00a76 Coins"] +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] +data merge entity @e[tag=hitted,limit=1] {Fire:20s} +data modify entity @e[tag=hitted,limit=1] AngryAt set from entity @s UUID +data merge entity @e[tag=hitted,limit=1] {AngerTime:540} +execute as @e[tag=hitted] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players add @s zombie.coin 30 +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/2/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/2/shoot.mcfunction new file mode 100644 index 00000000..f7ada399 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/2/shoot.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:2}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 25 +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/3/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/3/hit.mcfunction new file mode 100644 index 00000000..9bceda32 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/3/hit.mcfunction @@ -0,0 +1,28 @@ +tag @s add sel +execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=hitted,limit=1] unless data entity @s {Invulnerable:1b} run damage @s 6 minecraft:player_gun by @a[tag=hit.player,limit=1] + +execute store result score tmp.health board as @e[tag=hitted] run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +# execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players remove tmp.health board 60 +execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+60\u00a76 Coins"] +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] +data modify entity @e[tag=hitted,limit=1] Motion[1] set value 0.6 +data modify entity @e[tag=hitted,limit=1] AngryAt set from entity @s UUID +data merge entity @e[tag=hitted,limit=1] {AngerTime:540} +execute as @e[tag=hitted] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players add @s zombie.coin 60 +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/3/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/3/shoot.mcfunction new file mode 100644 index 00000000..34130e97 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/3/shoot.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:3}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 15 +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/4/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/4/shoot.mcfunction new file mode 100644 index 00000000..3ed7453b --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/4/shoot.mcfunction @@ -0,0 +1,14 @@ +tag @s add sel +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^0.25 {Tags:["f.tmp"]} +# execute if entity @s[team=job_pvp] anchored eyes run summon fireball ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +execute anchored eyes run summon fireball ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +execute as @e[tag=f.new] run data modify entity @s Owner set from entity @a[limit=1,sort=nearest,tag=sel] UUID +# execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,sort=nearest,tag=f.tmp] Pos +execute as @e[tag=f.new] run data modify entity @s power set from entity @e[limit=1,tag=f.tmp] Pos +tag @e[tag=f.new] remove f.new +# kill @e[type=snowball,distance=0..5,sort=nearest] +# scoreboard players reset @s fireball +kill @e[tag=f.tmp] +tag @a remove sel +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/5/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/5/shoot.mcfunction new file mode 100644 index 00000000..576f4257 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/5/shoot.mcfunction @@ -0,0 +1,15 @@ +tag @s add sel +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^2 {Tags:["f.tmp"]} +# execute if entity @s[team=job_pvp] anchored eyes run summon arrow ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +execute anchored eyes run summon arrow ^ ^ ^1 {Tags:["f.new"],SoundEvent:"minecraft:entity.player.attack.crit",damage:4,ShotFromCrossbow:1b} +execute as @e[tag=f.new] run data modify entity @s Owner set from entity @a[limit=1,sort=nearest,tag=sel] UUID +# execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,sort=nearest,tag=f.tmp] Pos +# execute as @e[tag=f.new] run data modify entity @s Rotation set from entity @e[limit=1,tag=f.tmp] Pos +execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,tag=f.tmp] Pos +tag @e[tag=f.new] remove f.new +# kill @e[type=snowball,distance=0..5,sort=nearest] +# scoreboard players reset @s fireball +kill @e[tag=f.tmp] +tag @a remove sel +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/6/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/6/hit.mcfunction new file mode 100644 index 00000000..a51559b5 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/6/hit.mcfunction @@ -0,0 +1,23 @@ +tag @s add sel +execute unless data entity @s {Invulnerable:1b} run damage @s 10 minecraft:player_gun by @a[tag=hit.player,limit=1] +execute store result score tmp.health board as @s run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +# execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players remove tmp.health board 30 +# execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+100\u00a76 Coins"] +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] + + +execute as @s at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players add @s zombie.coin 100 +tag @s remove sel +# say 1 \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/6/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/6/shoot.mcfunction new file mode 100644 index 00000000..8b3dadd6 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/6/shoot.mcfunction @@ -0,0 +1,16 @@ +tag @s add hit.player +execute as @e[tag=pve.zombie,distance=0..10] at @s run function gun/6/hit +# execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^3 {Tags:["f.tmp"]} +# # execute if entity @s[team=job_pvp] anchored eyes run summon fireball ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +# execute anchored eyes run summon shulker_bullet ^ ^ ^1 {Tags:["f.new"]} +# execute as @e[tag=f.new] run data modify entity @s Owner set from entity @a[limit=1,sort=nearest,tag=sel] UUID +# # execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,sort=nearest,tag=f.tmp] Pos +# execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,tag=f.tmp] Pos +# tag @e[tag=f.new] remove f.new +# # kill @e[type=snowball,distance=0..5,sort=nearest] +# # scoreboard players reset @s fireball +# kill @e[tag=f.tmp] +# tag @a remove sel +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun +tag @s remove hit.player \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/7/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/7/hit.mcfunction new file mode 100644 index 00000000..8115ade8 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/7/hit.mcfunction @@ -0,0 +1,26 @@ +tag @s add sel +execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=hitted,limit=1] unless data entity @s {Invulnerable:1b} run damage @s 3 minecraft:player_gun by @a[tag=hit.player,limit=1] +execute store result score tmp.health board as @e[tag=hitted] run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +# execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players remove tmp.health board 30 +execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+30\u00a76 Coins"] + +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] +data modify entity @e[tag=hitted,limit=1] AngryAt set from entity @s UUID +execute as @e[tag=hitted] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players add @s zombie.coin 30 +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/7/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/7/shoot.mcfunction new file mode 100644 index 00000000..69dea66c --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/7/shoot.mcfunction @@ -0,0 +1,29 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:7}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 30 +tag @e[tag=gun.new] remove gun.new +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed + +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:7}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ ~20 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 30 +tag @e[tag=gun.new] remove gun.new +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed + +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:7}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ ~-20 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 30 +tag @e[tag=gun.new] remove gun.new +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed + +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/countdownmove.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/countdownmove.mcfunction new file mode 100644 index 00000000..1d8b75f4 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/countdownmove.mcfunction @@ -0,0 +1,3 @@ +execute as @s at @s run function gun/move +scoreboard players remove tmp.countdown board 1 +execute if score tmp.countdown board matches 1.. run function gun/countdownmove \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/custom/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/custom/hit.mcfunction new file mode 100644 index 00000000..28f55afd --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/custom/hit.mcfunction @@ -0,0 +1,30 @@ +tag @s add sel +execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=hitted,limit=1] unless data entity @s {Invulnerable:1b} run damage @s 0.1 minecraft:player_gun by @a[tag=hit.player,limit=1] + +execute store result score tmp.health board as @e[tag=hitted] run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +execute store result score damage.tmp board run data get entity @s data.damage +scoreboard players remove damage.tmp board 1 +execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players operation tmp.health board -= damage.tmp board +execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+",{"score":{"name": "damage.tmp","objective": "board"},"color":"gold"},"\u00a76 Coins"] +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] + +execute as @e[tag=hitted] store result entity @s Health float 0.1 run scoreboard players get tmp.health board +execute as @e[tag=hitted] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players operation @s zombie.coin += damage.tmp board + +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/custom/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/custom/shoot.mcfunction new file mode 100644 index 00000000..51406835 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/custom/shoot.mcfunction @@ -0,0 +1,13 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:10}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute store result entity @e[tag=gun.new,limit=1] data.damage int 1 run data get entity @s SelectedItem.tag.damage +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #bwplace run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +execute store result score @e[tag=gun.new] PSTJ run data get entity @s SelectedItem.tag.distance + +execute store result score @e[tag=gun.new,limit=1] btw.gunspeed run data get entity @s SelectedItem.tag.speed + +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/die.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/die.mcfunction new file mode 100644 index 00000000..0b49ef4a --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/die.mcfunction @@ -0,0 +1,2 @@ +scoreboard players reset @s +kill @s \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/guns.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/guns.mcfunction new file mode 100644 index 00000000..7b4d156f --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/guns.mcfunction @@ -0,0 +1,6 @@ +execute as @s[team=play.zombie] run function zombieever/guntest +execute as @s[team=play.zombie,tag=success] run function gun/guns2 +execute unless entity @s[tag=success] run title @s actionbar ["\u00a7c没有足够的能量值"] +execute unless entity @s[tag=success] run playsound block.chest.locked player @s ~ ~ ~ 2 2 1 +tag @s remove success +# execute as @s[team=] run function zombieever/ diff --git a/datapacks/item_gun/data/minecraft/functions/gun/guns2.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/guns2.mcfunction new file mode 100644 index 00000000..8aaf58b1 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/guns2.mcfunction @@ -0,0 +1,49 @@ +# title @s actionbar ["\u00a7b\u00a7lSkills Actived"] +# playsound ui.button.click player @s ~ ~ ~ 1 2 1 +# /give @s minecraft:carrot_on_a_stick{gun:1,bullet:1000,cdtime:30} +# 自定义枪械: +# /give @s minecraft:carrot_on_a_stick{gun:"custom",damage:30,bullet:1000,cdtime:30,distance:20} +execute if entity @s[nbt={SelectedItem:{tag:{gun:1}}}] run tag @s add gun.1 +execute if entity @s[nbt={SelectedItem:{tag:{gun:2}}}] run tag @s add gun.2 +execute if entity @s[nbt={SelectedItem:{tag:{gun:3}}}] run tag @s add gun.3 +execute if entity @s[nbt={SelectedItem:{tag:{gun:4}}}] run tag @s add gun.4 +execute if entity @s[nbt={SelectedItem:{tag:{gun:5}}}] run tag @s add gun.5 +execute if entity @s[nbt={SelectedItem:{tag:{gun:6}}}] run tag @s add gun.6 +execute if entity @s[nbt={SelectedItem:{tag:{gun:7}}}] run tag @s add gun.7 +execute if entity @s[nbt={SelectedItem:{tag:{gun:8}}}] run tag @s add gun.8 +execute if entity @s[nbt={SelectedItem:{tag:{gun:9}}}] run tag @s add gun.9 +execute if entity @s[nbt={SelectedItem:{tag:{gun:-10}}}] run tag @s add gun.f10 +execute if entity @s[nbt={SelectedItem:{tag:{gun:"custom"}}}] run tag @s add gun.10 +execute if entity @s[nbt={SelectedItem:{tag:{gun:"pao"}}}] run tag @s add gun.11 + +execute as @s[tag=gun.f10] at @s run function zombieever/addcoin + +execute store result score gun.tmp board as @s at @s run data get entity @s SelectedItem.tag.bullet +execute store result score @s cooldowntime as @s at @s run data get entity @s SelectedItem.tag.cdtime +execute if score gun.tmp board matches 1.. run tag @s add gun.canshoot +# execute unless score gun.tmp board matches 1.. run title @s actionbar ["\u00a7c☼ 弹药不足 ☼"] +execute unless score gun.tmp board matches 1.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=gun.canshoot] run scoreboard players remove gun.tmp board 1 +execute as @s[tag=gun.canshoot] run execute store result storage gun:tmp count int 1 run scoreboard players get gun.tmp board +# execute as @s[tag=gun.canshoot] run xp add @s -1 levels +# execute as @s[tag=gun.canshoot] run title @s actionbar [{"score":{"name": "gun.tmp","objective": "board"},"color":"green"}," Amo\u00a7e Rest"] +execute as @s[tag=gun.1,tag=gun.canshoot] run function gun/1/shoot +execute as @s[tag=gun.10,tag=gun.canshoot] run function gun/custom/shoot +execute as @s[tag=gun.2,tag=gun.canshoot] run function gun/2/shoot +execute as @s[tag=gun.3,tag=gun.canshoot] run function gun/3/shoot +execute as @s[tag=gun.4,tag=gun.canshoot] run function gun/4/shoot +execute as @s[tag=gun.5,tag=gun.canshoot] run function gun/5/shoot +execute as @s[tag=gun.6,tag=gun.canshoot] run function gun/6/shoot +execute as @s[tag=gun.7,tag=gun.canshoot] run function gun/7/shoot +execute as @s[tag=gun.11,tag=gun.canshoot] run function gun/pao/shoot +tag @s remove gun.1 +tag @s remove gun.2 +tag @s remove gun.3 +tag @s remove gun.4 +tag @s remove gun.5 +tag @s remove gun.6 +tag @s remove gun.7 +tag @s remove gun.10 +tag @s remove gun.f10 +tag @s remove gun.11 +tag @s remove gun.canshoot \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/job_1/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/job_1/hit.mcfunction new file mode 100644 index 00000000..cf4fbf94 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/job_1/hit.mcfunction @@ -0,0 +1,20 @@ +tag @s add sel +execute as @a[team=job_pvp] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player + +damage @a[tag=hitted,limit=1] 1 minecraft:player_gun by @a[tag=hit.player,limit=1] +tellraw @a[tag=hit.player] ["\u00a78你击中了 ",{"selector":"@a[tag=hitted]"}] +tellraw @a[tag=hitted] ["\u00a78你被定住了。"] +title @a[tag=hitted] title ["\u00a7c你被定住了。"] +title @a[tag=hitted] subtitle ["\u00a7e来自 ",{"selector":"@a[tag=hit.player]"}," \u00a7e的技能"] + +# effect give @a[tag=hitted] jump_boost 6 128 true +effect give @a[tag=hitted] slowness 6 128 true +effect give @a[tag=hitted] blindness 6 128 true + +execute as @a[tag=hitted] at @s run playsound block.chest.close player @s ~ ~ ~ 1 2 0.5 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 + +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/job_1/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/job_1/shoot.mcfunction new file mode 100644 index 00000000..7ffd318e --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/job_1/shoot.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:-1}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #bwplace run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 15 +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +# item modify entity @s weapon.mainhand usegun +xp set @s 20 levels \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/job_2/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/job_2/hit.mcfunction new file mode 100644 index 00000000..b80cc6a0 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/job_2/hit.mcfunction @@ -0,0 +1,26 @@ +tag @s add sel +execute as @a[team=job_pvp] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player + +damage @a[tag=hitted,limit=1] 1 minecraft:sonic_boom by @a[tag=hit.player,limit=1] + +tellraw @a[tag=hit.player] ["\u00a78你与 ",{"selector":"@a[tag=hitted]"}," \u00a78交换了位置。"] +tellraw @a[tag=hitted] ["\u00a78你与 ",{"selector":"@a[tag=hit.player]"}," 交换了位置。"] +title @a[tag=hitted] title ["\u00a7c你交换了位置。"] +title @a[tag=hitted] subtitle ["\u00a7e来自 ",{"selector":"@a[tag=hit.player]"}," \u00a7e的技能"] + +# effect give @a[tag=hitted] jump_boost 6 128 true +# effect give @a[tag=hitted] levitation 1 25 true +execute as @a[tag=hitted] at @s run summon marker ~ ~ ~ {Tags:["pvp.tptmp"]} +tp @e[type=marker,tag=pvp.tptmp,limit=1] @a[tag=hitted,limit=1] +execute as @a[tag=hitted] run tp @s @a[tag=hit.player,limit=1] +execute as @a[tag=hit.player] run tp @s @e[tag=pvp.tptmp,limit=1] +# effect give @a[tag=hitted] blindness 2 128 true + +kill @e[type=marker,tag=pvp.tptmp] +execute as @a[tag=hitted] at @s run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 0.5 + +tag @a remove hit.player +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/job_2/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/job_2/shoot.mcfunction new file mode 100644 index 00000000..46e7ad85 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/job_2/shoot.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:-2}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #bwplace run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 40 +tag @e[tag=gun.new] remove gun.new +playsound minecraft:entity.ender_dragon.flap player @s ~ ~ ~ 1 1 1 +# item modify entity @s weapon.mainhand usegun +xp set @s 10 levels \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/main.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/main.mcfunction new file mode 100644 index 00000000..316c7abb --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/main.mcfunction @@ -0,0 +1,3 @@ +scoreboard players operation tmp.countdown board = @s btw.gunspeed +# execute if score tmp.count +execute as @s at @s run function gun/countdownmove diff --git a/datapacks/item_gun/data/minecraft/functions/gun/move.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/move.mcfunction new file mode 100644 index 00000000..e1144fad --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/move.mcfunction @@ -0,0 +1,33 @@ +execute if data entity @s {data:{guntype:1}} run particle minecraft:dust 0.059 0.973 0.439 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:7}} run particle minecraft:dust 0.404 0.459 0.427 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:10}} run particle minecraft:dust 0.973 0.545 0.059 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:2}} run particle minecraft:lava ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:3}} run particle minecraft:dust 0.82 0.059 0.973 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:-1}} run particle minecraft:dust 1 0.125 0.533 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:-2}} run particle minecraft:dust 0.455 0.204 0.322 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:11}} run particle minecraft:dust 0.455 0.204 0.322 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:12}} run particle minecraft:dust 0 1 0.835 1 ~ ~ ~ 0 0 0 1 1 +execute if data entity @s {data:{guntype:11}} run particle minecraft:campfire_signal_smoke ~ ~ ~ 0.5 0.5 0.5 0 6 normal +execute if score @s PSTJ matches ..-1 run function gun/die +execute if score @s PSTJ matches 0.. if block ^ ^ ^1 #gunblock run function gun/die +execute if score @s PSTJ matches 0.. if block ^ ^ ^0.5 #gunblock run function gun/die +# park.uuid +execute if score @s PSTJ matches 0.. run tp @s ^ ^ ^1 +execute unless data entity @s {data:{guntype:12}} if score @s PSTJ matches 0.. run function gun/testfortarget +execute unless data entity @s {data:{guntype:12}} if score @s PSTJ matches 0.. run function gun/testfortarget2 +execute if data entity @s {data:{guntype:11}} if score @s PSTJ matches 0.. at @s run function gun/testfortarget3 + +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:7}} if entity @e[tag=pve.zombie,tag=hitted] run function gun/7/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:1}} if entity @e[tag=pve.zombie,tag=hitted] run function gun/1/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:2}} if entity @e[tag=pve.zombie,tag=hitted] run function gun/2/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:3}} if entity @e[tag=pve.zombie,tag=hitted] run function gun/3/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:10}} if entity @e[tag=pve.zombie,tag=hitted] run function gun/custom/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:11}} if entity @e[tag=pve.zombie,tag=hitted] run function gun/pao/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:12}} if entity @e[team=play.zombie,tag=hitted] run function gun/zombiegun/hit +# execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:11}} if entity @a[tag=pve.zombie,tag=hitted] run say hi + +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:-1}} if entity @a[team=job_pvp,tag=hitted] run function gun/job_1/hit +execute if score @s PSTJ matches 0.. if data entity @s {data:{guntype:-2}} if entity @a[team=job_pvp,tag=hitted] run function gun/job_2/hit +tag @e[tag=hitted] remove hitted +# execute if score @s PSTJ matches 0.. run scoreboard players remove @s PSTJ 1 +execute if score @s PSTJ matches 0.. run scoreboard players remove @s PSTJ 1 \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/pao/foreach.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/pao/foreach.mcfunction new file mode 100644 index 00000000..3e14c755 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/pao/foreach.mcfunction @@ -0,0 +1,30 @@ + +execute store result score tmp.health board as @e[tag=hitted,limit=1,sort=nearest] run data get entity @s Health 10 +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +execute store result score damage.tmp board run data get entity @s data.damage +# scoreboard players remove damage.tmp board 1 +execute unless data entity @e[tag=hitted,limit=1,sort=nearest] {Invulnerable:1b} run scoreboard players operation tmp.health board -= damage.tmp board +scoreboard players add tmp.health board 1 + +execute if score tmp.health board matches ..0 run scoreboard players set tmp.health board 0 +scoreboard players set 10 board 10 +scoreboard players operation tmp.health.calc1 board = tmp.health board +scoreboard players operation tmp.health.calc2 board = tmp.health board +scoreboard players operation tmp.health.calc2 board %= 10 board +scoreboard players operation tmp.health.calc1 board /= 10 board +scoreboard players add tmp.health.calc1 board 0 +scoreboard players add tmp.health.calc2 board 0 +tellraw @a[tag=hit.player] ["\u00a76+",{"score":{"name": "damage.tmp","objective": "board"},"color":"gold"},"\u00a76 Coins"] +tellraw @a[tag=hit.player] ["\u00a78 - 剩余血量:",{"score":{"objective": "board","name": "tmp.health.calc1"},"color":"yellow"},".",{"score":{"objective": "board","name": "tmp.health.calc2"},"color":"yellow"},"\u00a7c♥"] + +execute as @e[tag=hitted,limit=1,sort=nearest] store result entity @s Health float 0.1 run scoreboard players get tmp.health board +data modify entity @e[tag=hitted,limit=1,sort=nearest] AngryAt set from entity @s UUID +data merge entity @e[tag=hitted,limit=1,sort=nearest] {AngerTime:540} +execute as @e[tag=hitted,limit=1,sort=nearest] at @s run particle minecraft:block redstone_block ~ ~1.5 ~ 0 0 0 1 10 +execute as @a[tag=hit.player] at @s run playsound entity.arrow.hit_player player @s ~ ~ ~ 1 1 0.5 +execute as @a[tag=hit.player] at @s run scoreboard players operation @s zombie.coin += damage.tmp board + +tag @a remove hit.player +tag @s remove sel +# say 1 \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/pao/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/pao/hit.mcfunction new file mode 100644 index 00000000..c91dd9a7 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/pao/hit.mcfunction @@ -0,0 +1,6 @@ + +tag @s add sel +execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player +execute as @e[tag=hitted] unless data entity @s {Invulnerable:1b} run damage @s 0.1 minecraft:player_gun by @a[tag=hit.player,limit=1] +execute as @e[tag=hitted] run execute as @e[tag=sel,limit=1] at @s run function gun/pao/foreach +function gun/die diff --git a/datapacks/item_gun/data/minecraft/functions/gun/pao/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/pao/shoot.mcfunction new file mode 100644 index 00000000..b183365c --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/pao/shoot.mcfunction @@ -0,0 +1,10 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:11}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute store result entity @e[tag=gun.new,limit=1] data.damage int 1 run data get entity @s SelectedItem.tag.damage +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #bwplace run tp @s ^ ^ ^0.5 +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +execute store result score @e[tag=gun.new] PSTJ run data get entity @s SelectedItem.tag.distance +tag @e[tag=gun.new] remove gun.new +playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/test/undiedvillage.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/test/undiedvillage.mcfunction new file mode 100644 index 00000000..6225d093 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/test/undiedvillage.mcfunction @@ -0,0 +1 @@ +summon minecraft:villager ~ ~ ~ {Invulnerable:1b,Health:100f,Attributes:[{Base:100d,Name:"generic.max_health"}],VillagerData:{profession:"minecraft:armorer",type:"minecraft:desert"},NoAI:1b,Tags:["pve.zombie"]} \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/test/undiedzombie.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/test/undiedzombie.mcfunction new file mode 100644 index 00000000..d7edf5e5 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/test/undiedzombie.mcfunction @@ -0,0 +1 @@ +summon minecraft:zombie ~ ~ ~ {Invulnerable:1b,Health:100f,Attributes:[{Base:100d,Name:"generic.max_health"}],VillagerData:{profession:"minecraft:armorer",type:"minecraft:desert"},NoAI:1b,Tags:["pve.zombie"]} \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/test/zombie.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/test/zombie.mcfunction new file mode 100644 index 00000000..70407da5 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/test/zombie.mcfunction @@ -0,0 +1 @@ +summon minecraft:zombie ~ ~ ~ {Health:100f,Attributes:[{Base:100d,Name:"generic.max_health"}],NoAI:1b,Tags:["pve.zombie"]} \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/testfortarget.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget.mcfunction new file mode 100644 index 00000000..3f01eb2d --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget.mcfunction @@ -0,0 +1,5 @@ +# execute positioned ~-0.5 ~ ~-0.5 run tag @e[dx=0.5,dy=2,dz=0.5,tag=pve.zombie] add hitted +# execute positioned ~ ~ ~ run tag @e[distance=..0.5,tag=pve.zombie] add hitted +tag @s add selel +execute as @e[distance=0..3,limit=1,tag=pve.zombie,sort=nearest,tag=!pve.gunfree] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel] run tag @s add hitted +tag @s remove selel \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/testfortarget2.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget2.mcfunction new file mode 100644 index 00000000..544d945a --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget2.mcfunction @@ -0,0 +1,10 @@ +# execute positioned ~-0.5 ~ ~-0.5 run tag @e[dx=0.5,dy=2,dz=0.5,tag=pve.zombie] add hitted +# execute positioned ~ ~ ~ run tag @e[distance=..0.5,tag=pve.zombie] add hitted +tag @s add selel +execute as @a[distance=0..3,limit=1,team=job_pvp,sort=nearest] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel] run tag @s add hitted +# execute as @a[distance=0..3,limit=1,team=job_pvp,sort=nearest] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel] run say hello @s +# say hello1 @a[tag=hitted] +execute as @a[tag=hitted] if score @s park.uuid = @e[tag=selel,limit=1] park.uuid run tag @s remove hitted +# say hello2 @a[tag=hitted] +# execute as @a[tag=hitted] if score @s park.uuid = @e[tag=selel,limit=1] park.uuid run tellraw wifi_left [{"score":{"name": "@e[tag=selel,limit=1]","objective": "park.uuid"}}] +tag @s remove selel \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/testfortarget3.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget3.mcfunction new file mode 100644 index 00000000..bdff0bd7 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget3.mcfunction @@ -0,0 +1,8 @@ +# execute positioned ~-0.5 ~ ~-0.5 run tag @e[dx=0.5,dy=2,dz=0.5,tag=pve.zombie] add hitted +# execute positioned ~ ~ ~ run tag @e[distance=..0.5,tag=pve.zombie] add hitted +tag @s add selel +execute as @e[distance=0..7,limit=1,tag=pve.zombie,sort=nearest,tag=!hitted,tag=!pve.gunfree] at @s positioned ~-1 ~-1 ~-1 if entity @e[dx=7,dy=4,dz=7,tag=selel] run tag @s add hitted +# execute as @e[distance=0..5,limit=1,tag=pve.zombie,sort=nearest] at @s positioned ~-1 ~-1 ~-1 run say hi @e[dx=7,dy=4,dz=7,tag=selel] + +tag @s remove selel +# say hi @a[tag=hitted] \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/testfortarget4.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget4.mcfunction new file mode 100644 index 00000000..8dc919f0 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/testfortarget4.mcfunction @@ -0,0 +1,12 @@ +# execute positioned ~-0.5 ~ ~-0.5 run tag @e[dx=0.5,dy=2,dz=0.5,tag=pve.zombie] add hitted +# execute positioned ~ ~ ~ run tag @e[distance=..0.5,tag=pve.zombie] add hitted +tag @s add selel +execute as @a[distance=0..3,limit=1,team=play.zombie,sort=nearest,gamemode=adventure] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel,tag=!pve.gunfree] run tag @s add hitted +# execute as @a[distance=0..3,limit=1,team=play.zombie,sort=nearest,gamemode=adventure] at @s positioned ~-0.5 ~ ~-0.5 run say hi @e[dx=1,dy=2,dz=1,tag=selel] +# say @e[tag=hitted] +# execute as @a[distance=0..3,limit=1,team=job_pvp,sort=nearest] at @s positioned ~-0.5 ~ ~-0.5 if entity @e[dx=1,dy=2,dz=1,tag=selel] run say hello @s +# say hello1 @a[tag=hitted] +# execute as @a[tag=hitted] if score @s park.uuid = @e[tag=selel,limit=1] park.uuid run tag @s remove hitted +# say hello2 @a[tag=hitted] +# execute as @a[tag=hitted] if score @s park.uuid = @e[tag=selel,limit=1] park.uuid run tellraw wifi_left [{"score":{"name": "@e[tag=selel,limit=1]","objective": "park.uuid"}}] +tag @s remove selel \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/zombiegun/hit.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/zombiegun/hit.mcfunction new file mode 100644 index 00000000..2b5f006d --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/zombiegun/hit.mcfunction @@ -0,0 +1,13 @@ +tag @s add sel +# execute as @a[team=play.zombie] if score @s park.uuid = @e[tag=sel,limit=1] park.uuid run tag @s add hit.player + +execute as @e[tag=hitted] at @s run damage @s 3 minecraft:player_gun +# tellraw @a[tag=hit.player] ["\u00a7c 剩余",{"score":{"objective": "board","name": "@s"},"color":"yellow"},"\u00a7c♥"] +# scoreboard players set tmp.health board 0 +# execute unless data entity @e[tag=hitted,limit=1] {Invulnerable:1b} run scoreboard players remove tmp.health board 30 +execute as @e[tag=hitted] store result entity @s Health float 0.1 run scoreboard players get tmp.health board +execute as @e[tag=hitted] at @s run playsound minecraft:block.metal.hit player @s ~ ~ ~ 1 1 1 +# tag @e[tag=hitted] remove hitted +tag @s remove sel +# say 1 +function gun/die \ No newline at end of file diff --git a/datapacks/item_gun/data/minecraft/functions/gun/zombiegun/shoot.mcfunction b/datapacks/item_gun/data/minecraft/functions/gun/zombiegun/shoot.mcfunction new file mode 100644 index 00000000..0d88dfa4 --- /dev/null +++ b/datapacks/item_gun/data/minecraft/functions/gun/zombiegun/shoot.mcfunction @@ -0,0 +1,8 @@ +summon marker ~ ~ ~ {Tags:["gun.line","gun.new"],data:{guntype:12}} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1.6 ~ +execute as @e[tag=gun.new] at @s unless block ^ ^ ^0.5 #gunblock run tp @s ^ ^ ^0.5 +scoreboard players set @e[tag=gun.new] PSTJ 20 +tag @e[tag=gun.new] remove gun.new +# playsound minecraft:block.piston.contract player @s ~ ~ ~ 1 2 1 +# item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/item_gun/pack.mcmeta b/datapacks/item_gun/pack.mcmeta new file mode 100644 index 00000000..a4f91cd0 --- /dev/null +++ b/datapacks/item_gun/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 16, + "description": "枪械模块" + } +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/advancements/hunger/player_was_killed.json b/datapacks/map_all/data/minecraft/advancements/hunger/player_was_killed.json new file mode 100644 index 00000000..c38f33dd --- /dev/null +++ b/datapacks/map_all/data/minecraft/advancements/hunger/player_was_killed.json @@ -0,0 +1,20 @@ +{ + "criteria": { + "player_died": { + "trigger": "minecraft:entity_killed_player", + "conditions": { + "player": { + "team": "hunger" + } + } + } + }, + "requirements": [ + [ + "player_died" + ] + ], + "rewards": { + "function": "hunger/lootitem" + } +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/advancements/player_hit_ball.json b/datapacks/map_all/data/minecraft/advancements/player_hit_ball.json new file mode 100644 index 00000000..e4e989d3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/advancements/player_hit_ball.json @@ -0,0 +1,21 @@ +{ + "criteria": { + "player_hit_entity": { + "trigger": "minecraft:player_hurt_entity", + "conditions": { + "entity": { + "team": "golf", + "type": "zombie" + } + } + } + }, + "requirements": [ + [ + "player_hit_entity" + ] + ], + "rewards": { + "function": "minecraft:golf/player_hit_ball" + } +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/addscore/blue.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/addscore/blue.mcfunction new file mode 100644 index 00000000..9318ba6b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/addscore/blue.mcfunction @@ -0,0 +1,15 @@ +scoreboard players add battle.score.b board 1 +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel + +tellraw @a[tag=battle.sel] ["\n \u00a7a本局,\u00a7b蓝队\u00a7a胜利,获得一分。\n"] +title @a[tag=battle.sel] title ["\u00a76回合结束"] +title @a[tag=battle.sel] subtitle ["\u00a7b蓝队得分"] + +gamemode spectator @a[tag=battle.sel] +tag @a remove battle.sel +function battle/trynextround + +# scoreboard players set battle.state state 2 +# schedule function battle/nextround 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/addscore/none.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/addscore/none.mcfunction new file mode 100644 index 00000000..480656b2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/addscore/none.mcfunction @@ -0,0 +1,15 @@ +# scoreboard players add battle.score.b board 1 +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel + +tellraw @a[tag=battle.sel] ["\n \u00a7a本局,\u00a76平局。\n"] +title @a[tag=battle.sel] title ["\u00a76回合结束"] +title @a[tag=battle.sel] subtitle ["\u00a76平局"] + +gamemode spectator @a[tag=battle.sel] +tag @a remove battle.sel +function battle/trynextround + +# scoreboard players set battle.state state 2 +# schedule function battle/nextround 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/addscore/red.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/addscore/red.mcfunction new file mode 100644 index 00000000..17dc7062 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/addscore/red.mcfunction @@ -0,0 +1,14 @@ +scoreboard players add battle.score.r board 1 +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel + +tellraw @a[tag=battle.sel] ["\n \u00a7a本局,\u00a7d红队\u00a7a胜利,获得一分。\n"] +title @a[tag=battle.sel] title ["\u00a76回合结束"] +title @a[tag=battle.sel] subtitle ["\u00a7d红队得分"] + +gamemode spectator @a[tag=battle.sel] +tag @a remove battle.sel +# scoreboard players set battle.state state 2 +# schedule function battle/nextround 5s +function battle/trynextround diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/auto.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/auto.mcfunction new file mode 100644 index 00000000..2f81ee86 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/auto.mcfunction @@ -0,0 +1,11 @@ +tellraw @s ["\n\u00a7c选择超时,已自动选择。\n"] + +execute as @s[team=play.battle.b,tag=battle.notready] run function battle/choose/blue/axe +execute as @s[team=play.battle.b,tag=battle.notready] run function battle/choose/blue/csb_m +execute as @s[team=play.battle.b,tag=battle.notready] run function battle/choose/blue/csb_zt +execute as @s[team=play.battle.b,tag=battle.notready] run function battle/choose/blue/stw + +execute as @s[team=play.battle.r,tag=battle.notready] run function battle/choose/red/axe +execute as @s[team=play.battle.r,tag=battle.notready] run function battle/choose/red/csb_m +execute as @s[team=play.battle.r,tag=battle.notready] run function battle/choose/red/csb_zt +execute as @s[team=play.battle.r,tag=battle.notready] run function battle/choose/red/stw \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/blue/axe.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/axe.mcfunction new file mode 100644 index 00000000..f02ee40d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/axe.mcfunction @@ -0,0 +1,5 @@ +execute if score battle.item.a.1 board matches 1.. run function battle/item/axe + +execute if score battle.item.a.1 board matches 1.. run function battle/choose/tp +execute if score battle.item.a.1 board matches 1.. run scoreboard players remove battle.item.a.1 board 1 +execute if score battle.item.a.1 board matches ..0 run setblock 150 44 -312 redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/blue/csb_m.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/csb_m.mcfunction new file mode 100644 index 00000000..831e2a10 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/csb_m.mcfunction @@ -0,0 +1,5 @@ +execute if score battle.item.a.2 board matches 1.. run function battle/item/crossbow_multi +# execute if score battle.item.a.2 board matches 1.. run setblock 147 44 -312 redstone_block +execute if score battle.item.a.2 board matches 1.. run function battle/choose/tp +execute if score battle.item.a.2 board matches 1.. run scoreboard players remove battle.item.a.2 board 1 +execute if score battle.item.a.2 board matches ..0 run setblock 147 44 -312 redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/blue/csb_zt.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/csb_zt.mcfunction new file mode 100644 index 00000000..22e1bd54 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/csb_zt.mcfunction @@ -0,0 +1,4 @@ +execute if score battle.item.a.3 board matches 1.. run function battle/item/crossbow_zt +execute if score battle.item.a.3 board matches 1.. run function battle/choose/tp +execute if score battle.item.a.3 board matches 1.. run scoreboard players remove battle.item.a.3 board 1 +execute if score battle.item.a.3 board matches ..0 run setblock 144 44 -312 redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/blue/stw.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/stw.mcfunction new file mode 100644 index 00000000..37b616fb --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/blue/stw.mcfunction @@ -0,0 +1,4 @@ +execute if score battle.item.a.4 board matches 1.. run function battle/item/stone_sword +execute if score battle.item.a.4 board matches 1.. run function battle/choose/tp +execute if score battle.item.a.4 board matches 1.. run scoreboard players remove battle.item.a.4 board 1 +execute if score battle.item.a.4 board matches ..0 run setblock 141 44 -312 redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/red/axe.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/red/axe.mcfunction new file mode 100644 index 00000000..49f57ab3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/red/axe.mcfunction @@ -0,0 +1,4 @@ +execute if score battle.item.b.1 board matches 1.. run function battle/item/axe +execute if score battle.item.b.1 board matches 1.. run function battle/choose/tp +execute if score battle.item.b.1 board matches 1.. run scoreboard players remove battle.item.b.1 board 1 +execute if score battle.item.b.1 board matches ..0 run setblock 138 44 -368 minecraft:redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/red/csb_m.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/red/csb_m.mcfunction new file mode 100644 index 00000000..407c43b9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/red/csb_m.mcfunction @@ -0,0 +1,4 @@ +execute if score battle.item.b.2 board matches 1.. run function battle/item/crossbow_multi +execute if score battle.item.b.2 board matches 1.. run function battle/choose/tp +execute if score battle.item.b.2 board matches 1.. run scoreboard players remove battle.item.b.2 board 1 +execute if score battle.item.b.2 board matches ..0 run setblock 141 44 -368 minecraft:redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/red/csb_zt.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/red/csb_zt.mcfunction new file mode 100644 index 00000000..379dd5bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/red/csb_zt.mcfunction @@ -0,0 +1,4 @@ +execute if score battle.item.b.3 board matches 1.. run function battle/item/crossbow_zt +execute if score battle.item.b.3 board matches 1.. run function battle/choose/tp +execute if score battle.item.b.3 board matches 1.. run scoreboard players remove battle.item.b.3 board 1 +execute if score battle.item.b.3 board matches ..0 run setblock 144 44 -368 minecraft:redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/red/stw.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/red/stw.mcfunction new file mode 100644 index 00000000..e4ffe973 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/red/stw.mcfunction @@ -0,0 +1,4 @@ +execute if score battle.item.b.4 board matches 1.. run function battle/item/stone_sword +execute if score battle.item.b.4 board matches 1.. run function battle/choose/tp +execute if score battle.item.b.4 board matches 1.. run scoreboard players remove battle.item.b.4 board 1 +execute if score battle.item.b.4 board matches ..0 run setblock 147 44 -368 minecraft:redstone_block diff --git a/datapacks/map_all/data/minecraft/functions/battle/choose/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/choose/tp.mcfunction new file mode 100644 index 00000000..3f0c0077 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/choose/tp.mcfunction @@ -0,0 +1,5 @@ +tp @s[team=play.battle.b] 144 35 -321 180 0 +tp @s[team=play.battle.r] 144 35 -359 0 0 +gamemode spectator @s[team=wait.battle] +give @s arrow{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63} 5 +tag @s remove battle.notready \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/debug/sign.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/debug/sign.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/battle/died.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/died.mcfunction new file mode 100644 index 00000000..80a239b6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/died.mcfunction @@ -0,0 +1,4 @@ +gamemode spectator @s +title @s title ["\u00a7c你死了"] +title @s subtitle ["\u00a7e请等待回合结束。"] +tp @s 144 40 -340 0 90 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/entitygetranpotion.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/entitygetranpotion.mcfunction new file mode 100644 index 00000000..a2b0ccd2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/entitygetranpotion.mcfunction @@ -0,0 +1,16 @@ +# tag=potion.speed, +# tag=potion.jump, +# tag=potion.strength, +# tag=potion.slowfall, +# tag=potion.resistance, +scoreboard players operation random board = @e[limit=1,tag=random_saying,sort=random,scores={board=1..8}] board +execute if score random board matches 1 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"speed",duration:200,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f速度药水"'}},Count:1b}} +execute if score random board matches 2 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"slowness",duration:200,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f缓慢药水"'}},Count:1b}} +execute if score random board matches 3 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"haste",duration:200,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f急迫药水"'}},Count:1b}} +execute if score random board matches 4 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"mining_fatigue",duration:200,amplifier:1b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f挖掘疲劳药水"'}},Count:1b}} +execute if score random board matches 5 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"strength",duration:200,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f力量药水"'}},Count:1b}} +execute if score random board matches 6 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"instant_health",duration:1,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f治疗药水"'}},Count:1b}} +execute if score random board matches 7 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"instant_damage",duration:1,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7f瞬间伤害药水"'}},Count:1b}} +execute if score random board matches 8 run summon item ~ ~0.5 ~ {Item:{id:"minecraft:splash_potion",tag:{custom_potion_effects:[{id:"jump_boost",duration:200,amplifier:0b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7a跳跃药水"'}},Count:1b}} +# say hi~ +kill @e[type=armor_stand,tag=battle.ranpotion] diff --git a/datapacks/map_all/data/minecraft/functions/battle/item/axe.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/item/axe.mcfunction new file mode 100644 index 00000000..e79b4018 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/item/axe.mcfunction @@ -0,0 +1,2 @@ +give @s wooden_axe{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63,display:{Lore:['""','"\\u00a77在主手时:"','"\\u00a72 7 攻击伤害"','"\\u00a72 0.8 攻击速度"']},Enchantments:[{id:"knockback",lvl:2}]} +# scoreboard players remove battle.item.1 board 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/item/crossbow_multi.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/item/crossbow_multi.mcfunction new file mode 100644 index 00000000..202fda9c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/item/crossbow_multi.mcfunction @@ -0,0 +1,3 @@ +clear @s bow +give @s crossbow{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63,Enchantments:[{id:"multishot",lvl:1}]} +# scoreboard players remove battle.item.2 board 1 diff --git a/datapacks/map_all/data/minecraft/functions/battle/item/crossbow_zt.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/item/crossbow_zt.mcfunction new file mode 100644 index 00000000..51a36f69 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/item/crossbow_zt.mcfunction @@ -0,0 +1,3 @@ +clear @s bow +give @s crossbow{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63,Enchantments:[{id:"quick_charge",lvl:1}]} +# scoreboard players remove battle.item.3 board 1 diff --git a/datapacks/map_all/data/minecraft/functions/battle/item/normal.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/item/normal.mcfunction new file mode 100644 index 00000000..f0218f1d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/item/normal.mcfunction @@ -0,0 +1,11 @@ +# 木剑,弓,箭*5,皮靴,剪刀,自己颜色的羊毛*64(羊毛只能中间放) +# 钮可以选择,选择后自动进入等待区域 +# 弩(装填1),弩(多重射击),石剑,木斧(击退2) +clear @s +give @s wooden_sword{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63,display:{Lore:['""','"\\u00a77在主手时:"','"\\u00a72 4 攻击伤害"','"\\u00a72 1.6 攻击速度"']}} +give @s shears{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63} +give @s[team=play.battle.r] red_wool{CanDestroy:["white_wool","blue_wool","red_wool"],CanPlaceOn:["sea_lantern","white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63} 64 +give @s[team=play.battle.b] blue_wool{CanDestroy:["white_wool","blue_wool","red_wool"],CanPlaceOn:["sea_lantern","white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63} 64 +give @s bow{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63} + +item replace entity @s armor.feet with leather_boots{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63} diff --git a/datapacks/map_all/data/minecraft/functions/battle/item/stone_sword.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/item/stone_sword.mcfunction new file mode 100644 index 00000000..7debf15c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/item/stone_sword.mcfunction @@ -0,0 +1,3 @@ +clear @s wooden_sword +give @s stone_sword{CanDestroy:["white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63,display:{Lore:['""','"\\u00a77在主手时:"','"\\u00a72 5 攻击伤害"','"\\u00a72 1.6 攻击速度"']}} +# scoreboard players remove battle.item.4 board 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/itemdatamerge.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/itemdatamerge.mcfunction new file mode 100644 index 00000000..b37b303a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/itemdatamerge.mcfunction @@ -0,0 +1,5 @@ +data modify entity @s Owner set from entity @s Thrower +data merge entity @s {PickupDelay:0} +execute if data entity @s {Item:{id:"minecraft:white_wool"}} run kill @s +execute if data entity @s {Item:{id:"minecraft:blue_wool"}} run data merge entity @s {Item:{tag:{CanDestroy:["white_wool","blue_wool","red_wool"],CanPlaceOn:["sea_lantern","white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63}}} +execute if data entity @s {Item:{id:"minecraft:red_wool"}} run data merge entity @s {Item:{tag:{CanDestroy:["white_wool","blue_wool","red_wool"],CanPlaceOn:["sea_lantern","white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63}}} diff --git a/datapacks/map_all/data/minecraft/functions/battle/join.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/join.mcfunction new file mode 100644 index 00000000..e6ebfec2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/join.mcfunction @@ -0,0 +1,18 @@ +title @s title [{"text":"Battle Box","color":"white","bold": true}] +title @s subtitle ["\u00a7f与对方开启抢夺羊毛大作战!"] +gamemode adventure @s[gamemode=spectator] +team join wait.battle @s +tellraw @a[team=!wait.battle] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"Battle Box","color":"white","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.battle,gamemode=adventure] run scoreboard players add wait.player tick 1 + +tellraw @a[team=wait.battle] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"},"\u00a7b/\u00a7e8\u00a7b)"] +#tp @s 14 3 -44 180 0 +playsound entity.player.levelup player @s 144 28 -397 1 1 1 +clear @s +effect clear @s +tp @s 144 28 -397 0 0 +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator + +execute if score battle.state state matches 1.. run function minecraft:battle/spec diff --git a/datapacks/map_all/data/minecraft/functions/battle/nextround.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/nextround.mcfunction new file mode 100644 index 00000000..bb60412b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/nextround.mcfunction @@ -0,0 +1,45 @@ +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +# bossbar set minecraft:battle players @a[tag=battle.sel] + +scoreboard players set battle.state state 3 +# 选择 + +scoreboard players set battle.time board 61 +fill 145 27 -341 143 27 -339 white_wool + +tp @a[team=play.battle.r] 142 43.2 -362 180 0 +effect give @a[team=play.battle.r] regeneration 2 25 true +gamemode adventure @a[team=play.battle.r] + +tp @a[team=play.battle.b] 146 43.2 -318 0 0 +effect give @a[team=play.battle.b] regeneration 2 25 true +gamemode adventure @a[team=play.battle.b] + +# tag @a[tag=battle.sel] + +scoreboard players operation battle.item.a.1 board = battle.toolcount board +scoreboard players operation battle.item.a.2 board = battle.toolcount board +scoreboard players operation battle.item.a.3 board = battle.toolcount board +scoreboard players operation battle.item.a.4 board = battle.toolcount board + +scoreboard players operation battle.item.b.1 board = battle.toolcount board +scoreboard players operation battle.item.b.2 board = battle.toolcount board +scoreboard players operation battle.item.b.3 board = battle.toolcount board +scoreboard players operation battle.item.b.4 board = battle.toolcount board + +fill 141 44 -312 150 44 -312 minecraft:light_blue_concrete replace minecraft:redstone_block +fill 147 44 -368 138 44 -368 minecraft:light_blue_concrete replace minecraft:redstone_block +fill 146 39 -324 142 35 -324 minecraft:light_blue_stained_glass keep +fill 142 39 -356 146 35 -356 minecraft:red_stained_glass keep + +title @a[tag=battle.sel] title ["\u00a76回合开始"] +title @a[tag=battle.sel] subtitle ["\u00a7b请选择物品"] +execute as @a[tag=battle.sel] at @s run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @a[tag=battle.sel] run function battle/item/normal +execute as @a[tag=battle.sel] run tag @s add battle.notready + +tag @a remove battle.sel + +scoreboard players set battle.time board 61 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/over/blue.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/over/blue.mcfunction new file mode 100644 index 00000000..9d9de088 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/over/blue.mcfunction @@ -0,0 +1,11 @@ +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +bossbar set minecraft:battle players @a[tag=battle.sel] +tellraw @a[tag=battle.sel] ["\n\u00a76 游戏结束。胜利队伍:\u00a7b蓝队\n"] +title @a[tag=battle.sel] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=play.battle.b] title ["\u00a76You won!"] +title @a[tag=battle.sel] subtitle ["\u00a7b蓝队胜利"] +tag @a remove battle.sel + +function battle/over/globle \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/over/globle.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/over/globle.mcfunction new file mode 100644 index 00000000..fa81b6ed --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/over/globle.mcfunction @@ -0,0 +1,8 @@ +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +scoreboard players set battle.state state 5 +schedule function battle/over/tp 5s +schedule clear battle/nextround +gamemode spectator @a[tag=battle.sel] +tag @a remove battle.sel \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/over/red.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/over/red.mcfunction new file mode 100644 index 00000000..6ee7418f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/over/red.mcfunction @@ -0,0 +1,12 @@ +# schedule function battle/over/tp 5s +# scoreboard players set battle.state state 5 +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +bossbar set minecraft:battle players @a[tag=battle.sel] +tellraw @a[tag=battle.sel] ["\n\u00a76 游戏结束。胜利队伍:\u00a7d红队\n"] +title @a[tag=battle.sel] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=play.battle.r] title ["\u00a76You won!"] +title @a[tag=battle.sel] subtitle ["\u00a7d红队胜利"] +tag @a remove battle.sel +function battle/over/globle \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/over/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/over/tp.mcfunction new file mode 100644 index 00000000..0de509d7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/over/tp.mcfunction @@ -0,0 +1,12 @@ +bossbar remove minecraft:battle +scoreboard players set battle.state state 0 +bossbar add minecraft:battle "BATTLE GAME" +bossbar set minecraft:battle color green +bossbar set minecraft:battle max 60 +bossbar set minecraft:battle value 0 + +execute as @a[team=wait.battle,gamemode=!creative] run function battle/join +execute as @a[team=play.battle.r,gamemode=!creative] run function battle/join +execute as @a[team=play.battle.b,gamemode=!creative] run function battle/join + +schedule clear battle/nextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/playergetpotion.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/playergetpotion.mcfunction new file mode 100644 index 00000000..1f3bad22 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/playergetpotion.mcfunction @@ -0,0 +1,9 @@ +execute if entity @e[tag=battle.potion.sel,tag=potion.speed,type=armor_stand] run effect give @s speed 15 0 true +execute if entity @e[tag=battle.potion.sel,tag=potion.jump,type=armor_stand] run effect give @s jump_boost 15 1 true +execute if entity @e[tag=battle.potion.sel,tag=potion.strength,type=armor_stand] run effect give @s strength 15 0 true +execute if entity @e[tag=battle.potion.sel,tag=potion.slowfall,type=armor_stand] run effect give @s slow_falling 15 0 true +execute if entity @e[tag=battle.potion.sel,tag=potion.resistance,type=armor_stand] run effect give @s resistance 15 0 true +tellraw @s ["\u00a76你获得了",{"selector":"@e[tag=battle.potion.sel,limit=1]"},"\u00a76的增益。"] +playsound entity.generic.drink player @s ~ ~ ~ 1 1 1 + +kill @e[tag=battle.potion.sel,type=armor_stand] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/ranpotion.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/ranpotion.mcfunction new file mode 100644 index 00000000..3c0b2517 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/ranpotion.mcfunction @@ -0,0 +1,4 @@ +kill @e[type=armor_stand,tag=battle.ranpotion] +summon armor_stand 157 36 -340 {Tags:["battle.ranpotion"],CustomName:'["药水"]',CustomNameVisible:1b,Invulnerable:1b,NoAI:1b,Silent:1b,NoGravity:1b,Invisible:true,NoBasePlate:true,DisabledSlots:2039583} +summon armor_stand 131 36 -340 {Tags:["battle.ranpotion"],CustomName:'["药水"]',CustomNameVisible:1b,Invulnerable:1b,NoAI:1b,Silent:1b,NoGravity:1b,Invisible:true,NoBasePlate:true,DisabledSlots:2039583} +execute as @e[tag=battle.ranpotion] at @s run function battle/entitygetranpotion \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/ranpotiontick.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/ranpotiontick.mcfunction new file mode 100644 index 00000000..0c63f8d4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/ranpotiontick.mcfunction @@ -0,0 +1,4 @@ +tag @s add battle.potion.sel +execute as @a[distance=0..1] run function battle/playergetpotion +tag @s remove battle.potion.sel +particle block redstone_block ~ ~0.5 ~ 0.1 0.1 0.1 1 5 normal \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/round_ready.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/round_ready.mcfunction new file mode 100644 index 00000000..828cf0c0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/round_ready.mcfunction @@ -0,0 +1,19 @@ +scoreboard players set battle.state state 4 +# 选择 +# scoreboard players set battle.score.r board 0 +# scoreboard players set battle.score.b board 0 +scoreboard players set battle.time board 6 +# fill 145 27 -341 143 27 -339 white_wool +fill 146 39 -324 142 35 -324 minecraft:light_blue_stained_glass keep +fill 142 39 -356 146 35 -356 minecraft:red_stained_glass keep + +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +# tellraw @a[tag=battle.sel] ["\u00a7e回合即将在\u00a7c5\u00a7e秒后开始。"] +title @a[tag=battle.sel] title ["\u00a76回合即将开始"] +title @a[tag=battle.sel] subtitle ["\u00a7bPreparing Fighting!"] +# execute as @a[tag=battle.sel] at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +tag @a remove battle.sel + +execute positioned 144 30 -340 run kill @e[type=item,distance=0..50] diff --git a/datapacks/map_all/data/minecraft/functions/battle/round_start.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/round_start.mcfunction new file mode 100644 index 00000000..54dee3ea --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/round_start.mcfunction @@ -0,0 +1,18 @@ +scoreboard players set battle.state state 1 +# 选择 + +scoreboard players set battle.time board 61 +fill 145 27 -341 143 27 -339 white_wool +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +tellraw @a[tag=battle.sel] ["\u00a7e回合开始。"] +title @a[tag=battle.sel] title ["\u00a76回合开始"] +title @a[tag=battle.sel] subtitle ["\u00a7bStart Fighting!"] +execute as @a[tag=battle.sel] at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +tag @a remove battle.sel +fill 146 39 -324 142 35 -324 air destroy +fill 142 39 -356 146 35 -356 air destroy +execute positioned 144 35 -340 run kill @e[type=item,distance=0..40] +function battle/ranpotion +playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/second.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/second.mcfunction new file mode 100644 index 00000000..39c19a8b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/second.mcfunction @@ -0,0 +1,48 @@ +execute if score battle.state state matches 1 run scoreboard players remove battle.time board 1 +execute if score battle.state state matches 3..4 run scoreboard players remove battle.time board 1 +tag @a[team=wait.battle] add battle.sel +tag @a[team=play.battle.r] add battle.sel +tag @a[team=play.battle.b] add battle.sel +bossbar set minecraft:battle players @a[tag=battle.sel] +spawnpoint @a[tag=battle.sel] 148 29 -420 +execute store result bossbar minecraft:battle value run scoreboard players get battle.time board + +execute if score battle.state state matches 1 run bossbar set battle max 60 +execute if score battle.state state matches 2 run bossbar set battle max 60 +execute if score battle.state state matches 2 run bossbar set battle value 60 +execute if score battle.state state matches 3 run bossbar set battle max 60 +execute if score battle.state state matches 4 run bossbar set battle max 5 + +execute if score battle.state state matches 1 run bossbar set minecraft:battle name ["\u00a7f\u00a7lBattle Box \u00a7d[红队: ",{"score":{"name": "battle.score.r","objective": "board"},"color": "gold"},"\u00a7d] \u00a7b[蓝队: ",{"score":{"name": "battle.score.b","objective": "board"},"color": "gold"},"\u00a7b] \u00a7a[本局剩余时间: ",{"score":{"name": "battle.time","objective": "board"},"color": "yellow"},"\u00a7es\u00a7a]"] +execute if score battle.state state matches 2 run bossbar set minecraft:battle name ["\u00a7f\u00a7lBattle Box \u00a7d[红队: ",{"score":{"name": "battle.score.r","objective": "board"},"color": "gold"},"\u00a7d] \u00a7b[蓝队: ",{"score":{"name": "battle.score.b","objective": "board"},"color": "gold"},"\u00a7b]"] +execute if score battle.state state matches 3 run bossbar set minecraft:battle name ["\u00a7f\u00a7lBattle Box \u00a7d[红队: ",{"score":{"name": "battle.score.r","objective": "board"},"color": "gold"},"\u00a7d] \u00a7b[蓝队: ",{"score":{"name": "battle.score.b","objective": "board"},"color": "gold"},"\u00a7b] \u00a7a[剩余选择时间: ",{"score":{"name": "battle.time","objective": "board"},"color": "yellow"},"\u00a7es\u00a7a]"] +execute if score battle.state state matches 4 run bossbar set minecraft:battle name ["\u00a7f\u00a7lBattle Box \u00a76[请准备: ",{"score":{"name": "battle.time","objective": "board"},"color": "yellow"},"\u00a7es\u00a76]"] + +# 检测 +scoreboard players set battle.player.r tick 0 +scoreboard players set battle.player.b tick 0 +scoreboard players set battle.player.r.live tick 0 +scoreboard players set battle.player.b.live tick 0 +execute as @a[team=play.battle.r,gamemode=adventure] run scoreboard players add battle.player.r tick 1 +# execute as @a[team=play.battle.r,gamemode=adventure] run scoreboard players add battle.player.r.live tick 1 +execute as @a[team=play.battle.r,gamemode=spectator] run scoreboard players add battle.player.r tick 1 +execute as @a[team=play.battle.b,gamemode=adventure] run scoreboard players add battle.player.b tick 1 +# execute as @a[team=play.battle.b,gamemode=adventure] run scoreboard players add battle.player.b.live tick 1 +execute as @a[team=play.battle.b,gamemode=spectator] run scoreboard players add battle.player.b tick 1 + +execute if score battle.state state matches 1..4 if score battle.player.r tick matches ..0 run function battle/over/blue +# execute if score battle.player.r.live tick matches ..0 +execute if score battle.state state matches 1..4 if score battle.player.b tick matches ..0 run function battle/over/red +# execute if score battle.player.b.live tick matches ..0 + +execute if score battle.state state matches 1 run function battle/testfor/secondblock +execute if score battle.state state matches 1 if score battle.time board matches ..0 run function battle/testfor/finalblock +execute if score battle.state state matches 3 if score battle.time board matches ..0 as @a[tag=battle.sel,tag=battle.notready] run function battle/choose/auto +execute if score battle.state state matches 3 if score battle.time board matches ..0 run function battle/round_ready +execute if score battle.state state matches 3 run function battle/testfor/allready +execute if score battle.state state matches 4 if score battle.time board matches 1.. run tellraw @a[tag=battle.sel] ["\u00a7e笼子将在",{"score":{"name": "battle.time","objective": "board"},"color":"red"},"\u00a7e秒后打开。"] +execute if score battle.state state matches 4 if score battle.time board matches 1.. as @a[tag=battle.sel] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 1 0 1 +execute if score battle.state state matches 4 if score battle.time board matches ..0 run function battle/round_start +tag @a remove battle.sel + +# execute as @e[type=marker,tag=battle.ranpotion] at @s run \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/spec.mcfunction new file mode 100644 index 00000000..ac2f0c16 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!\n使用 \u00a76/trigger hub\u00a77 返回大厅。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/spec_s.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/spec_s.mcfunction new file mode 100644 index 00000000..aa9f7ab8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/spec_s.mcfunction @@ -0,0 +1,3 @@ +gamemode spectator @s +tellraw @s ["\u00a77您已进入旁观模式。使用 \u00a76/trigger hub\u00a77 返回大厅。"] +playsound block.lever.click player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/spr.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/spr.mcfunction new file mode 100644 index 00000000..fb3c1981 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/spr.mcfunction @@ -0,0 +1,11 @@ +tag @a remove battle.random.out +tag @r[tag=battle.random] add battle.random.out +tag @r[tag=battle.random.out] remove battle.random +scoreboard players add battle.ranteam board 1 +execute if score battle.ranteam board matches 1..1 run team join play.battle.r @a[tag=battle.random.out] +execute if score battle.ranteam board matches 2..2 run team join play.battle.b @a[tag=battle.random.out] +tellraw @a[tag=battle.random.out,team=play.battle.r] ["\u00a7a你加入了 \u00a7c红队"] +tellraw @a[tag=battle.random.out,team=play.battle.b] ["\u00a7a你加入了 \u00a79蓝队"] + +execute if score battle.ranteam board matches 2.. run scoreboard players set battle.ranteam board 0 +tag @a remove battle.random.out \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/start.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/start.mcfunction new file mode 100644 index 00000000..7c52a750 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/start.mcfunction @@ -0,0 +1,20 @@ +tag @a[gamemode=adventure,team=wait.battle] add battle.random +execute as @a[tag=battle.random] run function battle/spr +tag @a remove battle.random +tellraw @a[team=wait.battle] ["\u00a7f\u00a7lBATTLE BOX\u00a7a 游戏开始。"] +scoreboard players set battle.ranteam board 1 +execute as @a[team=wait.battle,gamemode=adventure] run function battle/spec_s +scoreboard players set battle.score.r board 0 +scoreboard players set battle.score.b board 0 + +scoreboard players operation tmp board = wait.player tick +scoreboard players operation tmp1 board = wait.player tick +scoreboard players set 8 board 8 +scoreboard players operation tmp board /= 8 board +scoreboard players operation tmp1 board %= 8 board +execute if score tmp1 board matches 1.. run scoreboard players add tmp board 1 + +scoreboard players operation battle.toolcount board = tmp board +kill @e[type=armor_stand,tag=battle.ranpotion] + +function battle/nextround diff --git a/datapacks/map_all/data/minecraft/functions/battle/testfor/allready.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/testfor/allready.mcfunction new file mode 100644 index 00000000..be093ab0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/testfor/allready.mcfunction @@ -0,0 +1 @@ +execute unless entity @a[tag=battle.notready,gamemode=adventure,tag=battle.sel] run function battle/round_ready \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/testfor/countblock.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/testfor/countblock.mcfunction new file mode 100644 index 00000000..c4cf4d1a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/testfor/countblock.mcfunction @@ -0,0 +1,22 @@ +scoreboard players set battle.tmp.1 board 0 +execute if block 143 27 -341 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 143 27 -340 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 143 27 -339 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 144 27 -341 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 144 27 -340 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 144 27 -339 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 145 27 -341 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 145 27 -340 red_wool run scoreboard players add battle.tmp.1 board 1 +execute if block 145 27 -339 red_wool run scoreboard players add battle.tmp.1 board 1 + + +scoreboard players set battle.tmp.2 board 0 +execute if block 143 27 -341 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 143 27 -340 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 143 27 -339 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 144 27 -341 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 144 27 -340 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 144 27 -339 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 145 27 -341 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 145 27 -340 blue_wool run scoreboard players add battle.tmp.2 board 1 +execute if block 145 27 -339 blue_wool run scoreboard players add battle.tmp.2 board 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/testfor/finalblock.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/testfor/finalblock.mcfunction new file mode 100644 index 00000000..a6ed1f2e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/testfor/finalblock.mcfunction @@ -0,0 +1,8 @@ +function battle/testfor/countblock +execute if score battle.tmp.1 board > battle.tmp.2 board run function battle/addscore/red +execute if score battle.tmp.1 board < battle.tmp.2 board run function battle/addscore/blue +execute if score battle.tmp.1 board = battle.tmp.2 board run function battle/addscore/none +# execute if score matches 9.. run function battle/addscore/blue + +gamemode spectator @a[tag=battle.sel] +function battle/trynextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/testfor/secondblock.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/testfor/secondblock.mcfunction new file mode 100644 index 00000000..bf60ce05 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/testfor/secondblock.mcfunction @@ -0,0 +1,3 @@ +function battle/testfor/countblock +execute if score battle.tmp.1 board matches 9.. run function battle/addscore/red +execute if score battle.tmp.2 board matches 9.. run function battle/addscore/blue \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/teststart.mcfunction new file mode 100644 index 00000000..fef0b254 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/teststart.mcfunction @@ -0,0 +1,6 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.battle,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score battle.state state matches 1.. run function minecraft:battle/spec +execute unless score battle.state state matches 1.. run function battle/teststart_2 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/teststart_2.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/teststart_2.mcfunction new file mode 100644 index 00000000..e9a0f089 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/teststart_2.mcfunction @@ -0,0 +1,12 @@ +execute if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +# execute if score wait.player tick matches 9.. run tellraw @s ["\u00a7c人数过多!只允许最多8人!"] +# execute if score wait.player tick matches 9.. run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 + +scoreboard players operation tmp board = wait.player tick +scoreboard players set 2 board 2 +scoreboard players operation tmp board %= 2 board + +execute if score wait.player tick matches 2.. unless score tmp board matches 0 run tellraw @s ["\u00a7c为保证游戏质量,防止人数过度不平衡,无法开始游戏"] +execute if score wait.player tick matches 2.. unless score tmp board matches 0 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score wait.player tick matches 2.. if score tmp board matches 0 run function minecraft:battle/start diff --git a/datapacks/map_all/data/minecraft/functions/battle/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/tick.mcfunction new file mode 100644 index 00000000..3021f837 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/tick.mcfunction @@ -0,0 +1,16 @@ +execute as @a[x=148,y=29,z=-420,dx=1,dy=1,dz=1,gamemode=!creative] at @s run function battle/died + +# execute as @a[team=play.battle.r,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run +execute as @a[team=play.battle.r,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run function battle/itemdatamerge + +# execute as @a[team=play.battle.b,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run data modify entity @s Owner set from entity @s Thrower +# CanDestroy:["white_wool","blue_wool","red_wool"],CanPlaceOn:["sea_lantern","white_wool","blue_wool","red_wool"],Unbreakable:1b,HideFlags:63 +execute as @a[team=play.battle.b,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run function battle/itemdatamerge +# execute as @a[team=play.battle.b,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run data merge entity @s {PickupDelay:0} + +fill 143 28 -339 145 28 -341 air destroy +fill 139 28 -345 149 35 -335 air replace #minecraft:wool + + + +# execute as @e[type=armor_stand,tag=battle.ranpotion] at @s run function battle/ranpotiontick \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/battle/trynextround.mcfunction b/datapacks/map_all/data/minecraft/functions/battle/trynextround.mcfunction new file mode 100644 index 00000000..12fd9431 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/battle/trynextround.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set battle.state state 2 +schedule function battle/nextround 5s +execute if score battle.score.r board matches 3.. run function battle/over/red +execute if score battle.score.b board matches 3.. run function battle/over/blue \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/died.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/died.mcfunction new file mode 100644 index 00000000..fe054a88 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/died.mcfunction @@ -0,0 +1,7 @@ +tellraw @s ["\u00a7c对不起,你淘汰了!"] +tellraw @a[team=play.beli] [{"selector":"@s"},"\u00a7c 淘汰!"] +tellraw @a[team=wait.beli] [{"selector":"@s"},"\u00a7c 淘汰!"] +gamemode spectator @s +scoreboard players set play.beli.player tick 0 +execute as @a[team=play.beli,gamemode=adventure] run scoreboard players add play.beli.player tick 1 +title @a[team=play.beli] actionbar ["\u00a7c当前场上剩余选手: ",{"score":{"objective": "tick","name": "play.beli.player"},"color": "dark_purple"}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/join.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/join.mcfunction new file mode 100644 index 00000000..c5a17077 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/join.mcfunction @@ -0,0 +1,13 @@ +title @s[team=!play.beli] title [{"text":"Block Believer","color":"#a7d3ff","bold": true}] +title @s[team=!play.beli] subtitle ["\u00a7rBelieve yourself !"] +team join wait.beli @s +tellraw @a[team=!wait.beli] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"Block Believer","color":"#a7d3ff","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.beli,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @s ["\n\u00a7a Welcome to ",{"text":"Block Believer","color":"#a7d3ff","bold": true},"\n\n\u00a7e 游戏介绍:\n \u00a77游戏开始后,方块将会随机开始变化:\n\u00a7f 白色 \u00a7a-> \u00a7e黄色\n\u00a7e 黄色 \u00a7a-> \u00a76橙色\n\u00a76 橙色 \u00a7a-> \u00a7c红色\n\u00a7c 红色 \u00a7a-> \u00a74消失\n"] +tellraw @a[team=wait.beli] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +tp @s 14 3 -44 180 0 + +playsound entity.player.levelup player @s 14 3 -44 1 1 1 +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/over.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/over.mcfunction new file mode 100644 index 00000000..edd760d5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/over.mcfunction @@ -0,0 +1,17 @@ +forceload add 6 -49 38 -81 +scoreboard players set beli.state state 0 +tellraw @a ["\u00a7a[I] ",{"text":"Block Believer","color":"#a7d3ff","bold": true}," \u00a7a: \u00a7b游戏结束!\n\u00a7e获胜者:",{"selector":"@a[gamemode=adventure,team=play.beli]"}] + +title @a[gamemode=adventure,team=play.beli] title ["\u00a76You won!"] +title @a[gamemode=spectator,team=play.beli] title ["\u00a7c\u00a7lGAME OVER!"] + +scoreboard players add @a[gamemode=adventure,team=play.beli,tag=play.total] score 1 +execute if entity @a[team=play.beli,tag=play.total] run function small_games/total/next_game + +gamemode adventure @a[gamemode=spectator,team=play.beli] +gamemode adventure @a[gamemode=spectator,team=wait.beli] +execute as @a[gamemode=adventure,team=wait.beli] run function believer/join +execute as @a[gamemode=adventure,team=play.beli] run function believer/join +schedule clear minecraft:believer/summon +kill @e[tag=beliran,type=marker] +forceload remove 6 -49 38 -81 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/second.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/second.mcfunction new file mode 100644 index 00000000..1175ab6e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/second.mcfunction @@ -0,0 +1,10 @@ +execute as @e[tag=beliran] run spreadplayers 22 -65 0 16 false @s +execute as @e[tag=beliran] at @s if block ~ ~-1 ~ red_wool run setblock ~ ~-1 ~ air +execute as @e[tag=beliran] at @s if block ~ ~-1 ~ orange_wool run setblock ~ ~-1 ~ red_wool +execute as @e[tag=beliran] at @s if block ~ ~-1 ~ yellow_wool run setblock ~ ~-1 ~ orange_wool +execute as @e[tag=beliran] at @s if block ~ ~-1 ~ white_wool run setblock ~ ~-1 ~ yellow_wool +scoreboard players set play.beli.player tick 0 +execute as @a[team=play.beli,gamemode=adventure] run scoreboard players add play.beli.player tick 1 +execute if score play.beli.player tick matches ..1 run function minecraft:believer/over +effect give @a[team=play.beli] resistance 1 25 true +effect give @a[team=play.beli] minecraft:night_vision 20 25 true \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/sign.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/sign.mcfunction new file mode 100644 index 00000000..e25544af --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/sign.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +execute if score beli.num state matches ..0 run scoreboard players set beli.num state 1 +execute if score beli.num state matches 7.. run scoreboard players set beli.num state 6 +data modify block 14 3 -46 front_text.messages[1] set value '[{"score":{"objective":"state","name":"beli.num"},"color":"green"}," \\u00a7bBlocks \\u00a76/ \\u00a7bs"]' +execute if score beli.num state matches 6..6 run data modify block 14 3 -46 front_text.messages[3] set value '"\\u00a74HARD"' +execute if score beli.num state matches 4..5 run data modify block 14 3 -46 front_text.messages[3] set value '"\\u00a7cA bit hard"' +execute if score beli.num state matches 1..1 run data modify block 14 3 -46 front_text.messages[3] set value '"\\u00a7aEasy"' +execute if score beli.num state matches 2..3 run data modify block 14 3 -46 front_text.messages[3] set value '"\\u00a7bNormal"' diff --git a/datapacks/map_all/data/minecraft/functions/believer/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/spec.mcfunction new file mode 100644 index 00000000..2eb1349f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/start.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/start.mcfunction new file mode 100644 index 00000000..4a0b4b2b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/start.mcfunction @@ -0,0 +1,14 @@ +forceload add 6 -49 38 -81 +fill 6 10 -49 38 10 -81 minecraft:white_wool +title @a[team=wait.beli] title [{"text":"Block Believer","color":"#a7d3ff","bold": true}] +title @a[team=wait.beli] subtitle ["\u00a7rBelieve yourself !"] +tellraw @a[team=wait.beli] ["\n\u00a76 游戏开始!方块将在\u00a7e3\u00a76秒后开始变化! ","\n\n\u00a7e 游戏介绍:\n \u00a77游戏开始后,方块将会随机开始变化:\n\u00a7f 白色 \u00a7a-> \u00a7e黄色\n\u00a7e 黄色 \u00a7a-> \u00a76橙色\n\u00a76 橙色 \u00a7a-> \u00a7c红色\n\u00a7c 红色 \u00a7a-> \u00a74消失\n"] +execute as @a[team=wait.beli] run spreadplayers 22 -65 0 16 false @s +execute as @a[team=wait.beli] at @s run playsound entity.player.levelup player @s 14 3 -44 1 1 1 +team join play.beli @a[team=wait.beli] +scoreboard players set beli.state state 1 +scoreboard players operation temp state = beli.num state +schedule clear minecraft:believer/summon +kill @e[tag=beliran,type=marker] +schedule function minecraft:believer/summon 3s +forceload remove 6 -49 38 -81 diff --git a/datapacks/map_all/data/minecraft/functions/believer/summon.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/summon.mcfunction new file mode 100644 index 00000000..2f4dbecf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/summon.mcfunction @@ -0,0 +1,3 @@ +scoreboard players remove temp state 1 +summon marker 0 0 0 {Tags:["beliran"]} +execute if score temp state matches 1.. run function believer/summon \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/test.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/test.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/believer/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/teststart.mcfunction new file mode 100644 index 00000000..379b2da5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.beli,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score beli.state state matches 1.. run function minecraft:believer/spec +execute unless score beli.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score beli.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score beli.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:believer/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/believer/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/believer/tick.mcfunction new file mode 100644 index 00000000..f541f503 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/believer/tick.mcfunction @@ -0,0 +1 @@ +execute as @a[team=play.beli,gamemode=adventure] at @s if block ~ ~-1 ~ magma_block run function believer/died \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/around.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/around.mcfunction new file mode 100644 index 00000000..0108cc3c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/around.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add @p[distance=0..1,tag=riding,team=car.play] car.rounds 1 +tellraw @a[team=car.play] [{"selector":"@p[distance=0..1,tag=riding,team=car.play]"},"\u00a7b完成了第",{"score":{"name": "@p[distance=0..1,tag=riding,team=car.play]","objective": "car.rounds"},"color": "yellow"},"\u00a7b圈!"] +tellraw @a[team=car.wait] [{"selector":"@p[distance=0..1,tag=riding,team=car.play]"},"\u00a7b完成了第",{"score":{"name": "@p[distance=0..1,tag=riding,team=car.play]","objective": "car.rounds"},"color": "yellow"},"\u00a7b圈!"] +tp @s 199 81 45 +title @p[distance=0..1,tag=riding,team=car.play] title ["\u00a76到达终点线"] +title @p[distance=0..1,tag=riding,team=car.play] subtitle ["\u00a7a你完成了 ",{"score":{"name": "@p[distance=0..1,tag=riding,team=car.play]","objective": "car.rounds"},"color": "yellow"},"\u00a7a 圈"] +execute as @p[distance=0..1,tag=riding,team=car.play] at @s if score @s car.rounds matches 3.. run function car_race/win diff --git a/datapacks/map_all/data/minecraft/functions/car_race/check_all_players_on_car.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/check_all_players_on_car.mcfunction new file mode 100644 index 00000000..6f809af3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/check_all_players_on_car.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set need.player tick 0 +execute as @a[team=car.play,gamemode=adventure] run scoreboard players add need.player tick 1 + +scoreboard players set oncar.player tick 0 +execute as @a[team=car.play,tag=riding,gamemode=adventure] run scoreboard players add oncar.player tick 1 + +execute if score need.player tick = oncar.player tick run function car_race/start_count_number \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/count_start_number.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/count_start_number.mcfunction new file mode 100644 index 00000000..2222801e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/count_start_number.mcfunction @@ -0,0 +1,9 @@ + +title @a[team=car.play] title [{"text":"Car Race","color":"#009966","bold": true}] +title @a[team=car.play] subtitle ["\u00a7e将在" ,{"score":{"name": "car.number","objective": "tick"},"color": "red"},"\u00a7e 秒后开始。"] +tellraw @a[team=car.play] ["\u00a7e游戏将在" ,{"score":{"name": "car.number","objective": "tick"},"color": "red"},"\u00a7e 秒后开始。"] +execute as @a[team=car.play] at @s run playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 2 0.1 1 +execute if score car.number tick matches ..0 run function car_race/game_start +scoreboard players remove car.number tick 1 + +# scoreboard players set \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/game_start.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/game_start.mcfunction new file mode 100644 index 00000000..7b453505 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/game_start.mcfunction @@ -0,0 +1,8 @@ +execute as @a[team=car.play] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 2 2 1 + +title @a[team=car.play] title [{"text":"Car Race","color":"#009966","bold": true}] +title @a[team=car.play] subtitle ["\u00a7e游戏开始!冲刺!" ] +tellraw @a[team=car.play] ["\u00a7e游戏开始!"] +# fill 196 82 42 202 81 42 air +fill 202 82 41 196 81 43 air +scoreboard players set car.state state 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/gameover.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/gameover.mcfunction new file mode 100644 index 00000000..f03736f5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/gameover.mcfunction @@ -0,0 +1,9 @@ +tellraw @a [{"text":"Car Race","color":"#009966","bold": true},"\u00a7a 游戏结束!"] +scoreboard players set car.state state 4 +tellraw @a[team=car.play] ["\u00a7a胜利者:",{"selector":"@a[gamemode=spectator,tag=car.win]"}] +tellraw @a[team=car.wait] ["\u00a7a胜利者:",{"selector":"@a[gamemode=spectator,tag=car.win]"}] +title @a[team=car.play] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=car.wait] subtitle ["\u00a7c5\u00a7e秒后返回等待大厅"] +gamemode spectator @a[team=car.play] + +schedule function car_race/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/introduct.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/introduct.mcfunction new file mode 100644 index 00000000..5ecd623a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/introduct.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\n \u00a76※ ",{"text":"Car Race","color":"#009966","bold":true}," \u00a76游戏介绍\n\n\u00a7B ※ 任务:\u00a7a使用赛车进行比赛!争取第一!\n\u00a7b ※ 作者:\u00a7aGamom\n\n \u00a7d\u00a7l祝您游玩愉快!\n"] +playsound ui.toast.challenge_complete player @s ~ ~ ~ \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/join.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/join.mcfunction new file mode 100644 index 00000000..b7648b47 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/join.mcfunction @@ -0,0 +1,12 @@ +tellraw @a[team=!car.wait] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 加入了 ",{"text":"Car Race","color":"#009966","bold": true}," \u00a77!"] +team join car.wait +scoreboard players set wait.player tick 0 +execute as @a[team=car.wait,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @a[team=car.wait] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +tp @s 148.0 96 8.0 0 0 +function car_race/introduct +clear @s +effect clear @s +tag @s remove car.win +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/second.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/second.mcfunction new file mode 100644 index 00000000..5229c8e1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/second.mcfunction @@ -0,0 +1,3 @@ +execute if score car.state state matches 2..2 run function car_race/check_all_players_on_car +execute if score car.state state matches 3..3 run function car_race/count_start_number +execute if score car.state state matches 1..3 run function car_race/testfor_gameover \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/spec.mcfunction new file mode 100644 index 00000000..2d1a7c5e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/spec.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a7c游戏已经开始了!您可以旁观游戏,或者输入 \u00a7b/trigger hub \u00a7c返回大厅。"] +gamemode spectator @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/start.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/start.mcfunction new file mode 100644 index 00000000..e60d9167 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/start.mcfunction @@ -0,0 +1,13 @@ +tp @a[team=car.wait] 199 81 45 180 0 +give @a[team=car.wait] minecart{gcar:1b,display:{Name:'[{"text":"\\u00a7aGCAR \\u00a77 - 放到\\u00a7e副手"},"\\u00a77使用"]'}} 1 +tellraw @a[team=car.wait] ["\u00a7b请选手各就各位,拿着矿车按下",{"keybind":"key.swapOffhand","color":"yellow"},"\u00a7b 或者将矿车放置在副手召唤矿车。\n\u00a7a当所有玩家乘坐上矿车,游戏才会开始。"] +title @a[team=car.wait] title [{"text":"Car Race","color":"#009966","bold": true}] +title @a[team=car.wait] subtitle ["\u00a7b拿着矿车使用",{"keybind":"key.swapOffhand","color":"yellow"},"\u00a7e键\u00a7b快速召唤矿车"] +kill @e[tag=GCAR] +team join car.play @a[team=car.wait] +scoreboard players set car.state state 2 +# fill 196 82 42 202 81 42 minecraft:barrier +fill 202 82 41 196 81 43 minecraft:acacia_fence +# fill 202 81 43 196 81 43 air +scoreboard players reset * car.rounds +tag @a remove car.win diff --git a/datapacks/map_all/data/minecraft/functions/car_race/start_count_number.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/start_count_number.mcfunction new file mode 100644 index 00000000..b3abb4d0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/start_count_number.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set car.state state 3 +scoreboard players set car.number tick 5 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/testfor_gameover.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/testfor_gameover.mcfunction new file mode 100644 index 00000000..9dd4b393 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/testfor_gameover.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set play.player tick 0 +execute as @a[team=car.play,gamemode=adventure] run scoreboard players add play.player tick 1 + +execute if score play.player tick matches ..1 run function car_race/gameover \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/teststart.mcfunction new file mode 100644 index 00000000..91bc9309 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/teststart.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=car.wait,gamemode=adventure] run scoreboard players add wait.player tick 1 +scoreboard players add car.state state 0 +tag @s remove car.win + +execute if score car.state state matches 1.. run function minecraft:car_race/spec +execute unless score car.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score car.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score car.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:car_race/start diff --git a/datapacks/map_all/data/minecraft/functions/car_race/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/tick.mcfunction new file mode 100644 index 00000000..30f683d9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/tick.mcfunction @@ -0,0 +1,2 @@ +effect give @a[team=car.play] resistance 2 25 true +execute as @e[tag=ridden,tag=GCAR] at @s if block ~ ~-1 ~ red_wool run function car_race/around \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/tp.mcfunction new file mode 100644 index 00000000..5bfadaed --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/tp.mcfunction @@ -0,0 +1,11 @@ +gamemode adventure @a[team=car.play,gamemode=!creative] +gamemode adventure @a[team=car.wait,gamemode=!creative] +scoreboard players add @a[tag=car.win,tag=play.total] score 1 +# execute if entity @a[team=car.wait,tag=play.total] run function small_games/total/next_game +execute if entity @a[team=car.play,tag=play.total] run function small_games/total/next_game +execute as @a[team=car.wait,gamemode=!creative] run function car_race/join +execute as @a[team=car.play,gamemode=!creative] run function car_race/join +scoreboard players set car.state state 0 +kill @e[tag=GCAR] +scoreboard players reset * car.rounds +tag @a remove car.win \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/car_race/win.mcfunction b/datapacks/map_all/data/minecraft/functions/car_race/win.mcfunction new file mode 100644 index 00000000..d93597c3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/car_race/win.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=car.play] [{"selector":"@s"},"\u00a7a赢得了比赛!"] +tellraw @a[team=car.wait] [{"selector":"@s"},"\u00a7a赢得了比赛!"] +title @s title ["\u00a76You won!"] +title @s subtitle ["\u00a7a你完成了 3 圈!"] +gamemode spectator @s +kill @e[tag=GCAR,tag=ridden,distance=0..1,sort=nearest,limit=1] +tag @s add car.win \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/block_fall.mcfunction b/datapacks/map_all/data/minecraft/functions/color/block_fall.mcfunction new file mode 100644 index 00000000..059b713c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/block_fall.mcfunction @@ -0,0 +1,3 @@ +$fill -7 17 75 32 17 114 bedrock replace $(block) +fill -7 17 75 32 17 114 air replace #color +$fill -7 17 75 32 17 114 $(block) replace bedrock diff --git a/datapacks/map_all/data/minecraft/functions/color/colorstartran.mcfunction b/datapacks/map_all/data/minecraft/functions/color/colorstartran.mcfunction new file mode 100644 index 00000000..bcb41116 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/colorstartran.mcfunction @@ -0,0 +1,16 @@ +# tag @e[tag=color.test] add color.Nadd +function minecraft:color/setcolor + +execute if score color.rantype board matches 1 run function minecraft:color/ran_fill/1_init +execute if score color.rantype board matches 2 run function minecraft:color/ran_fill/1_init +execute if score color.rantype board matches 3 run function minecraft:color/ran_fill/3_init +execute if score color.rantype board matches 4 run function minecraft:color/ran_fill/4_init +execute if score color.rantype board matches 5 run function minecraft:color/ran_fill/5_init +# 1: Block - color.ran.blockwidth (Block Width) +# 2: All random +# 3: Line 星射线 +# 4: Fixed +# -5 17 77 30 17 112 + +# 色卡 -52 35 61 +execute as @a[team=play.color] at @s run playsound minecraft:ui.button.click player @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/detect.mcfunction b/datapacks/map_all/data/minecraft/functions/color/detect.mcfunction new file mode 100644 index 00000000..18adbfb8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/detect.mcfunction @@ -0,0 +1,9 @@ +scoreboard players set color.state state 1 +execute as @a[team=play.color] at @s run playsound entity.generic.explode player @s ~ ~ ~ 1 1.5 1 + +execute positioned -52 35 64 run function minecraft:color/ran_fill/3_whichblock +function color/block_fall with storage minecraft:temp +# execute as @a[team=play.color,gamemode=adventure] at @s unless blocks ~ ~-1 ~ ~ ~-1 ~ -52 35 64 all run function color/died +tellraw @a[team=wait.color] ["\u00a77方块掉落!"] +tellraw @a[team=play.color] ["\u00a77方块掉落!"] +schedule function minecraft:color/summon 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/died.mcfunction b/datapacks/map_all/data/minecraft/functions/color/died.mcfunction new file mode 100644 index 00000000..92559993 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/died.mcfunction @@ -0,0 +1,8 @@ +tellraw @s ["\u00a7c对不起,你淘汰了!"] +tellraw @a[team=play.color] [{"selector":"@s"},"\u00a7c 淘汰!"] +tellraw @a[team=wait.color] [{"selector":"@s"},"\u00a7c 淘汰!"] +gamemode spectator @s +scoreboard players set play.color.player tick 0 +execute as @a[team=play.color,gamemode=adventure] run scoreboard players add play.color.player tick 1 +title @a[team=play.color] actionbar ["\u00a7c当前场上剩余选手: ",{"score":{"objective": "tick","name": "play.color.player"},"color": "dark_purple"}] +tp @s 13.0 38 95.0 0 90 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/fillcolor.mcfunction b/datapacks/map_all/data/minecraft/functions/color/fillcolor.mcfunction new file mode 100644 index 00000000..7e5b4fba --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/fillcolor.mcfunction @@ -0,0 +1,10 @@ +clone -52 35 61 -52 35 61 ~-1 ~-1 ~-1 +clone -52 35 61 -52 35 61 ~1 ~-1 ~-1 +clone -52 35 61 -52 35 61 ~-1 ~-1 ~1 +clone -52 35 61 -52 35 61 ~1 ~-1 ~1 +clone -52 35 61 -52 35 61 ~ ~-1 ~-1 +clone -52 35 61 -52 35 61 ~-1 ~-1 ~ +clone -52 35 61 -52 35 61 ~1 ~-1 ~ +clone -52 35 61 -52 35 61 ~ ~-1 ~1 +clone -52 35 61 -52 35 61 ~ ~-1 ~ +tag @s remove color.Nadd \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/gettip.mcfunction b/datapacks/map_all/data/minecraft/functions/color/gettip.mcfunction new file mode 100644 index 00000000..79818c0a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/gettip.mcfunction @@ -0,0 +1,3 @@ +clear @a[team=play.color,gamemode=adventure] #minecraft:terracottas +execute positioned -52 35 64 run function minecraft:color/ran_fill/3_whichblock +function minecraft:color/tip_give_item_from_function with storage minecraft:temp diff --git a/datapacks/map_all/data/minecraft/functions/color/half_second.mcfunction b/datapacks/map_all/data/minecraft/functions/color/half_second.mcfunction new file mode 100644 index 00000000..31bc780f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/half_second.mcfunction @@ -0,0 +1 @@ +execute if score color.state state matches 3..3 if score color.tick tick matches ..3 run execute as @a[team=play.color] at @s run playsound minecraft:ui.button.click player @s ~ ~ ~ 1 1.5 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/join.mcfunction b/datapacks/map_all/data/minecraft/functions/color/join.mcfunction new file mode 100644 index 00000000..4c2ecf74 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/join.mcfunction @@ -0,0 +1,15 @@ +title @s[team=!play.color] title [{"text":"Color Blindness Game","color":"#009966","bold": true}] +title @s[team=!play.color] subtitle ["\u00a7rShine your eyes !"] +team join wait.color @s +tellraw @a[team=!wait.color] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"Color Blindness Game","color":"#009966","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.color,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @s ["\n\u00a7a Welcome to ",{"text":"Color Blindness Game","color":"#009966","bold": true},"\n\n\u00a7e 游戏介绍:\n \u00a77游戏开始后,方块将会随机开始变化。\n\u00a7e 你需要在规定时间踩到指定方块上。\n\u00a7a 方块在物品栏第九格位置。\n"] +tellraw @a[team=wait.color] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +tp @s -32 28 33 0 0 + +playsound entity.player.levelup player @s -32 28 33 1 1 1 +clear @s +effect clear @s +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/over.mcfunction b/datapacks/map_all/data/minecraft/functions/color/over.mcfunction new file mode 100644 index 00000000..16491b36 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/over.mcfunction @@ -0,0 +1,19 @@ +scoreboard players set color.state state 0 + +tellraw @a ["\u00a7a[I] ",{"text":"色盲派对","color":"#a7d3ff","bold": true}," \u00a7a: \u00a7b游戏结束!"] +execute if entity @a[gamemode=adventure,team=play.color] run tellraw @a ["\u00a7e获胜者:",{"selector":"@a[gamemode=adventure,team=play.color]"}] +title @a[gamemode=adventure,team=play.color] title ["\u00a76You won!"] +title @a[gamemode=spectator,team=play.color] title ["\u00a7c\u00a7lGAME OVER"] +scoreboard players add @a[gamemode=adventure,team=play.color,tag=play.total] score 1 +gamemode adventure @a[gamemode=spectator,team=play.color] +gamemode adventure @a[gamemode=spectator,team=wait.color] +# execute if entity @a[team=car.wait,tag=play.total] run function small_games/total/next_game +execute if entity @a[team=play.color,tag=play.total] run function small_games/total/next_game +execute as @a[gamemode=adventure,team=wait.color] run function color/join +execute as @a[gamemode=adventure,team=play.color] run function color/join +kill @e[tag=colorran,type=marker] +schedule clear minecraft:color/summon +fill -5 17 77 30 17 112 glass + +forceload remove 29 111 -7 75 + diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/1_init.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/1_init.mcfunction new file mode 100644 index 00000000..e6d948a8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/1_init.mcfunction @@ -0,0 +1,2363 @@ +fill -7 17 75 32 17 114 air +# start from 30 17 77 +kill @e[tag=color.test] +# summon marker 30 17 77 {Tags:["color.test"]} +# start from 30 17 77 to -5 17 77 +# start from 30 17 77 to 30 17 112 +# scoreboard players set color.ran.tpx.to board 36 +# scoreboard players set color.ran.tpy.to board 36 +# scoreboard players operation color.ran.tpx.to board /= color.ran.blockwidth board +# # scoreboard players operation color.ran.tpx.to board -= 1 board +# scoreboard players operation color.ran.tpy.to board /= color.ran.blockwidth board +# # scoreboard players operation color.ran.tpy.to board -= 1 board +# scoreboard players set color.ran.tpx board 0 +# scoreboard players set color.ran.tpy board 0 +# execute as @e[tag=color.test] at @s run function minecraft:color/ran_fill/2_tp + +# start from 30 17 77 to -5 17 77 +# start from 30 17 77 to 30 17 112 +execute positioned 30 17 77 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 83 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 89 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 95 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 101 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 107 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 30 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 29 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 28 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 77 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 83 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 89 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 95 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 101 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 107 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 27 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 77 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 89 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 101 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 26 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 25 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 77 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 83 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 89 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 95 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 101 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 107 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 24 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 23 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 77 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 89 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 101 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 22 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 77 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 83 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 89 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 95 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 101 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 107 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 21 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 20 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 19 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 77 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 83 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 89 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 95 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 101 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 107 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 18 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 17 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 16 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 77 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 83 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 89 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 95 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 101 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 107 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 15 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 77 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 89 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 101 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 14 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 13 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 77 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 83 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 89 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 95 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 101 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 107 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 12 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 11 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 77 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 89 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 101 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 10 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 77 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 83 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 89 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 95 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 101 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 107 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 9 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 8 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 7 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 77 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 83 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 89 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 95 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 101 if score color.ran.blockwidth board matches 1..4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 107 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 6 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 5 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 4 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 77 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 83 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 89 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 95 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 101 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 107 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 3 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 77 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 89 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 101 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 2 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 1 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 77 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 83 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 89 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 95 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 101 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 107 if score color.ran.blockwidth board matches 1..3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned 0 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -1 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 77 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 81 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 85 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 89 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 93 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 97 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 101 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 105 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 109 if score color.ran.blockwidth board matches 4 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -2 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 77 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 80 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 83 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 86 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 89 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 92 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 95 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 98 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 101 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 104 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 107 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 110 if score color.ran.blockwidth board matches 3 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -3 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 77 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 79 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 81 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 83 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 85 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 87 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 89 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 91 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 93 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 95 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 97 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 99 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 101 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 103 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 105 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 107 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 109 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 111 if score color.ran.blockwidth board matches 1..2 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -4 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 77 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 78 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 79 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 80 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 81 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 82 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 83 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 84 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 85 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 86 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 87 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 88 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 89 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 90 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 91 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 92 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 93 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 94 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 95 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 96 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 97 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 98 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 99 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 100 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 101 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 102 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 103 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 104 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 105 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 106 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 107 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 108 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 109 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 110 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 111 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place +execute positioned -5 17 112 if score color.ran.blockwidth board matches 1 run function minecraft:color/ran_fill/2_place + +summon marker ~ ~ ~ {Tags:["color.tmp"]} +spreadplayers 13.00 95.00 0 20 under 20 false @e[tag=color.tmp] +execute as @e[tag=color.tmp] at @s run clone ~ ~-1 ~ ~ ~-1 ~ -52 35 64 +kill @e[tag=color.tmp] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_place.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_place.mcfunction new file mode 100644 index 00000000..9667f8f7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_place.mcfunction @@ -0,0 +1,18 @@ +function color/rancolor + +execute if score color.ran.blockwidth board matches 1.. run clone -52 35 61 -52 35 61 ~ ~ ~ +execute if score color.ran.blockwidth board matches 2.. run clone -52 35 61 -52 35 61 ~ ~ ~1 +execute if score color.ran.blockwidth board matches 2.. run clone -52 35 61 -52 35 61 ~-1 ~ ~ +execute if score color.ran.blockwidth board matches 2.. run clone -52 35 61 -52 35 61 ~-1 ~ ~1 +execute if score color.ran.blockwidth board matches 3.. run clone -52 35 61 -52 35 61 ~-2 ~ ~ +execute if score color.ran.blockwidth board matches 3.. run clone -52 35 61 -52 35 61 ~-2 ~ ~1 +execute if score color.ran.blockwidth board matches 3.. run clone -52 35 61 -52 35 61 ~-2 ~ ~2 +execute if score color.ran.blockwidth board matches 3.. run clone -52 35 61 -52 35 61 ~-1 ~ ~2 +execute if score color.ran.blockwidth board matches 3.. run clone -52 35 61 -52 35 61 ~ ~ ~2 +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~ ~ ~3 +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~-1 ~ ~3 +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~-2 ~ ~3 +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~-3 ~ ~3 +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~-3 ~ ~ +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~-3 ~ ~1 +execute if score color.ran.blockwidth board matches 4.. run clone -52 35 61 -52 35 61 ~-3 ~ ~2 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tick_holder.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tick_holder.mcfunction new file mode 100644 index 00000000..9f9d8f17 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tick_holder.mcfunction @@ -0,0 +1 @@ +execute as @e[tag=color.test,limit=1] at @s run function minecraft:color/ran_fill/2_tp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp.mcfunction new file mode 100644 index 00000000..37c62a35 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp.mcfunction @@ -0,0 +1,11 @@ +# start from 30 17 77 to -5 17 77 +# start from 30 17 77 to 30 17 112 +execute at @s run function minecraft:color/ran_fill/2_place +execute if score color.ran.blockwidth board matches 1 if score color.ran.tpx board < color.ran.tpx.to board at @s run tp ~-1 ~ ~ +execute if score color.ran.blockwidth board matches 2 if score color.ran.tpx board < color.ran.tpx.to board at @s run tp ~-2 ~ ~ +execute if score color.ran.blockwidth board matches 3 if score color.ran.tpx board < color.ran.tpx.to board at @s run tp ~-3 ~ ~ +execute if score color.ran.blockwidth board matches 4 if score color.ran.tpx board < color.ran.tpx.to board at @s run tp ~-4 ~ ~ +execute if score color.ran.tpx board < color.ran.tpx.to board at @s run scoreboard players add color.ran.tpx board 1 +execute if score color.ran.tpx board < color.ran.tpx.to board at @s run function minecraft:color/ran_fill/2_tp +execute if score color.ran.tpx board >= color.ran.tpx.to board at @s run function minecraft:color/ran_fill/2_tp_y + diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp_died.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp_died.mcfunction new file mode 100644 index 00000000..e8e1b45b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp_died.mcfunction @@ -0,0 +1,2 @@ +kill @s[type=!player] +execute as @s[type=player] run say [debug] done \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp_y.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp_y.mcfunction new file mode 100644 index 00000000..e3b0da64 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/2_tp_y.mcfunction @@ -0,0 +1,8 @@ +scoreboard players add color.ran.tpy board 1 +scoreboard players set color.ran.tpx board 0 +execute if score color.ran.blockwidth board matches 1 at @s positioned 30 ~ ~ run tp ~ ~ ~1 +execute if score color.ran.blockwidth board matches 2 at @s positioned 30 ~ ~ run tp ~ ~ ~2 +execute if score color.ran.blockwidth board matches 3 at @s positioned 30 ~ ~ run tp ~ ~ ~3 +execute if score color.ran.blockwidth board matches 4 at @s positioned 30 ~ ~ run tp ~ ~ ~4 +execute if score color.ran.tpy board >= color.ran.tpy.to board run function minecraft:color/ran_fill/2_tp_died +execute if score color.ran.tpy board < color.ran.tpy.to board at @s run function minecraft:color/ran_fill/2_tp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_init.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_init.mcfunction new file mode 100644 index 00000000..a657a16f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_init.mcfunction @@ -0,0 +1,97 @@ +fill -7 17 75 32 17 114 air +# start from 30 17 77 +kill @e[tag=color.test] +# start from -5 17 112 30 17 77 +# to 13 18 94 12 18 95 +# function color/rancolor +execute store result score color.ran.targetcount board run random value 1..18 +function color/rancolor +execute if score color.ran.targetcount board matches 1 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-5,x2:30,y1:17,y2:17,z1:112,z2:77} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 2 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-4,x2:29,y1:17,y2:17,z1:111,z2:78} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 3 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-3,x2:28,y1:17,y2:17,z1:110,z2:79} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 4 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-2,x2:27,y1:17,y2:17,z1:109,z2:80} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 5 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-1,x2:26,y1:17,y2:17,z1:108,z2:81} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 6 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:0,x2:25,y1:17,y2:17,z1:107,z2:82} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 7 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:1,x2:24,y1:17,y2:17,z1:106,z2:83} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 8 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:2,x2:23,y1:17,y2:17,z1:105,z2:84} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 9 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:3,x2:22,y1:17,y2:17,z1:104,z2:85} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 10 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:4,x2:21,y1:17,y2:17,z1:103,z2:86} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 11 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:5,x2:20,y1:17,y2:17,z1:102,z2:87} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 12 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:6,x2:19,y1:17,y2:17,z1:101,z2:88} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 13 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:7,x2:18,y1:17,y2:17,z1:100,z2:89} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 14 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:8,x2:17,y1:17,y2:17,z1:99,z2:90} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 15 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:9,x2:16,y1:17,y2:17,z1:98,z2:91} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 16 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:10,x2:15,y1:17,y2:17,z1:97,z2:92} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 17 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:11,x2:14,y1:17,y2:17,z1:96,z2:93} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 18 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:12,x2:13,y1:17,y2:17,z1:95,z2:94} +function color/ran_fill/3_place with storage minecraft:temp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_place.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_place.mcfunction new file mode 100644 index 00000000..1a11a5e4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_place.mcfunction @@ -0,0 +1 @@ +$fill $(x1) $(y1) $(z1) $(x2) $(y2) $(z2) $(block) \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_whichblock.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_whichblock.mcfunction new file mode 100644 index 00000000..7e614972 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/3_whichblock.mcfunction @@ -0,0 +1,69 @@ +data merge storage minecraft:temp {block:"terracotta"} +execute if block ~ ~ ~ terracotta run data merge storage minecraft:temp {block:"terracotta"} +execute if block ~ ~ ~ white_terracotta run data merge storage minecraft:temp {block:"white_terracotta"} +execute if block ~ ~ ~ orange_terracotta run data merge storage minecraft:temp {block:"orange_terracotta"} +execute if block ~ ~ ~ magenta_terracotta run data merge storage minecraft:temp {block:"magenta_terracotta"} +execute if block ~ ~ ~ light_blue_terracotta run data merge storage minecraft:temp {block:"light_blue_terracotta"} +execute if block ~ ~ ~ yellow_terracotta run data merge storage minecraft:temp {block:"yellow_terracotta"} +execute if block ~ ~ ~ lime_terracotta run data merge storage minecraft:temp {block:"lime_terracotta"} +execute if block ~ ~ ~ pink_terracotta run data merge storage minecraft:temp {block:"pink_terracotta"} +execute if block ~ ~ ~ gray_terracotta run data merge storage minecraft:temp {block:"gray_terracotta"} +execute if block ~ ~ ~ light_gray_terracotta run data merge storage minecraft:temp {block:"light_gray_terracotta"} +execute if block ~ ~ ~ cyan_terracotta run data merge storage minecraft:temp {block:"cyan_terracotta"} +execute if block ~ ~ ~ purple_terracotta run data merge storage minecraft:temp {block:"purple_terracotta"} +execute if block ~ ~ ~ blue_terracotta run data merge storage minecraft:temp {block:"blue_terracotta"} +execute if block ~ ~ ~ brown_terracotta run data merge storage minecraft:temp {block:"brown_terracotta"} +execute if block ~ ~ ~ green_terracotta run data merge storage minecraft:temp {block:"green_terracotta"} +execute if block ~ ~ ~ red_terracotta run data merge storage minecraft:temp {block:"red_terracotta"} +execute if block ~ ~ ~ black_terracotta run data merge storage minecraft:temp {block:"black_terracotta"} + +execute if block ~ ~ ~ white_wool run data merge storage minecraft:temp {block:"white_wool"} +execute if block ~ ~ ~ orange_wool run data merge storage minecraft:temp {block:"orange_wool"} +execute if block ~ ~ ~ magenta_wool run data merge storage minecraft:temp {block:"magenta_wool"} +execute if block ~ ~ ~ light_blue_wool run data merge storage minecraft:temp {block:"light_blue_wool"} +execute if block ~ ~ ~ yellow_wool run data merge storage minecraft:temp {block:"yellow_wool"} +execute if block ~ ~ ~ lime_wool run data merge storage minecraft:temp {block:"lime_wool"} +execute if block ~ ~ ~ pink_wool run data merge storage minecraft:temp {block:"pink_wool"} +execute if block ~ ~ ~ gray_wool run data merge storage minecraft:temp {block:"gray_wool"} +execute if block ~ ~ ~ light_gray_wool run data merge storage minecraft:temp {block:"light_gray_wool"} +execute if block ~ ~ ~ cyan_wool run data merge storage minecraft:temp {block:"cyan_wool"} +execute if block ~ ~ ~ purple_wool run data merge storage minecraft:temp {block:"purple_wool"} +execute if block ~ ~ ~ blue_wool run data merge storage minecraft:temp {block:"blue_wool"} +execute if block ~ ~ ~ brown_wool run data merge storage minecraft:temp {block:"brown_wool"} +execute if block ~ ~ ~ green_wool run data merge storage minecraft:temp {block:"green_wool"} +execute if block ~ ~ ~ red_wool run data merge storage minecraft:temp {block:"red_wool"} +execute if block ~ ~ ~ black_wool run data merge storage minecraft:temp {block:"black_wool"} + +execute if block ~ ~ ~ white_concrete run data merge storage minecraft:temp {block:"white_concrete"} +execute if block ~ ~ ~ orange_concrete run data merge storage minecraft:temp {block:"orange_concrete"} +execute if block ~ ~ ~ magenta_concrete run data merge storage minecraft:temp {block:"magenta_concrete"} +execute if block ~ ~ ~ light_blue_concrete run data merge storage minecraft:temp {block:"light_blue_concrete"} +execute if block ~ ~ ~ yellow_concrete run data merge storage minecraft:temp {block:"yellow_concrete"} +execute if block ~ ~ ~ lime_concrete run data merge storage minecraft:temp {block:"lime_concrete"} +execute if block ~ ~ ~ pink_concrete run data merge storage minecraft:temp {block:"pink_concrete"} +execute if block ~ ~ ~ gray_concrete run data merge storage minecraft:temp {block:"gray_concrete"} +execute if block ~ ~ ~ light_gray_concrete run data merge storage minecraft:temp {block:"light_gray_concrete"} +execute if block ~ ~ ~ cyan_concrete run data merge storage minecraft:temp {block:"cyan_concrete"} +execute if block ~ ~ ~ purple_concrete run data merge storage minecraft:temp {block:"purple_concrete"} +execute if block ~ ~ ~ blue_concrete run data merge storage minecraft:temp {block:"blue_concrete"} +execute if block ~ ~ ~ brown_concrete run data merge storage minecraft:temp {block:"brown_concrete"} +execute if block ~ ~ ~ green_concrete run data merge storage minecraft:temp {block:"green_concrete"} +execute if block ~ ~ ~ red_concrete run data merge storage minecraft:temp {block:"red_concrete"} +execute if block ~ ~ ~ black_concrete run data merge storage minecraft:temp {block:"black_concrete"} +execute if block ~ ~ ~ clay run data merge storage minecraft:temp {block:"clay"} +# white_terracotta +# orange_terracotta +# magenta_terracotta +# light_blue_terracotta +# yellow_terracotta +# lime_terracotta +# pink_terracotta +# gray_terracotta +# light_gray_terracotta +# cyan_terracotta +# purple_terracotta +# blue_terracotta +# brown_terracotta +# green_terracotta +# red_terracotta +# black_terracotta \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/4_init.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/4_init.mcfunction new file mode 100644 index 00000000..9579e81a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/4_init.mcfunction @@ -0,0 +1,127 @@ +fill -7 17 75 32 17 114 air +# start from 30 17 77 +kill @e[tag=color.test] +# start from -5 17 112 30 17 77 +# to 13 18 94 12 18 95 +# function color/rancolor +execute store result score color.ran.targetcount board run random value 1..19 +function color/rancolor +execute if score color.ran.targetcount board matches 1 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:13,x2:12,y1:17,y2:17,z1:112,z2:77} +# 13 17 77 12 17 112 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 2 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:30,x2:-5,y1:17,y2:17,z1:94,z2:95} +# 30 17 94 -5 17 95 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 3 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:11,x2:-5,y1:17,y2:17,z1:93,z2:77} +# 11 17 93 -5 17 77 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 4 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-5,x2:11,y1:17,y2:17,z1:112,z2:96} +# -5 17 112 11 17 96 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 5 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:14,x2:30,y1:17,y2:17,z1:96,z2:112} +# 14 17 96 30 17 112 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 6 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:14,x2:30,y1:17,y2:17,z1:93,z2:77} +# 14 17 93 30 17 77 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 7 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:1,x2:24,y1:17,y2:17,z1:106,z2:83} +function color/ran_fill/3_place with storage minecraft:temp + +function color/rancolor +execute if score color.ran.targetcount board matches 11 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:5,x2:20,y1:17,y2:17,z1:102,z2:87} +function color/ran_fill/3_place with storage minecraft:temp + +function color/rancolor +execute if score color.ran.targetcount board matches 13 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:7,x2:18,y1:17,y2:17,z1:100,z2:89} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor + +function color/rancolor +execute if score color.ran.targetcount board matches 15 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:9,x2:16,y1:17,y2:17,z1:98,z2:91} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor + +# 4 17 103 1 17 106 +# 24 17 106 21 17 103 +# 21 17 86 24 17 83 +# 1 17 83 4 17 86 +execute if score color.ran.targetcount board matches 16 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:4,x2:1,y1:17,y2:17,z1:103,z2:106} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 18 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:24,x2:21,y1:17,y2:17,z1:106,z2:103} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 12 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:21,x2:24,y1:17,y2:17,z1:86,z2:83} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 19 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:1,x2:4,y1:17,y2:17,z1:83,z2:86} +function color/ran_fill/3_place with storage minecraft:temp + + +execute if score color.ran.targetcount board matches 17 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:11,x2:14,y1:17,y2:17,z1:96,z2:93} +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor + + + +function color/rancolor +execute if score color.ran.targetcount board matches 8 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:13,x2:12,y1:17,y2:17,z1:106,z2:97} +# 13 17 106 12 17 97 +function color/ran_fill/3_place with storage minecraft:temp +function color/rancolor +execute if score color.ran.targetcount board matches 10 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:13,x2:12,y1:17,y2:17,z1:92,z2:83} +# 13 17 92 12 17 83 +function color/ran_fill/3_place with storage minecraft:temp + +execute if score color.ran.targetcount board matches 14 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:1,x2:10,y1:17,y2:17,z1:94,z2:95} +# 1 17 94 10 17 95 +function color/ran_fill/3_place with storage minecraft:temp + +function color/rancolor +execute if score color.ran.targetcount board matches 9 run clone -52 35 64 -52 35 64 -52 35 61 +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:15,x2:24,y1:17,y2:17,z1:95,z2:94} +# 15 17 95 24 17 94 +function color/ran_fill/3_place with storage minecraft:temp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/4_place.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/4_place.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_init.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_init.mcfunction new file mode 100644 index 00000000..c184c253 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_init.mcfunction @@ -0,0 +1,31 @@ +# from 36 y 75 75 y 114 to -7 17 75 +fill -7 17 75 32 17 114 air + +# 2-18 +execute store result storage minecraft:temp random_value int 1 run random value 2..18 +function color/ran_fill/5_place with storage minecraft:temp + +function color/rancolor +execute positioned -52 35 61 run function minecraft:color/ran_fill/3_whichblock +data merge storage minecraft:temp {x1:-7,x2:32,y1:17,y2:17,z1:75,z2:114,replace_block:"diamond_block"} +function color/ran_fill/5_place_block with storage minecraft:temp +# white +# orange +# magenta +# light_blue +# yellow +# lime +# pink +# gray +# light_gray +# cyan +# purple +# blue +# brown +# green +# red +# black +summon marker ~ ~ ~ {Tags:["color.tmp"]} +spreadplayers 13.00 95.00 0 20 under 20 false @e[tag=color.tmp] +execute as @e[tag=color.tmp] at @s run clone ~ ~-1 ~ ~ ~-1 ~ -52 35 64 +kill @e[tag=color.tmp] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_place.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_place.mcfunction new file mode 100644 index 00000000..57701252 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_place.mcfunction @@ -0,0 +1 @@ +$clone 36 $(random_value) 75 75 $(random_value) 114 -7 17 75 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_place_block.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_place_block.mcfunction new file mode 100644 index 00000000..71d6edd7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/5_place_block.mcfunction @@ -0,0 +1 @@ +$fill $(x1) $(y1) $(z1) $(x2) $(y2) $(z2) $(block) replace $(replace_block) \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/ran_fill/per.mcfunction b/datapacks/map_all/data/minecraft/functions/color/ran_fill/per.mcfunction new file mode 100644 index 00000000..b1db6b92 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/ran_fill/per.mcfunction @@ -0,0 +1 @@ +# 随机分配 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/rancolor.mcfunction b/datapacks/map_all/data/minecraft/functions/color/rancolor.mcfunction new file mode 100644 index 00000000..95bcbe21 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/rancolor.mcfunction @@ -0,0 +1,4 @@ +# 获取随机颜色 +execute as @e[type=marker,tag=color.rancolor,limit=1,sort=random] at @s run clone ~ ~-1 ~ ~ ~-1 ~ -52 35 61 +# function color/fillcolor +# 色卡 -52 35 61 diff --git a/datapacks/map_all/data/minecraft/functions/color/second.mcfunction b/datapacks/map_all/data/minecraft/functions/color/second.mcfunction new file mode 100644 index 00000000..bb8a1190 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/second.mcfunction @@ -0,0 +1,9 @@ +scoreboard players set play.color.player tick 0 +execute as @a[team=play.color,gamemode=adventure] run scoreboard players add play.color.player tick 1 +execute if score play.color.player tick matches ..1 run function minecraft:color/over +effect give @a[team=play.color] resistance 1 25 true +effect give @a[team=play.color] night_vision 15 25 true + +execute if score color.state state matches 2..2 run function minecraft:color/step/one +execute if score color.state state matches 3..3 run function minecraft:color/step/two +function color/gettip \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/setcolor.mcfunction b/datapacks/map_all/data/minecraft/functions/color/setcolor.mcfunction new file mode 100644 index 00000000..7c61c1f2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/setcolor.mcfunction @@ -0,0 +1,7 @@ +execute as @e[type=marker,tag=color.rancolor,limit=1,sort=random] at @s run clone ~ ~-1 ~ ~ ~-1 ~ -52 35 64 +# execute as @e[type=marker,tag=color.test,limit=1,sort=random] at @s run function color/ran_fill/per +# 色卡 -52 35 61 + + +#color.Nadd +#-52 35 61 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/sign.mcfunction b/datapacks/map_all/data/minecraft/functions/color/sign.mcfunction new file mode 100644 index 00000000..05c026f5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/sign.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s +execute if score color.time state matches ..3 run scoreboard players set color.time state 4 +execute if score color.time state matches 19.. run scoreboard players set color.time state 18 +execute if score color.maxtime state matches ..-1 run scoreboard players set color.maxtime state 0 +execute if score color.maxtime state >= color.time state run scoreboard players operation color.maxtime state = color.time state +execute if score color.maxtime state >= color.time state run scoreboard players remove color.maxtime state 1 + + +data modify block -36 29 34 front_text.messages[2] set value '["\\u00a7b[",{"score":{"objective":"state","name":"color.time"},"color":"gold"}," \\u00a7bs]"]' +data modify block -36 28 34 front_text.messages[2] set value '["\\u00a7b[",{"score":{"objective":"state","name":"color.maxtime"},"color":"gold"}," \\u00a7bs]"]' diff --git a/datapacks/map_all/data/minecraft/functions/color/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/color/spec.mcfunction new file mode 100644 index 00000000..2eb1349f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/start.mcfunction b/datapacks/map_all/data/minecraft/functions/color/start.mcfunction new file mode 100644 index 00000000..eb1d389f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/start.mcfunction @@ -0,0 +1,25 @@ +forceload add 29 111 -7 75 +fill -5 17 77 30 17 112 glass + +title @a[team=wait.color] title [{"text":"Color Blindness Game","color":"#009966","bold": true}] +title @a[team=wait.color] subtitle ["\u00a7rShine your eyes !"] +tellraw @a[team=wait.color] ["\n\u00a76 游戏开始!方块将在\u00a7e3\u00a76秒后开始变化! ","\n"] +tp @a[team=wait.color] 13 18 95 +execute as @a[team=wait.color] positioned 13 18 95 run spreadplayers 13 95 0 16 under 22 false @s +execute as @a[team=wait.color] at @s run playsound entity.player.levelup player @s 11 17 93 1 1 1 +team join play.color @a[team=wait.color] +scoreboard players set color.state state 1 +schedule clear minecraft:color/summon +schedule function minecraft:color/summon 3s +scoreboard players operation color.tt tick = color.time state +scoreboard players operation color.tre tick = color.maxtime state +tellraw @a[team=play.color] ["\u00a7c\u00a7l 注意!!! 在检测颜色时不同颜色的方块将会消失!"] + +fill -7 17 75 32 17 114 air + +fill -5 17 77 30 17 112 glass +# fill -7 17 75 29 17 111 air +# execute if score color.tick tick matches ..0 run scoreboard players set color.state state 3 +# execute if score color.tick tick matches ..0 run scoreboard players operation color.tick tick = color.tt state +# execute if score color.tick tick matches ..0 if score color.tre tick matches 1.. run scoreboard players remove color.tt state 1 +# execute if score color.tick tick matches ..0 if score color.tre tick matches 1.. run scoreboard players remove color.tre tick 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/step/one.mcfunction b/datapacks/map_all/data/minecraft/functions/color/step/one.mcfunction new file mode 100644 index 00000000..b57ea7ae --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/step/one.mcfunction @@ -0,0 +1,4 @@ +function minecraft:color/colorstartran +scoreboard players remove color.tick tick 1 +execute if score color.tick tick matches ..0 run function color/step/onetotwo +execute as @a[team=play.color] at @s run playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 2 0.1 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/step/onetotwo.mcfunction b/datapacks/map_all/data/minecraft/functions/color/step/onetotwo.mcfunction new file mode 100644 index 00000000..1ffaf307 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/step/onetotwo.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set color.state state 3 +execute if score color.tre tick matches 1.. run scoreboard players remove color.tt tick 1 +execute if score color.tre tick matches 1.. run scoreboard players remove color.tre tick 1 +scoreboard players operation color.tick tick = color.tt tick +# playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 2 0.1 1 +execute as @a[team=play.color] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 2 2 1 +execute if score color.tick tick matches ..2 run scoreboard players set color.tick tick 2 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/step/two.mcfunction b/datapacks/map_all/data/minecraft/functions/color/step/two.mcfunction new file mode 100644 index 00000000..86363691 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/step/two.mcfunction @@ -0,0 +1,4 @@ +title @a[team=play.color] actionbar ["\u00a76Warn : 将在 ",{"score":{"objective": "tick","name":"color.tick"},"color": "green"},"\u00a76 秒后开始检测!"] +execute if score color.tick tick matches ..0 run function minecraft:color/detect +execute as @a[team=play.color] at @s run playsound minecraft:entity.experience_orb.pickup player @s +scoreboard players remove color.tick tick 1 diff --git a/datapacks/map_all/data/minecraft/functions/color/summon.mcfunction b/datapacks/map_all/data/minecraft/functions/color/summon.mcfunction new file mode 100644 index 00000000..fda8b6fc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/summon.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set color.state state 2 +scoreboard players set color.tick tick 6 +tellraw @a[team=wait.color] ["\u00a7c颜色已经开始变化!"] +tellraw @a[team=play.color] ["\u00a7c颜色已经开始变化!"] +execute store result score color.rantype board run random value 1..5 +execute if score color.rantype board matches 1..2 store result score color.ran.blockwidth board run random value 1..4 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/test.mcfunction b/datapacks/map_all/data/minecraft/functions/color/test.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/color/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/color/teststart.mcfunction new file mode 100644 index 00000000..8a24b0cc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.color,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score color.state state matches 1.. run function minecraft:color/spec +execute unless score color.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score color.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score color.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:color/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/color/tick.mcfunction new file mode 100644 index 00000000..8d8f3233 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/tick.mcfunction @@ -0,0 +1,3 @@ +execute as @a[team=play.color,gamemode=adventure] at @s if block ~ ~-1 ~ water run function color/died +execute as @a[team=play.color,gamemode=adventure] at @s if block ~ ~ ~ water run function color/died +kill @e[type=item,nbt={Item:{tag:{Color:1b}}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/color/tip_give_item_from_function.mcfunction b/datapacks/map_all/data/minecraft/functions/color/tip_give_item_from_function.mcfunction new file mode 100644 index 00000000..841b1af1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/color/tip_give_item_from_function.mcfunction @@ -0,0 +1 @@ +$execute as @a[team=play.color] run item replace entity @s container.8 with $(block){Color:1b} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/died.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/died.mcfunction new file mode 100644 index 00000000..57ba93f4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/died.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add @s dropper.failed 1 +tellraw @s ["\u00a7c你失败了。 当前失败次数:",{"score":{"name": "@s","objective": "dropper.failed"},"color": "gold"}] +title @s actionbar ["\u00a7c你失败了。"] +scoreboard players add @s dropper.level 0 +execute if score @s dropper.level matches ..0 run function dropper/join +execute if score @s dropper.level matches 1..10 run function dropper/playlevel +execute if score @s dropper.level matches 11.. run function dropper/join \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/join.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/join.mcfunction new file mode 100644 index 00000000..7aa3a3e5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/join.mcfunction @@ -0,0 +1,11 @@ +execute in dropperworld run teleport @s 19 -59 57 180 0 +playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +title @s title ["\u00a7a\u00a7lDropper"] +title @s subtitle ["\u00a7b星跳水立方"] +tellraw @s ["\n \u00a7d ★ \u00a7b星跳水立方\n\n\u00a7a 想办法从平台顶端到达平台底端!并且寻找传送门进入下一关。\n"] +tellraw @a ["\u00a7b[Game] ",{"selector":"@s"},"\u00a7d 加入了\u00a7a星跳水立方\u00a7d游戏。"] +team join dropper +clear @s + +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/load.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/load.mcfunction new file mode 100644 index 00000000..fa1e3712 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/load.mcfunction @@ -0,0 +1 @@ +scoreboard players add @s dropper.level 0 diff --git a/datapacks/map_all/data/minecraft/functions/dropper/nextlevel.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/nextlevel.mcfunction new file mode 100644 index 00000000..9755f6d4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/nextlevel.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=dropper] [{"selector":"@s"}," \u00a7b完成了\u00a7d第 ",{"score":{"name": "@s","objective": "dropper.level"},"color": "aqua"}," \u00a7d关"] +scoreboard players add @s dropper.level 1 +execute if score @s dropper.level matches 11.. run function dropper/win +title @s subtitle ["\u00a7a已到达下一关"] +execute if score @s dropper.level matches 1..10 run title @s title ["\u00a7d第 ",{"score":{"name": "@s","objective": "dropper.level"},"color": "aqua"},"\u00a7d 关"] +execute if score @s dropper.level matches 1..10 run function dropper/playlevel +execute at @s run playsound entity.player.levelup player @s ~ ~ ~ 10 1 1 +function dropper/save \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/playlevel.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/playlevel.mcfunction new file mode 100644 index 00000000..4b6a34d6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/playlevel.mcfunction @@ -0,0 +1,5 @@ +function dropper/tptolevel +attribute @s generic.max_health base set 2 +title @s actionbar ["\u00a7d第 ",{"score":{"name": "@s","objective": "dropper.level"},"color": "aqua"},"\u00a7d 关"] +# item replace entity @s armor.feet with diamond_boots{AttributeModifiers:[{AttributeName:"generic.max_health",Name:"noName",Amount:-14d,Operation:0,UUID:[I;1041,1467,7334,9500]}],Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}],HideFlags:63} + diff --git a/datapacks/map_all/data/minecraft/functions/dropper/save.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/save.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/dropper/second.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/second.mcfunction new file mode 100644 index 00000000..7d9b6604 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/second.mcfunction @@ -0,0 +1,3 @@ +# effect give @a[team=dropper] minecraft:fire_resistance 2 1 true +effect give @a[team=dropper] minecraft:regeneration 1 2 true +spawnpoint @a[team=dropper] 37 -58 21 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/start.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/start.mcfunction new file mode 100644 index 00000000..5a7dcdc1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/start.mcfunction @@ -0,0 +1,7 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +function dropper/load +# scoreboard players add @s dropper.level 0 +scoreboard players set @s[scores={dropper.level=..1}] dropper.failed 0 +scoreboard players set @s[scores={dropper.level=..1}] dropper.level 1 +function dropper/playlevel +title @s subtitle ["\u00a7a进入传送门进入下一关"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/tick.mcfunction new file mode 100644 index 00000000..083c056b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/tick.mcfunction @@ -0,0 +1,2 @@ +execute as @a[team=dropper] at @s if block ~ ~ ~ nether_portal run function dropper/nextlevel +execute as @a[x=37,y=-59,z=21,dx=1,dy=1,dz=1,distance=..2] run function dropper/died \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/dropper/tptolevel.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/tptolevel.mcfunction new file mode 100644 index 00000000..45763c7e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/tptolevel.mcfunction @@ -0,0 +1,11 @@ +execute if score @s dropper.level matches 1 run tp @s -3 53 -10 90 0 +execute if score @s dropper.level matches 2 run tp @s -6 54 -43 90 0 +execute if score @s dropper.level matches 3 run tp @s -3 52 -77 90 0 +execute if score @s dropper.level matches 4 run tp @s -3 55 -109 90 0 +execute if score @s dropper.level matches 5 run tp @s -4 52 -140 90 0 +execute if score @s dropper.level matches 6 run tp @s -8 52 -172 90 0 +execute if score @s dropper.level matches 7 run tp @s -3 53 -203 90 0 +execute if score @s dropper.level matches 8 run tp @s -3 53 -234 90 0 +execute if score @s dropper.level matches 9 run tp @s -4 56 -265 90 0 +execute if score @s dropper.level matches 10 run tp @s -5 52 -297 90 0 +function dropper/save diff --git a/datapacks/map_all/data/minecraft/functions/dropper/win.mcfunction b/datapacks/map_all/data/minecraft/functions/dropper/win.mcfunction new file mode 100644 index 00000000..33d1b7a3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/dropper/win.mcfunction @@ -0,0 +1,8 @@ +function dropper/join +title @s title ["\u00a7a\u00a7lDropper"] +title @s subtitle ["\u00a7a恭喜!你已完成最后的关卡!"] +tellraw @s ["\u00a7a恭喜!你已完成最后的关卡!\n\u00a7d你的总失败次数为:",{"score":{"name": "@s","objective": "dropper.failed"},"color": "gold"}] +tellraw @a [{"selector":"@s","color":"aqua"}," \u00a7a完成了所有的\u00a7d 「星跳水立方」 \u00a7a关卡。他的总失败次数为 ",{"score":{"name": "@s","objective": "dropper.failed"},"color": "gold"},"\u00a7a 次。"] +scoreboard players set @s dropper.level 0 +scoreboard players set @s dropper.failed 0 +function dropper/save diff --git a/datapacks/map_all/data/minecraft/functions/duel/died.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/died.mcfunction new file mode 100644 index 00000000..469db098 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/died.mcfunction @@ -0,0 +1,15 @@ +# tellraw @s ["\u00a7c对不起,你淘汰了!"] +# tellraw @a[team=play.beli] [{"selector":"@s"},"\u00a7c 淘汰!"] +# tellraw @a[team=wait.beli] [{"selector":"@s"},"\u00a7c 淘汰!"] +# gamemode spectator @s +# scoreboard players set play.beli.player tick 0 +# execute as @a[team=play.beli,gamemode=adventure] run scoreboard players add play.beli.player tick 1 +# title @a[team=play.beli] actionbar ["\u00a7c当前场上剩余选手: ",{"score":{"objective": "tick","name": "play.beli.player"},"color": "dark_purple"}] +effect clear @s +clear @s +effect give @s instant_health 1 25 true +tellraw @a[team=play.duel.blue] [{"selector":"@s"},"\u00a77 死了。"] +tellraw @a[team=play.duel.yellow] [{"selector":"@s"},"\u00a77 死了。"] +tp @s[team=play.duel.yellow] -350 12 -76 -90 0 +tp @s[team=play.duel.blue] -280 12 -76 90 0 +function duel/item \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/item.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/item.mcfunction new file mode 100644 index 00000000..34a76dc3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/item.mcfunction @@ -0,0 +1,4 @@ +clear @s +effect give @s instant_health 2 25 true +effect give @s resistance 2 25 true +function fix:duel/thing \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/join.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/join.mcfunction new file mode 100644 index 00000000..ff3faba5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/join.mcfunction @@ -0,0 +1,15 @@ +title @s[team=!play.duel.yellow,team=!play.duel.blue] title [{"text":"Duel Game","color":"yellow","bold": true}] +title @s[team=!play.duel.yellow,team=!play.duel.blue] subtitle ["\u00a7rFight !"] +team join wait.duel @s +tellraw @a[team=!wait.duel] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"Duel Game","color":"yellow","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.duel,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @s ["\n\u00a7a Welcome to ",{"text":"Duel Game","color":"yellow","bold": true},"\n"] +tellraw @a[team=wait.duel] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +#tp @s 14 3 -44 180 0 +tp @s -108 77 -88 0 0 + +execute at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +clear @s +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/over.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/over.mcfunction new file mode 100644 index 00000000..37879f29 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/over.mcfunction @@ -0,0 +1,15 @@ +scoreboard players set duel.state state 0 +tellraw @a ["\u00a7a[I] ",{"text":"Duel Game","color":"yellow","bold": true}," \u00a7a: \u00a7b游戏结束!\n"] +gamemode adventure @a[gamemode=spectator,team=play.duel.blue] +gamemode adventure @a[gamemode=spectator,team=wait.duel] +gamemode adventure @a[gamemode=spectator,team=wait.duel.yellow] + +# execute if entity @a[team=car.wait,tag=play.total] run function small_games/total/next_game +execute as @a[gamemode=adventure,team=wait.duel] run function duel/join +execute as @a[gamemode=adventure,team=play.duel.yellow] run function duel/join +execute as @a[gamemode=adventure,team=play.duel.blue] run function duel/join + +execute if entity @a[team=wait.duel,tag=play.total] run function small_games/total/next_game + +schedule clear minecraft:duel/summon +kill @e[type=item,nbt={Item:{tag:{duel:1}}}] diff --git a/datapacks/map_all/data/minecraft/functions/duel/over/blue.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/over/blue.mcfunction new file mode 100644 index 00000000..e1af0b5a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/over/blue.mcfunction @@ -0,0 +1,5 @@ +tellraw @a ["\u00a79战桥蓝队 \u00a7a获胜!"] +title @a[team=play.duel.blue] title ["\u00a76You won!"] +title @a[team=play.duel.yellow] title ["\u00a7cYou lost!"] +scoreboard players add @a[team=play.duel.blue,tag=play.total] score 1 +function duel/over diff --git a/datapacks/map_all/data/minecraft/functions/duel/over/yellow.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/over/yellow.mcfunction new file mode 100644 index 00000000..769df688 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/over/yellow.mcfunction @@ -0,0 +1,5 @@ +tellraw @a ["\u00a7e战桥黄队 \u00a7a获胜!"] +title @a[team=play.duel.yellow] title ["\u00a76You won!"] +title @a[team=play.duel.blue] title ["\u00a7cYou lost!"] +scoreboard players add @a[team=play.duel.yellow,tag=play.total] score 1 +function duel/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/reset.mcfunction new file mode 100644 index 00000000..e504b6ee --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/reset.mcfunction @@ -0,0 +1,22 @@ +# fill -113 45 -113 -103 63 -63 air replace #minecraft:terracottas +# forceload add -272 -76 -358 -76 +forceload add -251 -83 -379 -69 + +fill -379 0 -69 -251 5 -83 air replace #minecraft:terracotta +fill -379 6 -69 -251 10 -83 air replace #minecraft:terracotta +fill -379 11 -69 -251 16 -83 air replace #minecraft:terracotta + +fill -379 -6 -69 -251 -4 -83 air replace #minecraft:terracotta + +fill -287 6 -76 -314 0 -76 minecraft:blue_terracotta +fill -316 6 -76 -343 0 -76 minecraft:yellow_terracotta +fill -315 6 -76 -315 0 -76 minecraft:white_terracotta + +fill -379 -6 -69 -251 -4 -83 air replace #minecraft:terracotta + +fill -348 12 -78 -352 15 -74 yellow_stained_glass +fill -351 12 -75 -349 14 -77 air +fill -278 12 -78 -282 15 -74 blue_stained_glass +fill -281 12 -75 -279 14 -77 air + +forceload remove -251 -83 -379 -69 diff --git a/datapacks/map_all/data/minecraft/functions/duel/score/blue.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/score/blue.mcfunction new file mode 100644 index 00000000..2c37393c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/score/blue.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add score.blue tick 1 +tellraw @a[team=play.duel.blue] [{"selector":"@s"},"\u00a79 给蓝队加了一分!"] +tellraw @a[team=play.duel.yellow] [{"selector":"@s"},"\u00a79 给蓝队加了一分!"] +function duel/score/flush \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/score/flush.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/score/flush.mcfunction new file mode 100644 index 00000000..f2317514 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/score/flush.mcfunction @@ -0,0 +1,20 @@ +execute if score duel.clear state matches 0 run function duel/reset +forceload add -251 -83 -379 -69 +scoreboard players operation §e战桥黄队得分 gg.duel = score.yellow tick +scoreboard players operation §9战桥蓝队得分 gg.duel = score.blue tick +# forceload add -110 -65 +fill -348 12 -78 -352 15 -74 yellow_stained_glass +fill -351 12 -75 -349 14 -77 air +fill -278 12 -78 -282 15 -74 blue_stained_glass +fill -281 12 -75 -279 14 -77 air +tp @a[team=play.duel.yellow] -350 12 -76 -90 0 +tp @a[team=play.duel.blue] -280 12 -76 90 0 +execute as @a[team=play.duel.blue] at @s run function duel/item +execute as @a[team=play.duel.yellow] at @s run function duel/item +tellraw @a[team=play.duel.yellow] ["\u00a7a笼子将在5秒后打开!"] +tellraw @a[team=play.duel.blue] ["\u00a7a笼子将在5秒后打开!"] +schedule function duel/summon 5s +execute as @a[team=play.duel.blue] at @s run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @a[team=play.duel.yellow] at @s run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 + +forceload remove -251 -83 -379 -69 diff --git a/datapacks/map_all/data/minecraft/functions/duel/score/wblue.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/score/wblue.mcfunction new file mode 100644 index 00000000..3aac2c8c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/score/wblue.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a7c你不能进入自己的传送门!"] +function duel/died \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/score/wyellow.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/score/wyellow.mcfunction new file mode 100644 index 00000000..3aac2c8c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/score/wyellow.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a7c你不能进入自己的传送门!"] +function duel/died \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/score/yellow.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/score/yellow.mcfunction new file mode 100644 index 00000000..2ff3bbd4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/score/yellow.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add score.yellow tick 1 +tellraw @a[team=play.duel.blue] [{"selector":"@s"},"\u00a7e 给黄队加了一分!"] +tellraw @a[team=play.duel.yellow] [{"selector":"@s"},"\u00a7e 给黄队加了一分!"] +function duel/score/flush \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/second.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/second.mcfunction new file mode 100644 index 00000000..2d7034d4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/second.mcfunction @@ -0,0 +1,15 @@ +scoreboard players set play.duel.player tick 0 +scoreboard players set play.duel.yellow.player tick 0 +scoreboard players set play.duel.blue.player tick 0 +execute as @a[team=play.duel.yellow,gamemode=adventure] run scoreboard players add play.duel.player tick 1 +execute as @a[team=play.duel.yellow,gamemode=adventure] run scoreboard players add play.duel.yellow.player tick 1 +execute as @a[team=play.duel.blue,gamemode=adventure] run scoreboard players add play.duel.blue.player tick 1 +execute as @a[team=play.duel.blue,gamemode=adventure] run scoreboard players add play.duel.player tick 1 +execute if score duel.state state matches 1.. if score score.yellow tick matches 5.. run function minecraft:duel/over/yellow +execute if score duel.state state matches 1.. if score score.blue tick matches 5.. run function minecraft:duel/over/blue +execute if score duel.state state matches 1.. if score play.duel.player tick matches ..1 run function minecraft:duel/over +execute if score duel.state state matches 1.. if score play.duel.blue.player tick matches ..0 run function minecraft:duel/over +execute if score duel.state state matches 1.. if score play.duel.yellow.player tick matches ..0 run function minecraft:duel/over +effect give @a[team=play.duel] minecraft:night_vision 20 25 true +spawnpoint @a[team=play.duel.blue] -105 59 -115 +spawnpoint @a[team=play.duel.yellow] -105 59 -115 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/setting.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/setting.mcfunction new file mode 100644 index 00000000..b3c1deef --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/setting.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add duel.clear state 1 +execute if score duel.clear state matches 2.. run scoreboard players set duel.clear state 0 +execute if score duel.clear state matches 0 run data modify block -111 78 -88 front_text.messages[1] set value '"\\u00a76[每局得分自动清除]"' +execute if score duel.clear state matches 1 run data modify block -111 78 -88 front_text.messages[1] set value '"\\u00a7a每局得分自动清除"' +execute if score duel.clear state matches 1 run data modify block -111 78 -88 front_text.messages[2] set value '"\\u00a76[不会在得分后清除]"' +execute if score duel.clear state matches 0 run data modify block -111 78 -88 front_text.messages[2] set value '"\\u00a7a不会在得分后清除"' +playsound minecraft:ui.button.click player @s ~ ~ ~ 1 1.5 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/sign.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/sign.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/duel/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/spec.mcfunction new file mode 100644 index 00000000..2eb1349f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/spr.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/spr.mcfunction new file mode 100644 index 00000000..79bf1248 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/spr.mcfunction @@ -0,0 +1,11 @@ +tag @a remove duel.out +tag @r[team=wait.duel] add duel.out +scoreboard players add duel.ranteam board 1 +execute if score duel.ranteam board matches 1..1 run team join play.duel.blue @a[tag=duel.out] +execute if score duel.ranteam board matches 2..2 run team join play.duel.yellow @a[tag=duel.out] +tellraw @a[tag=duel.out,team=play.duel.yellow] ["\u00a7a你加入了 \u00a7e战桥黄队"] +tellraw @a[tag=duel.out,team=play.duel.blue] ["\u00a7a你加入了 \u00a79战桥蓝队"] + +execute if score duel.ranteam board matches 2.. run scoreboard players set duel.ranteam board 0 +execute as @a[tag=duel.out] at @s run function duel/item +tag @a remove duel.out \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/start.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/start.mcfunction new file mode 100644 index 00000000..1dcd6d05 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/start.mcfunction @@ -0,0 +1,17 @@ +scoreboard objectives setdisplay sidebar.team.dark_gray gg.duel + +title @a[team=wait.duel] title [{"text":"Duel Game","color":"yellow","bold": true}] +title @a[team=wait.duel] subtitle ["\u00a7r小心!别从桥上摔下去 !"] +tellraw @a[team=wait.duel] ["\n\u00a76 游戏开始!\n"] +## execute as @a[team=wait.duel] run spreadplayers 22 -65 0 16 false @s +execute as @a[team=wait.duel] at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +#team join play.duel @a[team=wait.duel] +scoreboard players set duel.ranteam board 1 +execute as @a[team=wait.duel] at @s run function duel/spr +scoreboard players set duel.state state 1 +scoreboard players set score.yellow tick 0 +scoreboard players set score.blue tick 0 +scoreboard players reset * gg.duel +schedule function duel/reset 1s replace +function duel/score/flush + diff --git a/datapacks/map_all/data/minecraft/functions/duel/summon.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/summon.mcfunction new file mode 100644 index 00000000..c8db4ed6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/summon.mcfunction @@ -0,0 +1,9 @@ +execute as @a[team=play.duel.blue] at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +execute as @a[team=play.duel.yellow] at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 + +fill -348 12 -78 -352 15 -74 air replace yellow_stained_glass +# fill -351 12 -75 -349 14 -77 air +fill -278 12 -78 -282 15 -74 air replace blue_stained_glass + +tellraw @a[team=play.duel.blue] ["\u00a7b笼子已被打开!"] +tellraw @a[team=play.duel.yellow] ["\u00a7b笼子已被打开!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/test.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/test.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/duel/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/teststart.mcfunction new file mode 100644 index 00000000..19b20661 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.duel,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score duel.state state matches 1.. run function minecraft:duel/spec +execute unless score duel.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score duel.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score duel.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:duel/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/duel/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/duel/tick.mcfunction new file mode 100644 index 00000000..238857d7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/duel/tick.mcfunction @@ -0,0 +1,20 @@ +execute as @a[team=play.duel.yellow,gamemode=adventure] at @s if block ~ ~-1 ~ magma_block run function duel/died +execute as @a[team=play.duel.blue,gamemode=adventure] at @s if block ~ ~-1 ~ magma_block run function duel/died +execute as @a[team=play.duel.yellow,gamemode=adventure] at @s if block ~ ~-1 ~ diamond_block run function duel/score/yellow +execute as @a[team=play.duel.blue,gamemode=adventure] at @s if block ~ ~-1 ~ gold_block run function duel/score/blue +execute as @a[team=play.duel.blue,gamemode=adventure] at @s if block ~ ~-1 ~ diamond_block run function duel/score/wblue +execute as @a[team=play.duel.yellow,gamemode=adventure] at @s if block ~ ~-1 ~ gold_block run function duel/score/wyellow + +fill -379 -3 -69 -251 -1 -83 air replace #minecraft:terracotta +fill -379 15 -69 -251 17 -83 air replace #minecraft:terracotta + +kill @e[type=item,nbt={Item:{tag:{duel:1}}}] + +execute as @a[team=play.duel.yellow] at @s run kill @e[type=item,distance=0..5] +execute as @a[team=play.duel.blue] at @s run kill @e[type=item,distance=0..5] + +fill -348 12 -78 -352 15 -74 air replace #minecraft:terracotta +fill -278 12 -78 -282 15 -74 air replace #minecraft:terracotta + +fill -354 3 -72 -360 10 -80 air replace #minecraft:terracotta +fill -276 3 -80 -270 10 -72 air replace #minecraft:terracotta \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/died.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/died.mcfunction new file mode 100644 index 00000000..b7f162ff --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/died.mcfunction @@ -0,0 +1,3 @@ +execute as @s[team=hide.wait2] run function hide2/join +execute as @s[team=hide.runner] run function hide2/during/runnerdied +execute as @s[team=hide.killer] run function hide2/during/killerdied \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/during/hunitem.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/during/hunitem.mcfunction new file mode 100644 index 00000000..0ffd881e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/during/hunitem.mcfunction @@ -0,0 +1,9 @@ +give @s wooden_sword{Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:40d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand}]} +# effect give @s strength 99998 20 true +# give @s bow{Unbreakable:1b,Enchantments:[{id:"power",lvl:1},{id:"infinity",lvl:1}]} +# item replace entity @s inventory.26 with arrow 1 +# give @s carrot_on_a_stick{Unbreakable:1b,hun:1,display:{Name:'"\\u00a7cBoom!\\u00a77 - 右键点击"'}} +item replace entity @s armor.head with leather_helmet{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.chest with leather_chestplate{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.legs with leather_leggings{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.feet with leather_boots{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/during/killerdied.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/during/killerdied.mcfunction new file mode 100644 index 00000000..618d8404 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/during/killerdied.mcfunction @@ -0,0 +1,10 @@ +tellraw @s ["\u00a7e你复活了。"] +tellraw @a[team=hide.runner] [{"selector":"@s"},"\u00a7c 死了。"] +tellraw @a[team=hide.killer] [{"selector":"@s"},"\u00a7c 死了。"] +clear @s +scoreboard players reset @s die +function hide2/during/hunitem +# tp @s 413 69 -329 90 0 +xp set @s 0 levels +xp set @s 0 points +tp @s 139 59 -135 180 0 diff --git a/datapacks/map_all/data/minecraft/functions/hide2/during/reflushitem.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/during/reflushitem.mcfunction new file mode 100644 index 00000000..7c5f52f9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/during/reflushitem.mcfunction @@ -0,0 +1,9 @@ +execute as @e[tag=hide2.ranitem] at @s run data merge block ~ ~ ~ {LootTable:""} +execute as @e[tag=hide2.ranitem] at @s run setblock ~ ~ ~ air +execute as @e[tag=hide2.ranitem] at @s run setblock ~ ~ ~ minecraft:barrel[open=true]{LootTable:"hide2/item"} replace + +title @a[tag=hide2.sel] actionbar ["\u00a7a事件:\u00a7c刷新物品"] +tellraw @a[tag=hide2.sel] ["\n\u00a7a事件:\u00a7c刷新物品\n"] + + +execute as @a[tag=hide2.sel] at @s run playsound minecraft:block.chest.open player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/during/runnerdied.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/during/runnerdied.mcfunction new file mode 100644 index 00000000..47f06708 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/during/runnerdied.mcfunction @@ -0,0 +1,14 @@ +scoreboard players reset @s die +tellraw @a[team=hide.runner] [{"selector":"@s"},"\u00a7c 被找到了。"] +tellraw @a[team=hide.killer] [{"selector":"@s"},"\u00a7c 被找到了。"] +tellraw @s ["\u00a7e你被找到了,所以你淘汰了。"] + +clear @s +gamemode spectator @s +# team join hide.play.hun +# function hideseek/during/hunitem +xp set @s 0 levels +xp set @s 0 points +tp @s 139 59 -135 180 0 +title @s title ["\u00a7c你淘汰了"] +title @s subtitle ["\u00a7f你被找到了"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/during/spawnanimal.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/during/spawnanimal.mcfunction new file mode 100644 index 00000000..5db7c4f2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/during/spawnanimal.mcfunction @@ -0,0 +1,16 @@ +tag @e[tag=random_game,limit=1,sort=random] add hide.sel +scoreboard players operation hide.ranani board = @e[tag=hide.sel,limit=1] board +tag @e remove hide.sel +execute if score hide.ranani board matches 1 run summon minecraft:cat 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +execute if score hide.ranani board matches 2 run summon minecraft:cow 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +execute if score hide.ranani board matches 3 run summon minecraft:chicken 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +execute if score hide.ranani board matches 4 run summon minecraft:mooshroom 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +execute if score hide.ranani board matches 5 run summon minecraft:panda 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +execute if score hide.ranani board matches 6 run summon minecraft:squid 343 64 -318 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals"]} +execute if score hide.ranani board matches 7 run summon minecraft:cod 343 64 -318 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals"]} +execute if score hide.ranani board matches 8 run summon minecraft:salmon 343 64 -318 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals"]} +execute if score hide.ranani board matches 9 run summon minecraft:goat 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +execute if score hide.ranani board matches 10.. run summon minecraft:sheep 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hide.animals","neww"]} +# execute if score hide.ranani board matches 1 +execute as @e[tag=neww] run spreadplayers 382 -310 0 30 under 72 false @s +tag @e[tag=neww] remove neww \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/during/testanimal.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/during/testanimal.mcfunction new file mode 100644 index 00000000..ffa754ba --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/during/testanimal.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set hide.anicount board 0 +execute as @e[tag=hide.animals] at @s run scoreboard players add hide.anicount board 1 +execute if score hide.anicount board matches ..30 run function hideseek/during/spawnanimal \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/gameover/killer.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/gameover/killer.mcfunction new file mode 100644 index 00000000..d9f2eb01 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/gameover/killer.mcfunction @@ -0,0 +1,9 @@ +title @a[team=hide.runner] title ["\u00a76Game Over!"] +title @a[team=hide.killer] title ["\u00a76Game Over!"] +tellraw @a[team=hide.killer] ["\n\u00a7c 追杀者获胜!\n"] +tellraw @a[team=hide.runner] ["\n\u00a7c 追杀者获胜!\n"] +# tellraw @a[team=hide.runner] ["\n\u00a7c 追杀者获胜!\n"] +tellraw @a[team=hide.wait2] ["\n\u00a7c 追杀者获胜!\n"] +scoreboard players add @a[team=hide.killer,gamemode=adventure,tag=play.total] score 1 + +function hide2/gameover/over diff --git a/datapacks/map_all/data/minecraft/functions/hide2/gameover/over.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/gameover/over.mcfunction new file mode 100644 index 00000000..a980769d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/gameover/over.mcfunction @@ -0,0 +1,9 @@ +scoreboard players set hide2.state state 0 +# title @a[team=hide.play.ani] title ["\u00a7cGAMEOVER!"] +# title @a[team=hide.play.hun] title ["\u00a7cGAMEOVER!"] +title @a[team=hide.wait2] title ["\u00a7cGAMEOVER!"] +bossbar set minecraft:hideseek2 players +function hide2/starting/reset +# bossbar set zombie:zombiecount players + +schedule function hide2/gameover/tp 5s append \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/gameover/runner.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/gameover/runner.mcfunction new file mode 100644 index 00000000..b7a3db0f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/gameover/runner.mcfunction @@ -0,0 +1,12 @@ +title @a[team=hide.runner,gamemode=adventure] title ["\u00a76You won!"] +title @a[team=hide.runner,gamemode=spectator] title ["\u00a7cGame Over"] + +title @a[team=hide.killer] title ["\u00a7cYou lost!"] +tellraw @a[team=hide.runner] ["\n\u00a7b 逃跑者获胜!\n"] +tellraw @a[team=hide.killer] ["\n\u00a7b 逃跑者获胜!\n"] +tellraw @a[team=hide.wait2] ["\n\u00a7b 逃跑者获胜!\n"] +scoreboard players add @a[team=hide.runner,gamemode=adventure,tag=play.total] score 1 + +function hide2/gameover/over + +# function hideseek/gameover/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/gameover/runnertime.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/gameover/runnertime.mcfunction new file mode 100644 index 00000000..2b4056a0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/gameover/runnertime.mcfunction @@ -0,0 +1,11 @@ +title @a[team=hide.runner,gamemode=adventure] title ["\u00a76You won!"] +title @a[team=hide.runner,gamemode=spectator] title ["\u00a7cGame Over"] +title @a[team=hide.killer] title ["\u00a7cYou lost!"] +tellraw @a[team=hide.runner] ["\n\u00a7b 时间结束,逃跑者获胜!\n"] +tellraw @a[team=hide.runner] ["\n\u00a7b 时间结束,逃跑者获胜!\n"] +tellraw @a[team=hide.wait2] ["\n\u00a7b 时间结束,逃跑者获胜!\n"] +scoreboard players add @a[team=hide.runner,gamemode=adventure,tag=play.total] score 1 + +function hide2/gameover/over + +# function hideseek/gameover/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/gameover/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/gameover/tp.mcfunction new file mode 100644 index 00000000..4ab92e70 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/gameover/tp.mcfunction @@ -0,0 +1,6 @@ + +execute as @a[team=hide.wait2] run function hide2/join +execute as @a[team=hide.runner] run function hide2/join +execute as @a[team=hide.killer] run function hide2/join +execute if entity @a[team=hide.wait2,tag=play.total] run function small_games/total/next_game +gamemode adventure @a[team=hide.wait2] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/glowingeveryone.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/glowingeveryone.mcfunction new file mode 100644 index 00000000..8b859962 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/glowingeveryone.mcfunction @@ -0,0 +1,4 @@ +effect give @a[team=hide.runner,gamemode=adventure] glowing 5 25 true +effect give @a[team=hide.killer,gamemode=adventure] glowing 5 25 true +title @a[tag=hide2.sel] actionbar ["\u00a7a事件:\u00a7e发光 5 秒"] +tellraw @a[tag=hide2.sel] ["\n\u00a7a事件:\u00a7e发光 5 秒\n"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/join.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/join.mcfunction new file mode 100644 index 00000000..7967dd3f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/join.mcfunction @@ -0,0 +1,12 @@ +tp @s 138.0 84 -186 0 0 +team join hide.wait2 +title @s title ["\u00a7b\u00a7l躲猫猫"] +title @s subtitle ["\u00a7a道具模式 - Tools"] +playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +bossbar set minecraft:hideseek2 players +clear @s +effect clear @s +effect give @s instant_health 2 25 true +tellraw @a [{"selector":"@s"},"\u00a7a 加入了\u00a7b躲猫猫(道具模式) 游戏。"] +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/prepare/hungo.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/prepare/hungo.mcfunction new file mode 100644 index 00000000..598b5986 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/prepare/hungo.mcfunction @@ -0,0 +1,9 @@ +# fill 428 72 -267 434 72 -273 air +tellraw @a[team=hide.runner] ["\n\u00a7c 猎人出动!请小心!\n"] +title @a[team=hide.killer] title ["\u00a7b出发!"] +title @a[team=hide.killer] subtitle ["寻找躲藏起来的玩家!"] +# tellraw @a[team=hide.play.hun] ["\n\u00a7a提示:请攻击动物靠上部分。\n"] +execute as @a[team=hide.killer] run function hide2/during/hunitem +tp @a[team=hide.killer] 139 59 -135 180 0 +scoreboard players set hide2.state state 1 +# effect give @a[team=hide.play.hun] slow_falling 5 1 true \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/prepare/step1.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/prepare/step1.mcfunction new file mode 100644 index 00000000..6d6ecdf0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/prepare/step1.mcfunction @@ -0,0 +1,6 @@ +scoreboard players remove hide2.huntgo board 1 +title @a[team=hide.killer] actionbar ["\u00a7a你将在 ",{"score":{"objective":"board","name":"hide2.huntgo"},"color":"yellow"},"\u00a7es\u00a7a 后出动"] +title @a[team=hide.runner] actionbar ["\u00a7a猎人将在 ",{"score":{"objective":"board","name":"hide2.huntgo"},"color":"yellow"},"\u00a7es\u00a7a 后出动"] +execute if score hide2.huntgo board matches ..0 run function hide2/prepare/hungo + +# execute if score hide2.huntgo board matches 25 as @a[team=hide.play.ani] at @s run function hide2/changeanimal diff --git a/datapacks/map_all/data/minecraft/functions/hide2/second.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/second.mcfunction new file mode 100644 index 00000000..44d5d42d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/second.mcfunction @@ -0,0 +1,38 @@ +scoreboard players remove hide2.resttime board 1 +scoreboard players set hide2.restanimals board 0 +scoreboard players set hide2.resthunts board 0 +execute as @a[team=hide.runner,gamemode=adventure] at @s run scoreboard players add hide2.restanimals board 1 +execute as @a[team=hide.killer,gamemode=adventure] at @s run scoreboard players add hide2.resthunts board 1 + +bossbar set minecraft:hideseek2 name ["\u00a7b剩余时间:",{"score":{"objective":"board","name":"hide2.resttime"},"color":"gold"},"\u00a76s \u00a7a存活玩家数:",{"score":{"objective":"board","name":"hide2.restanimals"},"color":"gold"}] + +execute store result bossbar minecraft:hideseek2 max run scoreboard players get hide2.maxtime board +execute store result bossbar minecraft:hideseek2 value run scoreboard players get hide2.resttime board + +tag @a[team=hide.runner] add hide2.sel +tag @a[team=hide.killer] add hide2.sel +tag @a[team=hide.wait2] add hide2.sel +bossbar set minecraft:hideseek2 players +bossbar set minecraft:hideseek2 players @a[tag=hide2.sel] + +# spawnpoint @a[team=hide.runner] 139 59 -135 180 +# spawnpoint @a[team=hide.killer] 139 59 -135 180 +spawnpoint @a[team=hide.runner] 138 90 -157 0 +spawnpoint @a[team=hide.killer] 138 90 -157 0 + +execute if score hide2.state state matches 2..5 run function hide2/prepare/step1 +execute if score hide2.state state matches 1..5 if score hide2.restanimals board matches ..0 run function hide2/gameover/killer +execute if score hide2.state state matches 1..5 if score hide2.resthunts board matches ..0 run function hide2/gameover/runner +execute if score hide2.state state matches 1..5 if score hide2.resttime board matches ..0 run function hide2/gameover/runnertime + +scoreboard players set 60 board 60 +scoreboard players operation hide2.tmp board = hide2.resttime board +scoreboard players operation hide2.tmp board %= 60 board +execute if score hide2.resttime board matches 1.. if score hide2.tmp board matches ..0 run function hide2/glowingeveryone + +scoreboard players set 180 board 180 +scoreboard players operation hide2.tmp board = hide2.resttime board +scoreboard players operation hide2.tmp board %= 180 board +execute if score hide2.resttime board matches 1.. if score hide2.tmp board matches ..0 run function hide2/during/reflushitem + +tag @a[tag=hide2.sel] remove hide2.sel diff --git a/datapacks/map_all/data/minecraft/functions/hide2/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/spec.mcfunction new file mode 100644 index 00000000..5fd6c34d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\n\u00a7c很抱歉,游戏已经开始了!请等待下一局!\n"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/start.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/start.mcfunction new file mode 100644 index 00000000..cd4c9636 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/start.mcfunction @@ -0,0 +1,30 @@ +scoreboard players set start.player tick 0 +effect clear @a[team=hide.wait2] +execute as @a[team=hide.wait2,gamemode=adventure] run scoreboard players add start.player tick 1 +scoreboard players operation hide2.maxtime1 board = start.player tick +scoreboard players set 30 board 30 +scoreboard players set 100 board 100 +scoreboard players set 120 board 120 +scoreboard players set 60 board 60 +scoreboard players set 90 board 90 +scoreboard players set hide2.maxtime board 0 +scoreboard players operation hide2.maxtime board += 60 board +scoreboard players operation hide2.maxtime1 board *= 30 board +scoreboard players operation hide2.maxtime board += hide2.maxtime1 board + +execute if score hide2.maxtime board matches 600.. run scoreboard players set hide2.maxtime board 600 +scoreboard players operation hide2.resttime board = hide2.maxtime board +scoreboard players set hide2.huntgo board 30 +function hide2/starting/reset +function hide2/starting/ranteam + +tellraw @a[team=hide.runner] ["\n\u00a7c 追杀者将在30秒后出动。\n"] +tellraw @a[team=hide.killer] ["\n\u00a7c 你将在30秒后出动。\n"] +scoreboard players set hide2.state state 2 +gamemode spectator @a[team=hide.wait2,tag=GOABLE.SPEC] +team join hide.wait2 @a[team=hide.wait2,tag=GOABLE.SPEC] + +tp @a[team=hide.runner] 137 59 -129 -180 0 +tp @a[team=hide.killer] 133 60 -118 90 0 + +tellraw @a[team=hide.killer] ["\n\u00a76\u00a7l 注意:为了您的游戏体验,请不要使用小地图以及其他作弊模组!\n"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/starting/joinkiller.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/starting/joinkiller.mcfunction new file mode 100644 index 00000000..3d8d8f3f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/starting/joinkiller.mcfunction @@ -0,0 +1,5 @@ +# function hideseek/during/huntdied +# team join hide.killer +tellraw @s ["\n\u00a7c 你的身份是:追杀者。\n"] +title @s title ["\u00a7c你的身份是: 追杀者"] +title @s subtitle ["\u00a7f搜寻逃跑者!击杀他们!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/starting/joinrunner.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/starting/joinrunner.mcfunction new file mode 100644 index 00000000..25ba29b4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/starting/joinrunner.mcfunction @@ -0,0 +1,7 @@ +# team join hide.runner +# item replace entity @s inventory.26 with arrow +# function hideseek/changeanimal + +tellraw @s ["\n\u00a7b 你的身份是:逃跑者。\n"] +title @s title ["\u00a7b你的身份是: 逃跑者"] +title @s subtitle ["\u00a7f搜寻道具!坚持到倒计时结束!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/starting/ranteam.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/starting/ranteam.mcfunction new file mode 100644 index 00000000..3ef22908 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/starting/ranteam.mcfunction @@ -0,0 +1,8 @@ +# function hideseek/starting/joinani +team join hide.killer @a[team=hide.wait2,gamemode=adventure,limit=1,sort=random] +execute if score start.player tick matches 5.. run team join hide.killer @a[team=hide.wait2,gamemode=adventure,limit=1,sort=random] +execute if score start.player tick matches 9.. run team join hide.killer @a[team=hide.wait2,gamemode=adventure,limit=1,sort=random] +execute if score start.player tick matches 14.. run team join hide.killer @a[team=hide.wait2,gamemode=adventure,limit=1,sort=random] +team join hide.runner @a[team=hide.wait2,gamemode=adventure] +execute as @a[team=hide.runner] at @s run function hide2/starting/joinrunner +execute as @a[team=hide.killer] at @s run function hide2/starting/joinkiller \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/starting/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/starting/reset.mcfunction new file mode 100644 index 00000000..59a1215d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/starting/reset.mcfunction @@ -0,0 +1,10 @@ +# fill 428 72 -267 434 72 -273 black_concrete +# kill @e[tag=hide.animals,type=!player] +# scoreboard players reset * LRS_START_DJS +# execute as @e[tag=hide2.ranitem] at @s run setblock ~ ~ ~ minecraft:barrel[open=true] replace +# data merge block ~ ~ ~ {} +function hide2/during/reflushitem +# execute as @e[tag=hide2.ranitem] at @s run data merge block ~ ~ ~ {LootTable:""} +# execute as @e[tag=hide2.ranitem] at @s run setblock ~ ~ ~ air +# execute as @e[tag=hide2.ranitem] at @s run setblock ~ ~ ~ minecraft:barrel[open=true]{LootTable:""} replace +kill @e[type=item] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/test/huntergo.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/test/huntergo.mcfunction new file mode 100644 index 00000000..d166313a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/test/huntergo.mcfunction @@ -0,0 +1,4 @@ +# fill 428 72 -267 434 72 -273 air +team join hide.play.ani +give @s carrot_on_a_stick{Unbreakable:1b,ani:1,display:{Name:'"\\u00a7b切换方块\\u00a77 - 右键点击"'}} +function hideseek/changeanimal \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/tick.mcfunction new file mode 100644 index 00000000..7d8250b6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/tick.mcfunction @@ -0,0 +1,6 @@ +# +execute as @a[team=hide.runner] at @s run kill @e[type=item,distance=0..10] +execute as @a[team=hide.killer] at @s run kill @e[type=item,distance=0..10] + +clear @a[team=hide.runner] glass_bottle +clear @a[team=hide.killer] glass_bottle \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hide2/trystart.mcfunction b/datapacks/map_all/data/minecraft/functions/hide2/trystart.mcfunction new file mode 100644 index 00000000..da20a8a6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hide2/trystart.mcfunction @@ -0,0 +1,9 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=hide.wait2,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score hide2.state state matches 1.. run function minecraft:hide2/spec +execute unless score hide2.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score hide2.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score hide2.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:hide2/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/changeanimal.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/changeanimal.mcfunction new file mode 100644 index 00000000..89648fdc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/changeanimal.mcfunction @@ -0,0 +1,22 @@ +tag @s add seel + +execute as @e[tag=hide.animals,tag=hide.cosplay] if score @s LRS_START_DJS = @a[tag=seel,limit=1] park.uuid run tag @s add shouldtp +tag @s remove seel +# tp @e[tag=shouldtp] @s + +# TODO: Summon block_display depend on block under players + +# execute if score @s LRS_START_DJS matches 1 run summon minecraft:cat 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hianimal","hide.animals","neww"],NoAI:1b} +item replace block 0 2 0 container.0 with air +execute at @s align xyz if block ~ ~-0.5 ~ #hideseek run summon minecraft:block_display ~ ~ ~ {Invulnerable:1b,Team:"hide.play.ani",Tags:["hianimal","hide.animals","neww"],block_state:{Name:"minecraft:diamond_block"}} +execute at @s align xyz if block ~ ~-0.5 ~ #hideseek run loot replace block 0 2 0 container.0 mine ~ ~-0.5 ~ shears{Enchantments:[{id:"minecraft:silk_touch",lvl:1}]} +execute if data block 0 2 0 Items[0] as @e[tag=neww] run data modify entity @s block_state.Name set from block 0 2 0 Items[0].id +execute at @s align xyz if block ~ ~-0.5 ~ #hideseek run scoreboard players reset @e[tag=shouldtp,limit=1] +execute at @s align xyz if block ~ ~-0.5 ~ #hideseek run kill @e[tag=shouldtp,limit=1] +tag @e[tag=neww] add hide.cosplay +scoreboard players operation @e[tag=neww] LRS_START_DJS = @s park.uuid +execute at @s align xyz if block ~ ~-0.5 ~ #hideseek run tellraw @s ["\n\u00a7a \u00a7l你的新身份为: ",{"nbt":"Items[0].id","block":"0 2 0","color": "gold"},"\n"] +execute at @s align xyz unless block ~ ~-0.5 ~ #hideseek run tellraw @s ["\n\u00a7a \u00a7l无法切换:方块不支持\n"] + +tag @e[tag=neww] remove neww +tag @e remove shouldtp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/defaultanimal.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/defaultanimal.mcfunction new file mode 100644 index 00000000..863891d9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/defaultanimal.mcfunction @@ -0,0 +1,17 @@ +tag @s add seel + +execute as @e[tag=hide.animals,tag=hide.cosplay] if score @s LRS_START_DJS = @a[tag=seel,limit=1] park.uuid run tag @s add shouldtp +tag @s remove seel +# tp @e[tag=shouldtp] @s + +# TODO: Summon block_display depend on block under players + +# execute if score @s LRS_START_DJS matches 1 run summon minecraft:cat 335 65 -332 {DeathLootTable:"",Invulnerable:1b,PersistenceRequired:1b,Team:"hide.play.ani",Tags:["hianimal","hide.animals","neww"],NoAI:1b} +item replace block 0 2 0 container.0 with air +summon minecraft:block_display ~ ~ ~ {Invulnerable:1b,Team:"hide.play.ani",Tags:["hianimal","hide.animals","neww"],block_state:{Name:"minecraft:dirt"}} +execute at @s align xyz if block ~ ~-0.5 ~ #hideseek run tellraw @s ["\n\u00a7a \u00a7l你的新身份为: 泥土","\n"] +tag @e[tag=neww] add hide.cosplay +scoreboard players operation @e[tag=neww] LRS_START_DJS = @s park.uuid + +tag @e[tag=neww] remove neww +tag @e remove shouldtp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/during/anidied.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/during/anidied.mcfunction new file mode 100644 index 00000000..18229611 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/during/anidied.mcfunction @@ -0,0 +1,17 @@ +scoreboard players reset @s die +tellraw @a[team=hide.play.hun] [{"selector":"@s"},"\u00a7c 变成了猎人。"] +tellraw @a[team=hide.play.ani] [{"selector":"@s"},"\u00a7c 变成了猎人。"] +tellraw @s ["\u00a7e你死了。\n现在成为了一个猎人。"] +clear @s +team join hide.play.hun +function hideseek/during/hunitem +xp set @s 0 levels +xp set @s 0 points + +tag @s add seel +execute as @e[tag=hide.animals,tag=hide.cosplay] if score @s LRS_START_DJS = @a[tag=seel,limit=1] park.uuid run tag @s add shouldtp +tag @s remove seel +# tp @e[tag=shouldtp] @s +scoreboard players reset @e[tag=shouldtp,limit=1] +kill @e[tag=shouldtp,limit=1] +# tellraw @s ["\n\u00a7a提示:请攻击动物靠上部分。\n"] diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/during/hunitem.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/during/hunitem.mcfunction new file mode 100644 index 00000000..bca4b8f5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/during/hunitem.mcfunction @@ -0,0 +1,9 @@ +give @s wooden_sword{Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:7d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand}]} +# give @s bow{Unbreakable:1b,Enchantments:[{id:"power",lvl:1},{id:"infinity",lvl:1}]} +# item replace entity @s inventory.26 with arrow 1 +# effect give @s speed infinite 0 true +# give @s carrot_on_a_stick{Unbreakable:1b,hun:1,display:{Name:'"\\u00a7cGlowing!\\u00a77 - 右键点击"'}} +item replace entity @s armor.head with leather_helmet{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.chest with leather_chestplate{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.legs with leather_leggings{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.feet with leather_boots{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}],AttributeModifiers:[{Name:"sd2",AttributeName:"generic.movement_speed",Amount:0.02,Operation:0,Slot:"feet",UUID:[I;1233,2233,233,233]}]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/during/huntdied.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/during/huntdied.mcfunction new file mode 100644 index 00000000..4e3ca2ef --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/during/huntdied.mcfunction @@ -0,0 +1,10 @@ +tellraw @s ["\u00a7e你复活了。"] +tellraw @a[team=hide.play.hun] [{"selector":"@s"},"\u00a7c 死了。"] +tellraw @a[team=hide.play.ani] [{"selector":"@s"},"\u00a7c 死了。"] +clear @s +scoreboard players reset @s die +function hideseek/during/hunitem +team join hide.play.hun +tp @s 470 2 -362 -180 0 +xp set @s 0 levels +xp set @s 0 points \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/during/spawnanimal.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/during/spawnanimal.mcfunction new file mode 100644 index 00000000..b52588c8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/during/spawnanimal.mcfunction @@ -0,0 +1,17 @@ +tag @e[tag=random_game,limit=1,sort=random] add hide.sel +scoreboard players operation hide.ranani board = @e[tag=hide.sel,limit=1] board +tag @e remove hide.sel +execute if score hide.ranani board matches 1 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:oak_leaves"}} +execute if score hide.ranani board matches 2 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:stone"}} +execute if score hide.ranani board matches 3 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:stone_bricks"}} +execute if score hide.ranani board matches 4 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:white_wool"}} +execute if score hide.ranani board matches 5 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:spruce_planks"}} +execute if score hide.ranani board matches 6 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","hide.wtf","neww"],block_state:{Name:"minecraft:moss_carpet"}} +execute if score hide.ranani board matches 7 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","hide.wtf","neww"],block_state:{Name:"minecraft:dandelion"}} +execute if score hide.ranani board matches 8 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","hide.wtf","neww"],block_state:{Name:"minecraft:sunflower"}} +execute if score hide.ranani board matches 9 run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:grass_block"}} +execute if score hide.ranani board matches 10.. run summon minecraft:block_display 501 -1 -365 {Invulnerable:1b,Tags:["hide.animals","neww","hide.wtf"],block_state:{Name:"minecraft:dirt"}} +# execute if score hide.ranani board matches 1 +execute as @e[tag=neww] run spreadplayers 468.0 -364.0 0 40 under 20 false @s +execute as @e[tag=neww] at @s align xyz run tp @s ~ ~ ~ +tag @e[tag=neww] remove neww \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/during/testanimal.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/during/testanimal.mcfunction new file mode 100644 index 00000000..ffa754ba --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/during/testanimal.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set hide.anicount board 0 +execute as @e[tag=hide.animals] at @s run scoreboard players add hide.anicount board 1 +execute if score hide.anicount board matches ..30 run function hideseek/during/spawnanimal \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/follow.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/follow.mcfunction new file mode 100644 index 00000000..5ff17955 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/follow.mcfunction @@ -0,0 +1,9 @@ +tag @s add seel +execute as @e[tag=hide.animals,tag=hide.cosplay] if score @s LRS_START_DJS = @a[tag=seel,limit=1] park.uuid run tag @s add shouldtp +tag @s remove seel +# tp @e[tag=shouldtp] @s +execute unless entity @e[tag=shouldtp,limit=1] run function hideseek/changeanimal +execute as @s[tag=action.sneaking] at @s align xyz as @e[tag=shouldtp,limit=1] run tp @s ~ ~ ~ +execute as @s[tag=!action.sneaking] at @s positioned ~-0.5 ~ ~-0.5 as @e[tag=shouldtp,limit=1] run tp @s ~ ~ ~ +tag @e[tag=shouldtp] remove shouldtp + diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/gameover/ani.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/ani.mcfunction new file mode 100644 index 00000000..63212864 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/ani.mcfunction @@ -0,0 +1,14 @@ +title @a[team=hide.play.hun] title ["\u00a76You won!"] +title @a[team=hide.play.ani] title ["\u00a7cYou lost!"] +tellraw @a[team=hide.play.hun] ["\n\u00a7b 躲藏者胜!\n"] +tellraw @a[team=hide.play.ani] ["\n\u00a7b 躲藏者获胜!\n"] +tellraw @a[team=hide.wait] ["\n\u00a7b 躲藏者获胜!\n"] +scoreboard players add @a[team=hide.play.ani,gamemode=adventure,tag=play.total] score 1 +# execute if entity @a[team=play.snow,tag=play.total] run function small_games/total/next_game +execute as @a[team=hide.wait] run function hideseek/join +execute as @a[team=hide.play.hun] run function hideseek/join +execute as @a[team=hide.play.ani] run function hideseek/join +gamemode adventure @a[team=hide.wait] +function hideseek/gameover/over + +# function hideseek/gameover/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/gameover/anitime.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/anitime.mcfunction new file mode 100644 index 00000000..3315fa07 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/anitime.mcfunction @@ -0,0 +1,14 @@ +title @a[team=hide.play.hun] title ["\u00a76You won!"] +title @a[team=hide.play.ani] title ["\u00a7cYou lost!"] +tellraw @a[team=hide.play.hun] ["\n\u00a7b 时间结束,躲藏者获胜!\n"] +tellraw @a[team=hide.play.ani] ["\n\u00a7b 时间结束,躲藏者获胜!\n"] +tellraw @a[team=hide.wait] ["\n\u00a7b 时间结束,躲藏者获胜!\n"] +scoreboard players add @a[team=hide.play.ani,gamemode=adventure,tag=play.total] score 1 +# execute if entity @a[team=play.snow,tag=play.total] run function small_games/total/next_game +execute as @a[team=hide.wait] run function hideseek/join +execute as @a[team=hide.play.hun] run function hideseek/join +execute as @a[team=hide.play.ani] run function hideseek/join +gamemode adventure @a[team=hide.wait] +function hideseek/gameover/over + +# function hideseek/gameover/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/gameover/hunt.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/hunt.mcfunction new file mode 100644 index 00000000..027feb94 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/hunt.mcfunction @@ -0,0 +1,10 @@ +title @a[team=hide.play.hun] title ["\u00a76Game Over!"] +tellraw @a[team=hide.play.hun] ["\n\u00a7c 猎人获胜!\n"] +tellraw @a[team=hide.play.ani] ["\n\u00a7c 猎人获胜!\n"] +tellraw @a[team=hide.wait] ["\n\u00a7c 猎人获胜!\n"] +scoreboard players add @a[team=hide.play.hun,gamemode=adventure,tag=play.total] score 1 +execute as @a[team=hide.wait] run function hideseek/join +execute as @a[team=hide.play.hun] run function hideseek/join +execute as @a[team=hide.play.ani] run function hideseek/join +gamemode adventure @a[team=hide.wait] +function hideseek/gameover/over diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/gameover/over.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/over.mcfunction new file mode 100644 index 00000000..66adca86 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/gameover/over.mcfunction @@ -0,0 +1,14 @@ +forceload add 390 -301 545 -428 +# execute if entity @a[team=play.snow,tag=play.total] run function small_games/total/next_game +execute if entity @a[team=hide.wait,tag=play.total] run function small_games/total/next_game + +scoreboard players set hide.state state 0 +# title @a[team=hide.play.ani] title ["\u00a7cGAMEOVER!"] +# title @a[team=hide.play.hun] title ["\u00a7cGAMEOVER!"] +title @a[team=hide.wait] title ["\u00a7cGAMEOVER!"] +bossbar set minecraft:hideseek players +function hideseek/starting/reset + +# forceload add 435 -266 328 -356 +kill @e[tag=hide.animals] +forceload remove 390 -301 545 -428 diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/glowingeveryone.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/glowingeveryone.mcfunction new file mode 100644 index 00000000..b8906287 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/glowingeveryone.mcfunction @@ -0,0 +1,6 @@ +effect give @a[team=hide.play.hun] glowing 2 25 true +effect give @a[team=hide.play.ani] glowing 2 25 true +title @a[tag=hide.play.hun] actionbar ["\u00a7a事件:\u00a7e发光 2 秒"] +title @a[tag=hide.play.ani] actionbar ["\u00a7a事件:\u00a7e发光 2 秒"] +execute as @e[tag=hide.wtf] run spreadplayers 468.0 -364.0 0 40 under 20 false @s +execute as @e[tag=hide.wtf] at @s align xyz run tp @s ~ ~ ~ diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/join.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/join.mcfunction new file mode 100644 index 00000000..28f0930f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/join.mcfunction @@ -0,0 +1,12 @@ +tp @s 406 1 -431 -90 0 +team join hide.wait +title @s title ["\u00a7b\u00a7l方块躲猫猫"] +title @s subtitle ["\u00a7a猜猜我是谁?"] +playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +clear @s +effect clear @s +effect give @s instant_health 2 25 true +tellraw @a [{"selector":"@s"},"\u00a7a 加入了\u00a7b方块躲猫猫\u00a7a游戏。"] +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +scoreboard players reset @s die +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/prepare/hungo.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/prepare/hungo.mcfunction new file mode 100644 index 00000000..cd9312bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/prepare/hungo.mcfunction @@ -0,0 +1,7 @@ +execute as @a[team=hide.play.hun] run tp @s 470 2 -362 -180 0 +tellraw @a[team=hide.play.ani] ["\n\u00a7c 猎人出动!请小心!\n"] +title @a[team=hide.play.hun] title ["\u00a7b出发!"] +title @a[team=hide.play.hun] subtitle ["寻找伪装成方块的玩家!"] +# tellraw @a[team=hide.play.hun] ["\n\u00a7a提示:请攻击动物靠上部分。\n"] +execute as @a[team=hide.play.hun] run function hideseek/during/hunitem +scoreboard players set hide.state state 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/prepare/step1.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/prepare/step1.mcfunction new file mode 100644 index 00000000..68389e40 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/prepare/step1.mcfunction @@ -0,0 +1,8 @@ +scoreboard players remove hide.huntgo board 1 +data modify block 347 4 -451 front_text.messages[2] set value '["\\u00a7a你将在 ",{"score":{"objective":"board","name":"hide.huntgo"},"color":"yellow"},"\\u00a7es\\u00a7a 后出动"]' +title @a[team=hide.play.ani] actionbar ["\u00a7c猎人将在 ",{"score":{"objective":"board","name":"hide.huntgo"},"color":"yellow"},"\u00a7es\u00a7c 后出动"] +title @a[team=hide.play.hun] actionbar ["\u00a7a你将在 ",{"score":{"objective":"board","name":"hide.huntgo"},"color":"yellow"},"\u00a7es\u00a7a 后出动"] + +execute if score hide.huntgo board matches ..0 run function hideseek/prepare/hungo + +execute if score hide.huntgo board matches 25 as @a[team=hide.play.ani] at @s run function hideseek/changeblock diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/second.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/second.mcfunction new file mode 100644 index 00000000..7144e90b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/second.mcfunction @@ -0,0 +1,37 @@ +# effect give @a[team=hide.play.ani] resistance 1 25 true +# effect give @a[team=hide.play.hun] resistance 1 25 true +effect give @a[team=hide.wait] resistance 1 25 true +spawnpoint @a[team=hide.play.ani] 470 2 -362 -180 +spawnpoint @a[team=hide.play.hun] 470 2 -362 -180 +function hideseek/during/testanimal +xp add @a[level=1..,team=hide.play.hun] -1 levels +xp add @a[level=1..,team=hide.play.ani] -1 levels +scoreboard players remove hide.resttime board 1 +scoreboard players set hide.restanimals board 0 +scoreboard players set hide.resthunts board 0 +execute as @a[team=hide.play.ani] at @s run scoreboard players add hide.restanimals board 1 +execute as @a[team=hide.play.hun] at @s run scoreboard players add hide.resthunts board 1 +bossbar set minecraft:hideseek name ["\u00a7b剩余时间:",{"score":{"objective":"board","name":"hide.resttime"},"color":"gold"},"\u00a76s \u00a7a剩余躲藏者数:",{"score":{"objective":"board","name":"hide.restanimals"},"color":"gold"}] +execute if score hide.resttime board matches ..30 run effect give @a[team=hide.play.ani,gamemode=adventure] glowing 2 2 true +scoreboard players set 60 board 60 +scoreboard players operation hide.tmp board = hide.resttime board +scoreboard players operation hide.tmp board %= 60 board +execute if score hide.tmp board matches ..0 run function hideseek/glowingeveryone +execute as @a[team=hide.play.hun] at @s if entity @a[distance=0..10,team=hide.play.ani] run title @s actionbar ["\u00a7c检测到:\u00a76附近有躲藏者"] +execute as @a[team=hide.play.hun] at @s as @a[distance=0..10,team=hide.play.ani] run title @s actionbar ["\u00a7c检测到:\u00a76附近有寻找者"] +# bossbar set minecraft:hideseek max 300 +execute store result bossbar minecraft:hideseek max run scoreboard players get hide.maxtime board +execute store result bossbar minecraft:hideseek value run scoreboard players get hide.resttime board +bossbar set minecraft:hideseek players +tag @a[team=hide.play.hun] add hide.player +tag @a[team=hide.play.ani] add hide.player +tag @a[team=hide.wait] add hide.player +bossbar set minecraft:hideseek players @a[tag=hide.player] +tag @a remove hide.player +effect give @a[team=hide.play.ani] invisibility 2 25 true +effect give @a[team=hide.play.ani] minecraft:water_breathing 2 25 true +execute if score hide.state state matches 2.. run function hideseek/prepare/step1 +execute if score hide.state state matches 1.. if score hide.restanimals board matches ..0 run function hideseek/gameover/hunt +execute if score hide.state state matches 1.. if score hide.resthunts board matches ..0 run function hideseek/gameover/ani +execute if score hide.state state matches 1.. if score hide.resttime board matches ..0 run function hideseek/gameover/anitime + diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/skillss.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/skillss.mcfunction new file mode 100644 index 00000000..93fd6040 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/skillss.mcfunction @@ -0,0 +1,12 @@ +title @s actionbar ["\u00a7b\u00a7lActived"] +playsound ui.button.click player @s ~ ~ ~ 1 2 1 + +execute if entity @s[nbt={SelectedItem:{tag:{hun:1}}}] run tag @s add skill.boom +execute if entity @s[nbt={SelectedItem:{tag:{ani:1}}}] run tag @s add skill.change +# execute if entity @s[nbt={SelectedItem:{tag:{gun:1}}}] run tag @s add gun.1 +execute as @s[tag=skill.change,team=hide.play.ani] at @s run function hideseek/changeanimal +xp add @s[tag=skill.boom] 6 levels +xp add @s[tag=skill.change] 5 levels +# execute as @s[tag=gun.1] run function gun/1/shoot +tag @s remove skill.boom +tag @s remove skill.change diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/spec.mcfunction new file mode 100644 index 00000000..d6a48da2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/spec.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a7d你加入了游戏。"] +function hideseek/during/huntdied \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/start.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/start.mcfunction new file mode 100644 index 00000000..4b70db89 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/start.mcfunction @@ -0,0 +1,27 @@ +scoreboard players set start.player tick 0 +effect clear @a[team=hide.wait] +execute as @a[team=hide.wait,gamemode=adventure] run scoreboard players add start.player tick 1 +scoreboard players operation hide.maxtime2 board = start.player tick +scoreboard players set 30 board 30 +scoreboard players set 60 board 60 +scoreboard players set 90 board 90 +scoreboard players set 120 board 120 +# scoreboard players operation hide.maxtime board *= 60 board +scoreboard players set hide.maxtime board 0 +scoreboard players add hide.maxtime board 120 +scoreboard players operation hide.maxtime2 board *= 60 board +scoreboard players operation hide.maxtime board += hide.maxtime2 board + +execute if score hide.maxtime board matches 1200.. run scoreboard players set hide.maxtime board 600 +scoreboard players operation hide.resttime board = hide.maxtime board +scoreboard players set hide.huntgo board 30 +function hideseek/starting/reset +function hideseek/starting/ranteam + +scoreboard players reset * die + +tellraw @a[team=hide.play.ani] ["\n\u00a7c 猎人将在30秒后出动。\n"] +tellraw @a[team=hide.play.hun] ["\n\u00a7c 你将在30秒后出动。\n"] +scoreboard players set hide.state state 2 +gamemode spectator @a[tag=GOABLE.SPEC] +team join hide.wait @a[tag=GOABLE.SPEC] diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/starting/joinani.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/starting/joinani.mcfunction new file mode 100644 index 00000000..b1f1d6b5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/starting/joinani.mcfunction @@ -0,0 +1,10 @@ +team join hide.play.ani +clear @s +give @s stick{Unbreakable:1b,Enchantments:[{id:"knockback",lvl:3}],display:{Name:'"\\u00a7bKB Stick"'}} +# item replace entity @s inventory.26 with arrow +give @s carrot_on_a_stick{Unbreakable:1b,ani:1,display:{Name:'"\\u00a7b模仿脚下方块\\u00a77 - 右键点击"'},Enchantments:[{id:"knockback",lvl:3}]} +scoreboard players set @s LRS_START_DJS 1 +execute as @s run spreadplayers 468.0 -364.0 0 40 under 5 false @s +function hideseek/defaultanimal + +tellraw @s ["\n\u00a7b 你的身份是:躲藏者。\n\u00a76温馨提示:\u00a7b潜行时可以让方块对其。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/starting/joinhun.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/starting/joinhun.mcfunction new file mode 100644 index 00000000..4e25ccd7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/starting/joinhun.mcfunction @@ -0,0 +1,4 @@ +# function hideseek/during/huntdied +tellraw @s ["\n\u00a76 你的身份是:猎人。\n"] +clear @s +tp @s 347 3 -448 0 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/starting/ranteam.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/starting/ranteam.mcfunction new file mode 100644 index 00000000..c37998b7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/starting/ranteam.mcfunction @@ -0,0 +1,8 @@ +# function hideseek/starting/joinani +team join hide.play.hun @a[team=hide.wait,limit=1,sort=random] +execute if score start.player tick matches 6.. run team join hide.play.hun @a[team=hide.wait,limit=1,sort=random] +execute if score start.player tick matches 12.. run team join hide.play.hun @a[team=hide.wait,limit=1,sort=random] +execute if score start.player tick matches 15.. run team join hide.play.hun @a[team=hide.wait,limit=1,sort=random] +team join hide.play.ani @a[team=hide.wait] +execute as @a[team=hide.play.ani] at @s run function hideseek/starting/joinani +execute as @a[team=hide.play.hun] at @s run function hideseek/starting/joinhun \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/starting/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/starting/reset.mcfunction new file mode 100644 index 00000000..31b19bbe --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/starting/reset.mcfunction @@ -0,0 +1,3 @@ +forceload add 390 -301 545 -428 +kill @e[tag=hide.animals,type=!player] +forceload remove 390 -301 545 -428 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/test/huntergo.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/test/huntergo.mcfunction new file mode 100644 index 00000000..d166313a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/test/huntergo.mcfunction @@ -0,0 +1,4 @@ +# fill 428 72 -267 434 72 -273 air +team join hide.play.ani +give @s carrot_on_a_stick{Unbreakable:1b,ani:1,display:{Name:'"\\u00a7b切换方块\\u00a77 - 右键点击"'}} +function hideseek/changeanimal \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/tick.mcfunction new file mode 100644 index 00000000..b4858677 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/tick.mcfunction @@ -0,0 +1,5 @@ +execute as @a[team=hide.play.ani] at @s run function hideseek/follow +execute as @a[team=hide.play.ani] at @s run kill @e[type=item,distance=0..8] +execute as @a[team=hide.play.hun] at @s run kill @e[type=item,distance=0..8] +execute as @a[scores={die=1..},team=hide.play.ani] run function hideseek/during/anidied +execute as @a[scores={die=1..},team=hide.play.hun] run function hideseek/during/huntdied \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hideseek/trystart.mcfunction b/datapacks/map_all/data/minecraft/functions/hideseek/trystart.mcfunction new file mode 100644 index 00000000..331ab5fa --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hideseek/trystart.mcfunction @@ -0,0 +1,9 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=hide.wait,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score hide.state state matches 1.. run function minecraft:hideseek/spec +execute unless score hide.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score hide.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score hide.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:hideseek/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/changeto.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/changeto.mcfunction new file mode 100644 index 00000000..5c8f0a2d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/changeto.mcfunction @@ -0,0 +1,14 @@ +scoreboard players reset @s hp.hurt + +tellraw @a[team=play.hotpot] [" ",{"selector":"@s"},"\u00a7b 将 \u00a7aHot Potato \u00a7b传给了 ",{"selector":"@a[tag=hp.flag]"}] +tellraw @a[team=play.hotpot.k] [" ",{"selector":"@s"},"\u00a7b 将 \u00a7aHot Potato \u00a7b传给了 ",{"selector":"@a[tag=hp.flag]"}] +tellraw @a[tag=hp.flag] ["\n\u00a7c 你被 ",{"selector":"@s"}," \u00a7c传来了 \u00a7bHot Potato \u00a7c!\n"] +tellraw @s ["\u00a7a 你不在是 \u00a7cHot Potato\u00a7a 的拥有者!快跑!"] +team join play.hotpot @s +team join play.hotpot.k @a[tag=hp.flag] +clear @a[team=play.hotpot] potato +clear @a[team=play.hotpot.k] potato +give @a[team=play.hotpot.k] potato{hotpot:1,display:{Name:'{"text":"Hot Potato","color":"#aed3ff","bold": true}'}} +playsound entity.firework_rocket.launch player @s +execute as @a[team=play.hotpot.k] at @s run playsound entity.firework_rocket.launch player @s +tag @a remove hp.flag \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/changetofaild.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/changetofaild.mcfunction new file mode 100644 index 00000000..a710986f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/changetofaild.mcfunction @@ -0,0 +1,4 @@ +scoreboard players reset @s hp.hurt + +tellraw @s ["\u00a7c你无法将土豆传递给他。请重试!"] +playsound entity.enderman.teleport player @s ~ ~ ~ 2 0 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/died.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/died.mcfunction new file mode 100644 index 00000000..b362fa79 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/died.mcfunction @@ -0,0 +1,8 @@ +tellraw @s ["\u00a7c对不起,你淘汰了!"] +team join play.hotpot @s +tellraw @a[team=play.hotpot] [{"selector":"@s"},"\u00a7c 淘汰!"] +tellraw @a[team=wait.hotpot] [{"selector":"@s"},"\u00a7c 淘汰!"] +gamemode spectator @s +scoreboard players set play.hotpot.player tick 0 +execute as @a[team=play.hotpot,gamemode=adventure] run scoreboard players add play.hotpot.player tick 1 +title @a[team=play.hotpot] actionbar ["\u00a7c当前场上剩余选手: ",{"score":{"objective": "tick","name": "play.hotpot.player"},"color": "dark_purple"}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/join.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/join.mcfunction new file mode 100644 index 00000000..acb79a38 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/join.mcfunction @@ -0,0 +1,13 @@ +title @s[team=!play.hotpot] title [{"text":"Hot Potato","color":"#5ed3ff","bold": true}] +title @s[team=!play.hotpot] subtitle ["\u00a7rBe Careful !"] +team join wait.hotpot @s +tellraw @a[team=!wait.hotpot] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"Hot Potato","color":"#aed3ff","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.hotpot,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @s ["\n\u00a7a Welcome to ",{"text":"Hot Potato","color":"#aed3ff","bold": true},"\n\n \u00a7b游戏规则:\n\u00a7a 游戏开始后,一名玩家会持有 “Hot Potato”,他需要将它\n传给其他人。倒计时结束,持有者死亡。最后死亡者获胜!\n"] +tellraw @a[team=wait.hotpot] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +#tp @s 14 3 -44 180 0 +tp @s -66 60 -83 90 0 +playsound entity.player.levelup player @s 14 3 -44 1 1 1 +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/onceover.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/onceover.mcfunction new file mode 100644 index 00000000..ee67c743 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/onceover.mcfunction @@ -0,0 +1,7 @@ +execute as @a[team=play.hotpot.k] at @s run function hotpotever/died +schedule clear minecraft:hotpotever/summon +schedule function minecraft:hotpotever/summon 5s +tellraw @a[team=wait.hotpot] ["\n\u00a76 下一轮将在\u00a7e5\u00a76秒后开始! ","\n"] +execute as @a[team=play.hotpot.k] at @s run playsound entity.player.levelup player @s +scoreboard players set hotpot.state state 1 +execute as @a[team=play.hotpot] at @s run playsound entity.player.levelup player @s diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/over.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/over.mcfunction new file mode 100644 index 00000000..34fe5e7b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/over.mcfunction @@ -0,0 +1,18 @@ +scoreboard players set hotpot.state state 0 +tellraw @a ["\u00a7a[I] ",{"text":"Hot Potato","color":"#aed3ff","bold": true}," \u00a7a: \u00a7b游戏结束!\n\u00a7e获胜者:",{"selector":"@a[gamemode=adventure,team=play.hotpot]"}] + +title @a[gamemode=adventure,team=play.hotpot] title ["\u00a76You won!"] +title @a[gamemode=spectator,team=play.hotpot] subtitle ["\u00a7c\u00a7lGAME OVER"] +# Game Total +scoreboard players add @a[gamemode=adventure,team=play.hotpot] score 1 + +gamemode adventure @a[gamemode=spectator,team=play.hotpot] +gamemode adventure @a[gamemode=spectator,team=wait.hotpot] +gamemode adventure @a[gamemode=spectator,team=wait.hotpot.k] +execute as @a[gamemode=adventure,team=wait.hotpot] run function hotpotever/join +execute as @a[gamemode=adventure,team=play.hotpot] run function hotpotever/join +execute as @a[gamemode=adventure,team=play.hotpot.k] run function hotpotever/join +execute if entity @a[team=wait.hotpot,tag=play.total] run function small_games/total/next_game +# Reset + +schedule clear minecraft:hotpotever/summon \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/second.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/second.mcfunction new file mode 100644 index 00000000..48c550f4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/second.mcfunction @@ -0,0 +1,23 @@ +scoreboard players set play.hotpot.player tick 0 +execute as @a[team=play.hotpot,gamemode=adventure] run scoreboard players add play.hotpot.player tick 1 +execute as @a[team=play.hotpot.k,gamemode=adventure] run scoreboard players add play.hotpot.player tick 1 + +execute if score play.hotpot.player tick matches ..1 run function minecraft:hotpotever/over +effect give @a[team=play.hotpot] resistance 2 25 true + +effect give @a[team=play.hotpot] minecraft:water_breathing 2 25 true +effect give @a[team=play.hotpot] minecraft:fire_resistance 2 25 true +effect give @a[team=play.hotpot.k] resistance 2 25 true +effect give @a[team=play.hotpot.k] minecraft:water_breathing 2 25 true +effect give @a[team=play.hotpot.k] minecraft:fire_resistance 2 25 true + +effect give @a[team=play.hotpot.k] glowing 2 25 true +effect give @a[team=play.hotpot] glowing 2 25 true +effect give @a[team=play.hotpot] speed 4 0 true +effect give @a[team=play.hotpot.k] speed 4 1 true + +execute if score hotpot.state state matches 2.. as @a[team=play.hotpot.k] run title @s actionbar ["\u00a7c你持有 \u00a7aHot Potato,快传给他人! \u00a7e剩余时间: ",{"score":{"objective": "tick","name": "hp.time"},"color": "green"},"\u00a7as"] +execute if score hotpot.state state matches 2.. as @a[team=play.hotpot] run title @s actionbar ["\u00a7b小心土豆持有者! \u00a7e剩余时间: ",{"score":{"objective": "tick","name": "hp.time"},"color": "green"},"\u00a7as"] +execute if score hotpot.state state matches 2.. if score hp.time tick matches ..0 run function hotpotever/onceover +execute if score hotpot.state state matches 2.. run scoreboard players remove hp.time tick 1 +clear @a[team=play.hotpot] potato \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/spec.mcfunction new file mode 100644 index 00000000..656ef8fa --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/spec.mcfunction @@ -0,0 +1,3 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!"] +team join play.hotpot @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/start.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/start.mcfunction new file mode 100644 index 00000000..f2972ec8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/start.mcfunction @@ -0,0 +1,12 @@ +fill 6 10 -49 38 10 -81 minecraft:white_wool +title @a[team=wait.hotpot] title [{"text":"Hot Potato","color":"#5ed3ff","bold": true}] +title @a[team=wait.hotpot] subtitle ["\u00a7rBe Careful !"] +tellraw @a[team=wait.hotpot] ["\n\u00a76 游戏将在\u00a7e5\u00a76秒后开始! ","\n"] +execute as @a[team=wait.hotpot] run spreadplayers -83 -82 0 14 under 55 false @s +execute as @a[team=wait.hotpot] at @s run playsound entity.player.levelup player @s 14 3 -44 1 1 1 +team join play.hotpot @a[team=wait.hotpot] +scoreboard players set hotpot.state state 1 +scoreboard players operation temp state = hotpot.num state +schedule clear minecraft:hotpotever/summon +schedule function minecraft:hotpotever/summon 5s + diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/summon.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/summon.mcfunction new file mode 100644 index 00000000..da0ed148 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/summon.mcfunction @@ -0,0 +1,23 @@ +##execute as @a[team=play.hotpot.k] at @s run function hotpotever/died + +scoreboard players set play.hotpot.player tick 0 +execute as @a[team=play.hotpot,gamemode=adventure] run scoreboard players add play.hotpot.player tick 1 + +team join play.hotpot.k @r[team=play.hotpot,gamemode=adventure] +execute if score play.hotpot.player tick matches 5.. run team join play.hotpot.k @r[team=play.hotpot,gamemode=adventure] +execute if score play.hotpot.player tick matches 8.. run team join play.hotpot.k @r[team=play.hotpot,gamemode=adventure] +execute if score play.hotpot.player tick matches 12.. run team join play.hotpot.k @r[team=play.hotpot,gamemode=adventure] +execute if score play.hotpot.player tick matches 16.. run team join play.hotpot.k @r[team=play.hotpot,gamemode=adventure] +execute as @a[team=play.hotpot] at @s run playsound entity.ender_dragon.growl player @s +execute as @a[team=play.hotpot.k] at @s run playsound entity.ender_dragon.growl player @s + +tellraw @a[team=play.hotpot] ["\n \u00a7cHot Potato 持有者:",{"selector":"@a[team=play.hotpot.k]"},"\n"] +tellraw @a[team=play.hotpot.k] ["\n \u00a7bHot Potato 持有者(包含你):",{"selector":"@a[team=play.hotpot.k]"},"\n"] +give @a[team=play.hotpot.k] potato{hotpot:1,display:{Name:'{"text":"Hot Potato","color":"#aed3ff","bold": true}'}} +scoreboard players set hotpot.state state 2 +execute if score play.hotpot.player tick matches 2.. run scoreboard players set hp.time tick 30 +execute if score play.hotpot.player tick matches 3.. run scoreboard players set hp.time tick 40 +execute if score play.hotpot.player tick matches 4.. run scoreboard players set hp.time tick 45 +execute if score play.hotpot.player tick matches 8.. run scoreboard players set hp.time tick 50 +execute if score play.hotpot.player tick matches 16.. run scoreboard players set hp.time tick 60 +team modify play.hotpot.k color dark_red \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/test.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/test.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/teststart.mcfunction new file mode 100644 index 00000000..1f546c3d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.hotpot,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score hotpot.state state matches 1.. run function minecraft:hotpotever/spec +execute unless score hotpot.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score hotpot.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score hotpot.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:hotpotever/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hotpotever/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/hotpotever/tick.mcfunction new file mode 100644 index 00000000..3be6ac65 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hotpotever/tick.mcfunction @@ -0,0 +1,7 @@ +tag @a[scores={hp.gethurt=0..},team=play.hotpot,limit=1] add hp.flag +execute as @a[scores={hp.hurt=-1..},team=play.hotpot.k] at @s if entity @a[tag=hp.flag] run function hotpotever/changeto +execute as @a[scores={hp.hurt=-1..},team=play.hotpot.k] at @s unless entity @a[tag=hp.flag] run function hotpotever/changetofaild +tag @a[tag=hp.flag] remove hp.flag +scoreboard players reset @a hp.hurt +# scoreboard players reset @a hp.gethurt +kill @e[type=item,nbt={Item:{tag:{hotpot:1}}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/debug/egg.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/debug/egg.mcfunction new file mode 100644 index 00000000..a1b9d6aa --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/debug/egg.mcfunction @@ -0,0 +1 @@ +give @s minecraft:villager_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["hunger.chest"]},display:{Name:'"\\u00a7f箱子刷新点"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/died.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/died.mcfunction new file mode 100644 index 00000000..8d638709 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/died.mcfunction @@ -0,0 +1,2 @@ +execute if score hunger.state state matches ..0 run function hunger/join +execute if score hunger.state state matches 1.. run function hunger/out \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/finalpvp.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/finalpvp.mcfunction new file mode 100644 index 00000000..2073eba2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/finalpvp.mcfunction @@ -0,0 +1,10 @@ +tellraw @a[team=hunger] ["\n\u00a7b死亡对决\u00a7a即将开始。\n"] +execute as @a[team=hunger,gamemode=adventure] in hungerworld run spreadplayers 130 74 0 8 under -26 false @s +scoreboard players set hunger.state state 4 +# State 4 准备死亡对决 +# State 5 死亡对决 +# State 10 游戏结束 +# scoreboard players set hunger.time board 5 +scoreboard players set hunger.time board 6 +team modify hunger friendlyFire false +bossbar set minecraft:hungergame max 5 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/flushitem.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/flushitem.mcfunction new file mode 100644 index 00000000..eebff9dd --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/flushitem.mcfunction @@ -0,0 +1,4 @@ +execute as @e[type=minecraft:marker,tag=hunger.chest] at @s run data merge block ~ ~ ~ {Items:[]} +execute as @e[type=minecraft:marker,tag=hunger.chest] at @s run data merge block ~ ~ ~ {LootTable:""} +execute as @e[type=minecraft:marker,tag=hunger.chest] at @s run setblock ~ ~ ~ air replace +execute as @e[type=minecraft:marker,tag=hunger.chest] at @s run setblock ~ ~ ~ chest{CustomName:'"\\u00a7a\\u00a7l补给箱"',LootTable:"minecraft:hunger/chest"} replace \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/join.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/join.mcfunction new file mode 100644 index 00000000..18968f0a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/join.mcfunction @@ -0,0 +1,18 @@ +team join hunger @s +tellraw @a ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"}," \u00a7a加入了小游戏 \u00a74\u00a7l饥饿战争"] +execute in hungerworld run tp @s 141 -49 75 90 0 +execute in hungerworld run playsound entity.player.levelup player @s 141 -49 75 10 1 1 +tellraw @s ["\n\u00a74\u00a7l ※ 饥饿游戏\n\n\u00a7b 游戏开始后,你将有 1 分钟时间收集资源。1 分钟后 PVP 将被允许,存活到最后的玩家即为获胜者。\n"] +clear @s +effect clear @s +effect give @s instant_health 2 25 true +effect give @s saturation 2 25 true +bossbar set minecraft:hungergame players @a[team=hunger] +title @s title ["\u00a74\u00a7l饥饿游戏"] +title @s subtitle ["\u00a7fHunger Game PVP"] +execute if score hunger.state state matches 1.. run function hunger/spec +xp set @s 0 levels +xp set @s 0 points +spawnpoint @s 101 -60 0 +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/lootitem.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/lootitem.mcfunction new file mode 100644 index 00000000..be8f5347 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/lootitem.mcfunction @@ -0,0 +1,17 @@ +# say @a[scores={bw.kill=1..},team=hunger] +# scoreboard players reset @a[scores={bw.kill=1..},team=hunger] bw.kill +advancement revoke @s only hunger/player_was_killed +team leave @s +tag @s add hunger.sel +data modify block 133 -40 86 front_text.messages[0] set value '[{"selector":"@a[tag=hunger.sel]","color":"aqua"},"\\u00a7a 的背包"]' +team join hunger @s +summon item ~ ~ ~ {Item:{id:"minecraft:bundle",Count:1b,tag:{hungerItem:1b}},Tags:["hunger.loot.new"],CustomNameVisible:1b} +data modify entity @e[limit=1,type=item,tag=hunger.loot.new] Item.tag.Items set from entity @s Inventory +data modify entity @e[limit=1,type=item,tag=hunger.loot.new] Item.tag.display.Name set from block 133 -40 86 front_text.messages[0] +data modify entity @e[limit=1,type=item,tag=hunger.loot.new] CustomName set from block 133 -40 86 front_text.messages[0] +tag @e[tag=hunger.loot.new] remove hunger.loot.new +# execute as @a[team=hunger] if predicate minecraft:hunger/killed +scoreboard players reset @s die +tag @s remove hunger.sel +clear @s +tellraw @s ["\u00a7c你的物品已经掉落。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/out.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/out.mcfunction new file mode 100644 index 00000000..f14c2c3d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/out.mcfunction @@ -0,0 +1,5 @@ +# tellraw @a[team=hunger] [{"selector":"@s"},"\u00a7c 淘汰了。"] +tellraw @s ["\u00a7c你已被淘汰。"] +gamemode spectator +tp @s 159 15 147 0 0 +title @a[team=hunters] actionbar [{"selector":"@s"},"\u00a7c淘汰了。剩余",{"score":{"objective": "tick","name": "hunger.player"}},"\u00a7c人。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/over/over.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/over/over.mcfunction new file mode 100644 index 00000000..aaa61c34 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/over/over.mcfunction @@ -0,0 +1,11 @@ +bossbar set minecraft:hungergame name "\u00a74饥饿游戏 \u00a78| \u00a7c游戏结束" +bossbar set minecraft:hungergame max 1 +bossbar set minecraft:hungergame value 1 +schedule function hunger/over/tp 6s +tellraw @a ["\n\u00a74\u00a7l饥饿游戏 > \u00a7a游戏结束。获胜者:",{"selector":"@a[gamemode=adventure,team=hunger]","color":"yellow"},"\n"] +tellraw @a[team=hunger] ["\u00a7a你已加入游戏队列,将在 5 秒后进入游戏等待大厅。"] +gamemode spectator @a[team=hunger] +scoreboard players set hunger.state state 10 +execute in hungerworld run kill @e[distance=0..,type=experience_orb] +execute in hungerworld run forceload remove all +team modify hunger friendlyFire false diff --git a/datapacks/map_all/data/minecraft/functions/hunger/over/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/over/tp.mcfunction new file mode 100644 index 00000000..039131fd --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/over/tp.mcfunction @@ -0,0 +1,8 @@ +bossbar set minecraft:hungergame name "\u00a74饥饿游戏 \u00a78| \u00a7a等待玩家加入" +scoreboard players set hunger.state state 0 +gamemode adventure @a[team=hunger] +execute as @a[team=hunger] run function hunger/join +execute in hungerworld run kill @e[type=item,distance=0..] +execute in hungerworld run kill @e[distance=0..,type=experience_orb] +team modify hunger friendlyFire false +execute in hungerworld run forceload remove all diff --git a/datapacks/map_all/data/minecraft/functions/hunger/second.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/second.mcfunction new file mode 100644 index 00000000..9336a984 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/second.mcfunction @@ -0,0 +1,17 @@ +execute in minecraft:hungerworld run spawnpoint @a[team=hunger] 101 -60 0 + +# 人数检测 +scoreboard players set hunger.player tick 0 +execute as @a[team=hunger,gamemode=adventure] run scoreboard players add hunger.player tick 1 +# 倒计时 +execute if score hunger.state state matches 1..9 run scoreboard players remove hunger.time board 1 +execute if score hunger.state state matches 1..9 run execute store result bossbar hungergame value run scoreboard players get hunger.time board +execute if score hunger.state state matches 1 run function hunger/step/waitallowpvp +execute if score hunger.state state matches 2 run function hunger/step/waitrechest +execute if score hunger.state state matches 3 run function hunger/step/waitfinal +execute if score hunger.state state matches 4 run function hunger/step/finalcountdown +execute if score hunger.state state matches 5 run function hunger/step/waitend + + +# 结束检测 +execute if score hunger.state state matches 1..9 if score hunger.player tick matches ..1 run function hunger/over/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/spec.mcfunction new file mode 100644 index 00000000..b8a5b36d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/spec.mcfunction @@ -0,0 +1,4 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,当前游戏已经开始。请等待下一场游戏。"] +title @s title ["\u00a7c很抱歉!"] +title @s subtitle ["\u00a7e游戏已经开始,请等待下一场游戏。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/start.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/start.mcfunction new file mode 100644 index 00000000..1e3782ef --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/start.mcfunction @@ -0,0 +1,14 @@ +bossbar set minecraft:hungergame players @a[team=hunger] +bossbar set minecraft:hungergame name ["\u00a74饥饿游戏 \u00a78| \u00a7e游戏开始"] +execute as @a[team=hunger] at @s run spreadplayers 159 147 1 40 under 0 false @s +scoreboard players set hunger.time board 61 +scoreboard players set hunger.state state 1 +scoreboard players set hunger.chests board 3 +# 会补给3次箱子,每次补给5分钟一次。 +execute in hungerworld run forceload add 2 3 200 100 +execute in hungerworld run forceload add 201 101 315 293 +execute in hungerworld run kill @e[type=item,distance=0..] +function hunger/flushitem +team modify hunger friendlyFire false +execute in hungerworld run kill @e[distance=0..,type=experience_orb] +bossbar set minecraft:hungergame max 60 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/allowpvp.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/allowpvp.mcfunction new file mode 100644 index 00000000..3214cc15 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/allowpvp.mcfunction @@ -0,0 +1,5 @@ +team modify hunger friendlyFire true +tellraw @a[team=hunger] ["\n\u00a7a PVP 目前已被允许。\n"] +scoreboard players set hunger.state state 2 +scoreboard players set hunger.time board 60 +bossbar set minecraft:hungergame max 60 diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/finalcountdown.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/finalcountdown.mcfunction new file mode 100644 index 00000000..33a0700a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/finalcountdown.mcfunction @@ -0,0 +1,2 @@ +bossbar set minecraft:hungergame name ["\u00a74饥饿游戏 \u00a78| \u00a7b死亡对决将在\u00a7e",{"score":{"objective": "board","name": "hunger.time"},"color": "yellow"},"\u00a7e秒\u00a7b后开始。"] +execute if score hunger.time board matches ..0 run function hunger/step/finalstart \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/finalstart.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/finalstart.mcfunction new file mode 100644 index 00000000..6d22b7f4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/finalstart.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[team=hunger] ["\u00a7c死亡对决开始!"] +team modify hunger friendlyFire true +scoreboard players set hunger.time board 180 +scoreboard players set hunger.state state 5 +bossbar set minecraft:hungergame max 180 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/rechest.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/rechest.mcfunction new file mode 100644 index 00000000..45ad2d16 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/rechest.mcfunction @@ -0,0 +1,13 @@ +function hunger/flushitem +tellraw @a[team=hunger] ["\u00a7a箱子补给已刷新"] +title @a[team=hunger] title [""] +execute as @a[team=hunger] at @s run playsound block.chest.open player @s ~ ~ ~ 10 1 1 +title @a[team=hunger] subtitle ["\u00a7a箱子补给已刷新"] +scoreboard players remove hunger.chests board 1 +scoreboard players set hunger.time board 240 +scoreboard players set hunger.state state 2 +bossbar set minecraft:hungergame max 240 + +execute if score hunger.chests board matches ..0 run bossbar set minecraft:hungergame max 300 +execute if score hunger.chests board matches ..0 run scoreboard players set hunger.time board 300 +execute if score hunger.chests board matches ..0 run scoreboard players set hunger.state state 3 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/waitallowpvp.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/waitallowpvp.mcfunction new file mode 100644 index 00000000..4f159b7d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/waitallowpvp.mcfunction @@ -0,0 +1,2 @@ +bossbar set minecraft:hungergame name ["\u00a74饥饿游戏 \u00a78| \u00a7aPVP 将在\u00a7e",{"score":{"objective": "board","name": "hunger.time"},"color": "yellow"},"\u00a7e秒\u00a7a后启用"] +execute if score hunger.time board matches ..0 run function hunger/step/allowpvp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/waitend.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/waitend.mcfunction new file mode 100644 index 00000000..7dda721d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/waitend.mcfunction @@ -0,0 +1,2 @@ +bossbar set minecraft:hungergame name ["\u00a74饥饿游戏 \u00a78| \u00a7a游戏即将结束:\u00a7b剩余\u00a7e",{"score":{"objective": "board","name": "hunger.time"},"color": "yellow"},"\u00a7e秒"] +execute if score hunger.time board matches ..0 run function hunger/over/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/waitfinal.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/waitfinal.mcfunction new file mode 100644 index 00000000..607eda3b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/waitfinal.mcfunction @@ -0,0 +1,2 @@ +bossbar set minecraft:hungergame name ["\u00a74饥饿游戏 \u00a78| \u00a7c死亡对决将在\u00a7e",{"score":{"objective": "board","name": "hunger.time"},"color": "yellow"},"\u00a7e秒\u00a7c后开始"] +execute if score hunger.time board matches ..0 run function hunger/finalpvp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/step/waitrechest.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/step/waitrechest.mcfunction new file mode 100644 index 00000000..31818968 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/step/waitrechest.mcfunction @@ -0,0 +1,2 @@ +bossbar set minecraft:hungergame name ["\u00a74饥饿游戏 \u00a78| \u00a7a下一次箱子补给:\u00a7b剩余\u00a7e",{"score":{"objective": "board","name": "hunger.time"},"color": "yellow"},"\u00a7e秒"] +execute if score hunger.time board matches ..0 run function hunger/step/rechest diff --git a/datapacks/map_all/data/minecraft/functions/hunger/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/tick.mcfunction new file mode 100644 index 00000000..0e5e7803 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/tick.mcfunction @@ -0,0 +1 @@ +# execute as @a[scores={die=1..}] at @s run function hunger/lootitem \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/hunger/trystart.mcfunction b/datapacks/map_all/data/minecraft/functions/hunger/trystart.mcfunction new file mode 100644 index 00000000..649d0c4c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/hunger/trystart.mcfunction @@ -0,0 +1,10 @@ +execute if score hunger.state state matches 1.. run function hunger/spec +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=hunger,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute unless score hunger.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] + +execute unless score hunger.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score hunger.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:hunger/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/getakill.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/getakill.mcfunction new file mode 100644 index 00000000..c8f17036 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/getakill.mcfunction @@ -0,0 +1,4 @@ +scoreboard players operation @s kill += @s job_kill +execute if score @s job_kill matches ..1 run title @s actionbar ["\u00a76+",{"score":{"name": "@s","objective": "job_kill"},"color":"gold"}," \u00a76Kill \u00a7b(Total: ",{"score":{"name": "@s","objective": "kill"},"color":"green"},"\u00a7b)"] +execute if score @s job_kill matches 2.. run title @s actionbar ["\u00a76+",{"score":{"name": "@s","objective": "job_kill"},"color":"gold"}," \u00a76Kills \u00a7b(Total: ",{"score":{"name": "@s","objective": "kill"},"color":"green"},"\u00a7b)"] +scoreboard players reset @s job_kill \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/join.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/join.mcfunction new file mode 100644 index 00000000..a9cf9d18 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/join.mcfunction @@ -0,0 +1,17 @@ +team join job_pvp @s +tellraw @a [{"selector":"@s"},"\u00a77 已加入 \u00a7a职业战争\u00a77!"] +tp @s -121 6 234 90 0 +clear @s +effect clear @s +title @s title ["\u00a7a职业战争"] +title @s subtitle ["\u00a7r欢迎光临 ~"] +playsound entity.player.levelup player @s -62 30 176 1 1 1 +team join wait.jobpvp @s +xp set @s 0 levels +xp set @s 0 points +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator + +# /give @p oak_sign{BlockEntityTag:{Textx4: '{"color":"gray","clickEvent":{"action":"run_command","value":""},"text":"点击选择"}', Textx3: '{"color":"yellow","clickEvent":{"action":"run_command","value":"/execute as @s[scores={kill=30..}] run function minecraft:live/job/fisherman"},"text":"棒棒糖使者"}', Textx2: '{"color":"light_purple","clickEvent":{"action":"run_command","value":"/execute as @s[scores={kill=30..}] run function minecraft:job_pvp/start"},"text":"[30 Kills]"}', Textx1: '{"color":"aqua","clickEvent":{"action":"run_command","value":""},"text":"职业战争"}'}} + +# /summon armor_stand ~ ~ ~ {NoAI:1b,DisabledSlots:2039583,Invulnerable:false,Invisible:1b,Tags:["pvp.job.display"]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/over.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/over.mcfunction new file mode 100644 index 00000000..ecd04305 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/over.mcfunction @@ -0,0 +1,6 @@ +title @s title ["\u00a7c你死了"] +clear @s +effect clear @s +team join wait.jobpvp @s +title @s subtitle ["\u00a7e你复活在了大厅!"] +scoreboard players reset @s JOBPVP.die \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/second.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/second.mcfunction new file mode 100644 index 00000000..14b991bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/second.mcfunction @@ -0,0 +1,8 @@ +spawnpoint @a[team=job_pvp] -121 6 234 90 +spawnpoint @a[team=wait.jobpvp] -121 6 234 90 +effect give @a[team=wait.jobpvp] speed 1 0 true +effect give @a[team=wait.jobpvp] jump_boost 1 0 true +effect give @a[team=wait.jobpvp] resistance 2 25 true +effect give @a[team=wait.jobpvp] regeneration 2 25 true +effect give @a[team=job_pvp] night_vision 20 25 true +execute as @a[team=job_pvp,level=1..] run xp add @s -1 levels \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/start.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/start.mcfunction new file mode 100644 index 00000000..c5e1d436 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/start.mcfunction @@ -0,0 +1,7 @@ +tp @s @e[limit=1,sort=random,tag=pvp.tp] +team join job_pvp @s +tellraw @a[team=job_pvp] ["\u00a7d > ",{"selector":"@s"},"\u00a7d 进入了战场!"] +# +tellraw @a[team=wait.jobpvp] ["\u00a7d > ",{"selector":"@s"},"\u00a7d 进入了战场!"] +xp set @s 0 levels +xp set @s 0 points \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/summoncar.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/summoncar.mcfunction new file mode 100644 index 00000000..f2347c09 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/summoncar.mcfunction @@ -0,0 +1,4 @@ +# scoreboard players set need.pvpcar board 0 +# execute as @e[tag=pvp.car] at @s run scoreboard players add need.pvpcar board 1 +# execute if score need.pvpcar board matches ..6 run summon minecart -143 36 225 {Tags:["pvp.car"]} +# team join entity @e[tag=pvp.car] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/job_pvp/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/job_pvp/tick.mcfunction new file mode 100644 index 00000000..429fd224 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/job_pvp/tick.mcfunction @@ -0,0 +1,18 @@ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:dropper[facing=north] run tp ~ ~0.05 ~-0.5 +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:dropper[facing=east] run tp ~0.5 ~0.05 ~ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:dropper[facing=south] run tp ~ ~0.05 ~0.5 +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:dropper[facing=west] run tp ~-0.5 ~0.05 ~ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:dropper[facing=up] run tp ~ ~0.4 ~ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:dropper[facing=down] run tp ~ ~-0.4 ~ + +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:observer[facing=north] run tp ~ ~0.05 ~0.25 +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:observer[facing=east] run tp ~-0.25 ~0.05 ~ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:observer[facing=south] run tp ~ ~0.05 ~-0.25 +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:observer[facing=west] run tp ~0.25 ~0.05 ~ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:observer[facing=up] run tp ~ ~-0.25 ~ +execute as @e[tag=pvp.car] at @s if block ~ ~3.9 ~ minecraft:observer[facing=down] run tp ~ ~0.25 ~ +execute as @e[tag=pvp.car] at @s run effect give @a[distance=0..1] slow_falling 2 0 true + +execute as @a[team=job_pvp,scores={JOBPVP.die=1..}] at @s run function job_pvp/over +execute as @a[team=job_pvp] at @s run kill @e[type=item,distance=0..6,nbt=!{Item:{tag:{job_pvp:1}}}] +execute as @a[team=wait.jobpvp] at @s run kill @e[type=item,distance=0..6,nbt=!{Item:{tag:{job_pvp:1}}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/action/check_bow.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/action/check_bow.mcfunction new file mode 100644 index 00000000..fe1e40a1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/action/check_bow.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set golds temp 0 +execute store result score golds temp run clear @s gold_ingot 0 +execute if score golds temp matches 10.. run give @s bow{ms:1,Enchantments:[{id:"infinity",lvl:1s},{id:"power",lvl:2s}],Unbreakable:1b,HideFlags:63,dtb:1b} +execute if score golds temp matches 10.. run tag @s add killer.saver +execute if score golds temp matches 10.. run clear @s gold_ingot 10 +execute if score golds temp matches 10.. run tellraw @s ["\u00a7e10 Gold \u00a7b兑换了 \u00a7a1 把 弓。"] +function killerever/action/check_if_get_bow_pm \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/action/check_if_get_bow.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/action/check_if_get_bow.mcfunction new file mode 100644 index 00000000..aefc0308 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/action/check_if_get_bow.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set @s temp 0 +execute store result score @s temp run clear @s bow{dtb:1b} 0 +execute if score @s temp matches 1.. run clear @s bow{dtb:1b} 1 +execute if score @s temp matches 1.. run tellraw @s ["\u00a7c你不能捡起这把弓。"] +execute if score @s temp matches 1.. run data merge entity @e[limit=1,sort=nearest,tag=killer.bow,type=armor_stand] {CustomName:'["\\u00a7a弓\\u00a77 - 右键获取"]',Marker:0b,CustomNameVisible:1b,Invulnerable:0b,NoAI:1b,Silent:1b,NoGravity:1b,PersistenceRequired:1b,Glowing:1b,Tags:["killer.bow"],HandItems:[{id:"minecraft:bow",Count:1b,Damage:0s,tag:{dtb:1b,Unbreakable:1b,display:{Name:'["\\u00a7a弓"]'},Enchantments:[{id:"minecraft:power",lvl:10s}]}},{}]} +execute if score @s temp matches 1.. run function minecraft:killerever/action/check_if_get_bow + +scoreboard players reset @s temp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/action/check_if_get_bow_pm.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/action/check_if_get_bow_pm.mcfunction new file mode 100644 index 00000000..e418af33 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/action/check_if_get_bow_pm.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set @s temp 0 +execute store result score @s temp run clear @s bow{dtb:1b} 0 +execute if score @s temp matches 1.. run tag @s add killer.saver \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/died.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/died.mcfunction new file mode 100644 index 00000000..fe994dd3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/died.mcfunction @@ -0,0 +1,28 @@ +tellraw @s ["\u00a7c对不起,你淘汰了!"] +execute if entity @s[tag=killer.saver] run tellraw @a[team=play.killer] ["\u00a7a侦探 ",{"selector":"@s"},"\u00a7c 淘汰!"] +execute if entity @s[tag=killer.saver] run tellraw @a[team=wait.killer] ["\u00a7a侦探 ",{"selector":"@s"},"\u00a7c 淘汰!"] +execute if entity @s[tag=killer.killer] run tellraw @a[team=play.killer] ["\u00a7c杀手 ",{"selector":"@s"},"\u00a7c 淘汰!"] +execute if entity @s[tag=killer.killer] run tellraw @a[team=wait.killer] ["\u00a7c杀手 ",{"selector":"@s"},"\u00a7c 淘汰!"] +gamemode spectator @s +scoreboard players set play.killer.player tick 0 +execute as @a[team=play.killer,gamemode=adventure] run scoreboard players add play.killer.player tick 1 +title @a[team=play.killer] actionbar ["\u00a7c当前场上剩余选手: ",{"score":{"objective": "tick","name": "play.killer.player"},"color": "dark_purple"}] +tp @s 187 63 26 0 90 + +summon marker ~ ~ ~ {Tags:["killer.temp"]} +spreadplayers 187 26 0 25 under 67 false @e[tag=killer.temp] + +execute store result score x temp run data get entity @e[tag=killer.temp,limit=1,sort=nearest] Pos[0] +execute store result score y temp run data get entity @e[tag=killer.temp,limit=1,sort=nearest] Pos[1] +execute store result score z temp run data get entity @e[tag=killer.temp,limit=1,sort=nearest] Pos[2] +tellraw @a[team=play.killer] ["\u00a7b一把弓掉落在 \u00a7a[x:",{"score":{"name": "x","objective": "temp"},"color": "yellow"},"\u00a7a,y:",{"score":{"name": "y","objective": "temp"},"color": "yellow"},"\u00a7a,z:",{"score":{"name": "z","objective": "temp"},"color": "yellow"},"\u00a7a]"] + +execute unless entity @s[tag=killer.saver] at @e[tag=killer.temp] run summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:0b,NoAI:1b,Silent:1b,NoGravity:1b,PersistenceRequired:1b,Glowing:0b,Tags:["killer.bow","new"],HandDropChances:[0f,0f],Invisible:true,ShowArms:true,NoBasePlate:true,DisabledSlots:2039326} + +execute if entity @s[tag=killer.saver] at @e[tag=killer.temp] run summon minecraft:armor_stand ~ ~ ~ {CustomName:'["\\u00a7a弓\\u00a77 - 右键获取"]',CustomNameVisible:1b,NoAI:1b,Silent:1b,NoGravity:1b,PersistenceRequired:1b,Glowing:1b,Tags:["killer.bow","new"],HandItems:[{id:"minecraft:bow",Count:1b,Damage:0s,tag:{dtb:1b,Unbreakable:1b,display:{Name:'["\\u00a7a弓"]'},Enchantments:[{id:"minecraft:power",lvl:10s}]}},{}],HandDropChances:[0f,0f],Invisible:true,ShowArms:true,NoBasePlate:true,DisabledSlots:2039326} +tag @e[tag=killer.bow] remove new +kill @e[tag=killer.temp,type=marker] +# bow{ms:1,Enchantments:[{id:"infinity",lvl:1s},{id:"power",lvl:10s}],Unbreakable:1b,HideFlags:63} +# execute as @e[type=item,tag=newitem] at @s run function killerever/ranitem +# summon item 142 55 -21 {Item:{id:"minecraft:bow",tag:{ms:1,Enchantments:[{id:"infinity"},{id:"power",lvl:10s}],Unbreakable:1b,HideFlags:63}}} +# tag @s remove killer.saver \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/getjob/killer.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/getjob/killer.mcfunction new file mode 100644 index 00000000..5e282d95 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/getjob/killer.mcfunction @@ -0,0 +1,3 @@ +tag @s remove killer.runner +tag @s add killer.killer +tellraw @s ["\n\u00a7b\u00a7l密室杀手 > \u00a76你的身份是:\u00a7c杀手\n\u00a7a 杀死其他非杀手玩家,即可胜利。\n \u00a7b小心警探!\n"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/getjob/saver.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/getjob/saver.mcfunction new file mode 100644 index 00000000..8ce562b2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/getjob/saver.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\n\u00a7b\u00a7l密室杀手 > \u00a76你的身份是:\u00a7a警探\n\u00a7a 找出杀手,击杀它即可胜利。\n"] +tag @s add killer.saver \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/join.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/join.mcfunction new file mode 100644 index 00000000..551d0de3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/join.mcfunction @@ -0,0 +1,15 @@ +title @s title [{"text":"密室杀手","color":"red","bold": true}] +title @s subtitle ["\u00a7r小心! 杀手也许就在你身边!"] +team join wait.killer @s +tellraw @a[team=!wait.killer] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"密室杀手","color":"red","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.killer,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @s ["\n\u00a7a Welcome to ",{"text":"密室杀手","color":"red","bold": true},"\n"] +tellraw @a[team=wait.killer] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +tp @s 94 20 16 90 0 + +playsound entity.player.levelup player @s 94 20 16 1 1 1 +clear @s +effect clear @s +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/over.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/over.mcfunction new file mode 100644 index 00000000..13aa4e36 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/over.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set killer.state state 4 +tellraw @a ["\u00a7a[I] ",{"text":"密室杀手","color":"red","bold": true}," \u00a7a: \u00a7b游戏结束!"] +tellraw @a[team=play.killer] ["\n\u00a7c 杀手:",{"selector":"@a[tag=killer.killer]"},"\n\n \u00a7b侦探:",{"selector":"@a[tag=killer.saver]"},"\n"] +tellraw @a[team=wait.killer] ["\n\u00a7c 杀手:",{"selector":"@a[tag=killer.killer]"},"\n\n \u00a7b侦探:",{"selector":"@a[tag=killer.saver]"},"\n"] +schedule function minecraft:killerever/tp 5s +kill @e[tag=killer.bow,type=armor_stand] +tag @a remove killer.saver +tag @a remove killer.killer \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/over/killer.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/over/killer.mcfunction new file mode 100644 index 00000000..b9e3a155 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/over/killer.mcfunction @@ -0,0 +1,8 @@ +tellraw @a ["\u00a7b\u00a7l密室杀手 > \u00a7a获胜队伍:\u00a7c杀手"] +title @a[team=play.killer] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=play.killer] subtitle ["\u00a7c杀手胜利"] +title @a[team=wait.killer] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=wait.killer] subtitle ["\u00a7c杀手胜利"] +title @a[team=play.killer,tag=killer.killer] title ["\u00a76You won!"] +scoreboard players add @a[team=play.killer,tag=killer.killer,tag=play.total] score 1 +function killerever/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/over/runner.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/over/runner.mcfunction new file mode 100644 index 00000000..8b8fc8c4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/over/runner.mcfunction @@ -0,0 +1,8 @@ +tellraw @a ["\u00a7b\u00a7l密室杀手 > \u00a7a获胜队伍:\u00a7d平民"] +title @a[team=play.killer] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=play.killer] subtitle ["\u00a7a平民胜利"] +title @a[team=wait.killer] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=wait.killer] subtitle ["\u00a7a平民胜利"] +title @a[team=play.killer,tag=!killer.killer] title ["\u00a76You won!"] +scoreboard players add @a[team=play.killer,tag=!killer.killer,tag=play.total] score 1 +function killerever/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/over/sthwrong.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/over/sthwrong.mcfunction new file mode 100644 index 00000000..ad680f2a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/over/sthwrong.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\u00a7b\u00a7l密室杀手 > \u00a7c游戏人数不够或出现问题,游戏结束!"] +title @a[team=play.killer] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=play.killer] subtitle ["\u00a7b锟斤拷襬卡檞"] +title @a[team=wait.killer] title ["\u00a7c\u00a7lGAME OVER"] +title @a[team=wait.killer] subtitle ["\u00a7b锟斤拷襬卡檞"] +function killerever/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/ranitem.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/ranitem.mcfunction new file mode 100644 index 00000000..97331bac --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/ranitem.mcfunction @@ -0,0 +1,2 @@ +tag @s remove newitem +spreadplayers 187 26 0 25 under 67 false @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/second.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/second.mcfunction new file mode 100644 index 00000000..afdd3575 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/second.mcfunction @@ -0,0 +1,15 @@ +scoreboard players set play.killer.player tick 0 +scoreboard players set play.killer.killer tick 0 +scoreboard players set play.killer.runner tick 0 +execute as @a[team=play.killer,gamemode=adventure] run scoreboard players add play.killer.player tick 1 +execute as @a[team=play.killer,tag=killer.killer,gamemode=adventure] run scoreboard players add play.killer.killer tick 1 +execute as @a[team=play.killer,tag=killer.runner,gamemode=adventure] run scoreboard players add play.killer.runner tick 1 + +execute if score killer.state state matches 1..3 if score play.killer.runner tick matches ..0 run function minecraft:killerever/over/killer +execute if score killer.state state matches 1..3 if score play.killer.killer tick matches ..0 run function minecraft:killerever/over/runner +execute if score killer.state state matches 1..3 if score play.killer.player tick matches ..1 run function minecraft:killerever/over/sthwrong + + +item replace entity @a[team=play.killer,nbt={Inventory:[{id:"minecraft:bow"}]}] container.8 with arrow{ms:1} + +execute as @e[tag=killer.bow,nbt={Glowing:1b}] at @s unless data entity @s {HandItems:[{id:"minecraft:bow"},{}]} at @s run data merge entity @s {Glowing:0b,CustomName:'""',CustomNameVisible:0b,Marker:1b} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/sign.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/sign.mcfunction new file mode 100644 index 00000000..8afacd7a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/sign.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +execute if score beli.num state matches ..0 run scoreboard players set beli.num state 1 +execute if score beli.num state matches 7.. run scoreboard players set beli.num state 6 +# data merge block 14 3 -46 {Textx2:'[{"score":{"objective":"state","name":"beli.num"},"color":"green"}," \\u00a7bBlocks \\u00a76/ \\u00a7bs"]'} +# execute if score beli.num state matches 6..6 run data merge block 14 3 -46 {Textx4:'"\\u00a74HARD"'} +# execute if score beli.num state matches 4..5 run data merge block 14 3 -46 {Textx4:'"\\u00a7cA bit hard"'} +# execute if score beli.num state matches 1..1 run data merge block 14 3 -46 {Textx4:'"\\u00a7aEasy"'} +# execute if score beli.num state matches 2..3 run data merge block 14 3 -46 {Textx4:'"\\u00a7bNormal"'} diff --git a/datapacks/map_all/data/minecraft/functions/killerever/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/spec.mcfunction new file mode 100644 index 00000000..2eb1349f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/start.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/start.mcfunction new file mode 100644 index 00000000..d3f90ddd --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/start.mcfunction @@ -0,0 +1,39 @@ +tag @a remove killer.killer +tag @a remove killer.saver +tag @a remove killer.runner +title @a[team=wait.killer] title [{"text":"密室杀手","color":"red","bold": true}] +title @a[team=wait.killer] subtitle ["\u00a7r一定要相信自己 !"] +tellraw @a[team=wait.killer] ["\n \u00a76游戏开始! 你将在8秒后获得职业道具!\n"] +execute as @a[team=wait.killer] run spreadplayers 187 26 0 20 under 67 false @s +execute as @a[team=wait.killer] at @s run playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 +team join play.killer @a[team=wait.killer] +scoreboard players set killer.state state 1 +kill @e[type=armor_stand,tag=killer.bow] +tag @a[team=play.killer,gamemode=adventure] add killer.runner +scoreboard players set play.player tick 0 +execute as @a[team=play.killer,gamemode=adventure] run scoreboard players add play.player tick 1 +execute if score play.player tick matches 8.. run execute as @r[tag=killer.runner,gamemode=adventure,team=play.killer,tag=!killer.saver] at @s run function killerever/getjob/killer +execute if score play.player tick matches 8.. run execute as @r[tag=killer.runner,gamemode=adventure,team=play.killer,tag=!killer.saver] at @s run function killerever/getjob/saver +execute if score play.player tick matches 8.. run tellraw @a[team=play.killer] ["\u00a76\u00a7l因为本局人数较多,已分配2杀手 + 2侦探。"] +execute as @r[tag=killer.runner,team=play.killer,tag=!killer.saver,gamemode=adventure] at @s run function killerever/getjob/killer +execute as @r[tag=killer.runner,team=play.killer,tag=!killer.saver,gamemode=adventure] at @s run function killerever/getjob/saver +# execute if score wait.player tick matches 6.. run execute as @r[tag=killer.runner,team=play.killer] at @s run function killerever/getjob/killer +# execute if score wait.player tick matches 6.. run execute as @r[tag=killer.runner,team=play.killer] at @s run function killerever/getjob/saver +title @a[team=play.killer] title ["\u00a7c\u00a7l密室杀手"] +title @a[team=play.killer] subtitle ["\u00a7r游戏将在 8 秒后开始!"] + +tellraw @a[tag=killer.runner] ["\n\u00a7b\u00a7l密室杀手 > \u00a76你的身份是:\u00a7a平民\n\u00a7a 活下去,就是胜利。\n"] +title @a[tag=killer.runner] title ["\u00a7aROLE: 平民"] +title @a[tag=killer.runner] subtitle ["\u00a7e活下去,就是胜利"] + +title @a[tag=killer.killer] title ["\u00a7cROLE: 杀手"] +title @a[tag=killer.killer] subtitle ["\u00a7e杀死所有的幸存者!"] + +title @a[tag=killer.saver] title ["\u00a7bROLE: 侦探"] +title @a[tag=killer.saver] subtitle ["\u00a7e找到杀手并击败它"] + +tellraw @a[tag=killer.killer] ["\u00a7a [I] \u00a7b你的团队成员: ",{"selector":"@a[tag=killer.killer]"}] +tellraw @a[tag=killer.saver] ["\u00a7a [I] \u00a7b你的团队成员: ",{"selector":"@a[tag=killer.saver]"}] +tellraw @a[team=play.killer] ["\n\u00a7a为了防止打扰其他游戏的玩家,可使用 \u00a76/tm <信息> \u00a7a进行聊天。"] +schedule clear minecraft:killerever/summon +schedule function minecraft:killerever/summon 8s diff --git a/datapacks/map_all/data/minecraft/functions/killerever/summon.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/summon.mcfunction new file mode 100644 index 00000000..d8e2bbd0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/summon.mcfunction @@ -0,0 +1,7 @@ +give @a[team=play.killer,tag=killer.killer] iron_sword{ms:1,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:40d,Operation:0,UUID:[I;1041,1467,7334,9500]}],Unbreakable:1b,HideFlags:63} +give @a[team=play.killer,tag=killer.saver] bow{ms:1,Enchantments:[{id:"infinity",lvl:1s},{id:"power",lvl:10s}],Unbreakable:1b,HideFlags:63,dtb:1b} +give @a[team=play.killer,tag=killer.saver] arrow{ms:1} +effect give @a[team=play.killer] regeneration 2 25 true + +title @a[team=play.killer] title ["\u00a7c\u00a7l密室杀手"] +title @a[team=play.killer] subtitle ["\u00a7r游戏正式开始!"] diff --git a/datapacks/map_all/data/minecraft/functions/killerever/test.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/test.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/killerever/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/teststart.mcfunction new file mode 100644 index 00000000..569ffefb --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.killer,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score killer.state state matches 1.. run function minecraft:killerever/spec +execute unless score killer.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score killer.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score killer.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:killerever/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/tick.mcfunction new file mode 100644 index 00000000..21644e71 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/tick.mcfunction @@ -0,0 +1,47 @@ +spawnpoint @a[team=play.killer] 235 56 33 +execute as @a[team=play.killer,x=235.0,y=56.0,z=33.0,distance=0..2,gamemode=adventure] at @s run function killerever/died +tag @a[team=play.killer,nbt={Inventory:[{id:"minecraft:enchanted_book",Slot:-106b}]}] add killer.sb +tag @a[team=play.killer,nbt={Inventory:[{id:"minecraft:rabbit_stew",Slot:-106b}]}] add killer.te +tag @a[team=play.killer,nbt={Inventory:[{id:"minecraft:mushroom_stew",Slot:-106b}]}] add killer.gis + +# execute as @e[tag=killer.bow] at @s run function +execute as @a[team=play.killer,tag=killer.killer] at @s run function killerever/action/check_if_get_bow +execute as @a[team=play.killer,tag=killer.runner,tag=!killer.saver] at @s run function killerever/action/check_bow + +tag @a[scores={eat.goldapple=1..}] add killer.ga +tag @a[scores={eat.glow=1..}] add killer.glow + +effect clear @a[tag=killer.glow] resistance +effect clear @a[tag=killer.ga] resistance + +effect give @a[tag=killer.glow] speed 10 2 true +effect give @a[tag=killer.glow] jump_boost 10 2 true + +effect give @a[tag=killer.ga] resistance 10 25 true + +effect give @a[tag=killer.gis] levitation 2 25 true +effect give @a[tag=killer.gis] slow_falling 7 25 true + +execute as @a[tag=killer.te] at @s run effect give @a[team=play.killer,gamemode=adventure,distance=1..6] levitation 2 25 true +execute as @a[tag=killer.te] at @s run effect give @a[team=play.killer,gamemode=adventure,distance=1..6] slow_falling 7 25 true + +execute as @a[tag=killer.sb] at @s run effect give @a[team=play.killer,gamemode=adventure,distance=1..6] slowness 5 25 true +execute as @a[tag=killer.sb] at @s run effect give @a[team=play.killer,gamemode=adventure,distance=1..6] blindness 5 25 true +execute as @a[tag=killer.sb] at @s run effect give @a[team=play.killer,gamemode=adventure,distance=1..6] jump_boost 5 128 true + +item replace entity @a[tag=killer.sb] weapon.offhand with air +item replace entity @a[tag=killer.te] weapon.offhand with air +item replace entity @a[tag=killer.gis] weapon.offhand with air + +tag @a remove killer.sb +tag @a remove killer.te +tag @a remove killer.gis +tag @a remove killer.ga +tag @a remove killer.glow +## 物品F +# minecraft:slime_ball +# minecraft:turtle_egg +# minecraft:glow_ink_sac v +## 计分板 +# minecraft:enchanted_golden_apple v +# minecraft:glow_berries v \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/killerever/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/tp.mcfunction new file mode 100644 index 00000000..21713621 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/tp.mcfunction @@ -0,0 +1,9 @@ +gamemode adventure @a[gamemode=spectator,team=play.killer] +gamemode adventure @a[gamemode=spectator,team=wait.killer] +# scoreboard players add @a[gamemode=adventure,team=play.beli,tag=play.total] score 1 +execute if entity @a[team=play.killer,tag=play.total] run function small_games/total/next_game +execute as @a[gamemode=adventure,team=wait.killer] run function killerever/join +execute as @a[gamemode=adventure,team=play.killer] run function killerever/join +schedule clear minecraft:killerever/summon +kill @e[type=item,nbt={Item:{tag:{ms:1}}}] +scoreboard players set killer.state state 0 diff --git a/datapacks/map_all/data/minecraft/functions/killerever/tsecond.mcfunction b/datapacks/map_all/data/minecraft/functions/killerever/tsecond.mcfunction new file mode 100644 index 00000000..ed6d3c5d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/killerever/tsecond.mcfunction @@ -0,0 +1,9 @@ +summon item 142 55 -21 {Item:{id:"minecraft:enchanted_book",Count:1b,tag:{ms:1,display:{Name:'"\\u00a7e冻冻球 \\u00a77- 放在副手(F键)使用"'}}},Tags:["newitem"]} +summon item 142 55 -21 {Item:{id:"minecraft:rabbit_stew",Count:1b,tag:{ms:1,display:{Name:'"\\u00a7e海王之卵 \\u00a77- 放在副手(F键)使用"'}}},Tags:["newitem"]} +summon item 142 55 -21 {Item:{id:"minecraft:mushroom_stew",Count:1b,tag:{ms:1,display:{Name:'"\\u00a7e原地升天 \\u00a77- 放在副手(F键)使用"'}}},Tags:["newitem"]} +summon item 142 55 -21 {Item:{id:"minecraft:gold_ingot",Count:1b,tag:{ms:1,display:{Name:'"\\u00a7e金锭"'}}},Tags:["newitem"]} + +summon item 142 55 -21 {Item:{id:"minecraft:enchanted_golden_apple",Count:1b,tag:{ms:1,display:{Name:'"\\u00a7e无敌球(10s 免疫伤害) \\u00a77- 食用即可"'}}},Tags:["newitem"]} +summon item 142 55 -21 {Item:{id:"minecraft:golden_apple",Count:1b,tag:{ms:1,display:{Name:'"\\u00a7e神之果(10s 速度 + 跳跃效果) \\u00a77- 食用即可"'}}},Tags:["newitem"]} + +execute as @e[type=item,tag=newitem] at @s run function killerever/ranitem \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/givemythings.mcfunction b/datapacks/map_all/data/minecraft/functions/live/givemythings.mcfunction new file mode 100644 index 00000000..5a5e6fef --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/givemythings.mcfunction @@ -0,0 +1,13 @@ +# scoreboard players set live.state state 1 +effect clear @s +scoreboard players add @s live.job 0 +execute if score @s live.job matches 0..0 run function minecraft:live/job/normal +execute if score @s live.job matches 1..1 run function minecraft:live/job/tank +execute if score @s live.job matches 2..2 run function minecraft:live/job/scientist +execute if score @s live.job matches 3..3 run function minecraft:live/job/shooter +execute if score @s live.job matches 4..4 run function minecraft:live/job/icarus +execute if score @s live.job matches 5..5 run function minecraft:live/job/cactus +execute if score @s live.job matches 6..6 run function minecraft:live/job/creeper +execute if score @s live.job matches 7..7 run function minecraft:live/job/old +# function minecraft:live/ingame/selkiller +# execute if score live.set.mode live.all matches 1..1 run team modify play.live.runner friendlyFire true diff --git a/datapacks/map_all/data/minecraft/functions/live/givethings.mcfunction b/datapacks/map_all/data/minecraft/functions/live/givethings.mcfunction new file mode 100644 index 00000000..008a1e51 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/givethings.mcfunction @@ -0,0 +1,11 @@ +scoreboard players set live.state state 1 +effect clear @a[team=play.live.runner] +scoreboard players add @a[team=play.live.runner] live.job 0 +execute as @a[team=play.live.runner] if score @s live.job matches 0..0 run function minecraft:live/job/normal +execute as @a[team=play.live.runner] if score @s live.job matches 1..1 run function minecraft:live/job/tank +execute as @a[team=play.live.runner] if score @s live.job matches 2..2 run function minecraft:live/job/scientist +execute as @a[team=play.live.runner] if score @s live.job matches 3..3 run function minecraft:live/job/shooter +execute as @a[team=play.live.runner] if score @s live.job matches 4..4 run function minecraft:live/job/icarus +execute as @a[team=play.live.runner] if score @s live.job matches 5..5 run function minecraft:live/job/cactus +function minecraft:live/ingame/selkiller +execute if score live.set.mode live.all matches 1..1 run team modify play.live.runner friendlyFire true diff --git a/datapacks/map_all/data/minecraft/functions/live/job/axe.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/axe.mcfunction new file mode 100644 index 00000000..4126471b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/axe.mcfunction @@ -0,0 +1,5 @@ +item replace entity @s armor.head with air +item replace entity @s armor.chest with minecraft:leather_chestplate{Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.feet with minecraft:iron_boots{Unbreakable:1b} +item replace entity @s armor.legs with air +item replace entity @s container.0 with minecraft:iron_axe{Unbreakable:1b,display:{Name:'["§6Golden §fIron §bAxe"]',Lore:['["§f7§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:7d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-3.1,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/cactus.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/cactus.mcfunction new file mode 100644 index 00000000..f1fb491e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/cactus.mcfunction @@ -0,0 +1,8 @@ +item replace entity @s armor.head with minecraft:cactus{Unbreakable:1b,Enchantments:[{id:"minecraft:protection",lvl:2s},{id:"minecraft:thorns",lvl:2s}],AttributeModifiers:[{AttributeName:"generic.movement_speed",Name:"noName",Amount:0.01d,Operation:0,UUID:[I;1693,9851,4672,6648]}]} 1 +item replace entity @s armor.chest with minecraft:leather_chestplate{Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} + +item replace entity @s armor.feet with minecraft:leather_boots{Unbreakable:1b} + +item replace entity @s armor.legs with minecraft:iron_leggings{Unbreakable:1b} + +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f5§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 diff --git a/datapacks/map_all/data/minecraft/functions/live/job/clock.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/clock.mcfunction new file mode 100644 index 00000000..97aa8b20 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/clock.mcfunction @@ -0,0 +1,7 @@ +#/summon minecraft:creeper ~ ~1 ~ {CustomName:"[\"CREEPER\"]",CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:20s} +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:13825332},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:leather_helmet{display:{color:13825332},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:13825332},Unbreakable:1b,Enchantments:[{id:"blast_protection",lvl:0}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:13825332},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:0}]} +item replace entity @s container.1 with minecraft:carrot_on_a_stick{job:7,display:{Name:'"\\u00a72\\u00a7l古老的钟"',Lore:['"\\u00a7b右键使用"']},Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand}],CustomModelData:1} 1 +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f5§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 diff --git a/datapacks/map_all/data/minecraft/functions/live/job/creeper.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/creeper.mcfunction new file mode 100644 index 00000000..51421636 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/creeper.mcfunction @@ -0,0 +1,8 @@ +#/summon minecraft:creeper ~ ~1 ~ {CustomName:"[\"CREEPER\"]",CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:20s} +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:5764183},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:tnt{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:5764183},Unbreakable:1b,Enchantments:[{id:"blast_protection",lvl:1}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:5764183},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:1}]} +item replace entity @s container.0 with minecraft:green_dye{Unbreakable:1b,display:{Name:'["§2Green §bSword"]',Lore:['["§c5 HP"]']},Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 +# give @s minecraft:creeper_spawn_egg{EntityTag:{id:"minecraft:creeper",CustomName:'["CREEPER"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:30s},display:{Name:'"\\u00a72\\u00a7lCreeper"',Lore:['"\\u00a7b小心!他可能会误伤你"']},CanPlaceOn:["#minecraft:bwplace"],HideFlags:63} 3 +give @s carrot_on_a_stick{job:4,display:{Name:'"\\u00a72苦力怕 \\u00a77- 右键使用"',Lore:['"\\u00a7c小心!他可能会误伤你"']},CustomModelData:2} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/feather.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/feather.mcfunction new file mode 100644 index 00000000..b5e95409 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/feather.mcfunction @@ -0,0 +1,7 @@ +#/summon minecraft:creeper ~ ~1 ~ {CustomName:"[\"CREEPER\"]",CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:20s} +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:16777215},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:leather_helmet{display:{color:16777215},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:16777215},Unbreakable:1b,Enchantments:[{id:"feather_falling",lvl:3}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:16777215},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:0}]} +item replace entity @s container.1 with minecraft:carrot_on_a_stick{job:5,display:{Name:'"\\u00a72\\u00a7l羽毛 \\u00a77- 右键使用"',Lore:['"\\u00a7b右键使用"','"\\u00a7a君を見てるといつもハートとき~とき"','"\\u00a7b每次看到你的样子 我心里总是怦怦直跳"','"\\u00a7a揺れる思いはマシュマロみたいにふわ~ふわ"','"\\u00a7b我微微颤动的思念 像棉花糖般轻轻飘飘"','"\\u00a7aいつもがんばる 君の横顔"','"\\u00a7b看着你的侧脸 总是那么努力"','"\\u00a7aずっと見てても気づかないよね"','"\\u00a7b对你注视再久 你也不会留意"','"\\u00a7a夢の中なら"','"\\u00a7b要是在梦里该多好"','"\\u00a7a二人の距離"','"\\u00a7b那样我就能"','"\\u00a7a縮められるのにな"','"\\u00a7b拉近你我之间的距离"','"\\u00a7aあぁ 神様 お願い"','"\\u00a7b啊 神啊求求你"','"\\u00a7a二人だけのDream Timeください"','"\\u00a7b赐予我一段 与你独处的美梦时光"','"\\u00a7aお気に入りのうさちゃん抱いで"','"\\u00a7b我要抱着我心爱的小兔"','"\\u00a7a今夜もお休み"','"\\u00a7b希望今夜早早步入梦乡"','"\\u00a7aふわふわ時間 ふわふわ時間"','"\\u00a7b轻飘飘的时光 轻飘飘的时光"','"\\u00a7aふわふわ時間 ふわふわ時間"','"\\u00a7b轻飘飘的时光 轻飘飘的时光"','"\\u00a7aふわふわ時間 ふわふわ時間"','"\\u00a7b轻飘飘的时光 轻飘飘的时光"']},Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand}],CustomModelData:18} 1 +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f5§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 diff --git a/datapacks/map_all/data/minecraft/functions/live/job/fire.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/fire.mcfunction new file mode 100644 index 00000000..b267b5ed --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/fire.mcfunction @@ -0,0 +1,7 @@ +item replace entity @s armor.head with minecraft:bone{Unbreakable:1b,display:{color:16711808},HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s},{id:"fire_protection",lvl:2s},{id:"binding_curse",lvl:1s}]} +item replace entity @s armor.chest with minecraft:leather_chestplate{Unbreakable:1b,display:{color:16711808},HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s},{id:"minecraft:protection",lvl:1s},{id:"fire_protection",lvl:2s}]} +item replace entity @s armor.feet with minecraft:iron_boots{Unbreakable:1b,display:{color:16711808},HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s},{id:"minecraft:protection",lvl:1s},{id:"fire_protection",lvl:2s}]} +item replace entity @s armor.legs with leather_leggings{Unbreakable:1b,display:{color:16711808},HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s},{id:"minecraft:protection",lvl:1s},{id:"fire_protection",lvl:2s}]} + +effect give @s fire_resistance 99999 25 true +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§bSOMTHING JUST LIKE THIS"]',Lore:['["§f7§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:6d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}],Enchantments:[{id:"fire_aspect",lvl:1}]} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/fireball.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/fireball.mcfunction new file mode 100644 index 00000000..cb1af915 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/fireball.mcfunction @@ -0,0 +1,8 @@ +#/summon minecraft:creeper ~ ~1 ~ {CustomName:"[\"CREEPER\"]",CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:20s} +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:15488341},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s},{id:"fire_protection",lvl:1}]} +item replace entity @s armor.head with minecraft:note_block{Unbreakable:1b,Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:15488341},Unbreakable:1b,Enchantments:[{id:"blast_protection",lvl:1}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:15488341},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:1}]} +item replace entity @s container.0 with minecraft:red_dye{Unbreakable:1b,display:{Name:'["§4Red §bSword"]',Lore:['["§c5 HP"]']},Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.2,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 +give @s minecraft:snowball{Enchantments:[{id:"unbreaking",lvl:1}],display:{Name:'"\\u00a74\\u00a7lFIREBALL"',Lore:['"\\u00a7b小心!火球可能会误伤你"']},HideFlags:63} 4 +# give @s carrot_on_a_stick{job:3,display:{Name:'"\\u00a7c火球 \\u00a77- 右键使用"',Lore:['"\\u00a78小心误伤!"']}} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/fisherman.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/fisherman.mcfunction new file mode 100644 index 00000000..f0d304bc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/fisherman.mcfunction @@ -0,0 +1,7 @@ +#/summon minecraft:creeper ~ ~1 ~ {CustomName:"[\"CREEPER\"]",CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:20s} +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:15158200},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:leather_helmet{display:{color:10554854},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:16711786},Unbreakable:1b,Enchantments:[{id:"feather_falling",lvl:0}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:8852467},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:0}]} +item replace entity @s container.1 with minecraft:carrot_on_a_stick{job:6,display:{Name:'"\\u00a76\\u00a7l交换位置 \\u00a77- 右键发射使用"',Lore:['"\\u00a7b右键使用"','"\\u00a7aあの日見わたした渚"','"\\u00a7b那天所眺望的海岸"','"\\u00a7a今も思い出すんだ"','"\\u00a7b直至今日仍能想起"','"\\u00a7a砂の上に刻んだ言葉"','"\\u00a7b在沙滩上刻下的话语"','"\\u00a7a君の後ろ姿"','"\\u00a7b和你的背影"','"\\u00a7a寄り返す波が足元をよぎり"','"\\u00a7b涌动的波浪 掠过脚边"','"\\u00a7a何かをさらう"','"\\u00a7b究竟掠走了什么"','"\\u00a7a夕凪の中"','"\\u00a7b风平浪静之中"','"\\u00a7a日暮れだけが通り過ぎてゆく"','"\\u00a7b只有黄昏悄悄地流逝"','"\\u00a7aパッと光って咲いた"','"\\u00a7b光芒怦然绽放"','"\\u00a7a花火を見てた"','"\\u00a7b烟花映入眼帘"','"\\u00a7aきっとまだ終わらない夏が"','"\\u00a7b一定是夏天还未结束"','"\\u00a7a曖昧な心を"','"\\u00a7b将暧昧的心结 "','"\\u00a7a解かして繋いだ"','"\\u00a7b解开再紧紧相连"','"\\u00a7aこの夜が続いて欲しかった"','"\\u00a7b愿今夜永不结束"']},Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand}],CustomModelData:19} 1 +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f5§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 diff --git a/datapacks/map_all/data/minecraft/functions/live/job/haerkala.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/haerkala.mcfunction new file mode 100644 index 00000000..dc937a59 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/haerkala.mcfunction @@ -0,0 +1,19 @@ +## 哈尔卡拉 +# 类型:森林精灵 +# 出处:《打了300年的史莱姆,不知不觉就练到了满级》 + +# 147,170,79 +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:3319573},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:leather_helmet{display:{color:16775968},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:7814157},Unbreakable:1b,Enchantments:[{id:"feather_falling",lvl:0}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:2659444},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:0}]} + +# '"\\u00a7a累的时候来一瓶"', +# '"\\u00a7b头脑清醒,身体健壮"', +# '"\\u00a7c\\u00a7l哈尔克拉特制营养酒"', +# '"\\u00a7d克服劳累的工作吧!"', +# '"\\u00a7e(喝下后)"', +# '"\\u00a7f啊! 充满能量!"' + +item replace entity @s container.1 with minecraft:carrot_on_a_stick{job:9,display:{Name:'"\\u00a76\\u00a7l哈尔克拉特制营养酒 \\u00a77- 右键饮用"',Lore:['"\\u00a7d\\u00a7l饮下后,获得随机神奇效果。"','"\\u00a7b持续时间:\\u00a7a15s"','"\\u00a7b冷却时间:\\u00a7e45s"','""','"\\u00a7a累的时候来一瓶"','"\\u00a7b头脑清醒,身体健壮"','"\\u00a7c\\u00a7l哈尔克拉特制营养酒"','"\\u00a7d克服劳累的工作吧!"','"\\u00a7e(喝下后)"','"\\u00a7f啊! 充满能量!"']},Unbreakable:1b,HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand}],CustomModelData:20} 1 +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§f§l小刀"]',Lore:['["\\u00a7b默认伤害:§f5§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.6,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 diff --git a/datapacks/map_all/data/minecraft/functions/live/job/icarus.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/icarus.mcfunction new file mode 100644 index 00000000..20854924 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/icarus.mcfunction @@ -0,0 +1,7 @@ +item replace entity @s armor.chest with minecraft:elytra{Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,display:{Name:'["§6伊卡洛斯之翼"]'}} +item replace entity @s armor.legs with minecraft:leather_leggings{Unbreakable:1b,HideFlags:63} +item replace entity @s armor.feet with minecraft:leather_boots{Unbreakable:1b,HideFlags:63} +item replace entity @s weapon.offhand with minecraft:crossbow{Unbreakable:0b,Enchantments:[{id:"quick_charge",lvl:1}],display:{Name:'["§9伊卡洛斯之弩"]'}} +item replace entity @s weapon.mainhand with minecraft:wooden_sword{Unbreakable:1b,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'["§c伊卡洛斯之剑"]'}} +give @s arrow 3 +give @s firework_rocket 5 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/lianjinshu.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/lianjinshu.mcfunction new file mode 100644 index 00000000..faeefef4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/lianjinshu.mcfunction @@ -0,0 +1,22 @@ +## 哈尔卡拉 +# 类型:森林精灵 +# 出处:《打了300年的史莱姆,不知不觉就练到了满级》 + +# 147,170,79 +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:16556054},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:leather_helmet{display:{color:14857765},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:3737721},Unbreakable:1b,Enchantments:[{id:"feather_falling",lvl:1}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:15520669},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:1}]} + +# '"\\u00a7a累的时候来一瓶"', +# '"\\u00a7b头脑清醒,身体健壮"', +# '"\\u00a7c\\u00a7l哈尔克拉特制营养酒"', +# '"\\u00a7d克服劳累的工作吧!"', +# '"\\u00a7e(喝下后)"', +# '"\\u00a7f啊! 充满能量!"' + +# item replace entity @s container.1 with potion{C} +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§f§l小刀"]',Lore:['["\\u00a7b默认伤害:§c5 ♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.6,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 +give @s minecraft:potion{custom_potion_effects:[{id:"minecraft:speed",duration:200,amplifier:2b,ambient:0b,show_particles:0b},{id:"haste",duration:200,amplifier:1b,ambient:0b,show_particles:0b},{id:"strength",duration:200,amplifier:1b,ambient:0b,show_particles:0b},{id:"slowness",duration:400,amplifier:2b,ambient:0b,show_particles:0b},{id:"regeneration",duration:200,amplifier:1b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7a魔法药水"'},CustomPotionColor:3392158} 2 + +give @s minecraft:potion{custom_potion_effects:[{id:"regeneration",duration:200,amplifier:1b,ambient:0b,show_particles:0b},{id:"absorption",duration:2000,amplifier:1b,ambient:0b,show_particles:0b}],display:{Name:'"\\u00a7c恢复药水"'},CustomPotionColor:14365954} 2 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/normal.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/normal.mcfunction new file mode 100644 index 00000000..b69edb2d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/normal.mcfunction @@ -0,0 +1,5 @@ +item replace entity @s armor.chest with minecraft:iron_chestplate{Unbreakable:1b} +item replace entity @s armor.head with minecraft:iron_helmet{Unbreakable:1b} +item replace entity @s armor.feet with minecraft:iron_boots{Unbreakable:1b} +item replace entity @s armor.legs with minecraft:iron_leggings{Unbreakable:1b} +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f7§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:7d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/old.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/old.mcfunction new file mode 100644 index 00000000..1b258da3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/old.mcfunction @@ -0,0 +1,8 @@ +#/summon minecraft:creeper ~ ~1 ~ {CustomName:"[\"CREEPER\"]",CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:20s} +item replace entity @s armor.chest with minecraft:leather_chestplate{display:{color:16039255},Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}]} +item replace entity @s armor.head with minecraft:player_head{Unbreakable:1b,SkullOwner:"MHF_ArrowUp",Enchantments:[{id:"binding_curse",lvl:1}]} +item replace entity @s armor.feet with minecraft:leather_boots{display:{color:16039255},Unbreakable:1b,Enchantments:[{id:"blast_protection",lvl:0}]} +item replace entity @s armor.legs with minecraft:leather_leggings{display:{color:16039255},Unbreakable:1b,Enchantments:[{id:"fire_protection",lvl:0}]} +item replace entity @s container.0 with minecraft:carrot_on_a_stick{job:1,display:{Name:'"\\u00a72\\u00a7l古老的剑"',Lore:['"\\u00a7b右键释放剑气"']},Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:2d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}],CustomModelData:3} 1 + +effect give @s slowness 99999 0 true \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/scientist.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/scientist.mcfunction new file mode 100644 index 00000000..fba50d4c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/scientist.mcfunction @@ -0,0 +1,11 @@ +clear @s +effect clear @s +item replace entity @s container.0 with minecraft:diamond_sword{Unbreakable:1b,HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:6d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} +item replace entity @s armor.chest with minecraft:leather_chestplate{Unbreakable:1b,display:{color:7963501}} +item replace entity @s armor.head with minecraft:player_head{Unbreakable:1b,SkullOwner:"MHF_ArrowUp"} +item replace entity @s armor.feet with minecraft:leather_boots{Unbreakable:1b,display:{color:7963501}} +item replace entity @s armor.legs with minecraft:leather_leggings{Unbreakable:1b,display:{color:8950395}} +# effect give @s speed 99999 2 true +# effect give @s jump_boost 99999 3 true +give @s carrot_on_a_stick{job:2,display:{Name:'"\\u00a7a肾 宝"',Lore:['"\\u00a77右键使用"','""','"\\u00a7d肾宝,"','"\\u00a7b一瓶提神醒脑,"','"\\u00a76二瓶永不疲劳,"','"\\u00a7e三瓶长生不老"','"\\u00a78\\u00a7n\\u00a7m下次一定"']},CustomModelData:4} +# effect give @s invisibility 99999 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/shooter.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/shooter.mcfunction new file mode 100644 index 00000000..85e6dbe6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/shooter.mcfunction @@ -0,0 +1,7 @@ +item replace entity @s armor.chest with minecraft:leather_chestplate{Unbreakable:1b,HideFlags:63} +item replace entity @s armor.head with minecraft:iron_helmet{Unbreakable:1b} +item replace entity @s armor.feet with minecraft:iron_boots{Unbreakable:1b} +item replace entity @s armor.legs with minecraft:iron_leggings{Unbreakable:1b} +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f3§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:3d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 +item replace entity @s container.1 with minecraft:bow{Unbreakable:1b,display:{Name:'["§aR§ba§ci§dn §eB§fo§6w"]',Lore:['["§aR§ba§ci§dn §eB§fo§6w"]','["§aR§ba§ci§dn §eB§fo§6w"]','["§aR§ba§ci§dn §eB§fo§6w"]']},Enchantments:[{id:"minecraft:power",lvl:0s}]} 1 +give @s arrow 32 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/live/job/tank.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/tank.mcfunction new file mode 100644 index 00000000..2cb94611 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/tank.mcfunction @@ -0,0 +1,7 @@ +## ok? +item replace entity @s armor.chest with diamond_chestplate{Unbreakable:1b,HideFlags:63,Enchantments:[{id:"minecraft:protection",lvl:1s}],AttributeModifiers:[{AttributeName:"generic.movement_speed",Name:"noName",Amount:-0.03d,Operation:0,UUID:[I;1693,9851,4672,6648]},{AttributeName:"generic.knockback_resistance",Name:"noName",Amount:-0.3d,Operation:0,UUID:[I;1393,9851,4672,6648]},{AttributeName:"generic.armor",Name:"noName",Amount:10d,Operation:0,UUID:[I;1393,9851,4472,6648]}]} +item replace entity @s armor.head with minecraft:diamond_helmet{Unbreakable:1b} +item replace entity @s armor.feet with minecraft:iron_boots{Unbreakable:1b} +item replace entity @s armor.legs with minecraft:iron_leggings{Unbreakable:1b} +item replace entity @s container.0 with minecraft:iron_sword{Unbreakable:1b,display:{Name:'["§6Golden §rIron §bSword"]',Lore:['["§f5§c♥"]']},HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:5d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} 1 +item replace entity @s weapon.offhand with minecraft:shield{Damage:250} 1 diff --git a/datapacks/map_all/data/minecraft/functions/live/job/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/live/job/tp.mcfunction new file mode 100644 index 00000000..c8e85f34 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/live/job/tp.mcfunction @@ -0,0 +1,11 @@ +clear @s +effect clear @s +item replace entity @s container.0 with minecraft:wooden_sword{Enchantments:[{id:"unbreaking",lvl:1}],display:{Name:'{"text":"桃木剑","color":"#e4a10f","italic": false}',Lore:['"\\u00a77一个很基础的木剑"']},Unbreakable:1b,HideFlags:63,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:6d,Operation:0,UUID:[I;4894,7942,7863,6495],Slot:mainhand},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:"mainhand",Operation:0,UUID:[I;1145,5145,1145,5145]}]} +# give @s minecraft:ender_pearl{Unbreakable:1b,HideFlags:63} 32 +item replace entity @s armor.chest with minecraft:leather_chestplate{Unbreakable:1b,display:{color:24768}} +item replace entity @s armor.head with minecraft:player_head{Unbreakable:1b,SkullOwner:"MHF_CoconutG"} +item replace entity @s armor.feet with minecraft:leather_boots{Unbreakable:1b,display:{color:14983439},Enchantments:[{id:"feather_falling",lvl:5}]} +item replace entity @s armor.legs with minecraft:leather_leggings{Unbreakable:1b,display:{color:12583002}} +give @s carrot_on_a_stick{job:3,display:{Name:'"\\u00a79空间移动 \\u00a77- 右键使用"',Lore:['"\\u00a78你突然就消失了"']},CustomModelData:6} +# effect give @s jump_boost 99999 255 true +# effect give @s invisibility 99999 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/lpark/backpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/backpoint.mcfunction new file mode 100644 index 00000000..1646ab4a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/backpoint.mcfunction @@ -0,0 +1,10 @@ +tag @s add park.sel +execute as @e[type=marker,tag=lpark] at @s if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid rotated ~ 0 run tag @s add totpsel +execute as @e[tag=totpsel] at @s run tp @a[tag=park.sel] ~ ~ ~ +execute unless entity @e[tag=totpsel] in parkourworld run tp @s 8 4 8 0 0 +tag @e[tag=totpsel] remove totpsel +tag @a[tag=park.sel] remove park.sel +tellraw @s ["\u00a7a[记录点] \u00a7b你已返回记录点!\n",{"text":"\u00a7d[Back]","clickEvent": {"action": "run_command","value": "/trigger parkour set 1"},"hoverEvent": {"action": "show_text","value": "\u00a7b[信息] 你将会返回记录点"}}," ",{"text":"\u00a7e[Delete]","clickEvent": {"action": "run_command","value": "/trigger parkour set 3"},"hoverEvent": {"action": "show_text","value": "\u00a7e[警告] 你的所有的记录点都将消失!"}}," ",{"text":"\u00a7c[Reset]","clickEvent": {"action": "run_command","value": "/trigger parkour set 2"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!"}}," ",{"text":"\u00a76[Cancel]","clickEvent": {"action": "run_command","value": "/trigger hub"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!跑酷也将取消。"}}] +effect give @s jump_boost 1 255 true +# playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute at @s run playsound ui.button.click player @s ~ ~ ~ 10 1 1 diff --git a/datapacks/map_all/data/minecraft/functions/lpark/cancel.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/cancel.mcfunction new file mode 100644 index 00000000..56550cf8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/cancel.mcfunction @@ -0,0 +1,9 @@ +tag @s add park.sel +execute as @e[type=marker,tag=lpark] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的跑酷已经取消!"] +tag @a[tag=park.sel] remove park.sel +playsound ui.button.click player @s +tag @s remove parkouring +clear @s carrot_on_a_stick + +scoreboard players set @s hub 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/lpark/delect.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/delect.mcfunction new file mode 100644 index 00000000..ee5172f6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/delect.mcfunction @@ -0,0 +1,5 @@ +tag @s add park.sel +execute as @e[type=marker,tag=lpark] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tag @a[tag=park.sel] remove park.sel +tellraw @s ["\u00a7a[Checkpoint] \u00a7e你的记录点已被删除!"] +playsound ui.button.click player @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/lpark/end.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/end.mcfunction new file mode 100644 index 00000000..8a274f0f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/end.mcfunction @@ -0,0 +1,11 @@ +tag @s remove parkouring +tellraw @s ["\u00a7a\u00a7l\n你完成了这个跑酷!"] +playsound entity.player.levelup player @s +clear @s carrot_on_a_stick +function npark/calctime +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 0..9 run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 10.. run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches 10.. run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches ..9 run tellraw @s [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +tellraw @s [""] +execute in minecraft:parkourworld run tp @s 8 4 8 0 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/lpark/join.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/join.mcfunction new file mode 100644 index 00000000..d8412d9b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/join.mcfunction @@ -0,0 +1,19 @@ +# tellraw @a ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 \u00a7aParkour \u00a77!"] +tellraw @s ["\n\u00a7b 欢迎来到关卡跑酷!\n\u00a7a 您可以随时输入\u00a7d/trigger hub set 1\u00a7a返回大厅(出生点)!\n\u00a7a 在地图中,\u00a7f",{"translate":"block.minecraft.heavy_weighted_pressure_plate","color":"white"},"\u00a7a代表\u00a7e记录点\u00a7a,您可以随时返回记录点!\n\u00a77 ",{"translate":"block.minecraft.polished_blackstone_pressure_plate","color":"aqua"},"\u00a7a代表终点。\n"] +# team join lobby,tag=parkouring +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour + +team join parkour @s +function lpark/resettime + +tag @s remove parkouring +playsound ui.button.click player @s ~ ~ ~ +effect clear @s jump_boost +effect clear @s speed +tag @s remove mazing + +execute in minecraft:parkourworld run tp @s 8 4 8 0 0 +execute in minecraft:parkourworld at @s run playsound entity.player.levelup player @s ~ ~ ~ 10 1 1 + +execute in minecraft:parkourworld at @s run function lpark/plset diff --git a/datapacks/map_all/data/minecraft/functions/lpark/plset.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/plset.mcfunction new file mode 100644 index 00000000..ebe68101 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/plset.mcfunction @@ -0,0 +1,19 @@ +tag @s add park.sel +execute at @s as @e[type=marker,tag=lpark] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run tag @s add flaged1 +kill @e[tag=flaged1] + +tag @s remove park.sel +summon marker ~ ~ ~ {Tags:["lpark","park.new"]} +scoreboard players operation @e[tag=park.new,limit=1] park.uuid = @s park.uuid +tp @e[tag=park.new] @s +execute align xyz positioned ~0.5 ~0 ~0.5 rotated ~ 0 run tp @e[tag=park.new] ~ ~ ~ +tag @e[tag=park.new] remove park.new + +playsound block.stone_button.click_on player @s ~ ~ ~ 1 1 1 +tellraw @s ["\u00a7a[Checkpoint] 记录点已设置!\n",{"text":"\u00a7d[Back]","clickEvent": {"action": "run_command","value": "/trigger parkour set 1"},"hoverEvent": {"action": "show_text","value": "\u00a7b[信息] 你将会返回记录点"}}," ",{"text":"\u00a7e[Delete]","clickEvent": {"action": "run_command","value": "/trigger parkour set 3"},"hoverEvent": {"action": "show_text","value": "\u00a7e[警告] 你的所有的记录点都将消失!"}}," ",{"text":"\u00a7c[Reset]","clickEvent": {"action": "run_command","value": "/trigger parkour set 2"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!"}}," ",{"text":"\u00a76[Cancel]","clickEvent": {"action": "run_command","value": "/trigger parkour set 4"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!跑酷也将取消。"}}] + +function npark/calctime +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches ..9 run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 10.. run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches 10.. run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches ..9 run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/lpark/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/reset.mcfunction new file mode 100644 index 00000000..87889efc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/reset.mcfunction @@ -0,0 +1,9 @@ +tag @s add park.sel +execute as @e[type=marker,tag=lpark] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的跑酷已经重置!"] +tag @a[tag=park.sel] remove park.sel +execute in minecraft:parkourworld run tp @s 8 4 8 0 0 + +# function minecraft:npark/join +execute at @s run playsound ui.button.click player @s ~ ~ ~ 10 1 1 +# function minecraft:npark/resettime diff --git a/datapacks/map_all/data/minecraft/functions/lpark/resettime.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/resettime.mcfunction new file mode 100644 index 00000000..99c34645 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/resettime.mcfunction @@ -0,0 +1,7 @@ +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour.second +scoreboard players reset @s parkour.minute +scoreboard players reset @s parkour.hour +scoreboard players reset @s parkour.stick +title @s actionbar ["\u00a7a你的时间已经重置到 \u00a7b[0:00.00]"] +function lpark/setpoint \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/lpark/second.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/second.mcfunction new file mode 100644 index 00000000..dd5c2cd4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/second.mcfunction @@ -0,0 +1,7 @@ +# execute as @e[type=marker,tag=lpark] at @s run data merge entity @s {Duration:2147483647,Invulnerable:1b,NoAI:1b,NoGravity:1b,PersistenceRequired:1b,Radius:0f} +execute in parkourworld run spawnpoint @a[team=parkour] 8 4 8 0 +effect give @a[team=parkour] resistance 5 25 true +effect give @a[team=parkour] fire_resistance 5 25 true + +item replace entity @a[team=parkour,nbt=!{Inventory:[{id:"minecraft:carrot_on_a_stick",tag:{park:1}}]}] hotbar.4 with carrot_on_a_stick{Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],display:{Name:'"\\u00a7aCheckpoint \\u00a77(Right click)"',Lore:['"\\u00a7bReturn to parkour checkpoint"']},park:1,CustomModelData:5} + diff --git a/datapacks/map_all/data/minecraft/functions/lpark/setpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/setpoint.mcfunction new file mode 100644 index 00000000..dbe4cf05 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/setpoint.mcfunction @@ -0,0 +1,7 @@ +tag @s add park.sel +execute at @s as @e[type=marker,tag=lpark] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run tag @s add flaged1 +tag @a[tag=park.sel] remove park.sel +scoreboard players set park.tmp park.uuid 0 +execute if entity @e[tag=flaged1,distance=0..1.5] run title @s actionbar ["\u00a7c[你的记录点已经设置过了]"] +execute unless entity @e[tag=flaged1,distance=0..1.5] align xyz positioned ~0.5 ~0 ~0.5 rotated ~ 0 run function minecraft:lpark/plset +tag @e[tag=flaged1] remove flaged1 diff --git a/datapacks/map_all/data/minecraft/functions/lpark/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/lpark/tick.mcfunction new file mode 100644 index 00000000..ebc17d34 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/lpark/tick.mcfunction @@ -0,0 +1,24 @@ +scoreboard players enable @a[team=parkour] parkour +execute as @a[scores={park.click=1..},team=parkour] at @s run function minecraft:lpark/backpoint +scoreboard players reset @a[scores={park.click=1..},team=parkour] park.click + +execute as @a[scores={parkour=1},team=parkour] at @s run function minecraft:lpark/backpoint +execute as @a[scores={parkour=2},team=parkour] at @s run function minecraft:lpark/reset +execute as @a[scores={parkour=3},team=parkour] at @s run function minecraft:lpark/delect +execute as @a[scores={parkour=4},team=parkour] at @s run function minecraft:lpark/cancel + +scoreboard players reset @a[scores={parkour=1..},team=parkour] parkour +# execute as @a[team=parkour,gamemode=!creative] at @s as @s[y=-1,dy=-30] run function minecraft:lpark/backpoint +execute as @a[team=parkour] at @s if block ~ ~ ~ heavy_weighted_pressure_plate run function minecraft:lpark/setpoint +execute as @a[team=parkour] at @s if block ~ ~ ~ polished_blackstone_pressure_plate run function minecraft:lpark/end +execute as @a[team=parkour] at @s if block ~ ~ ~ light_weighted_pressure_plate run function minecraft:lpark/resettime + + + +scoreboard players add @a[team=parkour] parkour.tick 5 +# 100 'tick' -> 's' + +execute as @a[team=parkour] at @s as @s[y=-10,dy=-50] run function lpark/backpoint +execute as @a[team=parkour,gamemode=adventure] at @s if block ~ ~ ~ lava run function lpark/backpoint +# execute as @a[team=parkour,gamemode=adventure] at @s if block ~ ~-0.2 ~ lava run function lpark/backpoint +execute as @a[team=parkour,gamemode=survival] at @s run gamemode adventure @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/backpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/backpoint.mcfunction new file mode 100644 index 00000000..7cb20668 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/backpoint.mcfunction @@ -0,0 +1,6 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] at @s if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid rotated ~ 0 run tp @a[tag=park.sel] ~ ~ ~ +tag @a[tag=park.sel] remove park.sel +tellraw @s ["\u00a7a[记录点] \u00a7b你已返回记录点!\n",{"text":"\u00a7d[Back]","clickEvent": {"action": "run_command","value": "/trigger parkour set 1"},"hoverEvent": {"action": "show_text","value": "\u00a7b[信息] 你将会返回记录点"}}," ",{"text":"\u00a7c[Reset]","clickEvent": {"action": "run_command","value": "/trigger parkour set 2"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!"}}," ",{"text":"\u00a76[Cancel]","clickEvent": {"action": "run_command","value": "/trigger parkour set 4"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!迷宫进度也将取消。"}}] +effect give @s jump_boost 1 255 true +playsound ui.button.click player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/calctime.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/calctime.mcfunction new file mode 100644 index 00000000..1def5ee4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/calctime.mcfunction @@ -0,0 +1,11 @@ +scoreboard players set 100 board 100 +scoreboard players set 60 board 60 +scoreboard players operation @s parkour.second = @s parkour.tick +scoreboard players operation @s parkour.stick = @s parkour.tick +scoreboard players operation @s parkour.second /= 100 board +scoreboard players operation @s parkour.stick %= 100 board +scoreboard players operation @s parkour.minute = @s parkour.second +# scoreboard players operation @s parkour.minute = @s parkour.second +scoreboard players operation @s parkour.minute /= 60 board +scoreboard players operation @s parkour.second %= 60 board + diff --git a/datapacks/map_all/data/minecraft/functions/maze/cancel.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/cancel.mcfunction new file mode 100644 index 00000000..97536c8b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/cancel.mcfunction @@ -0,0 +1,8 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的迷宫进度已经重置!"] +tag @a[tag=park.sel] remove park.sel +playsound ui.button.click player @s +tag @s remove mazing +clear @s carrot_on_a_stick +tp @s 235 115 66 -90 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/cancelnottp.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/cancelnottp.mcfunction new file mode 100644 index 00000000..4b335a93 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/cancelnottp.mcfunction @@ -0,0 +1,7 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的迷宫进度已经重置!"] +tag @a[tag=park.sel] remove park.sel +playsound ui.button.click player @s +tag @s remove mazing +clear @s carrot_on_a_stick \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/delect.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/delect.mcfunction new file mode 100644 index 00000000..fdfa3582 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/delect.mcfunction @@ -0,0 +1,5 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tag @a[tag=park.sel] remove park.sel +tellraw @s ["\u00a7a[Checkpoint] \u00a7e你的记录点已被删除!"] +playsound ui.button.click player @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/end.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/end.mcfunction new file mode 100644 index 00000000..06267097 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/end.mcfunction @@ -0,0 +1,11 @@ +tag @s remove mazing +tellraw @s ["\u00a7a\u00a7l\n你完成了这个迷宫!"] +playsound entity.player.levelup player @s +clear @s carrot_on_a_stick +function maze/calctime +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 0..9 run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的迷宫用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 10.. run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的迷宫用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches 10.. run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的迷宫用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches ..9 run tellraw @s [{"selector":"@s"},"\u00a7b\u00a7l 的迷宫用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +tellraw @a [""] +# tp @s 235 115 66 -90 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/join.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/join.mcfunction new file mode 100644 index 00000000..a37ef40a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/join.mcfunction @@ -0,0 +1,14 @@ +# tellraw @a ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 \u00a7aParkour \u00a77!"] +tellraw @s ["\n\u00a7b 欢迎来到迷宫!\n\u00a7a 您可以随时输入\u00a7d/trigger hub set 1\u00a7a返回大厅(出生点)!\n\u00a7a 在地图中,\u00a7f",{"translate":"block.minecraft.warped_pressure_plate","color":"white"},"\u00a7a代表\u00a7e起点\u00a7a,您可以随时返回记录点!\n\u00a77 ",{"translate":"block.minecraft.crimson_pressure_plate","color":"aqua"},"代表终点。\n"] +# team join lobby,tag=mazing +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour + +function maze/plset +function maze/resettime + +tag @s remove parkouring +tag @s add mazing +playsound ui.button.click player @s ~ ~ ~ +effect clear @s jump_boost +effect clear @s speed \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/plset.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/plset.mcfunction new file mode 100644 index 00000000..77656cde --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/plset.mcfunction @@ -0,0 +1,19 @@ +tag @s add park.sel +execute at @s as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run tag @s add flaged1 +kill @e[tag=flaged1] + +tag @s remove park.sel +summon marker ~ ~ ~ {Tags:["park","park.new"]} +scoreboard players operation @e[tag=park.new,limit=1] park.uuid = @s park.uuid +tp @e[tag=park.new] @s +execute align xyz positioned ~0.5 ~0 ~0.5 rotated ~ 0 run tp @e[tag=park.new] ~ ~ ~ +tag @e[tag=park.new] remove park.new + +playsound block.stone_button.click_on player @s ~ ~ ~ 1 1 1 +tellraw @s ["\u00a7a[Checkpoint] 记录点已设置!\n",{"text":"\u00a7d[Back]","clickEvent": {"action": "run_command","value": "/trigger parkour set 1"},"hoverEvent": {"action": "show_text","value": "\u00a7b[信息] 你将会返回记录点"}}," ",{"text":"\u00a7c[Reset]","clickEvent": {"action": "run_command","value": "/trigger parkour set 2"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!"}}," ",{"text":"\u00a76[Cancel]","clickEvent": {"action": "run_command","value": "/trigger parkour set 4"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!跑酷也将取消。"}}] + +function maze/calctime +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches ..9 run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 10.. run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches 10.. run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches ..9 run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/reset.mcfunction new file mode 100644 index 00000000..5891064b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/reset.mcfunction @@ -0,0 +1,8 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的跑酷已经重置!"] +tag @a[tag=park.sel] remove park.sel +playsound ui.button.click player @s +tp @s 235 115 66 -90 0 +# function minecraft:maze/resettime +# function minecraft:maze/join diff --git a/datapacks/map_all/data/minecraft/functions/maze/resettime.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/resettime.mcfunction new file mode 100644 index 00000000..88c18fa4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/resettime.mcfunction @@ -0,0 +1,7 @@ +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour.second +scoreboard players reset @s parkour.minute +scoreboard players reset @s parkour.hour +scoreboard players reset @s parkour.stick +title @s actionbar ["\u00a7a你的时间已经重置到 \u00a7b[0:00.00]"] +function maze/setpoint \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/resettimeonly.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/resettimeonly.mcfunction new file mode 100644 index 00000000..d1a75250 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/resettimeonly.mcfunction @@ -0,0 +1,6 @@ +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour.second +scoreboard players reset @s parkour.minute +scoreboard players reset @s parkour.hour +scoreboard players reset @s parkour.stick +title @s actionbar ["\u00a7a你的时间已经重置到 \u00a7b[0:00.00]"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/second.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/second.mcfunction new file mode 100644 index 00000000..5076f370 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/second.mcfunction @@ -0,0 +1,5 @@ +execute as @e[type=marker,tag=park] at @s run data merge entity @s {Duration:2147483647,Invulnerable:1b,NoAI:1b,NoGravity:1b,PersistenceRequired:1b,Radius:0f} +spawnpoint @a[team=lobby,tag=mazing] 61 19 -51 -90 +effect give @a[team=lobby,tag=mazing] resistance 5 25 true + +item replace entity @a[team=lobby,tag=mazing,nbt=!{Inventory:[{id:"minecraft:carrot_on_a_stick",tag:{park:1}}]}] hotbar.4 with carrot_on_a_stick{Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],display:{Name:'"\\u00a7aCheckpoint \\u00a77(Right click)"',Lore:['"\\u00a7bReturn to parkour checkpoint"']},park:1,CustomModelData:5} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/maze/setpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/setpoint.mcfunction new file mode 100644 index 00000000..61886c7d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/setpoint.mcfunction @@ -0,0 +1,7 @@ +tag @s add park.sel +execute at @s as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run tag @s add flaged1 +tag @a[tag=park.sel] remove park.sel +scoreboard players set park.tmp park.uuid 0 +execute if entity @e[tag=flaged1,distance=0..1.5] run title @s actionbar ["\u00a7c[你的记录点已经设置过了]"] +execute unless entity @e[tag=flaged1,distance=0..1.5] align xyz positioned ~0.5 ~0 ~0.5 rotated ~ 0 run function minecraft:maze/plset +tag @e[tag=flaged1] remove flaged1 diff --git a/datapacks/map_all/data/minecraft/functions/maze/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/maze/tick.mcfunction new file mode 100644 index 00000000..a5ee0b8e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/maze/tick.mcfunction @@ -0,0 +1,19 @@ +scoreboard players enable @a[team=lobby,tag=mazing] parkour +execute as @a[scores={park.click=1..},team=lobby,tag=mazing] at @s run function minecraft:maze/backpoint +scoreboard players reset @a[scores={park.click=1..},team=lobby,tag=mazing] park.click + +execute as @a[scores={parkour=1..1},team=lobby,tag=mazing] at @s run function minecraft:maze/backpoint +execute as @a[scores={parkour=2..2},team=lobby,tag=mazing] at @s run function minecraft:maze/reset +# execute as @a[scores={parkour=3..3},team=lobby,tag=mazing] at @s run function minecraft:maze/delect +execute as @a[scores={parkour=4..4},team=lobby,tag=mazing] at @s run function minecraft:maze/cancel + +scoreboard players reset @a[scores={parkour=1..},team=lobby,tag=mazing] parkour +execute as @a[team=lobby,tag=mazing,gamemode=!creative] at @s as @s[y=-1,dy=-30] run function minecraft:maze/backpoint +# execute as @a[team=lobby,tag=mazing] at @s if block ~ ~ ~ mangrove_pressure_plate run function minecraft:maze/setpoint +execute as @a[team=lobby,tag=mazing] at @s if block ~ ~ ~ crimson_pressure_plate run function minecraft:maze/end +execute as @a[team=lobby,tag=mazing] at @s if block ~ ~ ~ warped_pressure_plate run function minecraft:maze/resettime + + + +scoreboard players add @a[tag=mazing,team=lobby] parkour.tick 5 +# 100 'tick' -> 's' diff --git a/datapacks/map_all/data/minecraft/functions/npark/backpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/backpoint.mcfunction new file mode 100644 index 00000000..68455fcd --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/backpoint.mcfunction @@ -0,0 +1,6 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] at @s if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid rotated ~ 0 run tp @a[tag=park.sel] ~ ~ ~ +tag @a[tag=park.sel] remove park.sel +tellraw @s ["\u00a7a[记录点] \u00a7b你已返回记录点!\n",{"text":"\u00a7d[Back]","clickEvent": {"action": "run_command","value": "/trigger parkour set 1"},"hoverEvent": {"action": "show_text","value": "\u00a7b[信息] 你将会返回记录点"}}," ",{"text":"\u00a7e[Delete]","clickEvent": {"action": "run_command","value": "/trigger parkour set 3"},"hoverEvent": {"action": "show_text","value": "\u00a7e[警告] 你的所有的记录点都将消失!"}}," ",{"text":"\u00a7c[Reset]","clickEvent": {"action": "run_command","value": "/trigger parkour set 2"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!"}}," ",{"text":"\u00a76[Cancel]","clickEvent": {"action": "run_command","value": "/trigger parkour set 4"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!跑酷也将取消。"}}] +effect give @s jump_boost 1 255 true +playsound ui.button.click player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/calctime.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/calctime.mcfunction new file mode 100644 index 00000000..1def5ee4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/calctime.mcfunction @@ -0,0 +1,11 @@ +scoreboard players set 100 board 100 +scoreboard players set 60 board 60 +scoreboard players operation @s parkour.second = @s parkour.tick +scoreboard players operation @s parkour.stick = @s parkour.tick +scoreboard players operation @s parkour.second /= 100 board +scoreboard players operation @s parkour.stick %= 100 board +scoreboard players operation @s parkour.minute = @s parkour.second +# scoreboard players operation @s parkour.minute = @s parkour.second +scoreboard players operation @s parkour.minute /= 60 board +scoreboard players operation @s parkour.second %= 60 board + diff --git a/datapacks/map_all/data/minecraft/functions/npark/cancel.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/cancel.mcfunction new file mode 100644 index 00000000..f54e8175 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/cancel.mcfunction @@ -0,0 +1,7 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的跑酷已经取消!"] +tag @a[tag=park.sel] remove park.sel +playsound ui.button.click player @s +tag @s remove parkouring +clear @s carrot_on_a_stick diff --git a/datapacks/map_all/data/minecraft/functions/npark/delect.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/delect.mcfunction new file mode 100644 index 00000000..fdfa3582 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/delect.mcfunction @@ -0,0 +1,5 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tag @a[tag=park.sel] remove park.sel +tellraw @s ["\u00a7a[Checkpoint] \u00a7e你的记录点已被删除!"] +playsound ui.button.click player @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/end.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/end.mcfunction new file mode 100644 index 00000000..3ddc19c8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/end.mcfunction @@ -0,0 +1,10 @@ +tag @s remove parkouring +tellraw @s ["\u00a7a\u00a7l\n你完成了这个跑酷!"] +playsound entity.player.levelup player @s +clear @s carrot_on_a_stick +function npark/calctime +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 0..9 run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 10.. run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches 10.. run tellraw @a [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches ..9 run tellraw @s [{"selector":"@s"},"\u00a7b\u00a7l 的跑酷用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +tellraw @s [""] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/getuuid.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/getuuid.mcfunction new file mode 100644 index 00000000..520115d2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/getuuid.mcfunction @@ -0,0 +1,3 @@ +scoreboard players add p.uid park.uuid 1 +scoreboard players operation @s park.uuid = p.uid park.uuid +tellraw @s ["\u00a77Debug Info : Your UUID is [",{"score":{"objective": "park.uuid","name": "@s"},"color": "gray"},"\u00a77]"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/join.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/join.mcfunction new file mode 100644 index 00000000..296aee78 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/join.mcfunction @@ -0,0 +1,14 @@ +# tellraw @a ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 \u00a7aParkour \u00a77!"] +tellraw @s ["\n\u00a7b 欢迎加入跑酷大军!\n\u00a7a 您可以随时输入\u00a7d/trigger hub set 1\u00a7a返回大厅(出生点)!\n\u00a7a 在地图中,\u00a7f",{"translate":"block.minecraft.heavy_weighted_pressure_plate","color":"white"},"\u00a7a代表\u00a7e记录点\u00a7a,您可以随时返回记录点!\n\u00a77 ",{"translate":"block.minecraft.polished_blackstone_pressure_plate","color":"aqua"},"代表终点。\n"] +# team join lobby,tag=parkouring +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour + +function npark/plset +function npark/resettime + +tag @s add parkouring +playsound ui.button.click player @s ~ ~ ~ +effect clear @s jump_boost +effect clear @s speed +tag @s remove mazing diff --git a/datapacks/map_all/data/minecraft/functions/npark/plset.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/plset.mcfunction new file mode 100644 index 00000000..ccec76ee --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/plset.mcfunction @@ -0,0 +1,19 @@ +tag @s add park.sel +execute at @s as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run tag @s add flaged1 +kill @e[tag=flaged1] + +tag @s remove park.sel +summon marker ~ ~ ~ {Tags:["park","park.new"]} +scoreboard players operation @e[tag=park.new,limit=1] park.uuid = @s park.uuid +tp @e[tag=park.new] @s +execute align xyz positioned ~0.5 ~0 ~0.5 rotated ~ 0 run tp @e[tag=park.new] ~ ~ ~ +tag @e[tag=park.new] remove park.new + +playsound block.stone_button.click_on player @s ~ ~ ~ 1 1 1 +tellraw @s ["\u00a7a[Checkpoint] 记录点已设置!\n",{"text":"\u00a7d[Back]","clickEvent": {"action": "run_command","value": "/trigger parkour set 1"},"hoverEvent": {"action": "show_text","value": "\u00a7b[信息] 你将会返回记录点"}}," ",{"text":"\u00a7e[Delete]","clickEvent": {"action": "run_command","value": "/trigger parkour set 3"},"hoverEvent": {"action": "show_text","value": "\u00a7e[警告] 你的所有的记录点都将消失!"}}," ",{"text":"\u00a7c[Reset]","clickEvent": {"action": "run_command","value": "/trigger parkour set 2"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!"}}," ",{"text":"\u00a76[Cancel]","clickEvent": {"action": "run_command","value": "/trigger parkour set 4"},"hoverEvent": {"action": "show_text","value": "\u00a7c[警告] 你的所有的进度都将消失!跑酷也将取消。"}}] + +function npark/calctime +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches ..9 run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches ..9 if score @s parkour.stick matches 10.. run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:0",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches 10.. run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] +execute if score @s parkour.second matches 10.. if score @s parkour.stick matches ..9 run tellraw @s ["\u00a7b到达此记录点用时:\u00a7e[",{"score":{"name": "@s","objective": "parkour.minute"},"color": "yellow"},"\u00a7e:",{"score":{"name": "@s","objective": "parkour.second"},"color": "yellow"},"\u00a7e.0",{"score":{"name": "@s","objective": "parkour.stick"},"color": "yellow"},"\u00a7e]"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/reset.mcfunction new file mode 100644 index 00000000..d40f9966 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/reset.mcfunction @@ -0,0 +1,9 @@ +tag @s add park.sel +execute as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run kill @s +tellraw @s ["\u00a7e你的跑酷已经重置!"] +tag @a[tag=park.sel] remove park.sel +tp @s 188 115 -26 180 0 + +# function minecraft:npark/join +playsound ui.button.click player @s +# function minecraft:npark/resettime diff --git a/datapacks/map_all/data/minecraft/functions/npark/resettime.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/resettime.mcfunction new file mode 100644 index 00000000..f7285509 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/resettime.mcfunction @@ -0,0 +1,7 @@ +scoreboard players reset @s parkour.tick +scoreboard players reset @s parkour.second +scoreboard players reset @s parkour.minute +scoreboard players reset @s parkour.hour +scoreboard players reset @s parkour.stick +title @s actionbar ["\u00a7a你的时间已经重置到 \u00a7b[0:00.00]"] +function npark/setpoint \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/second.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/second.mcfunction new file mode 100644 index 00000000..fe5ba4b9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/second.mcfunction @@ -0,0 +1,5 @@ +execute as @e[type=marker,tag=park] at @s run data merge entity @s {Duration:2147483647,Invulnerable:1b,NoAI:1b,NoGravity:1b,PersistenceRequired:1b,Radius:0f} +spawnpoint @a[team=lobby,tag=parkouring] 61 19 -51 -90 +effect give @a[team=lobby,tag=parkouring] resistance 5 25 true + +item replace entity @a[team=lobby,tag=parkouring,nbt=!{Inventory:[{id:"minecraft:carrot_on_a_stick",tag:{park:1}}]}] hotbar.4 with carrot_on_a_stick{Unbreakable:1b,Enchantments:[{id:"unbreaking",lvl:1}],display:{Name:'"\\u00a7aCheckpoint \\u00a77(Right click)"',Lore:['"\\u00a7bReturn to parkour checkpoint"']},park:1,CustomModelData:5} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/npark/setpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/setpoint.mcfunction new file mode 100644 index 00000000..ab4f4b50 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/setpoint.mcfunction @@ -0,0 +1,7 @@ +tag @s add park.sel +execute at @s as @e[type=marker,tag=park] if score @s park.uuid = @a[tag=park.sel,limit=1] park.uuid run tag @s add flaged1 +tag @a[tag=park.sel] remove park.sel +scoreboard players set park.tmp park.uuid 0 +execute if entity @e[tag=flaged1,distance=0..1.5] run title @s actionbar ["\u00a7c[你的记录点已经设置过了]"] +execute unless entity @e[tag=flaged1,distance=0..1.5] align xyz positioned ~0.5 ~0 ~0.5 rotated ~ 0 run function minecraft:npark/plset +tag @e[tag=flaged1] remove flaged1 diff --git a/datapacks/map_all/data/minecraft/functions/npark/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/npark/tick.mcfunction new file mode 100644 index 00000000..a33cea05 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/npark/tick.mcfunction @@ -0,0 +1,19 @@ +scoreboard players enable @a[team=lobby,tag=parkouring] parkour +execute as @a[scores={park.click=1..},team=lobby,tag=parkouring] at @s run function minecraft:npark/backpoint +scoreboard players reset @a[scores={park.click=1..},team=lobby,tag=parkouring] park.click + +execute as @a[scores={parkour=1..1},team=lobby,tag=parkouring] at @s run function minecraft:npark/backpoint +execute as @a[scores={parkour=2..2},team=lobby,tag=parkouring] at @s run function minecraft:npark/reset +execute as @a[scores={parkour=3..3},team=lobby,tag=parkouring] at @s run function minecraft:npark/delect +execute as @a[scores={parkour=4..4},team=lobby,tag=parkouring] at @s run function minecraft:npark/cancel + +scoreboard players reset @a[scores={parkour=1..},team=lobby,tag=parkouring] parkour +execute as @a[team=lobby,tag=parkouring,gamemode=!creative] at @s as @s[y=-1,dy=-30] run function minecraft:npark/backpoint +execute as @a[team=lobby,tag=parkouring] at @s if block ~ ~ ~ heavy_weighted_pressure_plate run function minecraft:npark/setpoint +execute as @a[team=lobby,tag=parkouring] at @s if block ~ ~ ~ polished_blackstone_pressure_plate run function minecraft:npark/end +execute as @a[team=lobby,tag=parkouring] at @s if block ~ ~ ~ light_weighted_pressure_plate run function minecraft:npark/resettime + + + +scoreboard players add @a[tag=parkouring,team=lobby] parkour.tick 5 +# 100 'tick' -> 's' diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/die.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/die.mcfunction new file mode 100644 index 00000000..2e442e83 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/die.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=pw.play] [{"selector":"@s"},"\u00a77 died."] +gamemode spectator @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/gameover.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/gameover.mcfunction new file mode 100644 index 00000000..3d856f83 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/gameover.mcfunction @@ -0,0 +1,14 @@ +tellraw @a [{"text":"冬泳怪鸽","color":"#1E90FF","bold":true},"\u00a7a 游戏结束! 获胜者:",{"selector":"@a[team=pw.play,gamemode=adventure]","color":"white"}] +scoreboard players set pw.state state 0 +scoreboard players add @a[gamemode=adventure,team=pw.play,tag=play.total] score 1 +execute if entity @a[team=pw.play,tag=play.total] run function small_games/total/next_game +gamemode adventure @a[team=pw.play] +gamemode adventure @a[team=pw.wait] + +execute as @a[team=pw.wait] run function poolwar/join +execute as @a[team=pw.play] run function poolwar/join + +tellraw @a[team=pw.play] ["\u00a7e没有正确返回?输入 \u00a7b/trigger hub \u00a7e返回大厅!"] + +scoreboard players reset * pw.max +scoreboard players reset * drown \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/introduct.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/introduct.mcfunction new file mode 100644 index 00000000..08e3d44e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/introduct.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\n \u00a76※ ",{"text":"冬泳怪鸽","color":"#1E90FF","bold":true}," \u00a76游戏介绍\n\n ※ 背景 \u00a7a在游戏中,您将成为一个奇怪的鸽子,您喜欢游泳(此处采用直译)。但您一旦在水中停留时间过长,将会“原地去世”。您需要做的,便是让自己活下去。\n\u00a76 ※ 任务:\u00a7a活到最后。使用工具将对方击入水中。\n\u00a76 ※ 作者:\u00a7bGamom\n\n \u00a7d\u00a7l祝您游玩愉快!\n"] +playsound ui.toast.challenge_complete player @s ~ ~ ~ \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/join.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/join.mcfunction new file mode 100644 index 00000000..3f34a69f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/join.mcfunction @@ -0,0 +1,12 @@ +tellraw @a[team=!pw.wait] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 加入了 ",{"text":"冬泳怪鸽","color":"#1E90FF","bold": true}," \u00a77!"] +team join pw.wait +scoreboard players set wait.player tick 0 +execute as @a[team=pw.wait,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @a[team=pw.wait] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +tp @s -93 20 -10 0 0 +function poolwar/introduct +clear @s +effect clear @s +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator +scoreboard players set @s pw.max 120 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/resetdrown.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/resetdrown.mcfunction new file mode 100644 index 00000000..86800a15 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/resetdrown.mcfunction @@ -0,0 +1 @@ +scoreboard players set @s drown 800 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/second.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/second.mcfunction new file mode 100644 index 00000000..24877387 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/second.mcfunction @@ -0,0 +1,7 @@ +## Testfor +scoreboard players set play.pw tick 0 +execute as @a[team=pw.play,gamemode=adventure] run scoreboard players add play.pw tick 1 +scoreboard players add play.pw state 0 +execute if score play.pw tick matches ..1 if score pw.state state matches 1.. run function poolwar/gameover + +execute as @a[team=pw.play,gamemode=adventure] at @s if score @s pw.max matches 35.. if block ~ ~ ~ water run scoreboard players remove @s pw.max 5 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/spec.mcfunction new file mode 100644 index 00000000..2d1a7c5e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/spec.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a7c游戏已经开始了!您可以旁观游戏,或者输入 \u00a7b/trigger hub \u00a7c返回大厅。"] +gamemode spectator @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/start.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/start.mcfunction new file mode 100644 index 00000000..c3b80c91 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/start.mcfunction @@ -0,0 +1,14 @@ +title @a[team=pw.wait] subtitle ["\u00a7r冬泳怪鸽"] +title @a[team=pw.wait] title ["\u00a7a\u00a7l游戏开始"] +fill -91 16 -12 -95 16 -8 minecraft:barrier +team join pw.play @a[team=pw.wait] +execute as @a[team=pw.play,gamemode=adventure] run spreadplayers -93 -10 0 12 under 12 false @s +execute as @a[team=pw.play,gamemode=adventure] run clear @s +execute as @a[team=pw.play,gamemode=adventure] run effect clear @s +execute as @a[team=pw.play,gamemode=adventure] run item replace entity @s armor.feet with leather_boots{Enchantments:[{id:"binding_curse",lvl:1},{id:"frost_walker",lvl:1}],Unbreakable:1b,display:{color:1105614},HideFlags:63} 1 +execute as @a[team=pw.play,gamemode=adventure] run item replace entity @s container.0 with stick{Enchantments:[{id:"knockback",lvl:2}],Unbreakable:1b,display:{color:1105614},HideFlags:63} 1 +scoreboard players set pw.state state 1 +scoreboard players reset * pw.max +scoreboard players reset * drown +scoreboard players set @a[team=pw.play] drown 120 +scoreboard players set @a[team=pw.play] pw.max 120 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/teststart.mcfunction new file mode 100644 index 00000000..976c3f6d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=pw.wait,gamemode=adventure] run scoreboard players add wait.player tick 1 +scoreboard players add pw.state state 0 +execute if score pw.state state matches 1.. run function minecraft:poolwar/spec +execute unless score pw.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score pw.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score pw.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:poolwar/start diff --git a/datapacks/map_all/data/minecraft/functions/poolwar/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/poolwar/tick.mcfunction new file mode 100644 index 00000000..78ee7d12 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/poolwar/tick.mcfunction @@ -0,0 +1,16 @@ +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ water run scoreboard players remove @s drown 1 +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ air if block ~ ~1 ~ air if score @s drown < @s pw.max run scoreboard players add @s drown 1 +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ air if block ~ ~1 ~ air if score @s drown < @s pw.max run title @s actionbar ["\u00a7d\u00a7l您正在休息... ",{"score":{"objective": "drown","name": "@s"},"color": "aqua"}," \u00a76/ \u00a7a",{"score":{"objective": "pw.max","name": "@s"},"color": "green"}] +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ air if block ~ ~1 ~ air if score @s drown matches ..50 run effect give @s slowness 1 2 true +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ air if block ~ ~1 ~ air if score @s drown matches ..80 run effect give @s slowness 1 1 true +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ air if block ~ ~1 ~ air if score @s drown >= @s pw.max run title @s actionbar ["\u00a7a\u00a7l您当前非常健康! "] +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ water if score @s drown matches 50.. run title @s actionbar ["\u00a7e\u00a7l请注意您的体力 ",{"score":{"objective": "drown","name": "@s"},"color": "red"},"\u00a76 / \u00a7a",{"score":{"objective": "pw.max","name": "@s"},"color": "green"}] +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ water if score @s drown matches ..49 run title @s actionbar ["\u00a7c\u00a7l您感觉有点累 ",{"score":{"objective": "drown","name": "@s"},"color": "red"},"\u00a76 / \u00a7a",{"score":{"objective": "pw.max","name": "@s"},"color": "green"}] +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ water if score @s drown matches ..99 run effect give @s slowness 1 3 true +execute as @a[team=pw.play,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run data modify entity @s Owner set from entity @s Thrower +execute as @a[team=pw.play,gamemode=adventure] at @s as @e[type=item,distance=..3,sort=nearest] at @s run data merge entity @s {PickupDelay:0} +# PickupDelay +# execute as @a[team=pw.play] at @s run scoreboard players add @s drown 1 +effect give @a[team=pw.play] resistance 1 25 true +effect give @a[team=pw.wait] resistance 1 25 true +execute as @a[team=pw.play,gamemode=adventure] at @s if block ~ ~ ~ water if score @s drown matches ..0 run function poolwar/die \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/pvelobby/join.mcfunction b/datapacks/map_all/data/minecraft/functions/pvelobby/join.mcfunction new file mode 100644 index 00000000..5f07b3d5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/pvelobby/join.mcfunction @@ -0,0 +1,2 @@ +execute in overworld run tp @s 257 88.5 113 90 0 +playsound entity.enderman.teleport player @s ~ ~ ~ 1 2 1 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/getpos.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/getpos.mcfunction new file mode 100644 index 00000000..7ad25e45 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/getpos.mcfunction @@ -0,0 +1,26 @@ +execute store result score boom.tmp.x1 board run data get entity @s Pos[0] +execute store result score boom.tmp.z1 board run data get entity @s Pos[2] + +scoreboard players set 79 board 79 +scoreboard players set 60 board 60 +scoreboard players set boom.tmp.z board 0 +scoreboard players set boom.tmp.x board 0 +scoreboard players operation boom.tmp.x1 board -= 79 board +scoreboard players operation boom.tmp.z1 board -= 60 board +scoreboard players operation boom.tmp.x board -= boom.tmp.x1 board +scoreboard players operation boom.tmp.z board -= boom.tmp.z1 board + +scoreboard players set boom.tmp.idx1 board 0 +scoreboard players set boom.tmp.idx2 board 0 + +execute if score boom.tmp.x board matches 4.. run scoreboard players add boom.tmp.idx1 board 1 +execute if score boom.tmp.x board matches 4.. run scoreboard players remove boom.tmp.x board 4 +execute if score boom.tmp.z board matches 4.. run scoreboard players add boom.tmp.idx2 board 1 +execute if score boom.tmp.z board matches 4.. run scoreboard players remove boom.tmp.z board 4 + +execute if score boom.tmp.x board matches 4.. run scoreboard players add boom.tmp.idx1 board 1 +execute if score boom.tmp.x board matches 4.. run scoreboard players remove boom.tmp.x board 4 +execute if score boom.tmp.z board matches 4.. run scoreboard players add boom.tmp.idx2 board 1 +execute if score boom.tmp.z board matches 4.. run scoreboard players remove boom.tmp.z board 4 + +# tellraw @a [{"score":{"objective": "board","name": "boom.tmp.idx1"}},":",{"score":{"objective": "board","name": "boom.tmp.idx2"}},":",{"score":{"objective": "board","name": "boom.tmp.x"}},",",{"score":{"objective": "board","name": "boom.tmp.z"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/nextround.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/nextround.mcfunction new file mode 100644 index 00000000..33dc8b7e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/nextround.mcfunction @@ -0,0 +1,6 @@ +function small_games/chess/boom/action/getpos +scoreboard players operation boom.in.idx1 board = boom.tmp.x board +scoreboard players operation boom.in.idx2 board = boom.tmp.z board +function small_games/chess/boom/action/unlockonlyoneplace + +function small_games/chess/boom/nextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/placeblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/placeblack.mcfunction new file mode 100644 index 00000000..c8ceb902 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/placeblack.mcfunction @@ -0,0 +1,2 @@ +function minecraft:small_games/chess/boom/check/cblack +function minecraft:small_games/chess/boom/action/nextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/placewhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/placewhite.mcfunction new file mode 100644 index 00000000..a5c7c169 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/placewhite.mcfunction @@ -0,0 +1,2 @@ +function minecraft:small_games/chess/boom/check/cwhite +function minecraft:small_games/chess/boom/action/nextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/after_a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/after_a.mcfunction new file mode 100644 index 00000000..e650d596 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/after_a.mcfunction @@ -0,0 +1,3 @@ +# 检测是否赢了---?> +# /clone 79 125 50 79 125 50 75 106 54 +function minecraft:small_games/chess/boom/check/big_a \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/after_b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/after_b.mcfunction new file mode 100644 index 00000000..2a253f4a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/after_b.mcfunction @@ -0,0 +1,3 @@ +# 检测是否赢了---?> +# /clone 79 125 50 79 125 50 75 106 54 +function minecraft:small_games/chess/boom/check/big_b \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/black.mcfunction new file mode 100644 index 00000000..67d6fd10 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/black.mcfunction @@ -0,0 +1,34 @@ +function small_games/chess/boom/action/getpos +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 125 60 77 125 58 black_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 125 56 77 125 54 black_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 125 52 77 125 50 black_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 125 60 73 125 58 black_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 125 56 73 125 54 black_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 125 52 73 125 50 black_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 125 60 69 125 58 black_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 125 56 69 125 54 black_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 125 52 69 125 50 black_wool + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 115 60 77 115 58 black_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 115 56 77 115 54 black_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 115 52 77 115 50 black_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 115 60 73 115 58 black_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 115 56 73 115 54 black_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 115 52 73 115 50 black_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 115 60 69 115 58 black_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 115 56 69 115 54 black_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 115 52 69 115 50 black_wool + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 120 60 77 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 120 56 77 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 120 52 77 120 50 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 120 60 73 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 120 56 73 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 120 52 73 120 50 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 120 60 69 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 120 56 69 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 120 52 69 120 50 pink_stained_glass + +tellraw @a[team=chestgame] [{"translate":"\u00a70\u00a7l黑队\u00a76占领了 [%s, %s]","color": "gold","with":[{"score":{"name": "boom.tmp.idx1","objective": "board"},"color": "yellow"},{"score":{"name": "boom.tmp.idx2","objective": "board"},"color": "yellow"}]}] + +function minecraft:small_games/chess/boom/action/takeover/after_b \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/pj.mcfunction new file mode 100644 index 00000000..d22652d2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/pj.mcfunction @@ -0,0 +1,33 @@ +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 125 60 77 125 58 red_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 125 56 77 125 54 red_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 125 52 77 125 50 red_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 125 60 73 125 58 red_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 125 56 73 125 54 red_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 125 52 73 125 50 red_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 125 60 69 125 58 red_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 125 56 69 125 54 red_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 125 52 69 125 50 red_wool + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 115 60 77 115 58 red_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 115 56 77 115 54 red_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 115 52 77 115 50 red_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 115 60 73 115 58 red_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 115 56 73 115 54 red_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 115 52 73 115 50 red_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 115 60 69 115 58 red_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 115 56 69 115 54 red_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 115 52 69 115 50 red_wool + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 120 60 77 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 120 56 77 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 120 52 77 120 50 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 120 60 73 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 120 56 73 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 120 52 73 120 50 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 120 60 69 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 120 56 69 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 120 52 69 120 50 pink_stained_glass + +tellraw @a[team=chestgame] [{"translate":"\u00a7e\u00a7l平局:\u00a76 [%s, %s]","color": "gold","with":[{"score":{"name": "boom.tmp.idx1","objective": "board"},"color": "yellow"},{"score":{"name": "boom.tmp.idx2","objective": "board"},"color": "yellow"}]}] + +function minecraft:small_games/chess/boom/check/pj \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/white.mcfunction new file mode 100644 index 00000000..873bfeda --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/takeover/white.mcfunction @@ -0,0 +1,34 @@ +function small_games/chess/boom/action/getpos +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 125 60 77 125 58 white_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 125 56 77 125 54 white_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 125 52 77 125 50 white_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 125 60 73 125 58 white_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 125 56 73 125 54 white_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 125 52 73 125 50 white_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 125 60 69 125 58 white_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 125 56 69 125 54 white_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 125 52 69 125 50 white_wool + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 115 60 77 115 58 white_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 115 56 77 115 54 white_wool +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 115 52 77 115 50 white_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 115 60 73 115 58 white_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 115 56 73 115 54 white_wool +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 115 52 73 115 50 white_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 115 60 69 115 58 white_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 115 56 69 115 54 white_wool +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 115 52 69 115 50 white_wool + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run fill 79 120 60 77 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run fill 79 120 56 77 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run fill 79 120 52 77 120 50 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run fill 75 120 60 73 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run fill 75 120 56 73 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run fill 75 120 52 73 120 50 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run fill 71 120 60 69 120 58 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run fill 71 120 56 69 120 54 pink_stained_glass +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run fill 71 120 52 69 120 50 pink_stained_glass + +tellraw @a[team=chestgame] [{"translate":"\u00a7f\u00a7l白队\u00a76占领了 [%s, %s]","color": "gold","with":[{"score":{"name": "boom.tmp.idx1","objective": "board"},"color": "yellow"},{"score":{"name": "boom.tmp.idx2","objective": "board"},"color": "yellow"}]}] + +function minecraft:small_games/chess/boom/action/takeover/after_a diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/unlockonlyoneplace.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/unlockonlyoneplace.mcfunction new file mode 100644 index 00000000..6d8f5a0e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/action/unlockonlyoneplace.mcfunction @@ -0,0 +1,16 @@ +fill 79 120 50 69 120 60 minecraft:orange_stained_glass replace glass + +scoreboard players set boom.fill.result board 0 + +execute store result score boom.fill.result board if score boom.in.idx1 board matches 0 if score boom.in.idx2 board matches 0 run fill 79 120 60 77 120 58 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 0 if score boom.in.idx2 board matches 1 run fill 79 120 56 77 120 54 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 0 if score boom.in.idx2 board matches 2 run fill 79 120 52 77 120 50 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 1 if score boom.in.idx2 board matches 0 run fill 75 120 60 73 120 58 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 1 if score boom.in.idx2 board matches 1 run fill 75 120 56 73 120 54 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 1 if score boom.in.idx2 board matches 2 run fill 75 120 52 73 120 50 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 2 if score boom.in.idx2 board matches 0 run fill 71 120 60 69 120 58 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 2 if score boom.in.idx2 board matches 1 run fill 71 120 56 69 120 54 glass replace orange_stained_glass +execute store result score boom.fill.result board if score boom.in.idx1 board matches 2 if score boom.in.idx2 board matches 2 run fill 71 120 52 69 120 50 glass replace orange_stained_glass + +execute if score boom.fill.result board matches ..0 run tellraw @a[team=chestgame,gamemode=adventure] ["\u00a7e该区域已被占满,所以您可以选择任意位置下这一步棋。"] +execute if score boom.fill.result board matches ..0 run fill 79 120 50 69 120 60 minecraft:glass replace orange_stained_glass \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big.mcfunction new file mode 100644 index 00000000..3fd0b1a7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big.mcfunction @@ -0,0 +1,19 @@ +clone 79 125 50 79 125 50 75 106 54 +clone 79 125 54 79 125 54 75 106 55 +clone 79 125 58 79 125 58 75 106 56 +clone 75 125 50 75 125 50 74 106 54 +clone 75 125 54 75 125 54 74 106 55 +clone 75 125 58 75 125 58 74 106 56 +clone 71 125 50 71 125 50 73 106 54 +clone 71 125 54 71 125 54 73 106 55 +clone 71 125 58 71 125 58 73 106 56 + +scoreboard players set boom.fill.result board 0 +execute if score chess.state state matches 1 store result score boom.fill.result board run fill 73 106 56 75 106 54 minecraft:black_stained_glass replace black_wool +execute if score chess.state state matches 1 if score boom.fill.result board matches 5.. run function minecraft:small_games/chess/boom/win/black + +scoreboard players set boom.fill.result board 0 +execute if score chess.state state matches 1 store result score boom.fill.result board run fill 73 106 56 75 106 54 minecraft:white_stained_glass replace white_wool +execute if score chess.state state matches 1 if score boom.fill.result board matches 5.. run function minecraft:small_games/chess/boom/win/white + +execute if score chess.state state matches 1 run function minecraft:small_games/chess/boom/check/pj diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big_a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big_a.mcfunction new file mode 100644 index 00000000..1f97e545 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big_a.mcfunction @@ -0,0 +1,22 @@ +function minecraft:small_games/chess/boom/check/big + +clone 71 125 50 71 125 50 73 106 54 +clone 71 125 54 71 125 54 73 106 55 +clone 71 125 58 71 125 58 73 106 56 +clone 75 125 50 75 125 50 74 106 54 +clone 75 125 54 75 125 54 74 106 55 +clone 75 125 58 75 125 58 74 106 56 +clone 79 125 50 79 125 50 75 106 54 +clone 79 125 54 79 125 54 75 106 55 +clone 79 125 58 79 125 58 75 106 56 + +# 75 106 56 - 73 106 54 +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 positioned 75 106 56 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 positioned 75 106 55 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 positioned 75 106 54 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 positioned 74 106 56 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 positioned 74 106 55 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 positioned 74 106 54 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 positioned 73 106 56 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 positioned 73 106 55 run function minecraft:small_games/chess/boom/check/bigcheck2_a +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 positioned 73 106 54 run function minecraft:small_games/chess/boom/check/bigcheck2_a \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big_b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big_b.mcfunction new file mode 100644 index 00000000..d1d1d80f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/big_b.mcfunction @@ -0,0 +1,21 @@ +function minecraft:small_games/chess/boom/check/big + +clone 79 125 50 79 125 50 75 106 54 +clone 79 125 54 79 125 54 75 106 55 +clone 79 125 58 79 125 58 75 106 56 +clone 75 125 50 75 125 50 74 106 54 +clone 75 125 54 75 125 54 74 106 55 +clone 75 125 58 75 125 58 74 106 56 +clone 71 125 50 71 125 50 73 106 54 +clone 71 125 54 71 125 54 73 106 55 +clone 71 125 58 71 125 58 73 106 56 + +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 positioned 75 106 56 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 positioned 75 106 55 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 positioned 75 106 54 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 positioned 74 106 56 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 positioned 74 106 55 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 positioned 74 106 54 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 positioned 73 106 56 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 positioned 73 106 55 run function minecraft:small_games/chess/boom/check/bigcheck2_b +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 positioned 73 106 54 run function minecraft:small_games/chess/boom/check/bigcheck2_b \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/bigcheck2_a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/bigcheck2_a.mcfunction new file mode 100644 index 00000000..a142ce9b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/bigcheck2_a.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 33 white_wool +scoreboard players set whitecount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score whitecount board matches 3.. run tellraw @a [1] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/a +kill @e[tag=chess.calc] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score whitecount board matches 3.. run tellraw @a [2] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/c +kill @e[tag=chess.calc] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score whitecount board matches 3.. run tellraw @a [3] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/e +kill @e[tag=chess.calc] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score whitecount board matches 3.. run tellraw @a [4] +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/g +kill @e[tag=chess.calc] +execute run summon marker ~ ~1 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/h +kill @e[tag=chess.calc] +# Total +# execute unless score whitecount board matches 3.. run tellraw @a [3] + +execute if score whitecount board matches 3.. at @s run function small_games/chess/boom/win/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/bigcheck2_b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/bigcheck2_b.mcfunction new file mode 100644 index 00000000..cf06f9e5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/bigcheck2_b.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 33 black_wool +scoreboard players set whitecount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score whitecount board matches 3.. run tellraw @a [1] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/a +kill @e[tag=chess.calc] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score whitecount board matches 3.. run tellraw @a [2] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/c +kill @e[tag=chess.calc] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score whitecount board matches 3.. run tellraw @a [3] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/e +kill @e[tag=chess.calc] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score whitecount board matches 3.. run tellraw @a [4] +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/g +kill @e[tag=chess.calc] +execute run summon marker ~ ~ ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/h +kill @e[tag=chess.calc] +# Total +# execute unless score whitecount board matches 3.. run tellraw @a [3] + +execute if score whitecount board matches 3.. at @s run function small_games/chess/boom/win/black \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/a.mcfunction new file mode 100644 index 00000000..68e50d64 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~1 ~ ~ +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. run function small_games/chess/boom/check/black/a +# setblock 74 111 55 black_wool +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/b.mcfunction new file mode 100644 index 00000000..e6830ae4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/b +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/c.mcfunction new file mode 100644 index 00000000..f269db93 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/c +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/checkmain.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/checkmain.mcfunction new file mode 100644 index 00000000..f44675c7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/checkmain.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 55 black_wool +scoreboard players set blackcount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score blackcount board matches 5.. run tellraw @a [1] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/a +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} + +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score blackcount board matches 5.. run tellraw @a [2] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. run scoreboard players set blackcount board 1 + +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/c +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score blackcount board matches 5.. run tellraw @a [3] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. run scoreboard players set blackcount board 1 + +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/e +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score blackcount board matches 5.. run tellraw @a [4] +execute unless score blackcount board matches 3.. run scoreboard players set blackcount board 1 +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/g +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/black/h +kill @e[tag=chess.calc] +# Total +# execute unless score blackcount board matches 5.. run tellraw @a [5] + +execute if score blackcount board matches 3.. run function small_games/chess/boom/action/takeover/black \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/d.mcfunction new file mode 100644 index 00000000..93cf9f28 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/d +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/e.mcfunction new file mode 100644 index 00000000..68a76655 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/e +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/f.mcfunction new file mode 100644 index 00000000..f0f35714 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/f +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/g.mcfunction new file mode 100644 index 00000000..aaa7f674 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/g +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/h.mcfunction new file mode 100644 index 00000000..2698cd0f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/black/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 3.. at @s run function small_games/chess/boom/check/black/h +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/cblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/cblack.mcfunction new file mode 100644 index 00000000..47e3af96 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/cblack.mcfunction @@ -0,0 +1,3 @@ +function small_games/chess/boom/check/black/checkmain +# execute if score chess.state state matches 1..1 run function small_games/chess/five/nextround +function minecraft:small_games/chess/boom/check/smallpj \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/checkbig2.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/checkbig2.mcfunction new file mode 100644 index 00000000..caf7bf50 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/checkbig2.mcfunction @@ -0,0 +1,21 @@ +clone 79 125 50 79 125 50 75 106 54 +clone 79 125 54 79 125 54 75 106 55 +clone 79 125 58 79 125 58 75 106 56 +clone 75 125 50 75 125 50 74 106 54 +clone 75 125 54 75 125 54 74 106 55 +clone 75 125 58 75 125 58 74 106 56 +clone 71 125 50 71 125 50 73 106 54 +clone 71 125 54 71 125 54 73 106 55 +clone 71 125 58 71 125 58 73 106 56 + +scoreboard players set boom.fill.result.black board 0 +execute if score chess.state state matches 1 store result score boom.fill.result.black board run fill 73 106 56 75 106 54 minecraft:black_stained_glass replace black_wool + +scoreboard players set boom.fill.result.white board 0 +execute if score chess.state state matches 1 store result score boom.fill.result.white board run fill 73 106 56 75 106 54 minecraft:white_stained_glass replace white_wool + +tellraw @a[team=chestgame] {"translate":"当前占领:\n\u00a70\u00a7l黑队 %s 个\n\u00a7f\u00a7l白队 %s 个","color": "gold","with":[{"score":{"name": "boom.fill.result.black","objective": "board"},"color": "yellow"},{"score":{"name": "boom.fill.result.white","objective": "board"},"color": "yellow"}]} + +execute if score chess.state state matches 1 if score boom.fill.result.white board = boom.fill.result.black board run function minecraft:small_games/chess/boom/win/pj +execute if score chess.state state matches 1 if score boom.fill.result.white board < boom.fill.result.black board run function minecraft:small_games/chess/boom/win/black +execute if score chess.state state matches 1 if score boom.fill.result.white board > boom.fill.result.black board run function minecraft:small_games/chess/boom/win/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/cwhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/cwhite.mcfunction new file mode 100644 index 00000000..bbfabc26 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/cwhite.mcfunction @@ -0,0 +1,3 @@ +function small_games/chess/boom/check/white/checkmain +# execute if score chess.state state matches 1..1 run function small_games/chess/five/nextround +function minecraft:small_games/chess/boom/check/smallpj diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/pj.mcfunction new file mode 100644 index 00000000..c9e1d2e8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/pj.mcfunction @@ -0,0 +1,20 @@ +# clone 67 115 48 81 115 62 66 100 47 +# fill 66 100 47 80 100 61 lime_wool replace black_wool +# fill 66 100 47 80 100 61 lime_wool replace white_wool +# fill 66 100 63 80 100 77 minecraft:lime_wool +# execute if blocks 66 100 47 80 100 61 66 100 63 all run function small_games/chess/boom/win/pj + +clone 79 125 50 79 125 50 75 106 54 +clone 79 125 54 79 125 54 75 106 55 +clone 79 125 58 79 125 58 75 106 56 +clone 75 125 50 75 125 50 74 106 54 +clone 75 125 54 75 125 54 74 106 55 +clone 75 125 58 75 125 58 74 106 56 +clone 71 125 50 71 125 50 73 106 54 +clone 71 125 54 71 125 54 73 106 55 +clone 71 125 58 71 125 58 73 106 56 + +scoreboard players set boom.fill.result board 0 +execute if score chess.state state matches 1 store result score boom.fill.result board run fill 73 106 56 75 106 54 minecraft:air replace #wool +execute if score chess.state state matches 1 if score boom.fill.result board matches 9.. run function minecraft:small_games/chess/boom/check/checkbig2 + diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/smallpj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/smallpj.mcfunction new file mode 100644 index 00000000..11ab6df3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/smallpj.mcfunction @@ -0,0 +1,12 @@ +function small_games/chess/boom/action/getpos +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 0 run clone 79 120 60 77 120 58 77 101 50 +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 1 run clone 79 120 56 77 120 54 77 101 50 +execute if score boom.tmp.idx1 board matches 0 if score boom.tmp.idx2 board matches 2 run clone 79 120 52 77 120 50 77 101 50 +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 0 run clone 75 120 60 73 120 58 77 101 50 +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 1 run clone 75 120 56 73 120 54 77 101 50 +execute if score boom.tmp.idx1 board matches 1 if score boom.tmp.idx2 board matches 2 run clone 75 120 52 73 120 50 77 101 50 +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 0 run clone 71 120 60 69 120 58 77 101 50 +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 1 run clone 71 120 56 69 120 54 77 101 50 +execute if score boom.tmp.idx1 board matches 2 if score boom.tmp.idx2 board matches 2 run clone 71 120 52 69 120 50 77 101 50 +execute store result score boom.fill.result board run fill 77 101 50 79 101 52 air replace #minecraft:chessglass +execute if score chess.state state matches 1 if score boom.fill.result board matches 9.. run function minecraft:small_games/chess/boom/action/takeover/pj diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/a.mcfunction new file mode 100644 index 00000000..67c4d1a6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~1 ~ ~ +# tellraw @a [{"score":{"name": "whitecount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. run function small_games/chess/boom/check/white/a +# setblock 74 111 55 white_wool +# tellraw @a [{"score":{"name": "whitecount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/b.mcfunction new file mode 100644 index 00000000..9bcd9b2b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/b +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/c.mcfunction new file mode 100644 index 00000000..6968d7d5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/c +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/checkmain.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/checkmain.mcfunction new file mode 100644 index 00000000..b01abfcb --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/checkmain.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 55 white_wool +scoreboard players set whitecount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score whitecount board matches 3.. run tellraw @a [1] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/a +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score whitecount board matches 3.. run tellraw @a [2] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/c +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score whitecount board matches 3.. run tellraw @a [3] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/e +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score whitecount board matches 3.. run tellraw @a [4] +execute unless score whitecount board matches 3.. run scoreboard players set whitecount board 1 +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/g +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 3.. as @e[tag=chess.calc] at @s run function small_games/chess/boom/check/white/h +kill @e[tag=chess.calc] +# Total +# execute unless score whitecount board matches 3.. run tellraw @a [3] + +execute if score whitecount board matches 3.. at @s run function small_games/chess/boom/action/takeover/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/d.mcfunction new file mode 100644 index 00000000..d1efc006 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/d +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/e.mcfunction new file mode 100644 index 00000000..390f0bff --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/e +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/f.mcfunction new file mode 100644 index 00000000..f018bf94 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/f +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/g.mcfunction new file mode 100644 index 00000000..175af57b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/g +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/h.mcfunction new file mode 100644 index 00000000..b0b368f6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/check/white/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 3.. at @s run function small_games/chess/boom/check/white/h +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/confirm_point_block.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/confirm_point_block.mcfunction new file mode 100644 index 00000000..b410a6c1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/confirm_point_block.mcfunction @@ -0,0 +1,26 @@ +execute store result score boom.tmp.x1 board run data get block ~ ~ ~ x +execute store result score boom.tmp.z1 board run data get block ~ ~ ~ z + +scoreboard players set 79 board 79 +scoreboard players set 60 board 60 +scoreboard players set boom.tmp.z board 0 +scoreboard players set boom.tmp.x board 0 +scoreboard players operation boom.tmp.x1 board -= 79 board +scoreboard players operation boom.tmp.z1 board -= 60 board +scoreboard players operation boom.tmp.x board -= boom.tmp.x1 board +scoreboard players operation boom.tmp.z board -= boom.tmp.z1 board + +scoreboard players set boom.tmp.idx1 board 0 +scoreboard players set boom.tmp.idx2 board 0 + +execute if score boom.tmp.x board matches 4.. run scoreboard players add boom.tmp.idx1 board 1 +execute if score boom.tmp.x board matches 4.. run scoreboard players remove boom.tmp.x board 4 +execute if score boom.tmp.z board matches 4.. run scoreboard players add boom.tmp.idx2 board 1 +execute if score boom.tmp.z board matches 4.. run scoreboard players remove boom.tmp.z board 4 + +execute if score boom.tmp.x board matches 4.. run scoreboard players add boom.tmp.idx1 board 1 +execute if score boom.tmp.x board matches 4.. run scoreboard players remove boom.tmp.x board 4 +execute if score boom.tmp.z board matches 4.. run scoreboard players add boom.tmp.idx2 board 1 +execute if score boom.tmp.z board matches 4.. run scoreboard players remove boom.tmp.z board 4 + +tellraw @a [{"score":{"objective": "board","name": "boom.tmp.idx1"}},":",{"score":{"objective": "board","name": "boom.tmp.idx2"}},":",{"score":{"objective": "board","name": "boom.tmp.x"}},",",{"score":{"objective": "board","name": "boom.tmp.z"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/init.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/init.mcfunction new file mode 100644 index 00000000..96dcdbc8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/init.mcfunction @@ -0,0 +1,3 @@ +kill @e[type=marker,tag=chess.point] + +kill @e[tag=chess.display] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/nextround.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/nextround.mcfunction new file mode 100644 index 00000000..b8b697b5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/nextround.mcfunction @@ -0,0 +1,12 @@ +clear @a[team=chestgame] +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +scoreboard players set chess.countdown board 60 +scoreboard players add chess.turn board 1 +execute if score chess.turn board matches 3.. run scoreboard players set chess.turn board 1 + +function minecraft:small_games/chess/boom/action/check/pj +execute if score chess.state state matches 2 run scoreboard players set chess.turn board 0 + +execute if score chess.turn board matches 1 run function small_games/chess/boom/turn/black +execute if score chess.turn board matches 2 run function small_games/chess/boom/turn/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/random_team.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/random_team.mcfunction new file mode 100644 index 00000000..6b604bf0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/random_team.mcfunction @@ -0,0 +1,7 @@ +tag @r[tag=chess.ranteam] add chess.ransel +scoreboard players add rand board 1 +execute if score rand board matches 3.. run scoreboard players set rand board 1 +execute if score rand board matches ..1 run tag @a[tag=chess.ransel] add chess.black +execute if score rand board matches 2.. run tag @a[tag=chess.ransel] add chess.white +tag @a[tag=chess.ransel] remove chess.ranteam +tag @a[tag=chess.ransel] remove chess.ransel diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/reset.mcfunction new file mode 100644 index 00000000..e08dd192 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/reset.mcfunction @@ -0,0 +1,36 @@ +# fill -77 138 -343 -46 138 -312 glass +forceload add 82 47 66 63 +fill 81 120 62 67 120 48 minecraft:acacia_leaves[persistent=false] +fill 81 115 62 67 115 48 acacia_leaves[persistent=false] +forceload remove 82 47 66 63 +# fill -46 113 -343 -77 113 -312 orange_wool +kill @e[tag=chess.put.black] +kill @e[tag=chess.put.white] +scoreboard players set blackcount board 1 +scoreboard players set whitecount board 1 + +fill 67 120 59 81 120 59 minecraft:acacia_leaves[persistent=false] + +fill 69 120 60 71 120 58 glass +fill 69 120 56 71 120 54 glass +fill 69 120 52 71 120 50 glass + +fill 73 120 60 75 120 58 glass +fill 73 120 56 75 120 54 glass +fill 73 120 52 75 120 50 glass + +fill 77 120 60 79 120 58 glass +fill 77 120 56 79 120 54 glass +fill 77 120 52 79 120 50 glass + +fill 69 115 60 71 115 58 orange_wool +fill 69 115 56 71 115 54 orange_wool +fill 69 115 52 71 115 50 orange_wool + +fill 73 115 60 75 115 58 orange_wool +fill 73 115 56 75 115 54 orange_wool +fill 73 115 52 75 115 50 orange_wool + +fill 77 115 60 79 115 58 orange_wool +fill 77 115 56 79 115 54 orange_wool +fill 77 115 52 79 115 50 orange_wool \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/second.mcfunction new file mode 100644 index 00000000..8ed07de3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/second.mcfunction @@ -0,0 +1,18 @@ +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ black_wool run particle minecraft:dust 0 0 0 1 ~ ~10 ~ 0 0 0 1 5 normal +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ white_wool run particle minecraft:dust 1 1 1 1 ~ ~10 ~ 0 0 0 1 5 normal +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +scoreboard players set chess.players board 0 +scoreboard players set chess.players.black board 0 +scoreboard players set chess.players.white board 0 +execute as @a[team=chestgame] run scoreboard players add chess.players board 1 +execute as @a[team=chestgame,tag=chess.black] run scoreboard players add chess.players.black board 1 +execute as @a[team=chestgame,tag=chess.white] run scoreboard players add chess.players.white board 1 +execute if score chess.state state matches 1..1 if score chess.players board matches ..1 run function small_games/chess/boom/win/sthwrong +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c黑队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run function small_games/chess/boom/win/white +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c白队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run function small_games/chess/boom/win/black + +execute if score chess.countdown board matches 1.. if score chess.state state matches 1 run scoreboard players remove chess.countdown board 1 +execute if score chess.countdown board matches ..0 run function small_games/chess/boom/turn/timeout \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/start.mcfunction new file mode 100644 index 00000000..49e1cfb0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/start.mcfunction @@ -0,0 +1,26 @@ +kill @e[tag=chess.put.white] +kill @e[tag=chess.put.black] +function small_games/chess/boom/reset +scoreboard players set chess.state state 1 +scoreboard players set chess.turn board 0 +tag @a remove chess.white +tag @a remove chess.black +tag @a remove chest.white +tag @a remove chest.black +tag @a[team=chestgame,gamemode=adventure] add chess.ranteam +scoreboard players set rand board 1 +execute as @a[tag=chess.ranteam] run function small_games/chess/boom/random_team +tag @a[tag=chess.ranteam] remove chess.ranteam +tp @a[team=chestgame,gamemode=adventure] 74 121 55 0 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.black] 85 121 55 90 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.white] 63 121 55 -90 0 +title @a[team=chestgame,gamemode=adventure] title ["\u00a7e\u00a7l游戏开始!"] +title @a[team=chestgame,gamemode=adventure] subtitle ["\u00a7a游戏:\u00a7c爆炸棋!"] +tellraw @a[team=chestgame,gamemode=adventure] ["\n\u00a7a\u00a7l规则介绍:\n \u00a7b先手在9个井字棋内任意一个下一颗棋子,对方需要在下子位置对应的井字棋内下棋(其余区域会变成橘色玻璃)。当您在一个井字棋内连成3子,您将“占领”该位置。若到您时,该位置已经下满或者已被占领,可以任选一个位置下。可用的位置将会用普通玻璃显示。当你在大井字棋(全棋盘),占领的位置连成3个,或者占领的位置最多,您将获胜。\n"] +scoreboard players set rand board 0 +# tellraw @a[tag=chess.black] ["\u00a76你在\u00a70\u00a7l黑队"] +# tellraw @a[tag=chess.white] ["\u00a76你在\u00a7f\u00a7l白队"] +tellraw @a[tag=chess.black] ["\n\u00a77 你在: \u00a70\u00a7l黑队\n\u00a7a 队友:",{"selector":"@a[tag=chess.black]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.white]"},"\n"] +tellraw @a[tag=chess.white] ["\n\u00a77 你在: \u00a7f\u00a7l白队\n\u00a7a 队友:",{"selector":"@a[tag=chess.white]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.black]"},"\n"] +function small_games/chess/boom/nextround +# Black First diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/things/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/things/black.mcfunction new file mode 100644 index 00000000..71c3e954 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/things/black.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.black] +give @a[tag=chess.black,team=chestgame] minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/things/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/things/white.mcfunction new file mode 100644 index 00000000..003c1a56 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/things/white.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.white] +give @a[tag=chess.white,team=chestgame] minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/tick.mcfunction new file mode 100644 index 00000000..f12c382f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/tick.mcfunction @@ -0,0 +1,9 @@ +execute as @e[tag=chess.put.white] at @s run function small_games/chess/boom/turntowhite +execute as @e[tag=chess.put.black] at @s run function small_games/chess/boom/turntoblack +tag @a[team=!chestgame] remove chess.black +tag @a[team=!chestgame] remove chess.white + +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run function small_games/chess/boom/things/black +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run kill @s +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run function small_games/chess/boom/things/white +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run kill @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/black.mcfunction new file mode 100644 index 00000000..080f06b4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/black.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a70\u00a7l黑队\u00a76下棋了。"] +tellraw @a[tag=chess.black] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.black] at @s run playsound entity.experience_orb.pickup player @s +function small_games/chess/boom/things/black + +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7a\u00a7l该你下棋了。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/timeout.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/timeout.mcfunction new file mode 100644 index 00000000..44230e7e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/timeout.mcfunction @@ -0,0 +1,4 @@ +tellraw @a[team=chestgame] ["\u00a7c超时,跳过!"] +function small_games/chess/boom/nextround +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l超时跳过。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7c\u00a7l超时跳过。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/white.mcfunction new file mode 100644 index 00000000..317c1dde --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turn/white.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a7f\u00a7l白队\u00a76下棋了。"] +tellraw @a[tag=chess.white] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.white] at @s run playsound entity.experience_orb.pickup player @s + +function small_games/chess/boom/things/white +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7a\u00a7l该你下棋了。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turntoblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turntoblack.mcfunction new file mode 100644 index 00000000..65edd555 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turntoblack.mcfunction @@ -0,0 +1,8 @@ +fill ~ ~-1 ~ ~ ~-1 ~ black_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ black_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +execute at @s run function small_games/chess/boom/action/placeblack +# execute if score chess.state state matches 1 run function small_games/chess/boom/check/pj +kill @s + +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turntowhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turntowhite.mcfunction new file mode 100644 index 00000000..6c1ff625 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/turntowhite.mcfunction @@ -0,0 +1,9 @@ +fill ~ ~-1 ~ ~ ~-1 ~ white_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ white_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +# function small_games/chess/five/check/pj +execute at @s run function small_games/chess/boom/action/placewhite +# execute if score chess.state state matches 1 run function small_games/chess/boom/check/pj +kill @s + +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/black.mcfunction new file mode 100644 index 00000000..020aabce --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/black.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/pj.mcfunction new file mode 100644 index 00000000..fa1ac5bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/pj.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7b\u00a7l平局!"] +title @a[team=chestgame] title ["\u00a7b\u00a7l平局"] +title @a[team=chestgame] subtitle ["\u00a7a你并没有输。"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/sthwrong.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/sthwrong.mcfunction new file mode 100644 index 00000000..f2d0c31a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/sthwrong.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7c\u00a7l人数不够!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7e出现错误"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +function small_games/chess/tp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/white.mcfunction new file mode 100644 index 00000000..3f4de3f7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/boom/win/white.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.white] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/second.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/start.mcfunction new file mode 100644 index 00000000..ab2d4b4a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/start.mcfunction @@ -0,0 +1,25 @@ +tellraw @s ["\u00a7c该棋类仍在制作!"] +# kill @e[tag=chess.put.white] +# kill @e[tag=chess.put.black] +# function small_games/chess/five/reset +# scoreboard players set chess.state state 1 +# scoreboard players set chess.turn board 0 +# tag @a remove chess.white +# tag @a remove chess.black +# tag @a remove chest.white +# tag @a remove chest.black +# execute as @a[tag=chess.ranteam] run function small_games/chess/five/random_team + +# tp @a[team=chestgame,gamemode=adventure] 74 121 55 0 0 +# tp @a[team=chestgame,gamemode=adventure,tag=chess.black] 85 121 55 90 0 +# tp @a[team=chestgame,gamemode=adventure,tag=chess.white] 63 121 55 -90 0 +# title @a[team=chestgame,gamemode=adventure] title ["\u00a7e\u00a7l游戏开始!"] +# title @a[team=chestgame,gamemode=adventure] subtitle ["\u00a7a游戏:\u00a7c五子棋!"] +# tag @a[team=chestgame,gamemode=adventure] add chess.ranteam +# scoreboard players set rand board 0 +# # tellraw @a[tag=chess.black] ["\u00a76你在\u00a70\u00a7l黑队"] +# # tellraw @a[tag=chess.white] ["\u00a76你在\u00a7f\u00a7l白队"] +# tellraw @a[tag=chess.black] ["\n\u00a77 你在: \u00a70\u00a7l黑队\n\u00a7a 队友:",{"selector":"@a[tag=chess.black]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.white]"},"\n"] +# tellraw @a[tag=chess.white] ["\n\u00a77 你在: \u00a7f\u00a7l白队\n\u00a7a 队友:",{"selector":"@a[tag=chess.white]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.black]"},"\n"] +# function small_games/chess/five/nextround +# # Black First \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/ch_chess/tick.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/a.mcfunction new file mode 100644 index 00000000..7cdccb31 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~1 ~ ~ +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. run function small_games/chess/five/check/black/a +# setblock 74 111 55 black_wool +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/b.mcfunction new file mode 100644 index 00000000..20a701bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/b +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/c.mcfunction new file mode 100644 index 00000000..66a5def8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/c +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/checkmain.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/checkmain.mcfunction new file mode 100644 index 00000000..d6c1a5e9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/checkmain.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 55 black_wool +scoreboard players set blackcount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score blackcount board matches 5.. run tellraw @a [1] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/a +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} + +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score blackcount board matches 5.. run tellraw @a [2] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. run scoreboard players set blackcount board 1 + +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/c +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score blackcount board matches 5.. run tellraw @a [3] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. run scoreboard players set blackcount board 1 + +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/e +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score blackcount board matches 5.. run tellraw @a [4] +execute unless score blackcount board matches 5.. run scoreboard players set blackcount board 1 +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/g +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/h +kill @e[tag=chess.calc] +# Total +# execute unless score blackcount board matches 5.. run tellraw @a [5] + +execute if score blackcount board matches 5.. run function small_games/chess/five/win/black \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/d.mcfunction new file mode 100644 index 00000000..63a0ba2a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/d +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/e.mcfunction new file mode 100644 index 00000000..1b2a88ff --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/e +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/f.mcfunction new file mode 100644 index 00000000..30a966b1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/f +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/g.mcfunction new file mode 100644 index 00000000..9560fd4d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/g +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/h.mcfunction new file mode 100644 index 00000000..a96b82e0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/black/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/h +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/checkblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/checkblack.mcfunction new file mode 100644 index 00000000..830a1c4e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/checkblack.mcfunction @@ -0,0 +1,2 @@ +function small_games/chess/five/check/black/checkmain +execute if score chess.state state matches 1..1 run function small_games/chess/five/nextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/checkwhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/checkwhite.mcfunction new file mode 100644 index 00000000..4e9695c7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/checkwhite.mcfunction @@ -0,0 +1,2 @@ +function small_games/chess/five/check/white/checkmain +execute if score chess.state state matches 1..1 run function small_games/chess/five/nextround diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/pj.mcfunction new file mode 100644 index 00000000..e5afb802 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/pj.mcfunction @@ -0,0 +1,5 @@ +clone 67 115 48 81 115 62 66 100 47 +fill 66 100 47 80 100 61 lime_wool replace black_wool +fill 66 100 47 80 100 61 lime_wool replace white_wool +fill 66 100 63 80 100 77 minecraft:lime_wool +execute if blocks 66 100 47 80 100 61 66 100 63 all run function small_games/chess/five/win/pj \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/a.mcfunction new file mode 100644 index 00000000..00474a9c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~1 ~ ~ +# tellraw @a [{"score":{"name": "whitecount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. run function small_games/chess/five/check/white/a +# setblock 74 111 55 white_wool +# tellraw @a [{"score":{"name": "whitecount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/b.mcfunction new file mode 100644 index 00000000..e557d6a7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/b +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/c.mcfunction new file mode 100644 index 00000000..d329b744 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/c +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/checkmain.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/checkmain.mcfunction new file mode 100644 index 00000000..b5c625d7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/checkmain.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 55 white_wool +scoreboard players set whitecount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score whitecount board matches 5.. run tellraw @a [1] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/a +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} + +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score whitecount board matches 5.. run tellraw @a [2] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/c +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score whitecount board matches 5.. run tellraw @a [3] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/e +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score whitecount board matches 5.. run tellraw @a [4] +execute unless score whitecount board matches 5.. run scoreboard players set whitecount board 1 +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/g +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/h +kill @e[tag=chess.calc] +# Total +# execute unless score whitecount board matches 5.. run tellraw @a [5] + +execute if score whitecount board matches 5.. run function small_games/chess/five/win/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/d.mcfunction new file mode 100644 index 00000000..58515a0f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/d +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/e.mcfunction new file mode 100644 index 00000000..b48f269d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/e +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/f.mcfunction new file mode 100644 index 00000000..a84e3057 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/f +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/g.mcfunction new file mode 100644 index 00000000..a5e6567b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/g +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/h.mcfunction new file mode 100644 index 00000000..75097741 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/check/white/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/h +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/init.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/init.mcfunction new file mode 100644 index 00000000..96dcdbc8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/init.mcfunction @@ -0,0 +1,3 @@ +kill @e[type=marker,tag=chess.point] + +kill @e[tag=chess.display] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/introduce.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/introduce.mcfunction new file mode 100644 index 00000000..d7aebd61 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/introduce.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a76 ※ 五子棋介绍\n\n\u00a7a行棋:\u00a7f黑子先行,一人轮流一著下于棋盘空点处。\n\u00a7a胜负:\u00a7f先把五枚或以上己棋相连成任何横纵斜方向为胜。(长连仍算胜利)"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/nextround.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/nextround.mcfunction new file mode 100644 index 00000000..9536359c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/nextround.mcfunction @@ -0,0 +1,9 @@ +clear @a[team=chestgame] +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +scoreboard players set chess.countdown board 60 +scoreboard players add chess.turn board 1 +execute if score chess.turn board matches 3.. run scoreboard players set chess.turn board 1 + +execute if score chess.turn board matches 1 run function small_games/chess/five/turn/black +execute if score chess.turn board matches 2 run function small_games/chess/five/turn/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/random_team.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/random_team.mcfunction new file mode 100644 index 00000000..6b604bf0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/random_team.mcfunction @@ -0,0 +1,7 @@ +tag @r[tag=chess.ranteam] add chess.ransel +scoreboard players add rand board 1 +execute if score rand board matches 3.. run scoreboard players set rand board 1 +execute if score rand board matches ..1 run tag @a[tag=chess.ransel] add chess.black +execute if score rand board matches 2.. run tag @a[tag=chess.ransel] add chess.white +tag @a[tag=chess.ransel] remove chess.ranteam +tag @a[tag=chess.ransel] remove chess.ransel diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/reset.mcfunction new file mode 100644 index 00000000..accaf494 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/reset.mcfunction @@ -0,0 +1,10 @@ +# fill -77 138 -343 -46 138 -312 glass +forceload add 82 47 66 63 +fill 81 120 62 67 120 48 glass +fill 81 115 62 67 115 48 orange_wool +forceload remove 82 47 66 63 +# fill -46 113 -343 -77 113 -312 orange_wool +kill @e[tag=chess.put.black] +kill @e[tag=chess.put.white] +scoreboard players set blackcount board 1 +scoreboard players set whitecount board 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/second.mcfunction new file mode 100644 index 00000000..7573caf9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/second.mcfunction @@ -0,0 +1,18 @@ +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ black_wool run particle minecraft:dust 0 0 0 1 ~ ~10 ~ 0 0 0 1 5 normal +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ white_wool run particle minecraft:dust 1 1 1 1 ~ ~10 ~ 0 0 0 1 5 normal +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +scoreboard players set chess.players board 0 +scoreboard players set chess.players.black board 0 +scoreboard players set chess.players.white board 0 +execute as @a[team=chestgame] run scoreboard players add chess.players board 1 +execute as @a[team=chestgame,tag=chess.black] run scoreboard players add chess.players.black board 1 +execute as @a[team=chestgame,tag=chess.white] run scoreboard players add chess.players.white board 1 +execute if score chess.state state matches 1..1 if score chess.players board matches ..1 run function small_games/chess/five/win/sthwrong +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c黑队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run function small_games/chess/five/win/white +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c白队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run function small_games/chess/five/win/black + +execute if score chess.countdown board matches 1.. if score chess.state state matches 1 run scoreboard players remove chess.countdown board 1 +execute if score chess.countdown board matches ..0 run function small_games/chess/five/turn/timeout \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/start.mcfunction new file mode 100644 index 00000000..07ec07ef --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/start.mcfunction @@ -0,0 +1,26 @@ +kill @e[tag=chess.put.white] +kill @e[tag=chess.put.black] +function small_games/chess/five/reset +scoreboard players set chess.state state 1 +scoreboard players set chess.turn board 0 +tag @a remove chess.white +tag @a remove chess.black +tag @a remove chest.white +tag @a remove chest.black +tag @a[team=chestgame,gamemode=adventure] add chess.ranteam +scoreboard players set rand board 1 +execute as @a[tag=chess.ranteam] run function small_games/chess/five/random_team +tag @a[tag=chess.ranteam] remove chess.ranteam +tp @a[team=chestgame,gamemode=adventure] 74 121 55 0 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.black] 85 121 55 90 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.white] 63 121 55 -90 0 +title @a[team=chestgame,gamemode=adventure] title ["\u00a7e\u00a7l游戏开始!"] +title @a[team=chestgame,gamemode=adventure] subtitle ["\u00a7a游戏:\u00a7c五子棋!"] +scoreboard players set rand board 0 +# tellraw @a[tag=chess.black] ["\u00a76你在\u00a70\u00a7l黑队"] +# tellraw @a[tag=chess.white] ["\u00a76你在\u00a7f\u00a7l白队"] +tellraw @a[tag=chess.black] ["\n\u00a77 你在: \u00a70\u00a7l黑队\n\u00a7a 队友:",{"selector":"@a[tag=chess.black]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.white]"},"\n"] +tellraw @a[tag=chess.white] ["\n\u00a77 你在: \u00a7f\u00a7l白队\n\u00a7a 队友:",{"selector":"@a[tag=chess.white]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.black]"},"\n"] +function small_games/chess/five/nextround +# Black First +execute as @a[team=chestgame] run function minecraft:small_games/chess/five/introduce \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/things/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/things/black.mcfunction new file mode 100644 index 00000000..71c3e954 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/things/black.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.black] +give @a[tag=chess.black,team=chestgame] minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/things/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/things/white.mcfunction new file mode 100644 index 00000000..003c1a56 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/things/white.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.white] +give @a[tag=chess.white,team=chestgame] minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/tick.mcfunction new file mode 100644 index 00000000..3fc17cf4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/tick.mcfunction @@ -0,0 +1,9 @@ +execute as @e[tag=chess.put.white] at @s run function small_games/chess/five/turntowhite +execute as @e[tag=chess.put.black] at @s run function small_games/chess/five/turntoblack +tag @a[team=!chestgame] remove chess.black +tag @a[team=!chestgame] remove chess.white + +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run function small_games/chess/five/things/black +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run kill @s +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run function small_games/chess/five/things/white +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run kill @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/black.mcfunction new file mode 100644 index 00000000..62d43182 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/black.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a70\u00a7l黑队\u00a76下棋了。"] +tellraw @a[tag=chess.black] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.black] at @s run playsound entity.experience_orb.pickup player @s +function small_games/chess/five/things/black + +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7a\u00a7l该你下棋了。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/timeout.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/timeout.mcfunction new file mode 100644 index 00000000..8fa5e619 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/timeout.mcfunction @@ -0,0 +1,4 @@ +tellraw @a[team=chestgame] ["\u00a7c超时,跳过!"] +function small_games/chess/five/nextround +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l超时跳过。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7c\u00a7l超时跳过。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/white.mcfunction new file mode 100644 index 00000000..7a622f58 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turn/white.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a7f\u00a7l白队\u00a76下棋了。"] +tellraw @a[tag=chess.white] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.white] at @s run playsound entity.experience_orb.pickup player @s + +function small_games/chess/five/things/white +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7a\u00a7l该你下棋了。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turntoblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turntoblack.mcfunction new file mode 100644 index 00000000..59a6a3c5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turntoblack.mcfunction @@ -0,0 +1,8 @@ +fill ~ ~-1 ~ ~ ~-1 ~ black_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ black_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +function small_games/chess/five/check/checkblack +execute if score chess.state state matches 1 run function small_games/chess/five/check/pj +kill @s + +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turntowhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turntowhite.mcfunction new file mode 100644 index 00000000..9776c385 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/turntowhite.mcfunction @@ -0,0 +1,9 @@ +fill ~ ~-1 ~ ~ ~-1 ~ white_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ white_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +# function small_games/chess/five/check/pj +function small_games/chess/five/check/checkwhite +execute if score chess.state state matches 1 run function small_games/chess/five/check/pj +kill @s + +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/black.mcfunction new file mode 100644 index 00000000..020aabce --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/black.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/pj.mcfunction new file mode 100644 index 00000000..fa1ac5bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/pj.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7b\u00a7l平局!"] +title @a[team=chestgame] title ["\u00a7b\u00a7l平局"] +title @a[team=chestgame] subtitle ["\u00a7a你并没有输。"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/sthwrong.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/sthwrong.mcfunction new file mode 100644 index 00000000..f2d0c31a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/sthwrong.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7c\u00a7l人数不够!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7e出现错误"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +function small_games/chess/tp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/white.mcfunction new file mode 100644 index 00000000..3f4de3f7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/five/win/white.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.white] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/a.mcfunction new file mode 100644 index 00000000..7cdccb31 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~1 ~ ~ +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. run function small_games/chess/five/check/black/a +# setblock 74 111 55 black_wool +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/b.mcfunction new file mode 100644 index 00000000..20a701bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/b +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/c.mcfunction new file mode 100644 index 00000000..66a5def8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/c +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/checkmain.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/checkmain.mcfunction new file mode 100644 index 00000000..d6c1a5e9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/checkmain.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 55 black_wool +scoreboard players set blackcount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score blackcount board matches 5.. run tellraw @a [1] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/a +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} + +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score blackcount board matches 5.. run tellraw @a [2] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. run scoreboard players set blackcount board 1 + +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/c +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score blackcount board matches 5.. run tellraw @a [3] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. run scoreboard players set blackcount board 1 + +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/e +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score blackcount board matches 5.. run tellraw @a [4] +execute unless score blackcount board matches 5.. run scoreboard players set blackcount board 1 +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/g +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score blackcount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/black/h +kill @e[tag=chess.calc] +# Total +# execute unless score blackcount board matches 5.. run tellraw @a [5] + +execute if score blackcount board matches 5.. run function small_games/chess/five/win/black \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/d.mcfunction new file mode 100644 index 00000000..63a0ba2a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/d +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/e.mcfunction new file mode 100644 index 00000000..1b2a88ff --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/e +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/f.mcfunction new file mode 100644 index 00000000..30a966b1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/f +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/g.mcfunction new file mode 100644 index 00000000..9560fd4d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/g +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/h.mcfunction new file mode 100644 index 00000000..a96b82e0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/black/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add blackcount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score blackcount board matches 5.. at @s run function small_games/chess/five/check/black/h +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/checkblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/checkblack.mcfunction new file mode 100644 index 00000000..830a1c4e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/checkblack.mcfunction @@ -0,0 +1,2 @@ +function small_games/chess/five/check/black/checkmain +execute if score chess.state state matches 1..1 run function small_games/chess/five/nextround \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/checkwhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/checkwhite.mcfunction new file mode 100644 index 00000000..4e9695c7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/checkwhite.mcfunction @@ -0,0 +1,2 @@ +function small_games/chess/five/check/white/checkmain +execute if score chess.state state matches 1..1 run function small_games/chess/five/nextround diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/pj.mcfunction new file mode 100644 index 00000000..e5afb802 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/pj.mcfunction @@ -0,0 +1,5 @@ +clone 67 115 48 81 115 62 66 100 47 +fill 66 100 47 80 100 61 lime_wool replace black_wool +fill 66 100 47 80 100 61 lime_wool replace white_wool +fill 66 100 63 80 100 77 minecraft:lime_wool +execute if blocks 66 100 47 80 100 61 66 100 63 all run function small_games/chess/five/win/pj \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/a.mcfunction new file mode 100644 index 00000000..00474a9c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~1 ~ ~ +# tellraw @a [{"score":{"name": "whitecount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. run function small_games/chess/five/check/white/a +# setblock 74 111 55 white_wool +# tellraw @a [{"score":{"name": "whitecount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/b.mcfunction new file mode 100644 index 00000000..e557d6a7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/b +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/c.mcfunction new file mode 100644 index 00000000..d329b744 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/c +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/checkmain.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/checkmain.mcfunction new file mode 100644 index 00000000..b5c625d7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/checkmain.mcfunction @@ -0,0 +1,45 @@ +setblock 74 111 55 white_wool +scoreboard players set whitecount board 1 +# tellraw @a [0] +# Part 1 +# execute unless score whitecount board matches 5.. run tellraw @a [1] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/a +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} + +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/b +kill @e[tag=chess.calc] +# Part 2 +# execute unless score whitecount board matches 5.. run tellraw @a [2] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/c +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/d +kill @e[tag=chess.calc] +# Part 3 +# execute unless score whitecount board matches 5.. run tellraw @a [3] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. run scoreboard players set whitecount board 1 + +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/e +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/f +kill @e[tag=chess.calc] +# Part 4 +# execute unless score whitecount board matches 5.. run tellraw @a [4] +execute unless score whitecount board matches 5.. run scoreboard players set whitecount board 1 +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/g +kill @e[tag=chess.calc] +execute as @s at @s run summon marker ~ 116 ~ {Tags:["chess.calc"]} +execute unless score whitecount board matches 5.. as @e[tag=chess.calc] at @s run function small_games/chess/five/check/white/h +kill @e[tag=chess.calc] +# Total +# execute unless score whitecount board matches 5.. run tellraw @a [5] + +execute if score whitecount board matches 5.. run function small_games/chess/five/win/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/d.mcfunction new file mode 100644 index 00000000..58515a0f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/d +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/e.mcfunction new file mode 100644 index 00000000..b48f269d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/e +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/f.mcfunction new file mode 100644 index 00000000..a84e3057 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/f +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/g.mcfunction new file mode 100644 index 00000000..a5e6567b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-1 ~ ~1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/g +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/h.mcfunction new file mode 100644 index 00000000..75097741 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/check/white/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~1 ~ ~-1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players add whitecount board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all unless score whitecount board matches 5.. at @s run function small_games/chess/five/check/white/h +# setblock 74 111 55 white_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/init.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/init.mcfunction new file mode 100644 index 00000000..96dcdbc8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/init.mcfunction @@ -0,0 +1,3 @@ +kill @e[type=marker,tag=chess.point] + +kill @e[tag=chess.display] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/introduce.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/introduce.mcfunction new file mode 100644 index 00000000..bca6640c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/introduce.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a76 ※ 围棋介绍\n\n\u00a7a行棋:\u00a7f黑子先行,一人轮流一著下于棋盘空点处。\n\u00a7a胜负:\u00a7f先把五枚或以上己棋相连成任何横纵斜方向为胜。(长连仍算胜利)"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/nextround.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/nextround.mcfunction new file mode 100644 index 00000000..9536359c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/nextround.mcfunction @@ -0,0 +1,9 @@ +clear @a[team=chestgame] +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +scoreboard players set chess.countdown board 60 +scoreboard players add chess.turn board 1 +execute if score chess.turn board matches 3.. run scoreboard players set chess.turn board 1 + +execute if score chess.turn board matches 1 run function small_games/chess/five/turn/black +execute if score chess.turn board matches 2 run function small_games/chess/five/turn/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/random_team.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/random_team.mcfunction new file mode 100644 index 00000000..6b604bf0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/random_team.mcfunction @@ -0,0 +1,7 @@ +tag @r[tag=chess.ranteam] add chess.ransel +scoreboard players add rand board 1 +execute if score rand board matches 3.. run scoreboard players set rand board 1 +execute if score rand board matches ..1 run tag @a[tag=chess.ransel] add chess.black +execute if score rand board matches 2.. run tag @a[tag=chess.ransel] add chess.white +tag @a[tag=chess.ransel] remove chess.ranteam +tag @a[tag=chess.ransel] remove chess.ransel diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/reset.mcfunction new file mode 100644 index 00000000..59489dd1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/reset.mcfunction @@ -0,0 +1,240 @@ +# fill -77 138 -343 -46 138 -312 glass +forceload add 82 47 66 63 +fill 81 120 62 67 120 48 glass +fill 81 115 62 67 115 48 orange_wool +forceload remove 82 47 66 63 +# fill -46 113 -343 -77 113 -312 orange_wool +kill @e[tag=chess.put.black] +kill @e[tag=chess.put.white] +scoreboard players set blackcount board 1 +scoreboard players set whitecount board 1 + +# From 67 120 48 to 81 120 62 +# summon marker ${x} 120 ${z} {Tags:["chess.marker"]} +kill @e[type=marker,tag=chess.marker] + +summon marker 67 120 48 {Tags:["chess.marker"]} +summon marker 67 120 49 {Tags:["chess.marker"]} +summon marker 67 120 50 {Tags:["chess.marker"]} +summon marker 67 120 51 {Tags:["chess.marker"]} +summon marker 67 120 52 {Tags:["chess.marker"]} +summon marker 67 120 53 {Tags:["chess.marker"]} +summon marker 67 120 54 {Tags:["chess.marker"]} +summon marker 67 120 55 {Tags:["chess.marker"]} +summon marker 67 120 56 {Tags:["chess.marker"]} +summon marker 67 120 57 {Tags:["chess.marker"]} +summon marker 67 120 58 {Tags:["chess.marker"]} +summon marker 67 120 59 {Tags:["chess.marker"]} +summon marker 67 120 60 {Tags:["chess.marker"]} +summon marker 67 120 61 {Tags:["chess.marker"]} +summon marker 67 120 62 {Tags:["chess.marker"]} +summon marker 68 120 48 {Tags:["chess.marker"]} +summon marker 68 120 49 {Tags:["chess.marker"]} +summon marker 68 120 50 {Tags:["chess.marker"]} +summon marker 68 120 51 {Tags:["chess.marker"]} +summon marker 68 120 52 {Tags:["chess.marker"]} +summon marker 68 120 53 {Tags:["chess.marker"]} +summon marker 68 120 54 {Tags:["chess.marker"]} +summon marker 68 120 55 {Tags:["chess.marker"]} +summon marker 68 120 56 {Tags:["chess.marker"]} +summon marker 68 120 57 {Tags:["chess.marker"]} +summon marker 68 120 58 {Tags:["chess.marker"]} +summon marker 68 120 59 {Tags:["chess.marker"]} +summon marker 68 120 60 {Tags:["chess.marker"]} +summon marker 68 120 61 {Tags:["chess.marker"]} +summon marker 68 120 62 {Tags:["chess.marker"]} +summon marker 69 120 48 {Tags:["chess.marker"]} +summon marker 69 120 49 {Tags:["chess.marker"]} +summon marker 69 120 50 {Tags:["chess.marker"]} +summon marker 69 120 51 {Tags:["chess.marker"]} +summon marker 69 120 52 {Tags:["chess.marker"]} +summon marker 69 120 53 {Tags:["chess.marker"]} +summon marker 69 120 54 {Tags:["chess.marker"]} +summon marker 69 120 55 {Tags:["chess.marker"]} +summon marker 69 120 56 {Tags:["chess.marker"]} +summon marker 69 120 57 {Tags:["chess.marker"]} +summon marker 69 120 58 {Tags:["chess.marker"]} +summon marker 69 120 59 {Tags:["chess.marker"]} +summon marker 69 120 60 {Tags:["chess.marker"]} +summon marker 69 120 61 {Tags:["chess.marker"]} +summon marker 69 120 62 {Tags:["chess.marker"]} +summon marker 70 120 48 {Tags:["chess.marker"]} +summon marker 70 120 49 {Tags:["chess.marker"]} +summon marker 70 120 50 {Tags:["chess.marker"]} +summon marker 70 120 51 {Tags:["chess.marker"]} +summon marker 70 120 52 {Tags:["chess.marker"]} +summon marker 70 120 53 {Tags:["chess.marker"]} +summon marker 70 120 54 {Tags:["chess.marker"]} +summon marker 70 120 55 {Tags:["chess.marker"]} +summon marker 70 120 56 {Tags:["chess.marker"]} +summon marker 70 120 57 {Tags:["chess.marker"]} +summon marker 70 120 58 {Tags:["chess.marker"]} +summon marker 70 120 59 {Tags:["chess.marker"]} +summon marker 70 120 60 {Tags:["chess.marker"]} +summon marker 70 120 61 {Tags:["chess.marker"]} +summon marker 70 120 62 {Tags:["chess.marker"]} +summon marker 71 120 48 {Tags:["chess.marker"]} +summon marker 71 120 49 {Tags:["chess.marker"]} +summon marker 71 120 50 {Tags:["chess.marker"]} +summon marker 71 120 51 {Tags:["chess.marker"]} +summon marker 71 120 52 {Tags:["chess.marker"]} +summon marker 71 120 53 {Tags:["chess.marker"]} +summon marker 71 120 54 {Tags:["chess.marker"]} +summon marker 71 120 55 {Tags:["chess.marker"]} +summon marker 71 120 56 {Tags:["chess.marker"]} +summon marker 71 120 57 {Tags:["chess.marker"]} +summon marker 71 120 58 {Tags:["chess.marker"]} +summon marker 71 120 59 {Tags:["chess.marker"]} +summon marker 71 120 60 {Tags:["chess.marker"]} +summon marker 71 120 61 {Tags:["chess.marker"]} +summon marker 71 120 62 {Tags:["chess.marker"]} +summon marker 72 120 48 {Tags:["chess.marker"]} +summon marker 72 120 49 {Tags:["chess.marker"]} +summon marker 72 120 50 {Tags:["chess.marker"]} +summon marker 72 120 51 {Tags:["chess.marker"]} +summon marker 72 120 52 {Tags:["chess.marker"]} +summon marker 72 120 53 {Tags:["chess.marker"]} +summon marker 72 120 54 {Tags:["chess.marker"]} +summon marker 72 120 55 {Tags:["chess.marker"]} +summon marker 72 120 56 {Tags:["chess.marker"]} +summon marker 72 120 57 {Tags:["chess.marker"]} +summon marker 72 120 58 {Tags:["chess.marker"]} +summon marker 72 120 59 {Tags:["chess.marker"]} +summon marker 72 120 60 {Tags:["chess.marker"]} +summon marker 72 120 61 {Tags:["chess.marker"]} +summon marker 72 120 62 {Tags:["chess.marker"]} +summon marker 73 120 48 {Tags:["chess.marker"]} +summon marker 73 120 49 {Tags:["chess.marker"]} +summon marker 73 120 50 {Tags:["chess.marker"]} +summon marker 73 120 51 {Tags:["chess.marker"]} +summon marker 73 120 52 {Tags:["chess.marker"]} +summon marker 73 120 53 {Tags:["chess.marker"]} +summon marker 73 120 54 {Tags:["chess.marker"]} +summon marker 73 120 55 {Tags:["chess.marker"]} +summon marker 73 120 56 {Tags:["chess.marker"]} +summon marker 73 120 57 {Tags:["chess.marker"]} +summon marker 73 120 58 {Tags:["chess.marker"]} +summon marker 73 120 59 {Tags:["chess.marker"]} +summon marker 73 120 60 {Tags:["chess.marker"]} +summon marker 73 120 61 {Tags:["chess.marker"]} +summon marker 73 120 62 {Tags:["chess.marker"]} +summon marker 74 120 48 {Tags:["chess.marker"]} +summon marker 74 120 49 {Tags:["chess.marker"]} +summon marker 74 120 50 {Tags:["chess.marker"]} +summon marker 74 120 51 {Tags:["chess.marker"]} +summon marker 74 120 52 {Tags:["chess.marker"]} +summon marker 74 120 53 {Tags:["chess.marker"]} +summon marker 74 120 54 {Tags:["chess.marker"]} +summon marker 74 120 55 {Tags:["chess.marker"]} +summon marker 74 120 56 {Tags:["chess.marker"]} +summon marker 74 120 57 {Tags:["chess.marker"]} +summon marker 74 120 58 {Tags:["chess.marker"]} +summon marker 74 120 59 {Tags:["chess.marker"]} +summon marker 74 120 60 {Tags:["chess.marker"]} +summon marker 74 120 61 {Tags:["chess.marker"]} +summon marker 74 120 62 {Tags:["chess.marker"]} +summon marker 75 120 48 {Tags:["chess.marker"]} +summon marker 75 120 49 {Tags:["chess.marker"]} +summon marker 75 120 50 {Tags:["chess.marker"]} +summon marker 75 120 51 {Tags:["chess.marker"]} +summon marker 75 120 52 {Tags:["chess.marker"]} +summon marker 75 120 53 {Tags:["chess.marker"]} +summon marker 75 120 54 {Tags:["chess.marker"]} +summon marker 75 120 55 {Tags:["chess.marker"]} +summon marker 75 120 56 {Tags:["chess.marker"]} +summon marker 75 120 57 {Tags:["chess.marker"]} +summon marker 75 120 58 {Tags:["chess.marker"]} +summon marker 75 120 59 {Tags:["chess.marker"]} +summon marker 75 120 60 {Tags:["chess.marker"]} +summon marker 75 120 61 {Tags:["chess.marker"]} +summon marker 75 120 62 {Tags:["chess.marker"]} +summon marker 76 120 48 {Tags:["chess.marker"]} +summon marker 76 120 49 {Tags:["chess.marker"]} +summon marker 76 120 50 {Tags:["chess.marker"]} +summon marker 76 120 51 {Tags:["chess.marker"]} +summon marker 76 120 52 {Tags:["chess.marker"]} +summon marker 76 120 53 {Tags:["chess.marker"]} +summon marker 76 120 54 {Tags:["chess.marker"]} +summon marker 76 120 55 {Tags:["chess.marker"]} +summon marker 76 120 56 {Tags:["chess.marker"]} +summon marker 76 120 57 {Tags:["chess.marker"]} +summon marker 76 120 58 {Tags:["chess.marker"]} +summon marker 76 120 59 {Tags:["chess.marker"]} +summon marker 76 120 60 {Tags:["chess.marker"]} +summon marker 76 120 61 {Tags:["chess.marker"]} +summon marker 76 120 62 {Tags:["chess.marker"]} +summon marker 77 120 48 {Tags:["chess.marker"]} +summon marker 77 120 49 {Tags:["chess.marker"]} +summon marker 77 120 50 {Tags:["chess.marker"]} +summon marker 77 120 51 {Tags:["chess.marker"]} +summon marker 77 120 52 {Tags:["chess.marker"]} +summon marker 77 120 53 {Tags:["chess.marker"]} +summon marker 77 120 54 {Tags:["chess.marker"]} +summon marker 77 120 55 {Tags:["chess.marker"]} +summon marker 77 120 56 {Tags:["chess.marker"]} +summon marker 77 120 57 {Tags:["chess.marker"]} +summon marker 77 120 58 {Tags:["chess.marker"]} +summon marker 77 120 59 {Tags:["chess.marker"]} +summon marker 77 120 60 {Tags:["chess.marker"]} +summon marker 77 120 61 {Tags:["chess.marker"]} +summon marker 77 120 62 {Tags:["chess.marker"]} +summon marker 78 120 48 {Tags:["chess.marker"]} +summon marker 78 120 49 {Tags:["chess.marker"]} +summon marker 78 120 50 {Tags:["chess.marker"]} +summon marker 78 120 51 {Tags:["chess.marker"]} +summon marker 78 120 52 {Tags:["chess.marker"]} +summon marker 78 120 53 {Tags:["chess.marker"]} +summon marker 78 120 54 {Tags:["chess.marker"]} +summon marker 78 120 55 {Tags:["chess.marker"]} +summon marker 78 120 56 {Tags:["chess.marker"]} +summon marker 78 120 57 {Tags:["chess.marker"]} +summon marker 78 120 58 {Tags:["chess.marker"]} +summon marker 78 120 59 {Tags:["chess.marker"]} +summon marker 78 120 60 {Tags:["chess.marker"]} +summon marker 78 120 61 {Tags:["chess.marker"]} +summon marker 78 120 62 {Tags:["chess.marker"]} +summon marker 79 120 48 {Tags:["chess.marker"]} +summon marker 79 120 49 {Tags:["chess.marker"]} +summon marker 79 120 50 {Tags:["chess.marker"]} +summon marker 79 120 51 {Tags:["chess.marker"]} +summon marker 79 120 52 {Tags:["chess.marker"]} +summon marker 79 120 53 {Tags:["chess.marker"]} +summon marker 79 120 54 {Tags:["chess.marker"]} +summon marker 79 120 55 {Tags:["chess.marker"]} +summon marker 79 120 56 {Tags:["chess.marker"]} +summon marker 79 120 57 {Tags:["chess.marker"]} +summon marker 79 120 58 {Tags:["chess.marker"]} +summon marker 79 120 59 {Tags:["chess.marker"]} +summon marker 79 120 60 {Tags:["chess.marker"]} +summon marker 79 120 61 {Tags:["chess.marker"]} +summon marker 79 120 62 {Tags:["chess.marker"]} +summon marker 80 120 48 {Tags:["chess.marker"]} +summon marker 80 120 49 {Tags:["chess.marker"]} +summon marker 80 120 50 {Tags:["chess.marker"]} +summon marker 80 120 51 {Tags:["chess.marker"]} +summon marker 80 120 52 {Tags:["chess.marker"]} +summon marker 80 120 53 {Tags:["chess.marker"]} +summon marker 80 120 54 {Tags:["chess.marker"]} +summon marker 80 120 55 {Tags:["chess.marker"]} +summon marker 80 120 56 {Tags:["chess.marker"]} +summon marker 80 120 57 {Tags:["chess.marker"]} +summon marker 80 120 58 {Tags:["chess.marker"]} +summon marker 80 120 59 {Tags:["chess.marker"]} +summon marker 80 120 60 {Tags:["chess.marker"]} +summon marker 80 120 61 {Tags:["chess.marker"]} +summon marker 80 120 62 {Tags:["chess.marker"]} +summon marker 81 120 48 {Tags:["chess.marker"]} +summon marker 81 120 49 {Tags:["chess.marker"]} +summon marker 81 120 50 {Tags:["chess.marker"]} +summon marker 81 120 51 {Tags:["chess.marker"]} +summon marker 81 120 52 {Tags:["chess.marker"]} +summon marker 81 120 53 {Tags:["chess.marker"]} +summon marker 81 120 54 {Tags:["chess.marker"]} +summon marker 81 120 55 {Tags:["chess.marker"]} +summon marker 81 120 56 {Tags:["chess.marker"]} +summon marker 81 120 57 {Tags:["chess.marker"]} +summon marker 81 120 58 {Tags:["chess.marker"]} +summon marker 81 120 59 {Tags:["chess.marker"]} +summon marker 81 120 60 {Tags:["chess.marker"]} +summon marker 81 120 61 {Tags:["chess.marker"]} +summon marker 81 120 62 {Tags:["chess.marker"]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/second.mcfunction new file mode 100644 index 00000000..7573caf9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/second.mcfunction @@ -0,0 +1,18 @@ +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ black_wool run particle minecraft:dust 0 0 0 1 ~ ~10 ~ 0 0 0 1 5 normal +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ white_wool run particle minecraft:dust 1 1 1 1 ~ ~10 ~ 0 0 0 1 5 normal +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +scoreboard players set chess.players board 0 +scoreboard players set chess.players.black board 0 +scoreboard players set chess.players.white board 0 +execute as @a[team=chestgame] run scoreboard players add chess.players board 1 +execute as @a[team=chestgame,tag=chess.black] run scoreboard players add chess.players.black board 1 +execute as @a[team=chestgame,tag=chess.white] run scoreboard players add chess.players.white board 1 +execute if score chess.state state matches 1..1 if score chess.players board matches ..1 run function small_games/chess/five/win/sthwrong +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c黑队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run function small_games/chess/five/win/white +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c白队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run function small_games/chess/five/win/black + +execute if score chess.countdown board matches 1.. if score chess.state state matches 1 run scoreboard players remove chess.countdown board 1 +execute if score chess.countdown board matches ..0 run function small_games/chess/five/turn/timeout \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/start.mcfunction new file mode 100644 index 00000000..a35859f4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/start.mcfunction @@ -0,0 +1,25 @@ +kill @e[tag=chess.put.white] +kill @e[tag=chess.put.black] +function small_games/chess/go/reset +scoreboard players set chess.state state 1 +scoreboard players set chess.turn board 0 +tag @a remove chess.white +tag @a remove chess.black +tag @a remove chest.white +tag @a remove chest.black +tag @a[team=chestgame,gamemode=adventure] add chess.ranteam +scoreboard players set rand board 1 +execute as @a[tag=chess.ranteam] run function small_games/chess/go/random_team +tag @a[tag=chess.ranteam] remove chess.ranteam +tp @a[team=chestgame,gamemode=adventure] 74 121 55 0 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.black] 85 121 55 90 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.white] 63 121 55 -90 0 +title @a[team=chestgame,gamemode=adventure] title ["\u00a7e\u00a7l游戏开始!"] +title @a[team=chestgame,gamemode=adventure] subtitle ["\u00a7a游戏:\u00a7c五子棋!"] +scoreboard players set rand board 0 +# tellraw @a[tag=chess.black] ["\u00a76你在\u00a70\u00a7l黑队"] +# tellraw @a[tag=chess.white] ["\u00a76你在\u00a7f\u00a7l白队"] +tellraw @a[tag=chess.black] ["\n\u00a77 你在: \u00a70\u00a7l黑队\n\u00a7a 队友:",{"selector":"@a[tag=chess.black]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.white]"},"\n"] +tellraw @a[tag=chess.white] ["\n\u00a77 你在: \u00a7f\u00a7l白队\n\u00a7a 队友:",{"selector":"@a[tag=chess.white]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.black]"},"\n"] +function small_games/chess/go/nextround +# Black First \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/things/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/things/black.mcfunction new file mode 100644 index 00000000..71c3e954 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/things/black.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.black] +give @a[tag=chess.black,team=chestgame] minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/things/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/things/white.mcfunction new file mode 100644 index 00000000..003c1a56 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/things/white.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.white] +give @a[tag=chess.white,team=chestgame] minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/tick.mcfunction new file mode 100644 index 00000000..3fc17cf4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/tick.mcfunction @@ -0,0 +1,9 @@ +execute as @e[tag=chess.put.white] at @s run function small_games/chess/five/turntowhite +execute as @e[tag=chess.put.black] at @s run function small_games/chess/five/turntoblack +tag @a[team=!chestgame] remove chess.black +tag @a[team=!chestgame] remove chess.white + +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run function small_games/chess/five/things/black +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run kill @s +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run function small_games/chess/five/things/white +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run kill @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/black.mcfunction new file mode 100644 index 00000000..62d43182 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/black.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a70\u00a7l黑队\u00a76下棋了。"] +tellraw @a[tag=chess.black] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.black] at @s run playsound entity.experience_orb.pickup player @s +function small_games/chess/five/things/black + +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7a\u00a7l该你下棋了。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/timeout.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/timeout.mcfunction new file mode 100644 index 00000000..8fa5e619 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/timeout.mcfunction @@ -0,0 +1,4 @@ +tellraw @a[team=chestgame] ["\u00a7c超时,跳过!"] +function small_games/chess/five/nextround +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l超时跳过。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7c\u00a7l超时跳过。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/white.mcfunction new file mode 100644 index 00000000..7a622f58 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turn/white.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a7f\u00a7l白队\u00a76下棋了。"] +tellraw @a[tag=chess.white] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.white] at @s run playsound entity.experience_orb.pickup player @s + +function small_games/chess/five/things/white +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7a\u00a7l该你下棋了。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turntoblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turntoblack.mcfunction new file mode 100644 index 00000000..59a6a3c5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turntoblack.mcfunction @@ -0,0 +1,8 @@ +fill ~ ~-1 ~ ~ ~-1 ~ black_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ black_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +function small_games/chess/five/check/checkblack +execute if score chess.state state matches 1 run function small_games/chess/five/check/pj +kill @s + +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turntowhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turntowhite.mcfunction new file mode 100644 index 00000000..9776c385 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/turntowhite.mcfunction @@ -0,0 +1,9 @@ +fill ~ ~-1 ~ ~ ~-1 ~ white_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ white_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +# function small_games/chess/five/check/pj +function small_games/chess/five/check/checkwhite +execute if score chess.state state matches 1 run function small_games/chess/five/check/pj +kill @s + +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/black.mcfunction new file mode 100644 index 00000000..020aabce --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/black.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/pj.mcfunction new file mode 100644 index 00000000..fa1ac5bf --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/pj.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7b\u00a7l平局!"] +title @a[team=chestgame] title ["\u00a7b\u00a7l平局"] +title @a[team=chestgame] subtitle ["\u00a7a你并没有输。"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/sthwrong.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/sthwrong.mcfunction new file mode 100644 index 00000000..f2d0c31a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/sthwrong.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7c\u00a7l人数不够!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7e出现错误"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +function small_games/chess/tp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/white.mcfunction new file mode 100644 index 00000000..3f4de3f7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/go/win/white.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.white] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/black.mcfunction new file mode 100644 index 00000000..fb76a799 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/black.mcfunction @@ -0,0 +1,50 @@ +setblock 74 111 55 black_stained_glass +setblock 74 110 55 white_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sa +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["\n1",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sb +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["2",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sc +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["3",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sd +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["4",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/se +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["5",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sf +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["6",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sg +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["7",{"score":{"objective": "board","name": "chess.tmp"}}] + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sh +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +# tellraw @a ["8",{"score":{"objective": "board","name": "chess.tmp"}}] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/a.mcfunction new file mode 100644 index 00000000..ff0030ec --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/a.mcfunction @@ -0,0 +1,8 @@ +tp @s ~2 ~ ~ +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. run function small_games/chess/gojp/change/ways/a +# setblock 74 111 55 black_wool +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/b.mcfunction new file mode 100644 index 00000000..98ca49ae --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/b.mcfunction @@ -0,0 +1,5 @@ +tp @s ~-2 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/change/ways/b +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/c.mcfunction new file mode 100644 index 00000000..e1ef6b65 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/c.mcfunction @@ -0,0 +1,5 @@ +tp @s ~ ~ ~2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/change/ways/c +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/d.mcfunction new file mode 100644 index 00000000..c72cec3a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/d.mcfunction @@ -0,0 +1,5 @@ +tp @s ~ ~ ~-2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/change/ways/d +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/e.mcfunction new file mode 100644 index 00000000..3c858518 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/e.mcfunction @@ -0,0 +1,5 @@ +tp @s ~2 ~ ~2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/e +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/f.mcfunction new file mode 100644 index 00000000..cb840cda --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/f.mcfunction @@ -0,0 +1,5 @@ +tp @s ~-2 ~ ~-2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/change/ways/f +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/g.mcfunction new file mode 100644 index 00000000..c97a3d51 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/g.mcfunction @@ -0,0 +1,5 @@ +tp @s ~-2 ~ ~2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/change/ways/g +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/h.mcfunction new file mode 100644 index 00000000..7abb6fae --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/h.mcfunction @@ -0,0 +1,5 @@ +tp @s ~2 ~ ~-2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all run setblock ~ ~-1 ~ lime_stained_glass +execute at @s if block ~ ~-1 ~ lime_stained_glass unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/change/ways/h +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sa.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sa.mcfunction new file mode 100644 index 00000000..b5ae4799 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sa.mcfunction @@ -0,0 +1,5 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +# execute as @e[type=marker,tag=chess.tmp] at @s run setblock ~ ~ ~ diamond_block +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/a +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sb.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sb.mcfunction new file mode 100644 index 00000000..3d6ee24e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sb.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/b +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sc.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sc.mcfunction new file mode 100644 index 00000000..9d1387cc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sc.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/c +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sd.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sd.mcfunction new file mode 100644 index 00000000..a3e70f66 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sd.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/d +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/se.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/se.mcfunction new file mode 100644 index 00000000..a5c88ea8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/se.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/e +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sf.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sf.mcfunction new file mode 100644 index 00000000..90ad88e3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sf.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/f +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sg.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sg.mcfunction new file mode 100644 index 00000000..abd1c507 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sg.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/g +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sh.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sh.mcfunction new file mode 100644 index 00000000..cdecc6a4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/ways/sh.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/change/ways/h +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/white.mcfunction new file mode 100644 index 00000000..ae1bf592 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/change/white.mcfunction @@ -0,0 +1,42 @@ +setblock 74 110 55 black_stained_glass +setblock 74 111 55 white_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sa +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sb +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sc +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sd +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/se +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sf +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sg +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass + +scoreboard players set chess.tmp board 0 +function minecraft:small_games/chess/gojp/change/ways/sh +execute if score chess.tmp board matches 1.. run fill 81 120 62 67 120 48 white_stained_glass replace lime_stained_glass +execute if score chess.tmp board matches 0 run fill 81 120 62 67 120 48 black_stained_glass replace lime_stained_glass diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/black_candown.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/black_candown.mcfunction new file mode 100644 index 00000000..06e1667f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/black_candown.mcfunction @@ -0,0 +1,15 @@ +scoreboard players set chess.tmp board 0 +# 默认初始化为 0:false + +execute if score chess.tmp board matches 0 positioned ~2 ~ ~ if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sa +execute if score chess.tmp board matches 0 positioned ~-2 ~ ~ if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sb +execute if score chess.tmp board matches 0 positioned ~ ~ ~2 if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sc +execute if score chess.tmp board matches 0 positioned ~ ~ ~-2 if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sd +execute if score chess.tmp board matches 0 positioned ~2 ~ ~2 if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/se +execute if score chess.tmp board matches 0 positioned ~-2 ~ ~-2 if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sf +execute if score chess.tmp board matches 0 positioned ~-2 ~ ~2 if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sg +execute if score chess.tmp board matches 0 positioned ~2 ~ ~-2 if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sh + +execute if score chess.tmp board matches 1.. run setblock ~ ~ ~ glass +execute if score chess.tmp board matches 1.. run scoreboard players add chess.tmp.count board 1 +execute if score chess.tmp board matches 0 run setblock ~ ~ ~ red_stained_glass \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/blackpoint.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/blackpoint.mcfunction new file mode 100644 index 00000000..a4a45a93 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/blackpoint.mcfunction @@ -0,0 +1,12 @@ +setblock 74 111 55 black_stained_glass +setblock 74 110 55 white_stained_glass +fill 81 120 62 67 120 48 pink_stained_glass replace glass +scoreboard players set chess.tmp.count board 0 + +execute as @e[tag=chess.point] at @s if block ~ ~ ~ white_stained_glass run function minecraft:small_games/chess/gojp/check/perblack + +fill 81 120 62 67 120 48 pink_stained_glass replace red_stained_glass +# /clone 67 120 48 81 120 62 66 100 47 + +execute if score chess.tmp.count board matches 0 run function minecraft:small_games/chess/gojp/turn/blackcantdown +execute unless score chess.tmp.count board matches 0 run scoreboard players set chess.tmp.flag board 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/final.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/final.mcfunction new file mode 100644 index 00000000..ada4450f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/final.mcfunction @@ -0,0 +1,9 @@ +tellraw @a[team=chestgame] ["\u00a76游戏结束!正在统计中..."] +scoreboard players set boom.fill.result.b board 0 +scoreboard players set boom.fill.result.w board 0 +execute store result score boom.fill.result.w board run fill 81 120 62 67 120 48 air replace white_stained_glass +execute store result score boom.fill.result.b board run fill 81 120 62 67 120 48 air replace black_stained_glass +# scoreboard players set chess.state state 2 +execute if score chess.state state matches 1 if score boom.fill.result.w board > boom.fill.result.b board run function minecraft:small_games/chess/gojp/win/white +execute if score chess.state state matches 1 if score boom.fill.result.w board < boom.fill.result.b board run function minecraft:small_games/chess/gojp/win/black +execute if score chess.state state matches 1 if score boom.fill.result.w board = boom.fill.result.b board run function minecraft:small_games/chess/gojp/win/pj \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/perblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/perblack.mcfunction new file mode 100644 index 00000000..2e74e3b4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/perblack.mcfunction @@ -0,0 +1,8 @@ +execute positioned ~2 ~ ~ if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~2 ~ ~2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~2 ~ ~-2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~-2 ~ ~ if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~-2 ~ ~2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~-2 ~ ~-2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~ ~ ~2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown +execute positioned ~ ~ ~-2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/black_candown \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/perwhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/perwhite.mcfunction new file mode 100644 index 00000000..d45688d8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/perwhite.mcfunction @@ -0,0 +1,8 @@ +execute positioned ~2 ~ ~ if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~2 ~ ~2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~2 ~ ~-2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~-2 ~ ~ if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~-2 ~ ~2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~-2 ~ ~-2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~ ~ ~2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown +execute positioned ~ ~ ~-2 if block ~ ~ ~ pink_stained_glass run function minecraft:small_games/chess/gojp/check/white_candown \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/a.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/a.mcfunction new file mode 100644 index 00000000..6fa38c9f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/a.mcfunction @@ -0,0 +1,7 @@ +tp @s ~2 ~ ~ +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] + +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. run function small_games/chess/gojp/check/ways/a +# setblock 74 111 55 black_wool +# tellraw @a [{"score":{"name": "blackcount","objective": "board"}}] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/b.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/b.mcfunction new file mode 100644 index 00000000..bcc63db5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/b.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-2 ~ ~ +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/b +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/c.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/c.mcfunction new file mode 100644 index 00000000..0531b619 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/c.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/c +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/d.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/d.mcfunction new file mode 100644 index 00000000..aa4ab40e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/d.mcfunction @@ -0,0 +1,4 @@ +tp @s ~ ~ ~-2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/d +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/e.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/e.mcfunction new file mode 100644 index 00000000..8c20692c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/e.mcfunction @@ -0,0 +1,4 @@ +tp @s ~2 ~ ~2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/e +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/f.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/f.mcfunction new file mode 100644 index 00000000..a75fd21c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/f.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-2 ~ ~-2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/f +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/g.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/g.mcfunction new file mode 100644 index 00000000..0ffad3cb --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/g.mcfunction @@ -0,0 +1,4 @@ +tp @s ~-2 ~ ~2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/g +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/h.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/h.mcfunction new file mode 100644 index 00000000..13c7bae5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/h.mcfunction @@ -0,0 +1,4 @@ +tp @s ~2 ~ ~-2 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 111 55 all run scoreboard players set chess.tmp board 1 +execute at @s if blocks ~ ~-1 ~ ~ ~-1 ~ 74 110 55 all unless score chess.tmp board matches 1.. at @s run function small_games/chess/gojp/check/ways/h +# setblock 74 111 55 black_wool diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sa.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sa.mcfunction new file mode 100644 index 00000000..4a7939b1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sa.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/a +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sb.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sb.mcfunction new file mode 100644 index 00000000..9a4eec59 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sb.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/b +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sc.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sc.mcfunction new file mode 100644 index 00000000..2efa4353 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sc.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/c +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sd.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sd.mcfunction new file mode 100644 index 00000000..71911664 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sd.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/d +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/se.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/se.mcfunction new file mode 100644 index 00000000..ca6f5d5c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/se.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/e +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sf.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sf.mcfunction new file mode 100644 index 00000000..0a6a6af2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sf.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/f +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sg.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sg.mcfunction new file mode 100644 index 00000000..ec907123 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sg.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/g +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sh.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sh.mcfunction new file mode 100644 index 00000000..74599844 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/ways/sh.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~1 ~ {Tags:["chess.tmp"]} +execute as @e[type=marker,tag=chess.tmp] at @s run function small_games/chess/gojp/check/ways/h +# setblock 74 111 55 black_wool +kill @e[type=marker,tag=chess.tmp] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/white_candown.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/white_candown.mcfunction new file mode 100644 index 00000000..524e3141 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/white_candown.mcfunction @@ -0,0 +1,16 @@ +scoreboard players set chess.tmp board 0 +# 默认初始化为 0:false + + +execute if score chess.tmp board matches 0 positioned ~2 ~ ~ if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sa +execute if score chess.tmp board matches 0 positioned ~-2 ~ ~ if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sb +execute if score chess.tmp board matches 0 positioned ~ ~ ~2 if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sc +execute if score chess.tmp board matches 0 positioned ~ ~ ~-2 if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sd +execute if score chess.tmp board matches 0 positioned ~2 ~ ~2 if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/se +execute if score chess.tmp board matches 0 positioned ~-2 ~ ~-2 if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sf +execute if score chess.tmp board matches 0 positioned ~-2 ~ ~2 if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sg +execute if score chess.tmp board matches 0 positioned ~2 ~ ~-2 if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/ways/sh + +execute if score chess.tmp board matches 1.. run setblock ~ ~ ~ glass +execute if score chess.tmp board matches 1.. run scoreboard players add chess.tmp.count board 1 +execute if score chess.tmp board matches 0 run setblock ~ ~ ~ red_stained_glass \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/whitepoint.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/whitepoint.mcfunction new file mode 100644 index 00000000..8e84c7f3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/check/whitepoint.mcfunction @@ -0,0 +1,10 @@ +setblock 74 111 55 white_stained_glass +setblock 74 110 55 black_stained_glass +scoreboard players set chess.tmp.count board 0 + +fill 81 120 62 67 120 48 pink_stained_glass replace glass +execute as @e[tag=chess.point] at @s if block ~ ~ ~ black_stained_glass run function minecraft:small_games/chess/gojp/check/perwhite +fill 81 120 62 67 120 48 pink_stained_glass replace red_stained_glass + +execute if score chess.tmp.count board matches 0 run function minecraft:small_games/chess/gojp/turn/whitecantdown +execute unless score chess.tmp.count board matches 0 run scoreboard players set chess.tmp.flag board 0 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/init.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/init.mcfunction new file mode 100644 index 00000000..96dcdbc8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/init.mcfunction @@ -0,0 +1,3 @@ +kill @e[type=marker,tag=chess.point] + +kill @e[tag=chess.display] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/introduce.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/introduce.mcfunction new file mode 100644 index 00000000..78c9989a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/introduce.mcfunction @@ -0,0 +1,2 @@ + +tellraw @s ["\u00a76 ※ 黑白棋介绍\n\n\u00a7e\u00a7l棋规\n\n\u00a7f1.棋局开始时黑棋位于e4和d5,白棋位于d4和e5。(默认棋子)\n2.黑方先行,双方交替下棋。\n3.一步合法的棋步包括:在一个空格新落下一个棋子,并且翻转对手一个或多个棋子。\n4.新落下的棋子与棋盘上已有的同色棋子间,对方被夹住的所有棋子都要翻转过来。可以是横着夹,竖着夹,或是斜着夹。夹住的位置上必须全部是对手的棋子,不能有空格。\n5.一步棋可以在数个方向上翻棋,任何被夹住的棋子都必须被翻转过来,棋手无权选择不去翻某个棋子。\n6.除非至少翻转了对手的一个棋子,否则就不能落子。如果一方没有合法棋步,也就是说不管他下到哪里,都不能至少翻转对手的一个棋子,那他这一轮只能弃权,而由他的对手继续落子直到他有合法棋步可下。\n7.如果一方至少有一步合法棋步可下,他就必须落子,不得弃权。\n8.棋局持续下去,直到棋盘填满或者双方都无合法棋步可下。\n\n\u00a7a\u00a7b\u00a7l下子的方法\n\n\u00a7f把自己颜色的棋子放在棋盘的空格上,而当自己放下的棋子在横、竖、斜八个方向内有一个自己的棋子,则被夹在中间的全部翻转会成为自己的棋子。并且,只有在可以翻转棋子的地方才可以下子。\n"] diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/nextround.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/nextround.mcfunction new file mode 100644 index 00000000..d7687d7a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/nextround.mcfunction @@ -0,0 +1,10 @@ +clear @a[team=chestgame] +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 + +scoreboard players set chess.countdown board 90 +scoreboard players add chess.turn board 1 +execute if score chess.turn board matches 3.. run scoreboard players set chess.turn board 1 + +execute if score chess.turn board matches 1 run function small_games/chess/gojp/turn/black +execute if score chess.turn board matches 2 run function small_games/chess/gojp/turn/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/random_team.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/random_team.mcfunction new file mode 100644 index 00000000..6b604bf0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/random_team.mcfunction @@ -0,0 +1,7 @@ +tag @r[tag=chess.ranteam] add chess.ransel +scoreboard players add rand board 1 +execute if score rand board matches 3.. run scoreboard players set rand board 1 +execute if score rand board matches ..1 run tag @a[tag=chess.ransel] add chess.black +execute if score rand board matches 2.. run tag @a[tag=chess.ransel] add chess.white +tag @a[tag=chess.ransel] remove chess.ranteam +tag @a[tag=chess.ransel] remove chess.ransel diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/reset.mcfunction new file mode 100644 index 00000000..68ac0eef --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/reset.mcfunction @@ -0,0 +1,59 @@ +# fill -77 138 -343 -46 138 -312 glass +forceload add 82 47 66 63 +fill 81 120 62 67 120 48 glass +fill 81 115 62 67 115 48 orange_wool + +fill 68 120 62 68 120 48 acacia_leaves[persistent=false] +fill 70 120 62 70 120 48 acacia_leaves[persistent=false] +fill 72 120 62 72 120 48 acacia_leaves[persistent=false] +fill 74 120 62 74 120 48 acacia_leaves[persistent=false] +fill 76 120 62 76 120 48 acacia_leaves[persistent=false] +fill 78 120 62 78 120 48 acacia_leaves[persistent=false] +fill 80 120 62 80 120 48 acacia_leaves[persistent=false] + +fill 67 120 49 81 120 49 acacia_leaves[persistent=false] +fill 67 120 51 81 120 51 acacia_leaves[persistent=false] +fill 67 120 53 81 120 53 acacia_leaves[persistent=false] +fill 67 120 55 81 120 55 acacia_leaves[persistent=false] +fill 67 120 57 81 120 57 acacia_leaves[persistent=false] +fill 67 120 59 81 120 59 acacia_leaves[persistent=false] +fill 67 120 61 81 120 61 acacia_leaves[persistent=false] + +fill 68 115 62 68 115 48 acacia_leaves[persistent=false] +fill 70 115 62 70 115 48 acacia_leaves[persistent=false] +fill 72 115 62 72 115 48 acacia_leaves[persistent=false] +fill 74 115 62 74 115 48 acacia_leaves[persistent=false] +fill 76 115 62 76 115 48 acacia_leaves[persistent=false] +fill 78 115 62 78 115 48 acacia_leaves[persistent=false] +fill 80 115 62 80 115 48 acacia_leaves[persistent=false] + +fill 67 115 49 81 115 49 acacia_leaves[persistent=false] +fill 67 115 51 81 115 51 acacia_leaves[persistent=false] +fill 67 115 53 81 115 53 acacia_leaves[persistent=false] +fill 67 115 55 81 115 55 acacia_leaves[persistent=false] +fill 67 115 57 81 115 57 acacia_leaves[persistent=false] +fill 67 115 59 81 115 59 acacia_leaves[persistent=false] +fill 67 115 61 81 115 61 acacia_leaves[persistent=false] + +# 默认棋子 +setblock 75 120 56 minecraft:white_stained_glass +setblock 73 120 56 minecraft:black_stained_glass +setblock 75 120 54 minecraft:black_stained_glass +setblock 73 120 54 minecraft:white_stained_glass + +setblock 75 115 56 minecraft:white_wool +setblock 73 115 56 minecraft:black_wool +setblock 75 115 54 minecraft:black_wool +setblock 73 115 54 minecraft:white_wool + +summon marker 75 120 56 {Tags:["chess.point"]} +summon marker 73 120 56 {Tags:["chess.point"]} +summon marker 75 120 54 {Tags:["chess.point"]} +summon marker 73 120 54 {Tags:["chess.point"]} + +forceload remove 82 47 66 63 +# fill -46 113 -343 -77 113 -312 orange_wool +kill @e[tag=chess.put.black] +kill @e[tag=chess.put.white] +scoreboard players set blackcount board 1 +scoreboard players set whitecount board 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/second.mcfunction new file mode 100644 index 00000000..09139f0f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/second.mcfunction @@ -0,0 +1,18 @@ +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ black_wool run particle minecraft:dust 0 0 0 1 ~ ~10 ~ 0 0 0 1 5 normal +# execute as @e[tag=chess.point] at @s if block ~ ~-1 ~ white_wool run particle minecraft:dust 1 1 1 1 ~ ~10 ~ 0 0 0 1 5 normal +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7b\u00a7l下棋时间限制:",{"score":{"name": "chess.countdown","objective": "board"},"color": "red","bold": true},"\u00a7a秒"] +scoreboard players set chess.players board 0 +scoreboard players set chess.players.black board 0 +scoreboard players set chess.players.white board 0 +execute as @a[team=chestgame] run scoreboard players add chess.players board 1 +execute as @a[team=chestgame,tag=chess.black] run scoreboard players add chess.players.black board 1 +execute as @a[team=chestgame,tag=chess.white] run scoreboard players add chess.players.white board 1 +execute if score chess.state state matches 1..1 if score chess.players board matches ..1 run function small_games/chess/gojp/win/sthwrong +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c黑队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.black board matches ..0 run function small_games/chess/gojp/win/white +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run tellraw @a[team=chestgame] ["\u00a7c白队目前无人。"] +execute if score chess.state state matches 1..1 if score chess.players.white board matches ..0 run function small_games/chess/five/win/black + +execute if score chess.countdown board matches 1.. if score chess.state state matches 1 run scoreboard players remove chess.countdown board 1 +execute if score chess.countdown board matches ..0 run function small_games/chess/gojp/turn/timeout \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/start.mcfunction new file mode 100644 index 00000000..5680fe1e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/start.mcfunction @@ -0,0 +1,26 @@ +kill @e[tag=chess.put.white] +kill @e[tag=chess.put.black] +function small_games/chess/gojp/reset +scoreboard players set chess.state state 1 +scoreboard players set chess.turn board 0 +tag @a remove chess.white +tag @a remove chess.black +tag @a remove chest.white +tag @a remove chest.black +tag @a[team=chestgame,gamemode=adventure] add chess.ranteam +scoreboard players set rand board 1 +execute as @a[tag=chess.ranteam] run function small_games/chess/gojp/random_team +tag @a[tag=chess.ranteam] remove chess.ranteam +tp @a[team=chestgame,gamemode=adventure] 74 121 55 0 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.black] 85 121 55 90 0 +tp @a[team=chestgame,gamemode=adventure,tag=chess.white] 63 121 55 -90 0 +title @a[team=chestgame,gamemode=adventure] title ["\u00a7e\u00a7l游戏开始!"] +title @a[team=chestgame,gamemode=adventure] subtitle ["\u00a7a游戏:\u00a7b黑白棋!"] +scoreboard players set rand board 0 +# tellraw @a[tag=chess.black] ["\u00a76你在\u00a70\u00a7l黑队"] +# tellraw @a[tag=chess.white] ["\u00a76你在\u00a7f\u00a7l白队"] +tellraw @a[tag=chess.black] ["\n\u00a77 你在: \u00a70\u00a7l黑队\n\u00a7a 队友:",{"selector":"@a[tag=chess.black]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.white]"},"\n"] +tellraw @a[tag=chess.white] ["\n\u00a77 你在: \u00a7f\u00a7l白队\n\u00a7a 队友:",{"selector":"@a[tag=chess.white]"},"\n\u00a7c 对手:",{"selector":"@a[tag=chess.black]"},"\n"] +function small_games/chess/gojp/nextround +# Black First +execute as @a[team=chestgame] run function minecraft:small_games/chess/gojp/introduce \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/things/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/things/black.mcfunction new file mode 100644 index 00000000..71c3e954 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/things/black.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.black] +give @a[tag=chess.black,team=chestgame] minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/things/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/things/white.mcfunction new file mode 100644 index 00000000..003c1a56 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/things/white.mcfunction @@ -0,0 +1,2 @@ +clear @a[tag=chess.white] +give @a[tag=chess.white,team=chestgame] minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/tick.mcfunction new file mode 100644 index 00000000..3cd4bd15 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/tick.mcfunction @@ -0,0 +1,9 @@ +execute as @e[tag=chess.put.white] at @s run function small_games/chess/gojp/turntowhite +execute as @e[tag=chess.put.black] at @s run function small_games/chess/gojp/turntoblack +tag @a[team=!chestgame] remove chess.black +tag @a[team=!chestgame] remove chess.white + +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run function small_games/chess/gojp/things/black +execute if score chess.turn board matches 1 as @a[tag=chess.black] at @s as @e[type=item,distance=0..10] run kill @s +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run function small_games/chess/gojp/things/white +execute if score chess.turn board matches 2 as @a[tag=chess.white] at @s as @e[type=item,distance=0..10] run kill @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/black.mcfunction new file mode 100644 index 00000000..7b56d6fc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/black.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a70\u00a7l黑队\u00a76下棋了。"] +tellraw @a[tag=chess.black] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.black] at @s run playsound entity.experience_orb.pickup player @s +function small_games/chess/gojp/things/black + +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7a\u00a7l该你下棋了。"] +function small_games/chess/gojp/check/blackpoint \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/blackcantdown.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/blackcantdown.mcfunction new file mode 100644 index 00000000..9fa59e36 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/blackcantdown.mcfunction @@ -0,0 +1,4 @@ +execute if score chess.tmp.flag board matches 1.. run function minecraft:small_games/chess/gojp/check/final +scoreboard players set chess.tmp.flag board 1 +execute if score chess.state state matches 1 run tellraw @a[team=chestgame] ["\u00a7a跳过\u00a70\u00a7l黑队\u00a7a下棋,因为他们没法下任何一颗!"] +execute if score chess.state state matches 1 run function minecraft:small_games/chess/gojp/turn/white \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/timeout.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/timeout.mcfunction new file mode 100644 index 00000000..b9708f13 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/timeout.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[team=chestgame] ["\u00a7c超时,游戏结束!"] +# function small_games/chess/five/nextround +execute if score chess.turn board matches 1 run function small_games/chess/gojp/win/white +execute if score chess.turn board matches 2 run function small_games/chess/gojp/win/black +# title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7c\u00a7l超时跳过。"] +# title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。\u00a7c\u00a7l超时跳过。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/white.mcfunction new file mode 100644 index 00000000..e3a7fe90 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/white.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=chestgame] ["\u00a76轮到\u00a7f\u00a7l白队\u00a76下棋了。"] +tellraw @a[tag=chess.white] ["\u00a7a轮到你下棋了。\n\u00a77注意:你与你的队友本局只有1颗棋子可以下。"] +execute as @a[tag=chess.white] at @s run playsound entity.experience_orb.pickup player @s + +function small_games/chess/gojp/things/white +title @a[tag=chess.white] actionbar ["\u00a76\u00a7l你在\u00a7f\u00a7l白队。\u00a7a\u00a7l该你下棋了。"] +title @a[tag=chess.black] actionbar ["\u00a76\u00a7l你在\u00a70\u00a7l黑队。"] +function small_games/chess/gojp/check/whitepoint diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/whitecantdown.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/whitecantdown.mcfunction new file mode 100644 index 00000000..57f4aea8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turn/whitecantdown.mcfunction @@ -0,0 +1,4 @@ +execute if score chess.tmp.flag board matches 1.. run function minecraft:small_games/chess/gojp/check/final +scoreboard players set chess.tmp.flag board 1 +execute if score chess.state state matches 1 run tellraw @a[team=chestgame] ["\u00a7a跳过\u00a7f\u00a7l白队\u00a7a下棋,因为他们没法下任何一颗!"] +execute if score chess.state state matches 1 run function minecraft:small_games/chess/gojp/turn/black \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turntoblack.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turntoblack.mcfunction new file mode 100644 index 00000000..71d7dd3f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turntoblack.mcfunction @@ -0,0 +1,11 @@ +fill ~ ~-1 ~ ~ ~-1 ~ black_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ black_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +summon marker ~ ~-1 ~ {Tags:["chess.point"]} +function small_games/chess/gojp/change/black +execute if score chess.state state matches 1 run function small_games/chess/gojp/nextround + +# execute if score chess.state state matches 1 run function small_games/chess/gojp/check/pj +kill @s + +#/give @p minecraft:bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.black"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turntowhite.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turntowhite.mcfunction new file mode 100644 index 00000000..763476cc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/turntowhite.mcfunction @@ -0,0 +1,11 @@ +fill ~ ~-1 ~ ~ ~-1 ~ white_stained_glass replace glass +fill ~ 115 ~ ~ 115 ~ white_wool replace orange_wool +playsound ui.button.click player @a[team=chestgame] ~ ~ ~ +summon marker ~ ~-1 ~ {Tags:["chess.point"]} +function small_games/chess/gojp/change/white +# function small_games/chess/five/check/pj +execute if score chess.state state matches 1 run function small_games/chess/gojp/nextround +# execute if score chess.state state matches 1 run function small_games/chess/gojp/check/pj +kill @s + +#/give @p minecraft:ghast_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["chess.put.white"]},CanPlaceOn:['glass'],hideFlags:63,display:{Name:'"\\u00a7a放置棋"'}} 1 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/black.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/black.mcfunction new file mode 100644 index 00000000..4dbe522f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/black.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=chestgame] ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a70\u00a7l黑方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +fill 81 120 62 67 120 48 glass + +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/pj.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/pj.mcfunction new file mode 100644 index 00000000..c06977e1 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/pj.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=chestgame] ["\u00a7b\u00a7l平局!"] +title @a[team=chestgame] title ["\u00a7b\u00a7l平局"] +title @a[team=chestgame] subtitle ["\u00a7a你并没有输。"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +fill 81 120 62 67 120 48 glass + +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/sthwrong.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/sthwrong.mcfunction new file mode 100644 index 00000000..2de2a056 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/sthwrong.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=chestgame] ["\u00a7c\u00a7l人数不够!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7e出现错误"] +# title @a[team=chestgame,tag=chess.black] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +fill 81 120 62 67 120 48 glass + +function small_games/chess/tp \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/white.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/white.mcfunction new file mode 100644 index 00000000..56155cf5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/gojp/win/white.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=chestgame] ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame] title ["\u00a7c\u00a7lGame Over!"] +title @a[team=chestgame] subtitle ["\u00a7f\u00a7l白方\u00a76\u00a7l胜利!"] +title @a[team=chestgame,tag=chess.white] title ["\u00a76你赢了!"] +scoreboard players set chess.state state 2 +fill 81 120 62 67 120 48 glass + +schedule function small_games/chess/tp 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/join.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/join.mcfunction new file mode 100644 index 00000000..a81a502c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/join.mcfunction @@ -0,0 +1,13 @@ +execute in overworld run tp @s 87 125 20 -90 0 +title @s title ["\u00a7c\u00a7l棋类游戏"] +title @s subtitle ["\u00a7f打发时间的休闲小游戏"] +team join chestgame @s +execute in overworld run spawnpoint @s -65 139 -363 +tag @s remove chest.white +tag @s remove chest.black +tag @s remove chess.white +tag @s remove chess.black +# execute if score chess.state state matches 1.. run function minecraft:small_games/chess/spec +clear @s +tellraw @a ["\u00a7a\u00a7l[棋类游戏] ",{"selector":"@s"}," \u00a7d加入。"] +tellraw @s ["\u00a77欢迎光临咖啡厅~\n请您随便就坐。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/modify.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/modify.mcfunction new file mode 100644 index 00000000..858de576 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/modify.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s +execute unless score chess.state state matches 1.. run scoreboard players add chest.type board 1 +execute if score chess.state state matches 1.. run tellraw @s ["\u00a7c游戏开始后无法修改。"] +execute if score chest.type board matches 5.. run scoreboard players set chest.type board 1 +execute if score chest.type board matches ..1 run data modify block 90 126 19 front_text.messages[1] set value '"\\u00a7a\\u00a7l[五子棋]"' +# 还没做呢 +execute if score chest.type board matches 2 run data modify block 90 126 19 front_text.messages[1] set value '"\\u00a7b\\u00a7l[爆炸棋(Beta)]"' +execute if score chest.type board matches 3 run data modify block 90 126 19 front_text.messages[1] set value '"\\u00a7d\\u00a7l[围棋]"' +execute if score chest.type board matches 4 run data modify block 90 126 19 front_text.messages[1] set value '"\\u00a7e\\u00a7l[黑白棋(Alpha)]"' +# execute if score chest.type board matches 2 run data modify block 90 126 19 front_text.messages[(2-1)] set value '"\\u00a7b\\u00a7l[爆炸棋(Alpha)]"'} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/second.mcfunction new file mode 100644 index 00000000..eb4d1921 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/second.mcfunction @@ -0,0 +1,4 @@ +execute if score chess.state state matches 1 if score chest.type board matches 1 run function small_games/chess/five/second +execute if score chess.state state matches 1 if score chest.type board matches 2 run function small_games/chess/boom/second +execute if score chess.state state matches 1 if score chest.type board matches 3 run function small_games/chess/go/second +execute if score chess.state state matches 1 if score chest.type board matches 4 run function small_games/chess/gojp/second \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/spec.mcfunction new file mode 100644 index 00000000..1ea75374 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/spec.mcfunction @@ -0,0 +1,5 @@ +# gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始!"] +playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 2 1 1 +gamemode spectator @s +tp @s @r[team=chestgame,gamemode=adventure,distance=10..] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/specgame.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/specgame.mcfunction new file mode 100644 index 00000000..66cf3cad --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/specgame.mcfunction @@ -0,0 +1,10 @@ +playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 2 1 1 +tp @s 74 115 34 0 0 +tag @s remove chest.white +tag @s remove chest.black +team leave @s +clear @s +effect clear @s +tellraw @s ["\u00a77欢迎来到活动广场。"] +tellraw @a ["\u00a7a\u00a7l[棋类游戏] ",{"selector":"@s","color":"gold"},"\u00a7b 退出队列。"] +team join lobby @s diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/start.mcfunction new file mode 100644 index 00000000..5ac00e87 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/start.mcfunction @@ -0,0 +1,10 @@ +fill 68 125 61 80 125 49 air replace #wool +kill @e[tag=chess.marker,type=marker] +kill @e[type=marker,tag=chess.point] + +execute if score chest.type board matches ..1 run function small_games/chess/five/start +execute if score chest.type board matches 2 run function small_games/chess/boom/start +# execute if score chest.type board matches 3 run function small_games/chess/go/start +execute if score chest.type board matches 4 run function small_games/chess/gojp/start +execute if score chest.type board matches 3 run tellraw @s ["\u00a7c正在制作中..."] +# execute if score chest.type board matches 4 run function small_games/chess/gojp/start diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/teststart.mcfunction new file mode 100644 index 00000000..7e3de6bc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=chestgame,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score chess.state state matches 1.. run function minecraft:small_games/chess/spec +execute unless score chess.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score chess.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score chess.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:small_games/chess/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/tick.mcfunction new file mode 100644 index 00000000..32a8bbd7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/tick.mcfunction @@ -0,0 +1,6 @@ + +execute if score chest.type board matches 1 if score chess.state state matches 1 run function small_games/chess/five/tick +execute if score chest.type board matches 2 if score chess.state state matches 1 run function small_games/chess/boom/tick +execute if score chest.type board matches 3 if score chess.state state matches 1 run function small_games/chess/go/tick +execute if score chest.type board matches 4 if score chess.state state matches 1 run function small_games/chess/gojp/tick +# execute as @a[team=chestgame] at @s if block ~ ~-1 ~ lime_glazed_terracotta run effect give @s levitation 2 25 true \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/chess/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/chess/tp.mcfunction new file mode 100644 index 00000000..b2fbf7e8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/chess/tp.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set chess.state state 0 +gamemode adventure @a[team=chestgame,gamemode=spectator] +execute as @a[team=chestgame,gamemode=adventure] run function small_games/chess/join + +kill @e[type=marker,tag=chess.marker] +kill @e[type=marker,tag=chess.point] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/get_random_game.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/get_random_game.mcfunction new file mode 100644 index 00000000..440eb9c2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/get_random_game.mcfunction @@ -0,0 +1,55 @@ +scoreboard players reset count.1 board +scoreboard players reset count.2 board +execute as @e[type=marker,tag=random_game] run scoreboard players add count.1 board 1 +scoreboard players set count.4 board 0 +execute as @a[tag=play.total] run scoreboard players add count.4 board 1 +execute as @e[type=marker,tag=random_game_able] run scoreboard players add count.2 board 1 +scoreboard players operation count.3 board = count.1 board +scoreboard players set 1 board 1 +scoreboard players operation count.3 board -= count.2 board +scoreboard players operation count.3 board += 1 board + + +execute unless entity @e[type=marker,tag=random_game_able,limit=1,sort=random] run function small_games/total/over +execute as @e[type=marker,tag=random_game_able,limit=1,sort=random] run tag @s add random_game_sel +execute if score count.4 board matches ..1 run function small_games/total/neover +execute if score count.4 board matches ..1 run tag @e[tag=random_game_sel] remove random_game_sel +execute as @e[tag=random_game_sel] run tag @s remove random_game_able +execute as @e[tag=random_game_sel] run scoreboard players operation total.game board = @s board +execute as @e[tag=random_game_sel] run tellraw @a[team=play.total] ["\n \u00a7a\u00a7l下一局游戏 \u00a7e(",{"score":{"name": "count.3","objective": "board"},"color":"aqua"},"\u00a7e/",{"score":{"name": "count.1","objective": "board"},"color":"aqua"},"\u00a7e)\u00a7a\u00a7l:",{"selector":"@s","color":"light_purple","bold":true},"\n \u00a7e将会在 \u00a7c5 \u00a7e秒后开始。\n"] +execute as @e[tag=random_game_sel] run title @a[team=play.total] title ["\u00a7b下一轮游戏"] +execute as @e[tag=random_game_sel] run title @a[team=play.total] subtitle [{"selector":"@s","color":"light_purple","bold":true}] + +execute as @e[tag=random_game_sel] as @a[tag=play.total] at @s run playsound entity.generic.explode player @s ~ ~ ~ 1 2 1 +## Testfor if the game has been on +# Car 1 +# Snow TNTRUN 2 +# Snow Pick 3 +# Repeling 4 +# Color 5 +# Block Believer 6 +# Muder Mystery 7 +# Duel 8 +# Hot Potato 9 +# Pool War 10 +scoreboard players set error state 0 +execute if score total.game board matches 1..1 if score hide.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 2..2 if score snow.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 3..3 if score snow.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 4..4 if score repel state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 5..5 if score color.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 6..6 if score beli.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 7..7 if score hide2.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 8..8 if score duel.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 9..9 if score hotpot.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 10..10 if score pw.state state matches 1.. run scoreboard players set error state 1 +execute if score total.game board matches 11..11 if score tnt.state state matches 1.. run scoreboard players set error state 1 +# execute if score total.game board matches 10..10 run +## Failure: Retry +execute as @e[tag=random_game_sel] run execute if score error state matches 1.. run function small_games/total/next_game_fail +# execute as @e[tag=random_game_sel] run tag @s remove random_game_able +## Success: Start the game +execute as @e[tag=random_game_sel] run tag @s remove random_game_sel + +execute unless score error state matches 1.. run schedule function small_games/total/start_next_game 5s +scoreboard players reset error state diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/join.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/join.mcfunction new file mode 100644 index 00000000..cb28f2d5 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/join.mcfunction @@ -0,0 +1,10 @@ +clear @s +tp @s 214.0 80 138.0 0 0 +team join wait.total @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.total,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @a[team=!wait.total] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"小游戏合集","color":"#afd3ff","bold": true}," \u00a77!"] +tellraw @a[team=wait.total] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +execute if score gametotal state matches 1.. as @s run function small_games/total/spec + +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/neover.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/neover.mcfunction new file mode 100644 index 00000000..c52c68ea --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/neover.mcfunction @@ -0,0 +1,6 @@ +tag @a remove total.win +tellraw @a ["\u00a7b\u00a7l小游戏合集 \u00a72游戏结束!"] +title @a[team=play.total] title ["\u00a7cGAME OVER"] +title @a[team=play.total] subtitle ["\u00a7b意外结束了游戏"] +schedule function small_games/total/tp 5s +scoreboard players set gametotal state 2000 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/next_game.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/next_game.mcfunction new file mode 100644 index 00000000..b0a2b821 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/next_game.mcfunction @@ -0,0 +1,11 @@ +gamemode spectator @a[tag=play.total] +# title @a[tag=play.total] title ["\u00a7b\u00a7lGame Total"] +# title @a[tag=play.total] title ["\u00a7a\u00a7lGame Total"] + +title @a[tag=play.total] actionbar ["\u00a7e\u00a7l即将选择下一个小游戏"] +clear @a[tag=play.total] +effect clear @a[tag=play.total] +tp @a[tag=play.total] 213 97 157 180 0 +team join play.total @a[tag=play.total] +execute as @a[tag=play.total] at @s run playsound entity.experience_orb.pickup player @s +schedule function small_games/total/get_random_game 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/next_game_fail.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/next_game_fail.mcfunction new file mode 100644 index 00000000..ad6c1ae9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/next_game_fail.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[team=play.total] ["\u00a7c\u00a7l很抱歉,这个游戏已经开始了。将在\u00a76\u00a7l5\u00a7c\u00a7l秒后重试"] +title @a[team=play.total] title ["\u00a7c抱歉!"] +title @a[team=play.total] subtitle ["\u00a7b我们将在 \u00a7e5 \u00a7b秒后重试"] +tag @s add random_game_able +schedule function small_games/total/get_random_game 5s diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/over.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/over.mcfunction new file mode 100644 index 00000000..bce7d23f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/over.mcfunction @@ -0,0 +1,13 @@ +tellraw @a ["\u00a7b\u00a7l小游戏派对 \u00a72游戏结束!"] +tag @a remove total.win +scoreboard players reset total.best board +execute as @a[team=play.total] run scoreboard players operation total.best board > @s score +execute as @a[team=play.total] if score @s score = total.best board run tag @s add total.win +title @a[team=play.total] title ["\u00a7cGAME OVER"] +title @a[team=play.total,tag=total.win] title ["\u00a76YOU WIN"] + +title @a[team=play.total] subtitle ["\u00a7b获胜者:",{"selector":"@a[tag=total.win]"}] +tellraw @a[team=play.total] ["\u00a7b获胜者:",{"selector":"@a[tag=total.win]"}] +tag @a remove total.win +schedule function small_games/total/tp 5s +scoreboard players set gametotal state 2000 diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/rejoin.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/rejoin.mcfunction new file mode 100644 index 00000000..faa9ced4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/rejoin.mcfunction @@ -0,0 +1,7 @@ +scoreboard players reset @s leave +execute as @s at @s run tellraw @a[tag=play.total] [{"selector":"@s"},"\u00a77 重新加入了游戏。"] +tellraw @s ["\n\u00a77 本次游戏仍然有效,您已加入游戏!\n \u00a77您可以使用 \u00a76/trigger hub\u00a77返回大厅\n"] +team join play.total +tag @s add play.total +gamemode spectator @s +tp @s @r[tag=play.total,gamemode=adventure] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/reset.mcfunction new file mode 100644 index 00000000..38a57d51 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/reset.mcfunction @@ -0,0 +1,4 @@ +scoreboard players reset * score +scoreboard players reset total.snow.tntrun state +scoreboard players reset total.snow.pick state +tag @e[tag=random_game] add random_game_able \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/second.mcfunction new file mode 100644 index 00000000..931f3fd6 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/second.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set count.4 board 0 +execute as @a[tag=play.total] run scoreboard players add count.4 board 1 +execute if score gametotal state matches 1..1000 if score count.4 board matches ..1 run function small_games/total/neover +# execute if score count.4 board matches ..1 run function small_games/total/neover \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/spec.mcfunction new file mode 100644 index 00000000..0634dd07 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/spec.mcfunction @@ -0,0 +1,4 @@ +gamemode spectator @s +team join play.total @s +tellraw @s ["\u00a7c抱歉!游戏已经开始了。您将在下一个小游戏加入!"] +tag @s add play.total \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/start.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/start.mcfunction new file mode 100644 index 00000000..f1452c0a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/start.mcfunction @@ -0,0 +1,9 @@ +tellraw @a ["\u00a7b\u00a7l小游戏合集 \u00a7a游戏开始。"] +scoreboard players add globle globle.game 1 +scoreboard players operation game.total globle.game = globle globle.game +scoreboard players operation @a[team=wait.total] globle.game = game.total globle.game +scoreboard players set gametotal state 1 +team join play.total @a[team=wait.total] +tag @a[team=play.total] add play.total +function small_games/total/reset +function small_games/total/next_game \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/start_next_game.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/start_next_game.mcfunction new file mode 100644 index 00000000..ddde565f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/start_next_game.mcfunction @@ -0,0 +1,37 @@ +# Car 1 +# Snow TNTRUN 2 +# Snow Pick 3 +# Repeling 4 +# Color 5 +# Block Believer 6 +# Muder Mystery 7 +# Duel 8 +# Hot Potato 9 +# Pool War 10 +gamemode adventure @a[tag=play.total] +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 1..1 run execute as @a[tag=play.total] run function hideseek/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 1..1 run schedule function hideseek/trystart 1s +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 2..2 run execute as @a[tag=play.total] run function snow/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 2..2 run scoreboard players set snow.tntrun state 1 +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 2..2 run function snow/trystart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 3..3 run scoreboard players set snow.tntrun state 0 +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 3..3 run execute as @a[tag=play.total] run function snow/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 3..3 run function snow/trystart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 5..5 run execute as @a[tag=play.total] run function color/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 5..5 run function color/teststart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 4..4 run execute as @a[tag=play.total] run team join wait.repel @s +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 4..4 run function repel/start +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 6..6 run execute as @a[tag=play.total] run function believer/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 6..6 run function believer/teststart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 7..7 run execute as @a[tag=play.total] run function hideseek/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 7..7 run function hideseek/trystart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 8..8 run execute as @a[tag=play.total] run function duel/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 8..8 as @r[tag=play.total] run function duel/teststart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 9..9 run execute as @a[tag=play.total] run function hotpotever/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 9..9 run function hotpotever/teststart +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 10..10 run execute as @a[tag=play.total] run function poolwar/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 10..10 run function poolwar/teststart + + +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 11..11 run execute as @a[tag=play.total] run function tntwars/join +execute as @a[tag=play.total,limit=1,sort=random] if score total.game board matches 11..11 run function tntwars/trystart diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/start_second.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/start_second.mcfunction new file mode 100644 index 00000000..8b239674 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/start_second.mcfunction @@ -0,0 +1 @@ +execute if score gametotal state matches 1.. as @a[team=wait.total] run function small_games/total/spec \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/teststart.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/teststart.mcfunction new file mode 100644 index 00000000..a08c7b96 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/teststart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.total,gamemode=adventure] run scoreboard players add wait.player tick 1 +scoreboard players add gametotal state 0 +# execute if score pw.state state matches 1.. run function minecraft:poolwar/spec +execute unless score gametotal state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score gametotal state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score gametotal state matches 1.. if score wait.player tick matches 2.. run function minecraft:small_games/total/start diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/tick.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_all/data/minecraft/functions/small_games/total/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/small_games/total/tp.mcfunction new file mode 100644 index 00000000..9d7541ff --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/small_games/total/tp.mcfunction @@ -0,0 +1,5 @@ +scoreboard players set gametotal state 0 +# gamemode survival @a[tag=play.total] +execute as @a[tag=play.total] in overworld run gamemode adventure @s +execute as @a[tag=play.total] in overworld run function small_games/total/join +tag @a[tag=play.total] remove play.total \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/final.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/final.mcfunction new file mode 100644 index 00000000..de96defb --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/final.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[team=play.snow,gamemode=adventure] ["\u00a7c死亡决赛开始!\n\u00a7c边缘开始缩圈!"] +# fill -18 24 -78 -26 24 -70 snow_block +# execute as @a[team=play.snow,gamemode=adventure] at @s run spreadplayers -22 -74 0 3 under 27 false @s +# schedule function minecraft:snow/final 80s +schedule function minecraft:snow/smaller/remove1 5s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/join.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/join.mcfunction new file mode 100644 index 00000000..6ad15e99 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/join.mcfunction @@ -0,0 +1,8 @@ +tp @s -22 31 -74 -90 0 +clear @s +effect clear @s +gamemode adventure @s[gamemode=!creative] +execute as @s run tellraw @a ["\u00a7a[MESSAGE] ",{"selector":"@s"},"\u00a77 Joined \u00a7fSnow \u00a77."] +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator +team join wait.snow @s \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/map/demo.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/map/demo.mcfunction new file mode 100644 index 00000000..ba19d049 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/map/demo.mcfunction @@ -0,0 +1,4 @@ +# forceload add 3 -49 -47 -99 +fill 3 8 -49 -47 8 -99 minecraft:snow_block +fill 3 14 -49 -47 14 -99 minecraft:snow_block +# forceload remove 3 -49 -47 -99 diff --git a/datapacks/map_all/data/minecraft/functions/snow/map/onlyone.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/map/onlyone.mcfunction new file mode 100644 index 00000000..634e7866 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/map/onlyone.mcfunction @@ -0,0 +1 @@ +fill 3 14 -49 -47 14 -99 minecraft:snow_block \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/map/smallvillage.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/map/smallvillage.mcfunction new file mode 100644 index 00000000..aa8972fc --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/map/smallvillage.mcfunction @@ -0,0 +1,7 @@ +forceload add -113 -113 -63 -63 +clone -113 20 -113 -63 29 -63 -47 20 -99 +clone -113 10 -113 -63 20 -63 -47 10 -99 +clone -113 3 -113 -63 10 -63 -47 3 -99 +fill -30 17 -49 -32 17 -83 dirt_path +fill -47 17 -81 3 17 -83 dirt_path +forceload remove -113 -113 -63 -63 diff --git a/datapacks/map_all/data/minecraft/functions/snow/map/towner.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/map/towner.mcfunction new file mode 100644 index 00000000..46b90762 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/map/towner.mcfunction @@ -0,0 +1,7 @@ +forceload add -166 -113 -116 -63 + +clone -166 3 -113 -116 10 -63 -47 3 -99 +clone -166 11 -113 -116 20 -63 -47 11 -99 +clone -166 21 -113 -116 29 -63 -47 21 -99 + +forceload remove -166 -113 -116 -63 diff --git a/datapacks/map_all/data/minecraft/functions/snow/reset.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/reset.mcfunction new file mode 100644 index 00000000..d4f74196 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/reset.mcfunction @@ -0,0 +1,30 @@ +forceload add 3 -49 -47 -99 + +fill 3 29 -49 -47 20 -99 air replace snow +fill 3 20 -49 -47 10 -99 air replace snow +fill 3 10 -49 -47 3 -99 air replace snow +fill 3 29 -49 -47 20 -99 air replace torch +fill 3 20 -49 -47 10 -99 air replace torch +fill 3 10 -49 -47 3 -99 air replace torch +fill 3 29 -49 -47 20 -99 air replace #minecraft:doors +fill 3 20 -49 -47 10 -99 air replace #minecraft:doors +fill 3 10 -49 -47 3 -99 air replace #minecraft:doors +fill 3 29 -49 -47 20 -99 air +fill 3 20 -49 -47 10 -99 air +fill 3 10 -49 -47 3 -99 air +execute positioned -21.5 11 -73.5 run kill @e[type=item,distance=0..40] + +scoreboard players set snow.sq board 0 + +## scoreboard players set snow.mode board 0 +scoreboard players add snow.mode board 0 +execute if score snow.mode board matches 0..0 run function minecraft:snow/map/demo +execute if score snow.mode board matches 1..1 run function minecraft:snow/map/smallvillage +execute if score snow.mode board matches 2..2 run function minecraft:snow/map/towner +execute if score snow.mode board matches 3..3 run function minecraft:snow/map/onlyone + +kill @e[tag=snow.tp] + +forceload remove 3 -49 -47 -99 +schedule clear minecraft:snow/final +schedule clear minecraft:snow/smaller/remove1 diff --git a/datapacks/map_all/data/minecraft/functions/snow/second.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/second.mcfunction new file mode 100644 index 00000000..61b99ca9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/second.mcfunction @@ -0,0 +1,31 @@ +execute if score snow.state state matches 1.. run function minecraft:snow/testfor +effect give @a[team=wait.snow] resistance 2 25 true +effect give @a[team=play.snow] resistance 2 25 true + +execute if score snow.state state matches 2.. if score snow.tntrun.start tick matches ..0 run function minecraft:snow/tntrun/startfall +execute if score snow.state state matches 2.. run scoreboard players remove snow.tntrun.start tick 1 +execute if score snow.state state matches 2.. run title @a[team=play.snow] actionbar ["\u00a7b方块即将在 ",{"score":{"objective": "tick","name":"snow.tntrun.start"},"color":"green"},"\u00a7a seconds 后开始掉落 \u00a7b !"] + +tag @a[tag=bw.player] remove bw.player +tag @a[team=bw.blue] add bw.player +tag @a[team=bw.green] add bw.player +tag @a[team=bw.yellow] add bw.player +tag @a[team=bw.red] add bw.player +tag @a[team=bw.wait] add bw.player + + +execute if entity @a[tag=bw.player] run function minecraft:bedwars/second +execute if entity @a[tag=parkouring,team=lobby] run function minecraft:npark/second +execute if entity @a[team=parkour] run function minecraft:lpark/second +execute if entity @a[tag=mazing,team=lobby] run function minecraft:maze/second +execute if score color.state state matches 1.. run function minecraft:color/second +execute if score hotpot.state state matches 1.. run function minecraft:hotpotever/second +function minecraft:job_pvp/second +effect give @a[team=play.snow] minecraft:night_vision 20 25 true +execute if score zombie.state state matches 1.. run function minecraft:zombieever/second + +execute if score killer.state state matches 1.. run function minecraft:killerever/second +execute if score duel.state state matches 1.. run function minecraft:duel/second + + +execute unless entity @a[team=job_pvp] run kill @e[tag=pvp.car] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/smaller/doit.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/smaller/doit.mcfunction new file mode 100644 index 00000000..f12eb79c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/smaller/doit.mcfunction @@ -0,0 +1,42 @@ +# 3 17 -74 -> 2 17 -74 +# fill 3 3 -99 -47 29 -99 air replace #minecraft:snowmineable +# fill 3 29 -49 -47 3 -49 air replace #minecraft:snowmineable +# fill 3 3 -99 3 29 -49 air replace #minecraft:snowmineable -> 2 +# fill 3 3 -49 -47 29 -49 air replace #minecraft:snowmineable + +# 3 17 -74: fill ~ ~ ~-25 ~ ~ ~25 air replace #minecraft:snowmineable +summon marker 3 3 -74 {Tags:["snow.tp"]} +scoreboard players operation snow.tp board = snow.sq board +execute as @e[tag=snow.tp] at @s run function snow/smaller/move1 +execute as @e[tag=snow.tp] at @s run fill ~ 3 ~-25 ~ 29 ~25 air replace #minecraft:snowmineable +execute as @e[tag=snow.tp] at @s run tp @s ~-1 ~ ~ +execute as @e[tag=snow.tp] at @s run fill ~ 3 ~-25 ~ 29 ~25 snow_block replace #minecraft:snowmineable + +kill @e[tag=snow.tp] + +summon marker -47 3 -74 {Tags:["snow.tp"]} +scoreboard players operation snow.tp board = snow.sq board +execute as @e[tag=snow.tp] at @s run function snow/smaller/move2 +execute as @e[tag=snow.tp] at @s run fill ~ 3 ~-25 ~ 29 ~25 air replace #minecraft:snowmineable +execute as @e[tag=snow.tp] at @s run tp @s ~1 ~ ~ +execute as @e[tag=snow.tp] at @s run fill ~ 3 ~-25 ~ 29 ~25 snow_block replace #minecraft:snowmineable + +kill @e[tag=snow.tp] + +summon marker -22 3 -49 {Tags:["snow.tp"]} +scoreboard players operation snow.tp board = snow.sq board +execute as @e[tag=snow.tp] at @s run function snow/smaller/move3 +execute as @e[tag=snow.tp] at @s run fill ~-25 3 ~ ~25 29 ~ air replace #minecraft:snowmineable +execute as @e[tag=snow.tp] at @s run tp @s ~ ~ ~-1 +execute as @e[tag=snow.tp] at @s run fill ~-25 3 ~ ~25 29 ~ snow_block replace #minecraft:snowmineable + +kill @e[tag=snow.tp] + +summon marker -22 18 -99 {Tags:["snow.tp"]} +scoreboard players operation snow.tp board = snow.sq board +execute as @e[tag=snow.tp] at @s run function snow/smaller/move4 +execute as @e[tag=snow.tp] at @s run fill ~-25 3 ~ ~25 29 ~ air replace #minecraft:snowmineable +execute as @e[tag=snow.tp] at @s run tp @s ~ ~ ~1 +execute as @e[tag=snow.tp] at @s run fill ~-25 3 ~ ~25 29 ~ snow_block replace #minecraft:snowmineable + +kill @e[tag=snow.tp] diff --git a/datapacks/map_all/data/minecraft/functions/snow/smaller/move1.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/smaller/move1.mcfunction new file mode 100644 index 00000000..0d95ca9e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/smaller/move1.mcfunction @@ -0,0 +1,3 @@ +execute if score snow.tp board matches 1.. at @s run tp @s ~-1 ~ ~ +execute if score snow.tp board matches 1.. run scoreboard players remove snow.tp board 1 +execute if score snow.tp board matches 1.. at @s run function snow/smaller/move1 diff --git a/datapacks/map_all/data/minecraft/functions/snow/smaller/move2.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/smaller/move2.mcfunction new file mode 100644 index 00000000..63ce068f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/smaller/move2.mcfunction @@ -0,0 +1,3 @@ +execute if score snow.tp board matches 1.. at @s run tp @s ~1 ~ ~ +execute if score snow.tp board matches 1.. at @s run scoreboard players remove snow.tp board 1 +execute if score snow.tp board matches 1.. at @s run function snow/smaller/move2 diff --git a/datapacks/map_all/data/minecraft/functions/snow/smaller/move3.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/smaller/move3.mcfunction new file mode 100644 index 00000000..21912ad8 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/smaller/move3.mcfunction @@ -0,0 +1,3 @@ +execute if score snow.tp board matches 1.. at @s run tp @s ~ ~ ~-1 +execute if score snow.tp board matches 1.. at @s run scoreboard players remove snow.tp board 1 +execute if score snow.tp board matches 1.. at @s run function snow/smaller/move3 diff --git a/datapacks/map_all/data/minecraft/functions/snow/smaller/move4.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/smaller/move4.mcfunction new file mode 100644 index 00000000..be053953 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/smaller/move4.mcfunction @@ -0,0 +1,3 @@ +execute if score snow.tp board matches 1.. at @s run tp @s ~ ~ ~1 +execute if score snow.tp board matches 1.. at @s run scoreboard players remove snow.tp board 1 +execute if score snow.tp board matches 1.. at @s run function snow/smaller/move4 diff --git a/datapacks/map_all/data/minecraft/functions/snow/smaller/remove1.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/smaller/remove1.mcfunction new file mode 100644 index 00000000..6480aa00 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/smaller/remove1.mcfunction @@ -0,0 +1,3 @@ +execute if score snow.sq board matches ..22 run schedule function minecraft:snow/smaller/remove1 5s +execute if score snow.sq board matches ..22 run function snow/smaller/doit +execute if score snow.sq board matches ..22 run scoreboard players add snow.sq board 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/start.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/start.mcfunction new file mode 100644 index 00000000..c75fb89c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/start.mcfunction @@ -0,0 +1,20 @@ +function minecraft:snow/reset +scoreboard players set play.snow.debug state 0 +scoreboard players set snow.state state 1 +execute as @a[team=wait.snow,gamemode=adventure] run spreadplayers -22 -74 0 20 under 26 false @s +team join play.snow @a[team=wait.snow,gamemode=adventure] +schedule clear minecraft:snow/final +title @a[team=play.snow] title ["\u00a7f\u00a7lSNOW"] +title @a[team=play.snow] subtitle ["\u00a7a游戏开始 !"] + +scoreboard players set snow.tntrun.start tick 6 +execute if score snow.tntrun state matches 1.. run scoreboard players set snow.state state 2 +execute unless score snow.tntrun state matches 1..1 run schedule function minecraft:snow/final 80s +execute unless score snow.tntrun state matches 1..1 run tellraw @a[team=play.snow] ["\u00a7a死亡决赛将在 \u00a7680 seconds\u00a7a后开始!"] +execute if score snow.tntrun state matches 1 run title @a[team=play.snow] title ["\u00a7a\u00a7lTNTRUN"] +execute if score snow.tntrun state matches 2 run title @a[team=play.snow] title ["\u00a7e\u00a7l混合模式(掘一死战 + TNTRUN)"] +execute if score snow.tntrun state matches 0 run title @a[team=play.snow] title ["\u00a7b\u00a7l掘一死战"] + +tellraw @a[team=play.snow,tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @a[team=play.snow,tag=GOABLE.SPEC] at @s run gamemode spectator +function fix:snow/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/test.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/test.mcfunction new file mode 100644 index 00000000..f0de16d0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/test.mcfunction @@ -0,0 +1,2 @@ +function minecraft:snow/start +scoreboard players set play.snow.debug state 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/testfor.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/testfor.mcfunction new file mode 100644 index 00000000..de17773c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/testfor.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set play.snow.player tick 0 +execute as @a[team=play.snow,gamemode=adventure] run scoreboard players add play.snow.player tick 1 +execute if score play.snow.player tick matches ..1 unless score play.snow.debug state matches 1..1 run function minecraft:snow/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/tick.mcfunction new file mode 100644 index 00000000..e66a1259 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/tick.mcfunction @@ -0,0 +1,35 @@ +execute as @a[team=play.snow,gamemode=adventure] at @s if block ~ ~-1 ~ minecraft:magma_block run function minecraft:snow/died +# execute if score snow.state state matches 1.. run kill @e[type=item,nbt={Item:{id:"minecraft:snowball"}}] +kill @e[type=item,nbt={Item:{tag:{snow:1}}}] + +clear @a[team=play.snow] #minecraft:snowmineable +execute as @a[team=play.snow,gamemode=adventure] at @s run kill @e[type=item,distance=0..5] +execute as @e[type=item] at @s if block ~ ~-1 ~ magma_block run kill @s +execute if score snow.state state matches 1..1 if score snow.tntrun state matches 1.. run function minecraft:snow/tntrun/tick + +execute if entity @a[tag=bw.player] run function minecraft:bedwars/tick +execute if entity @a[tag=parkouring,team=lobby] run function minecraft:npark/tick +execute if entity @a[team=parkour] run function minecraft:lpark/tick +execute if entity @a[tag=mazing,team=lobby] run function minecraft:maze/tick +execute if score beli.state state matches 1.. run function minecraft:believer/tick +execute if score color.state state matches 1.. run function minecraft:color/tick +execute if score beli.state state matches 1.. run function minecraft:believer/second +execute if score hotpot.state state matches 1.. run function minecraft:hotpotever/tick +execute if entity @a[team=job_pvp] run function minecraft:job_pvp/tick +execute if score killer.state state matches 1.. run function minecraft:killerever/tick +execute if score zombie.state state matches 1.. run function minecraft:zombieever/tick +scoreboard players reset @a[scores={zombie.hurt=1..}] zombie.hurt +execute if score duel.state state matches 1.. run function minecraft:duel/tick + +scoreboard players reset @a[scores={JOBPVP.die=1..}] JOBPVP.die + + +scoreboard players reset @a[scores={hp.hurt=0..},team=!play.hotpot.k] hp.hurt +scoreboard players reset @a[scores={hp.gethurt=0..}] hp.gethurt + +scoreboard players reset @a[scores={eat.goldapple=0..}] eat.goldapple +scoreboard players reset @a[scores={eat.glow=0..}] eat.glow + +scoreboard players reset @a[scores={zombie.died=1..}] zombie.died + +scoreboard players reset @a[scores={parkour=1..}] parkour diff --git a/datapacks/map_all/data/minecraft/functions/snow/tntrun/setsnow.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/tntrun/setsnow.mcfunction new file mode 100644 index 00000000..1e775b3b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/tntrun/setsnow.mcfunction @@ -0,0 +1,9 @@ +summon minecraft:marker ~ ~-0.8 ~ {Tags:["snow.new"],Invulnerable:1b,Silent:1b,NoGravity:1b} +summon minecraft:marker ~-1 ~-0.8 ~ {Tags:["snow.new"],Invulnerable:1b,Silent:1b,NoGravity:1b} +summon minecraft:marker ~1 ~-0.8 ~ {Tags:["snow.new"],Invulnerable:1b,Silent:1b,NoGravity:1b} +summon minecraft:marker ~ ~-0.8 ~-1 {Tags:["snow.new"],Invulnerable:1b,Silent:1b,NoGravity:1b} +summon minecraft:marker ~ ~-0.8 ~1 {Tags:["snow.new"],Invulnerable:1b,Silent:1b,NoGravity:1b} +execute as @e[tag=snow.new,type=marker] at @s unless block ~ ~ ~ #minecraft:snowmineable run kill @s +scoreboard players set @e[type=marker,tag=snow.new] snow.tick 12 +tag @e[type=marker,tag=snow.new] add snow.disa +tag @e[type=marker,tag=snow.new] remove snow.new \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/tntrun/setting/change.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/tntrun/setting/change.mcfunction new file mode 100644 index 00000000..493b47dd --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/tntrun/setting/change.mcfunction @@ -0,0 +1,4 @@ +playsound ui.button.click player @s +execute if score snow.tntrun state matches 1..1 run tellraw @s ["\u00a7a[Settings] \u00a7bNow the game mode changes to \u00a7eTNTRUN \u00a7bmode."] +execute unless score snow.tntrun state matches 1..1 unless score snow.tntrun state matches 2..2 run tellraw @s ["\u00a7a[Settings] \u00a7bNow the game mode changes to \u00a7eNormal \u00a7bmode."] +execute if score snow.tntrun state matches 2..2 run tellraw @s ["\u00a7a[Settings] \u00a7bNow the game mode changes to \u00a7eDig and Run \u00a7bmode."] diff --git a/datapacks/map_all/data/minecraft/functions/snow/tntrun/startfall.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/tntrun/startfall.mcfunction new file mode 100644 index 00000000..5d6b17ac --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/tntrun/startfall.mcfunction @@ -0,0 +1,2 @@ +scoreboard players set snow.state state 1 +tellraw @a[team=play.snow] ["\u00a7a[TNTRUN] \u00a7bThe blocks started to fall!"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/tntrun/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/tntrun/tick.mcfunction new file mode 100644 index 00000000..767ed9e3 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/tntrun/tick.mcfunction @@ -0,0 +1,7 @@ +execute as @a[team=play.snow,gamemode=adventure] at @s unless entity @e[tag=snow.disa,distance=0..1] run function minecraft:snow/tntrun/setsnow +execute as @e[tag=snow.disa,type=marker] at @s unless block ~ ~ ~ #minecraft:snowmineable run kill @s +execute as @e[tag=snow.disa,type=marker] at @s if score @s snow.tick matches ..0 run tag @s add snow.die +execute as @e[tag=snow.die,type=marker] at @s if block ~ ~ ~ #minecraft:snowmineable run setblock ~ ~ ~ air +execute as @e[tag=snow.die,type=marker] at @s run kill @e[type=item,distance=0..2] +execute as @e[tag=snow.die,type=marker] at @s run kill @s +scoreboard players remove @e[tag=snow.disa,type=marker] snow.tick 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/snow/trystart.mcfunction b/datapacks/map_all/data/minecraft/functions/snow/trystart.mcfunction new file mode 100644 index 00000000..9dc63350 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/snow/trystart.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set wait.snow.player tick 0 +playsound ui.button.click player @s +execute as @a[team=wait.snow,gamemode=adventure] run scoreboard players add wait.snow.player tick 1 + +execute if score snow.state state matches 1.. run function minecraft:snow/spec +execute unless score snow.state state matches 1.. if score wait.snow.player tick matches ..1 run function minecraft:snow/notenough +execute unless score snow.state state matches 1.. if score wait.snow.player tick matches 2.. run function minecraft:snow/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/calcpeople.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/calcpeople.mcfunction new file mode 100644 index 00000000..fd74aa03 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/calcpeople.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set TNT.a.player tick 0 +scoreboard players set TNT.b.player tick 0 +execute as @a[team=play.tntwars,tag=tntwars.a,gamemode=adventure] run scoreboard players add TNT.a.player tick 1 +execute as @a[team=play.tntwars,tag=tntwars.b,gamemode=adventure] run scoreboard players add TNT.b.player tick 1 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/cleanmap.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/cleanmap.mcfunction new file mode 100644 index 00000000..f8ca06af --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/cleanmap.mcfunction @@ -0,0 +1,18 @@ + +forceload add 465 281 539 355 +fill 465 -63 281 539 -61 355 air +fill 465 -60 281 539 -56 355 air +fill 465 -55 281 539 -51 355 air +fill 465 -50 281 539 -46 355 air +fill 465 -45 281 539 -41 355 air +fill 465 -40 281 539 -36 355 air +fill 465 -35 281 539 -31 355 air +fill 465 -30 281 539 -26 355 air +fill 465 -25 281 539 -21 355 air +fill 465 -20 281 539 -16 355 air +fill 465 -15 281 539 -11 355 air +fill 465 -10 281 539 -6 355 air +fill 465 -2 281 539 -5 355 air + +execute in overworld positioned 502 -38 315 run kill @e[type=item,distance=0..60] +forceload remove 465 281 539 355 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/die.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/die.mcfunction new file mode 100644 index 00000000..5e51aa5d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/die.mcfunction @@ -0,0 +1,16 @@ +tellraw @s ["\n\u00a7c你掉入了虚空,淘汰了。\n"] +gamemode spectator @s +clear @s +tp @s 471 -25 316 -90 0 +function tntwars/calcpeople + + +execute as @s[tag=tntwars.a] run tellraw @a[team=wait.tntwars] ["\u00a7a「队伍A」",{"selector":"@s"},"\u00a7c 淘汰了。\n\u00a76该队剩余玩家数量:",{"score":{"objective": "tick","name": "TNT.a.player"},"color": "green"}] +execute as @s[tag=tntwars.b] run tellraw @a[team=wait.tntwars] ["\u00a7b「队伍B」",{"selector":"@s"},"\u00a7c 淘汰了。\n\u00a76该队剩余玩家数量:",{"score":{"objective": "tick","name": "TNT.b.player"},"color": "green"}] +execute as @s[tag=tntwars.a] run tellraw @a[team=play.tntwars] ["\u00a7a「队伍A」",{"selector":"@s"},"\u00a7c 淘汰了。\n\u00a76该队剩余玩家数量:",{"score":{"objective": "tick","name": "TNT.a.player"},"color": "green"}] +execute as @s[tag=tntwars.b] run tellraw @a[team=play.tntwars] ["\u00a7b「队伍B」",{"selector":"@s"},"\u00a7c 淘汰了。\n\u00a76该队剩余玩家数量:",{"score":{"objective": "tick","name": "TNT.b.player"},"color": "green"}] + +execute as @a[team=wait.tntwars] at @s run playsound entity.player.death player @s ~ ~ ~ 1 1 0 +execute as @a[team=play.tntwars] at @s run playsound entity.player.death player @s ~ ~ ~ 1 1 0 + + diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/join.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/join.mcfunction new file mode 100644 index 00000000..3ad1139b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/join.mcfunction @@ -0,0 +1,17 @@ +tellraw @s ["\n \u00a7e※ \u00a7c「TNT Wars」\n\n\u00a7e \u00a76游戏规则\n\n\u00a7b 游戏开始后,玩家将被分为两组。\n\u00a7b 一定的时间后会生成物资(TNT投掷蛋)\n\u00a7b 使用此道具向对方投掷TNT,将对方\u00a7l扔下虚空\u00a7b!\n"] +title @s title ["\u00a7c\u00a7lTNT Wars"] +title @s subtitle ["\u00a7fBoom Boom Boom!"] +tp @s 502 20 240 0 0 +execute at @s run playsound entity.player.levelup player @s ~ ~ ~ 10 2 1 + +team join wait.tntwars + +tag @s remove tntwars.a +tag @s remove tntwars.b +gamemode adventure @s +clear @s +xp set @s 0 levels +xp set @s 0 points + +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/longsecond.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/longsecond.mcfunction new file mode 100644 index 00000000..dcba5e12 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/longsecond.mcfunction @@ -0,0 +1,2 @@ +execute as @a[team=play.tntwars,gamemode=adventure] at @s run loot give @s loot tntwars/tnttool +# execute as @a[team=play.tntwars,gamemode=adventure] at @s run loot give @s loot tntwars/tnttool \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/last.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/last.mcfunction new file mode 100644 index 00000000..29f06e1b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/last.mcfunction @@ -0,0 +1,3 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score tntwars.map state matches 1.. run scoreboard players remove tntwars.map state 1 +function tntwars/mapselector/show \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/next.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/next.mcfunction new file mode 100644 index 00000000..c726fc71 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/next.mcfunction @@ -0,0 +1,3 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score tntwars.map state matches ..1 run scoreboard players add tntwars.map state 1 +function tntwars/mapselector/show \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/show.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/show.mcfunction new file mode 100644 index 00000000..19f23bea --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/mapselector/show.mcfunction @@ -0,0 +1,3 @@ +execute if score tntwars.map state matches ..0 run data modify block 496 21 240 front_text.messages[2] set value '"\\u00a7aBoat"' +execute if score tntwars.map state matches 1 run data modify block 496 21 240 front_text.messages[2] set value '"\\u00a7bBallon"' +execute if score tntwars.map state matches 2 run data modify block 496 21 240 front_text.messages[2] set value '"\\u00a7fCloud"' \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/over/over.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/over/over.mcfunction new file mode 100644 index 00000000..338da699 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/over/over.mcfunction @@ -0,0 +1,13 @@ +tag @a remove tntwars.a +tag @a remove tntwars.b +tellraw @a ["\u00a7cTNT Wars \u00a76游戏结束。"] +gamemode spectator @a[team=play.tntwars] +gamemode spectator @a[team=wait.tntwars] +scoreboard players set tnt.state state 3 +execute in overworld positioned 502 -38 315 run kill @e[type=item,distance=0..60] +team join play.tntwars @a[team=wait.tntwars] +tellraw @a[team=play.tntwars] ["\u00a7e游戏将在\u00a7c5\u00a7e秒后重置。"] +kill @e[type=!player,tag=tntwars.tnt] +schedule function tntwars/over/tp 5s +kill @e[tag=tnt.tntrain] +schedule function tntwars/cleanmap 2s diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/over/teama.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/over/teama.mcfunction new file mode 100644 index 00000000..79340f1b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/over/teama.mcfunction @@ -0,0 +1,9 @@ +title @a[team=play.tntwars] title ["\u00a7cGAME OVER"] +title @a[team=play.tntwars,tag=tntwars.a] title ["\u00a76YOU WON!"] +title @a[team=wait.tntwars] title ["\u00a7cGAME OVER"] +scoreboard players add @a[team=play.tntwars,tag=tntwars.a,tag=play.total] score 1 +title @a[team=play.tntwars] subtitle ["\u00a7a「队伍A」\u00a7f获胜!"] +title @a[team=wait.tntwars] subtitle ["\u00a7a「队伍A」\u00a7f获胜!"] +tellraw @a[team=wait.tntwars] ["\n\u00a7e ※ \u00a7c\u00a7lTNT Wars\n\u00a7a「队伍A」\u00a76获胜!\n"] +tellraw @a[team=play.tntwars] ["\n\u00a7e ※ \u00a7c\u00a7lTNT Wars\n\u00a7a「队伍A」\u00a76获胜!\n"] +function tntwars/over/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/over/teamb.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/over/teamb.mcfunction new file mode 100644 index 00000000..a1bc519e --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/over/teamb.mcfunction @@ -0,0 +1,9 @@ +title @a[team=play.tntwars] title ["\u00a7cGAME OVER"] +title @a[team=play.tntwars,tag=tntwars.b] title ["\u00a76YOU WON!"] +scoreboard players add @a[team=play.tntwars,tag=tntwars.b,tag=play.total] score 1 +title @a[team=wait.tntwars] title ["\u00a7cGAME OVER"] +title @a[team=play.tntwars] subtitle ["\u00a7b「队伍B」\u00a7f获胜!"] +title @a[team=wait.tntwars] subtitle ["\u00a7b「队伍B」\u00a7f获胜!"] +tellraw @a[team=wait.tntwars] ["\n\u00a7e ※ \u00a7c\u00a7lTNT Wars\n\u00a7b「队伍B」\u00a76获胜!\n"] +tellraw @a[team=play.tntwars] ["\n\u00a7e ※ \u00a7c\u00a7lTNT Wars\n\u00a7b「队伍B」\u00a76获胜!\n"] +function tntwars/over/over \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/over/tp.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/over/tp.mcfunction new file mode 100644 index 00000000..cdf13f1b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/over/tp.mcfunction @@ -0,0 +1,5 @@ +scoreboard players set tnt.state state 0 +execute if entity @a[team=play.tntwars,tag=play.total] run function small_games/total/next_game + +execute as @a[team=play.tntwars,gamemode=spectator] at @s run function tntwars/join +# \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/randomteam.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/randomteam.mcfunction new file mode 100644 index 00000000..fe69bed2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/randomteam.mcfunction @@ -0,0 +1,9 @@ +tag @a[tag=tnt.tanteam,sort=random,limit=1] add tnt.ransel +scoreboard players add rand board 1 +execute if score rand board matches 3.. run scoreboard players set rand board 1 +execute if score rand board matches ..1 run tag @a[tag=tnt.ransel] add tntwars.a + +execute if score rand board matches 2.. run tag @a[tag=tnt.ransel] add tntwars.b + +tag @a[tag=tnt.ransel] remove tnt.tanteam +tag @a[tag=tnt.ransel] remove tnt.ransel diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/ballon1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/ballon1.mcfunction new file mode 100644 index 00000000..67387d8c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/ballon1.mcfunction @@ -0,0 +1,25 @@ +forceload add 542 205 616 279 +forceload add 465 281 539 355 + +# 542 -3 205 616 -3 279 +fill 619 -63 355 693 -63 281 air +clone 542 -63 205 616 -61 279 465 -63 281 replace +clone 542 -60 205 616 -56 279 465 -60 281 replace +clone 542 -55 205 616 -51 279 465 -55 281 replace +clone 542 -50 205 616 -46 279 465 -50 281 replace +clone 542 -45 205 616 -41 279 465 -45 281 replace +clone 542 -40 205 616 -36 279 465 -40 281 replace +clone 542 -35 205 616 -31 279 465 -35 281 replace +clone 542 -30 205 616 -26 279 465 -30 281 replace +clone 542 -25 205 616 -21 279 465 -25 281 replace +clone 542 -20 205 616 -16 279 465 -20 281 replace +clone 542 -15 205 616 -11 279 465 -15 281 replace +clone 542 -10 205 616 -6 279 465 -10 281 replace +clone 542 -6 205 616 -2 279 465 -6 281 replace + +# clone 515 -45 279 490 -30 205 490 -45 281 replace +# clone 515 -29 279 490 -15 205 490 -29 281 replace +# clone 515 -15 279 490 -5 205 490 -15 281 replace +execute in overworld positioned 502 -38 315 run kill @e[type=item,distance=0..60] +forceload remove 542 205 616 279 +forceload remove 465 281 539 355 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/boat1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/boat1.mcfunction new file mode 100644 index 00000000..02f5f633 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/boat1.mcfunction @@ -0,0 +1,25 @@ +forceload add 465 205 539 279 +forceload add 465 281 539 355 + +fill 619 -63 355 693 -63 281 air + +clone 465 -63 205 539 -61 279 465 -63 281 replace +clone 465 -60 205 539 -56 279 465 -60 281 replace +clone 465 -55 205 539 -51 279 465 -55 281 replace +clone 465 -50 205 539 -46 279 465 -50 281 replace +clone 465 -45 205 539 -41 279 465 -45 281 replace +clone 465 -40 205 539 -36 279 465 -40 281 replace +clone 465 -35 205 539 -31 279 465 -35 281 replace +clone 465 -30 205 539 -26 279 465 -30 281 replace +clone 465 -25 205 539 -21 279 465 -25 281 replace +clone 465 -20 205 539 -16 279 465 -20 281 replace +clone 465 -15 205 539 -11 279 465 -15 281 replace +clone 465 -10 205 539 -6 279 465 -10 281 replace +clone 465 -6 205 539 -2 279 465 -6 281 replace + +# clone 515 -45 279 490 -30 205 490 -45 281 replace +# clone 515 -29 279 490 -15 205 490 -29 281 replace +# clone 515 -15 279 490 -5 205 490 -15 281 replace +execute in overworld positioned 502 -38 315 run kill @e[type=item,distance=0..60] +forceload remove 465 205 539 279 +forceload remove 465 281 539 355 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/cloud1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/cloud1.mcfunction new file mode 100644 index 00000000..d4c16fb0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/resetmaps/cloud1.mcfunction @@ -0,0 +1,27 @@ +forceload add 542 355 616 281 +forceload add 465 281 539 355 + +# /fill 542 -25 355 616 -26 281 +# 542 -3 205 616 -3 279 +fill 619 -63 355 693 -63 281 air + +clone 542 -63 355 616 -61 281 465 -63 281 replace +clone 542 -60 355 616 -56 281 465 -60 281 replace +clone 542 -55 355 616 -51 281 465 -55 281 replace +clone 542 -50 355 616 -46 281 465 -50 281 replace +clone 542 -45 355 616 -41 281 465 -45 281 replace +clone 542 -40 355 616 -36 281 465 -40 281 replace +clone 542 -35 355 616 -31 281 465 -35 281 replace +clone 542 -30 355 616 -26 281 465 -30 281 replace +clone 542 -25 355 616 -21 281 465 -25 281 replace +clone 542 -20 355 616 -16 281 465 -20 281 replace +clone 542 -15 355 616 -11 281 465 -15 281 replace +clone 542 -10 355 616 -6 281 465 -10 281 replace +clone 542 -6 355 616 -2 281 465 -6 281 replace + +# clone 515 -45 279 490 -30 205 490 -45 281 replace +# clone 515 -29 279 490 -15 205 490 -29 281 replace +# clone 515 -15 279 490 -5 205 490 -15 281 replace +execute in overworld positioned 502 -38 315 run kill @e[type=item,distance=0..60] +forceload remove 542 355 616 281 +forceload remove 465 281 539 355 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/second.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/second.mcfunction new file mode 100644 index 00000000..0d210dfe --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/second.mcfunction @@ -0,0 +1,16 @@ +effect give @a[team=play.tntwars] resistance 2 25 true +function tntwars/calcpeople +execute as @a[team=play.tntwars,tag=tntwars.a] run title @s actionbar ["\u00a7a「队伍A」\u00a7c你的队友:",{"selector":"@a[tag=tntwars.a,gamemode=adventure]"}] +execute as @a[team=play.tntwars,tag=tntwars.b] run title @s actionbar ["\u00a7b「队伍B」\u00a7c你的队友:",{"selector":"@a[tag=tntwars.b,gamemode=adventure]"}] + +execute if score tnt.state state matches 1..2 if score TNT.a.player tick matches ..0 run function tntwars/over/teamb +execute if score tnt.state state matches 1..2 if score TNT.b.player tick matches ..0 run function tntwars/over/teama + +execute as @e[tag=tnt.tntrain] at @s run function tntwars/shoottnt/tntrain +execute if entity @e[tag=tnt.tntrain.tnt] run scoreboard players remove tnt.tntrain board 1 +execute if entity @e[tag=tnt.tntrain.creeper] run scoreboard players remove tnt.creeperrain board 1 +execute if entity @e[tag=tnt.tntrain.fireball] run scoreboard players remove tnt.fireballrain board 1 +execute if score tnt.tntrain board matches ..0 run kill @e[tag=tnt.tntrain.tnt] +execute if score tnt.creeperrain board matches ..0 run kill @e[tag=tnt.tntrain.creeper] +execute if score tnt.fireballrain board matches ..0 run kill @e[tag=tnt.tntrain.fireball] +effect give @a[team=play.tntwars] glowing 2 25 true \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/1.mcfunction new file mode 100644 index 00000000..5ac62fc2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/1.mcfunction @@ -0,0 +1,16 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^1 {Tags:["t.tmp"]} +execute anchored eyes run summon tnt_minecart ^ ^ ^1 {Tags:["t.new","tntwars.tnt"]} +execute anchored eyes run summon tnt_minecart ^ ^ ^3 {Tags:["t.new","tntwars.tnt"]} +execute anchored eyes run summon tnt_minecart ^ ^ ^5 {Tags:["t.new","tntwars.tnt"]} +tag @s add t.t.tmp +execute as @e[tag=t.new] run data modify entity @s Owner set from entity @a[limit=1,tag=t.t.tmp] UUID +tag @s remove t.t.tmp +# summon tnt_minecart ^ ^ ^2 {Tags:["tntwars.tnt"]} +execute as @e[tag=t.new] run data modify entity @s Motion set from entity @e[limit=1,tag=t.tmp] Pos +# execute as @e[tag=tntwars.tnt] at @s run tp ~ ~1 ~ +execute as @e[tag=t.new] at @s run data modify entity @s Motion set from entity @e[tag=t.tmp,type=marker,limit=1] Pos +# execute as @e[tag=t.new] at @s run data modify entity @s Motion[1] set value 0.5 +tag @e[tag=t.new] remove t.new + +kill @e[tag=t.tmp,type=marker] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/2.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/2.mcfunction new file mode 100644 index 00000000..b2cda349 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/2.mcfunction @@ -0,0 +1,14 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^1.2 {Tags: ["t.tmp"]} +execute anchored eyes run summon tnt ^ ^ ^1 {Tags: ["t.new", "tntwars.tnt"], fuse: 50s} +tag @s add t.t.tmp +execute as @e[tag=t.new] run data modify entity @s Owner set from entity @a[limit=1,tag=t.t.tmp] UUID +tag @s remove t.t.tmp +# summon tnt_minecart ^ ^ ^2 {Tags:["tntwars.tnt"]} +execute as @e[tag=t.new] run data modify entity @s Motion set from entity @e[limit=1,tag=t.tmp] Pos +# execute as @e[tag=tntwars.tnt] at @s run tp ~ ~1 ~ +execute as @e[tag=t.new] at @s run data modify entity @s Motion set from entity @e[tag=t.tmp,type=marker,limit=1] Pos +# execute as @e[tag=t.new] at @s run data modify entity @s Motion[1] set value 0.5 +tag @e[tag=t.new] remove t.new + +kill @e[tag=t.tmp,type=marker] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/3.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/3.mcfunction new file mode 100644 index 00000000..6ba32bd7 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/3.mcfunction @@ -0,0 +1,14 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^2.5 {Tags:["t.tmp"]} +execute anchored eyes run summon creeper ^ ^ ^1 {Tags:["t.new","tntwars.tnt"],ignited:1b,fuse:40s} +tag @s add t.t.tmp +execute as @e[tag=t.new] run data modify entity @s Owner set from entity @a[limit=1,tag=t.t.tmp] UUID +tag @s remove t.t.tmp +# summon tnt_minecart ^ ^ ^2 {Tags:["tntwars.tnt"]} +execute as @e[tag=t.new] run data modify entity @s Motion set from entity @e[limit=1,tag=t.tmp] Pos +# execute as @e[tag=tntwars.tnt] at @s run tp ~ ~1 ~ +execute as @e[tag=t.new] at @s run data modify entity @s Motion set from entity @e[tag=t.tmp,type=marker,limit=1] Pos +# execute as @e[tag=t.new] at @s run data modify entity @s Motion[1] set value 0.5 +tag @e[tag=t.new] remove t.new + +kill @e[tag=t.tmp,type=marker] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/4.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/4.mcfunction new file mode 100644 index 00000000..3557288f --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/4.mcfunction @@ -0,0 +1,14 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^0.25 {Tags:["t.tmp"]} +execute anchored eyes run summon fireball ^ ^ ^1 {Tags:["t.new","tntwars.tnt"],ExplosionPower:5} +tag @s add t.t.tmp +execute as @e[tag=t.new] run data modify entity @s Owner set from entity @a[limit=1,tag=t.t.tmp] UUID +tag @s remove t.t.tmp +# summon tnt_minecart ^ ^ ^2 {Tags:["tntwars.tnt"]} +execute as @e[tag=t.new] run data modify entity @s Motion set from entity @e[limit=1,tag=t.tmp] Pos +# execute as @e[tag=tntwars.tnt] at @s run tp ~ ~1 ~ +execute as @e[tag=t.new] at @s run data modify entity @s power set from entity @e[tag=t.tmp,type=marker,limit=1] Pos +# execute as @e[tag=t.new] at @s run data modify entity @s Motion[1] set value 0.5 +tag @e[tag=t.new] remove t.new + +kill @e[tag=t.tmp,type=marker] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/5.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/5.mcfunction new file mode 100644 index 00000000..632741fe --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/5.mcfunction @@ -0,0 +1,5 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute unless entity @e[tag=tnt.tntrain.tnt] run function tntwars/tntrainspawn/tnt +scoreboard players add tnt.tntrain board 10 +tellraw @a[team=play.tntwars] [{"selector":"@s"},"\u00a76召唤了\u00a74TNT雨\u00a76。"] +tellraw @a[team=wait.tntwars] [{"selector":"@s"},"\u00a76召唤了\u00a74TNT雨\u00a76。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/6.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/6.mcfunction new file mode 100644 index 00000000..c128954c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/6.mcfunction @@ -0,0 +1,5 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute unless entity @e[tag=tnt.tntrain.creeper] run function tntwars/tntrainspawn/creeper +scoreboard players add tnt.creeperrain board 10 +tellraw @a[team=play.tntwars] [{"selector":"@s"},"\u00a76召唤了\u00a72苦力怕雨\u00a76。"] +tellraw @a[team=wait.tntwars] [{"selector":"@s"},"\u00a76召唤了\u00a72苦力怕雨\u00a76。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/7.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/7.mcfunction new file mode 100644 index 00000000..73939c69 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/7.mcfunction @@ -0,0 +1,5 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute unless entity @e[tag=tnt.tntrain.fireball] run function tntwars/tntrainspawn/fireball +scoreboard players add tnt.fireballrain board 10 +tellraw @a[team=play.tntwars] [{"selector":"@s"},"\u00a76召唤了\u00a7c火球雨\u00a76。"] +tellraw @a[team=wait.tntwars] [{"selector":"@s"},"\u00a76召唤了\u00a7c火球雨\u00a76。"] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/longtnt.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/longtnt.mcfunction new file mode 100644 index 00000000..6cd48563 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/longtnt.mcfunction @@ -0,0 +1,14 @@ +# execute at @s positioned 0.0 0.0 0.0 rotated as @s anchored eyes run summon marker ^ ^ ^3 {Tags:["tmp"]} +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^2.0 {Tags: ["t.tmp"]} +execute anchored eyes run summon tnt ^ ^ ^1 {Tags: ["t.new", "tntwars.tnt"], fuse: 50s} +tag @s add t.t.tmp +execute as @e[tag=t.new] run data modify entity @s Owner set from entity @a[limit=1,tag=t.t.tmp] UUID +tag @s remove t.t.tmp +# summon tnt_minecart ^ ^ ^2 {Tags:["tntwars.tnt"]} +execute as @e[tag=t.new] run data modify entity @s Motion set from entity @e[limit=1,tag=t.tmp] Pos +# execute as @e[tag=tntwars.tnt] at @s run tp ~ ~1 ~ +execute as @e[tag=t.new] at @s run data modify entity @s Motion set from entity @e[tag=t.tmp,type=marker,limit=1] Pos +# execute as @e[tag=t.new] at @s run data modify entity @s Motion[1] set value 0.5 +tag @e[tag=t.new] remove t.new + +kill @e[tag=t.tmp,type=marker] \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/tntrain.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/tntrain.mcfunction new file mode 100644 index 00000000..6405260c --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/shoottnt/tntrain.mcfunction @@ -0,0 +1,6 @@ +spreadplayers 502 318 0 32 false @s +# execute at @s run tp @s ~ ~ ~5 +execute as @s[tag=tnt.tntrain.tnt] at @s run summon tnt ~ ~-3 ~ {fuse:50,Motion:[0.0,-0.8,0.0],Tags:["tntwars.tnt"]} +execute as @s[tag=tnt.tntrain.creeper] at @s run summon creeper ~ ~-3 ~ {fuse:30,ignited:true,Motion:[0.0,-0.5,0.0],Tags:["tntwars.tnt"],DeathLootTable:"",Invulnerable:1} +execute as @s[tag=tnt.tntrain.fireball] at @s run summon fireball ~ ~-3 ~ {power:[0.0,-0.3,0.0],Tags:["tntwars.tnt"],ExplosionPower:4} + diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/spec.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/spec.mcfunction new file mode 100644 index 00000000..66e1bc44 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/spec.mcfunction @@ -0,0 +1,3 @@ +gamemode spectator @s +tellraw @s ["\n\u00a7c 很抱歉,游戏已经开始了。\n \u00a76请旁观游戏等待下一场游戏,\n \u00a76或者使用\u00a7e/trigger hub\u00a76返回大厅。\n"] +tp @s 471 -25 316 -90 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/start.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/start.mcfunction new file mode 100644 index 00000000..def2eb1d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/start.mcfunction @@ -0,0 +1,31 @@ +scoreboard players set tnt.state state 1 +function tntwars/resetsmap +clear @a[team=wait.tntwars,gamemode=adventure] +effect clear @a[team=wait.tntwars,gamemode=adventure] +tag @a remove tntwars.a +tellraw @a ["\u00a7cTNT Wars \u00a7a游戏开始。"] +tag @a remove tntwars.b +scoreboard players set rand board 1 +tag @a[team=wait.tntwars,gamemode=adventure] add tnt.tanteam +execute as @a[tag=tnt.tanteam] run function tntwars/randomteam +team join play.tntwars @a[team=wait.tntwars,gamemode=adventure] +tellraw @a[team=play.tntwars] ["\n\u00a7a「队伍A」",{"selector":"@a[tag=tntwars.a]"},"\n\u00a7b「队伍B」",{"selector":"@a[tag=tntwars.b]"},"\n"] + +tellraw @a[tag=tntwars.a] ["\u00a76你加入了 \u00a7cTNT Wars \u00a7a「队伍A」"] +tellraw @a[tag=tntwars.b] ["\u00a76你加入了 \u00a7cTNT Wars \u00a7b「队伍B」"] + +execute if score tntwars.map state matches ..0 run function tntwars/startmaps/boat1 +execute if score tntwars.map state matches 1 run function tntwars/startmaps/ballon1 +execute if score tntwars.map state matches 2 run function tntwars/startmaps/cloud1 +# execute if score tntwars.map state matches 2.. run data modify block 496 21 240 front_text.messages[(3-1)] set value '"\\u00a7cError"'} + + +title @a[team=play.tntwars,tag=tntwars.b] title ["\u00a7cTNT Wars"] +title @a[team=play.tntwars,tag=tntwars.b] subtitle ["\u00a7f游戏开始"] +title @a[team=play.tntwars,tag=tntwars.a] title ["\u00a7cTNT Wars"] +title @a[team=play.tntwars,tag=tntwars.a] subtitle ["\u00a7f游戏开始"] +kill @e[type=tnt_minecart,tag=tntwars.tnt] + +scoreboard players set tnt.tntrain board 0 +scoreboard players set tnt.creeperrain board 0 +scoreboard players set tnt.fireballrain board 0 \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/ballon1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/ballon1.mcfunction new file mode 100644 index 00000000..f37d081a --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/ballon1.mcfunction @@ -0,0 +1,4 @@ +function tntwars/resetmaps/ballon1 + +tp @a[team=play.tntwars,tag=tntwars.a] 502 -31 306 0 0 +tp @a[team=play.tntwars,tag=tntwars.b] 502 -31 330 180 0 diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/boat1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/boat1.mcfunction new file mode 100644 index 00000000..705d18c0 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/boat1.mcfunction @@ -0,0 +1,4 @@ +function tntwars/resetmaps/boat1 + +tp @a[team=play.tntwars,tag=tntwars.a] 502 -37 342 180 0 +tp @a[team=play.tntwars,tag=tntwars.b] 502 -37 289 0 0 diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/cloud1.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/cloud1.mcfunction new file mode 100644 index 00000000..abe5b49b --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/startmaps/cloud1.mcfunction @@ -0,0 +1,4 @@ +function tntwars/resetmaps/cloud1 + +tp @a[team=play.tntwars,tag=tntwars.a] 502 -33 347 180 0 +tp @a[team=play.tntwars,tag=tntwars.b] 500 -33 292 0 0 diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/tick.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/tick.mcfunction new file mode 100644 index 00000000..6604048d --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/tick.mcfunction @@ -0,0 +1,3 @@ +execute as @a[team=play.tntwars,gamemode=!creative] at @s run kill @e[type=item,distance=0..5] + +execute as @a[team=play.tntwars,gamemode=adventure] at @s as @s[y=-70,dy=10] run function tntwars/die \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/creeper.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/creeper.mcfunction new file mode 100644 index 00000000..d4072cf4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/creeper.mcfunction @@ -0,0 +1,9 @@ +summon marker 502 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 499 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.creeper","tnt.tntrain"]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/fireball.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/fireball.mcfunction new file mode 100644 index 00000000..b37ebfc9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/fireball.mcfunction @@ -0,0 +1,9 @@ +summon marker 502 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 499 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.fireball","tnt.tntrain"]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/tnt.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/tnt.mcfunction new file mode 100644 index 00000000..3b6e1711 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/tntrainspawn/tnt.mcfunction @@ -0,0 +1,6 @@ +summon marker 502 0 285 {Tags:["tnt.tntrain.tnt","tnt.tntrain"]} +summon marker 499 0 285 {Tags:["tnt.tntrain.tnt","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.tnt","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.tnt","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.tnt","tnt.tntrain"]} +summon marker 505 0 285 {Tags:["tnt.tntrain.tnt","tnt.tntrain"]} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/tnttool.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/tnttool.mcfunction new file mode 100644 index 00000000..4cb731b2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/tnttool.mcfunction @@ -0,0 +1,37 @@ +# title @s actionbar ["\u00a7"] +playsound entity.arrow.shoot player @s ~ ~ ~ 1 2 1 + +execute if entity @s[nbt={SelectedItem:{tag:{tnt:1}}}] run tag @s add tnt.tool.1 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:2}}}] run tag @s add tnt.tool.2 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:3}}}] run tag @s add tnt.tool.3 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:4}}}] run tag @s add tnt.tool.4 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:5}}}] unless entity @e[tag=tnt.tntrain.tnt] run tag @s add tnt.tool.5 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:6}}}] unless entity @e[tag=tnt.tntrain.creeper] run tag @s add tnt.tool.6 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:7}}}] unless entity @e[tag=tnt.tntrain.fireball] run tag @s add tnt.tool.7 +execute if entity @s[nbt={SelectedItem:{tag:{tnt:8}}}] run tag @s add tnt.tool.8 + +execute as @s[tag=tnt.tool.1] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.2] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.3] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.4] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.5] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.6] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.7] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.8] at @s run item replace entity @s weapon.mainhand with air +execute as @s[tag=tnt.tool.1] at @s run function tntwars/shoottnt/1 +execute as @s[tag=tnt.tool.2] at @s run function tntwars/shoottnt/2 +execute as @s[tag=tnt.tool.3] at @s run function tntwars/shoottnt/3 +execute as @s[tag=tnt.tool.4] at @s run function tntwars/shoottnt/4 +execute as @s[tag=tnt.tool.5] at @s run function tntwars/shoottnt/5 +execute as @s[tag=tnt.tool.6] at @s run function tntwars/shoottnt/6 +execute as @s[tag=tnt.tool.7] at @s run function tntwars/shoottnt/7 +execute as @s[tag=tnt.tool.8] at @s run function tntwars/shoottnt/longtnt + +tag @s remove tnt.tool.1 +tag @s remove tnt.tool.2 +tag @s remove tnt.tool.3 +tag @s remove tnt.tool.4 +tag @s remove tnt.tool.5 +tag @s remove tnt.tool.6 +tag @s remove tnt.tool.7 +tag @s remove tnt.tool.8 diff --git a/datapacks/map_all/data/minecraft/functions/tntwars/trystart.mcfunction b/datapacks/map_all/data/minecraft/functions/tntwars/trystart.mcfunction new file mode 100644 index 00000000..c07b18f4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/functions/tntwars/trystart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.tntwars,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score tnt.state state matches 1.. run function minecraft:tntwars/spec +execute unless score tnt.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score tnt.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score tnt.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:tntwars/start \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hide2/item.json b/datapacks/map_all/data/minecraft/loot_tables/hide2/item.json new file mode 100644 index 00000000..b1bfa651 --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hide2/item.json @@ -0,0 +1,232 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 2 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:potion", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{custom_potion_effects:[{id:\"speed\",duration:600,amplifier:1b,ambient:0b,show_particles:0b}]}" + }, + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 1 + }, + "add": true, + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:potion", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{custom_potion_effects:[{id:\"jump_boost\",duration:600,amplifier:1b,ambient:0b,show_particles:0b}]}" + }, + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 1 + }, + "add": true, + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:potion", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1 + }, + { + "function": "minecraft:set_nbt", + "tag": "{custom_potion_effects:[{id:\"invisibility\",duration:300,amplifier:1b,ambient:0b,show_particles:0b}]}" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:lingering_potion", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{custom_potion_effects:[{id:\"slowness\",duration:200,amplifier:127b,ambient:0b,show_particles:0b}]}" + }, + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 1 + }, + "add": true, + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:lingering_potion", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{custom_potion_effects:[{id:\"mining_fatigue\",duration:200,amplifier:127b,ambient:0b,show_particles:0b}]}" + }, + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 1 + }, + "add": true, + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:lingering_potion", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": true, + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + }, + { + "function": "minecraft:set_nbt", + "tag": "{custom_potion_effects:[{id:\"blindness\",duration:200,amplifier:127b,ambient:0b,show_particles:0b}]}" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{Enchantments:[{id:\"knockback\",lvl:2b}],display:{Name:'\"\\\\u00a7a击退棍\"',Lore:['\"\\\\u00a7eKnockback LV.2\"']},HideFlag:63}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hunger/armor.json b/datapacks/map_all/data/minecraft/loot_tables/hunger/armor.json new file mode 100644 index 00000000..c177ec39 --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hunger/armor.json @@ -0,0 +1,491 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 4 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:leather_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:leather_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:leather_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:leather_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:shield", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:chainmail_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:chainmail_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:chainmail_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:chainmail_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:golden_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:golden_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:golden_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:golden_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:blast_protection", + "minecraft:fire_protection", + "minecraft:projectile_protection", + "minecraft:protection", + "minecraft:thorns" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hunger/chest.json b/datapacks/map_all/data/minecraft/loot_tables/hunger/chest.json new file mode 100644 index 00000000..8a0e438b --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hunger/chest.json @@ -0,0 +1,100 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 2 + }, + "bonus_rolls": { + "min": 0, + "max": 2 + }, + "entries": [ + { + "type": "loot_table", + "name": "hunger/sword", + "weight": 4, + "quality": 2 + }, + { + "type": "loot_table", + "name": "hunger/skills", + "weight": 1, + "quality": 3 + } + ] + }, + { + "rolls": { + "min": 0, + "max": 1 + }, + "bonus_rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "loot_table", + "name": "hunger/potion", + "weight": 5, + "quality": 2 + }, + { + "type": "loot_table", + "name": "hunger/other", + "weight": 1, + "quality": 3 + }, + { + "type": "loot_table", + "name": "hunger/sword", + "weight": 4, + "quality": 2 + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "bonus_rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "loot_table", + "name": "hunger/armor", + "weight": 5, + "quality": 2 + } + ] + }, + { + "rolls": { + "min": 0, + "max": 1 + }, + "bonus_rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "loot_table", + "name": "hunger/potion", + "weight": 3, + "quality": 2 + }, + { + "type": "loot_table", + "name": "hunger/other", + "weight": 3, + "quality": 3 + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hunger/other.json b/datapacks/map_all/data/minecraft/loot_tables/hunger/other.json new file mode 100644 index 00000000..9836bfb2 --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hunger/other.json @@ -0,0 +1,146 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:experience_bottle", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 64 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:lapis_lazuli", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 16 + } + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 4 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 16 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:tipped_arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 8 + } + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:strength", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:healing", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:swiftness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:leaping", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:slowness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:poison", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:harming", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hunger/potion.json b/datapacks/map_all/data/minecraft/loot_tables/hunger/potion.json new file mode 100644 index 00000000..cc47a3b4 --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hunger/potion.json @@ -0,0 +1,292 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 3 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 1, + "name": "minecraft:enchanted_golden_apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:golden_apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:potion", + "functions": [ + { + "function": "minecraft:set_potion", + "id": "minecraft:strength", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:healing", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:swiftness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:leaping", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:slowness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:poison", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:harming", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:tipped_arrow", + "functions": [ + { + "function": "minecraft:set_potion", + "id": "minecraft:strength", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:healing", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:swiftness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:leaping", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:slowness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:poison", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:harming", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 1 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:splash_potion", + "functions": [ + { + "function": "minecraft:set_potion", + "id": "minecraft:strength", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:healing", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:swiftness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:leaping", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:slowness", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:poison", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:harming", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.2 + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hunger/skills.json b/datapacks/map_all/data/minecraft/loot_tables/hunger/skills.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hunger/skills.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/hunger/sword.json b/datapacks/map_all/data/minecraft/loot_tables/hunger/sword.json new file mode 100644 index 00000000..0896577f --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/hunger/sword.json @@ -0,0 +1,259 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 2 + }, + "bonus_rolls": { + "min": 1, + "max": 2 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:bow", + "weight": 4, + "quality": 1, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:punch", + "minecraft:power", + "minecraft:flame", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:wooden_sword", + "weight": 6, + "quality": 3, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 4, + "quality": 3, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "type": "item", + "name": "diamond_sword", + "weight": 2, + "quality": 3 + }, + { + "type": "item", + "name": "wooden_axe", + "weight": 4, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "type": "item", + "name": "stone_axe", + "weight": 3, + "quality": 4, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "type": "item", + "name": "golden_axe", + "weight": 3, + "quality": 4, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.5 + } + ] + } + ] + }, + { + "type": "item", + "name": "golden_sword", + "weight": 5, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.8 + } + ] + } + ] + }, + { + "type": "item", + "name": "iron_axe", + "weight": 2, + "quality": 3, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.8 + } + ] + } + ] + }, + { + "type": "item", + "name": "diamond_axe", + "weight": 1, + "quality": 3, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:sharpness", + "minecraft:knockback", + "minecraft:fire_aspect", + "minecraft:unbreaking" + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.8 + } + ] + } + ] + }, + { + "type": "item", + "name": "stick", + "weight": 3, + "quality": 3, + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"§f击退棍\"'},Enchantments:[{id:\"knockback\",lvl:2}]}" + } + ] + }, + { + "type": "item", + "name": "fishing_rod", + "weight": 5, + "quality": 1, + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{Enchantments:[{id:\"knockback\",lvl:2}]}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/loot_tables/tntwars/tnttool.json b/datapacks/map_all/data/minecraft/loot_tables/tntwars/tnttool.json new file mode 100644 index 00000000..db61ae99 --- /dev/null +++ b/datapacks/map_all/data/minecraft/loot_tables/tntwars/tnttool.json @@ -0,0 +1,108 @@ +{ + "type": "minecraft:command", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a7c\\\\u00a7lFireball\\\\u00a77 - 右键使用\"'},tnt:4}" + } + ] + },{ + "type": "minecraft:item", + "weight": 1, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a7b\\\\u00a7lTNT Rain\\\\u00a77 - 右键使用\"'},tnt:5}" + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a72\\\\u00a7lCreeper\\\\u00a77 - 右键使用\"'},tnt:3}" + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a74\\\\u00a7lTNT\\\\u00a77 - 右键使用\"'},tnt:2}" + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a74\\\\u00a7lLong-Way TNT\\\\u00a77 - 右键使用\"'},tnt:8}" + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a7c\\\\u00a7lTNT - Minecart\\\\u00a77 - 右键使用\"'},tnt:1}" + } + ] + }, + { + "type": "minecraft:item", + "weight": 1, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a72\\\\u00a7lCreeper Rain\\\\u00a77 - 右键使用\"'},tnt:6}" + } + ] + }, + { + "type": "minecraft:item", + "weight": 1, + "name": "minecraft:carrot_on_a_stick", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"\\\\u00a7c\\\\u00a7lFireball Rain\\\\u00a77 - 右键使用\"'},tnt:7}" + } + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + }, + "add": true + } + ] + } + ] + } + \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/predicates/minecraft/boat/ifintheboat.json b/datapacks/map_all/data/minecraft/predicates/minecraft/boat/ifintheboat.json new file mode 100644 index 00000000..dff4609e --- /dev/null +++ b/datapacks/map_all/data/minecraft/predicates/minecraft/boat/ifintheboat.json @@ -0,0 +1,9 @@ +{ + "condition": "entity_properties", + "entity": "this", + "predicate": { + "vehicle": { + "team": "boat" + } + } +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/blocks/chessglass.json b/datapacks/map_all/data/minecraft/tags/blocks/chessglass.json new file mode 100644 index 00000000..780a52aa --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/blocks/chessglass.json @@ -0,0 +1,6 @@ +{ + "values": [ + "black_stained_glass", + "white_stained_glass" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/blocks/color.json b/datapacks/map_all/data/minecraft/tags/blocks/color.json new file mode 100644 index 00000000..6e7e1d65 --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/blocks/color.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "#minecraft:terracottas", + "#minecraft:concrete", + "#minecraft:wool", + "minecraft:clay" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/blocks/hideseek.json b/datapacks/map_all/data/minecraft/tags/blocks/hideseek.json new file mode 100644 index 00000000..9d36e5fe --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/blocks/hideseek.json @@ -0,0 +1,47 @@ +{ + "replace": false, + "values": [ + "minecraft:oak_log", + "minecraft:snow_block", + "minecraft:grass_block", + "minecraft:dirt", + "minecraft:snow", + "minecraft:mycelium", + "minecraft:red_sand", + "minecraft:sand", + "minecraft:sandstone", + "minecraft:gravel", + "minecraft:rooted_dirt", + "minecraft:podzol", + "minecraft:coarse_dirt", + "minecraft:farmland", + "minecraft:soul_sand", + "minecraft:dirt_path", + "minecraft:stone", + "minecraft:stone_bricks", + "minecraft:smooth_stone", + "minecraft:cobblestone", + "#minecraft:logs", + "#minecraft:flowers", + "#minecraft:doors", + "#minecraft:dirt", + "#minecraft:planks", + "#minecraft:rails", + "#minecraft:stairs", + "#minecraft:leaves", + "minecraft:glass", + "#minecraft:stainglass", + "minecraft:anvil", + "minecraft:lectern", + "minecraft:bookshelf", + "minecraft:tnt", + "#minecraft:coral_blocks", + "minecraft:sea_lantern", + "#minecraft:terracottas", + "#minecraft:flowers", + "minecraft:moss_carpet", + "#minecraft:wool", + "minecraft:chest", + "minecraft:barrel" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/blocks/snowmineable.json b/datapacks/map_all/data/minecraft/tags/blocks/snowmineable.json new file mode 100644 index 00000000..0d874e67 --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/blocks/snowmineable.json @@ -0,0 +1,43 @@ +{ + "replace": false, + "values": [ + "oak_slab", + "minecraft:oak_log", + "minecraft:snow_block", + "minecraft:grass_block", + "minecraft:dirt", + "minecraft:snow", + "minecraft:mycelium", + "minecraft:fire", + "minecraft:powder_snow", + "minecraft:red_sand", + "minecraft:sand", + "minecraft:gravel", + "minecraft:rooted_dirt", + "minecraft:podzol", + "minecraft:coarse_dirt", + "minecraft:soul_sand", + "minecraft:dirt_path", + "minecraft:farmland", + "minecraft:soul_soil", + "minecraft:stone", + "minecraft:cobblestone", + "#minecraft:logs", + "#minecraft:leaves", + "#minecraft:doors", + "#minecraft:dirt", + "#minecraft:planks", + "#minecraft:rails", + "#minecraft:stairs", + "minecraft:ladder", + "minecraft:glass_pane", + "minecraft:torch", + "minecraft:bookshelf", + "#minecraft:fences", + "#minecraft:fence_gates", + "#minecraft:trapdoors", + "minecraft:tnt", + "minecraft:white_terracotta", + "#minecraft:walls" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/blocks/terracottas.json b/datapacks/map_all/data/minecraft/tags/blocks/terracottas.json new file mode 100644 index 00000000..185596bd --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/blocks/terracottas.json @@ -0,0 +1,22 @@ +{ + "replace": false, + "values": [ + "minecraft:terracotta", + "minecraft:white_terracotta", + "minecraft:orange_terracotta", + "minecraft:magenta_terracotta", + "minecraft:light_blue_terracotta", + "minecraft:yellow_terracotta", + "minecraft:lime_terracotta", + "minecraft:pink_terracotta", + "minecraft:gray_terracotta", + "minecraft:light_gray_terracotta", + "minecraft:cyan_terracotta", + "minecraft:purple_terracotta", + "minecraft:blue_terracotta", + "minecraft:brown_terracotta", + "minecraft:green_terracotta", + "minecraft:red_terracotta", + "minecraft:black_terracotta" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/items/fence_gates.json b/datapacks/map_all/data/minecraft/tags/items/fence_gates.json new file mode 100644 index 00000000..f94523b9 --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/items/fence_gates.json @@ -0,0 +1,13 @@ +{ + "replace": false, + "values": [ + "minecraft:acacia_fence_gate", + "minecraft:birch_fence_gate", + "minecraft:dark_oak_fence_gate", + "minecraft:jungle_fence_gate", + "minecraft:oak_fence_gate", + "minecraft:spruce_fence_gate", + "minecraft:crimson_fence_gate", + "minecraft:warped_fence_gate" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/items/snowmineable.json b/datapacks/map_all/data/minecraft/tags/items/snowmineable.json new file mode 100644 index 00000000..d34c958c --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/items/snowmineable.json @@ -0,0 +1,38 @@ +{ + "replace": false, + "values": [ + "minecraft:snow_block", + "minecraft:grass_block", + "minecraft:dirt", + "minecraft:snow", + "minecraft:mycelium", + "minecraft:red_sand", + "minecraft:sand", + "minecraft:gravel", + "minecraft:rooted_dirt", + "minecraft:podzol", + "minecraft:coarse_dirt", + "minecraft:soul_sand", + "minecraft:dirt_path", + "minecraft:farmland", + "minecraft:soul_soil", + "minecraft:stone", + "minecraft:cobblestone", + "#minecraft:logs", + "#minecraft:leaves", + "#minecraft:doors", + "#minecraft:planks", + "#minecraft:rails", + "#minecraft:stairs", + "minecraft:ladder", + "minecraft:glass_pane", + "minecraft:torch", + "minecraft:book", + "minecraft:bookshelf", + "#minecraft:fences", + "#minecraft:fence_gates", + "#minecraft:trapdoors", + "minecraft:white_terracotta", + "#minecraft:walls" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/data/minecraft/tags/items/terracottas.json b/datapacks/map_all/data/minecraft/tags/items/terracottas.json new file mode 100644 index 00000000..185596bd --- /dev/null +++ b/datapacks/map_all/data/minecraft/tags/items/terracottas.json @@ -0,0 +1,22 @@ +{ + "replace": false, + "values": [ + "minecraft:terracotta", + "minecraft:white_terracotta", + "minecraft:orange_terracotta", + "minecraft:magenta_terracotta", + "minecraft:light_blue_terracotta", + "minecraft:yellow_terracotta", + "minecraft:lime_terracotta", + "minecraft:pink_terracotta", + "minecraft:gray_terracotta", + "minecraft:light_gray_terracotta", + "minecraft:cyan_terracotta", + "minecraft:purple_terracotta", + "minecraft:blue_terracotta", + "minecraft:brown_terracotta", + "minecraft:green_terracotta", + "minecraft:red_terracotta", + "minecraft:black_terracotta" + ] +} \ No newline at end of file diff --git a/datapacks/map_all/pack.mcmeta b/datapacks/map_all/pack.mcmeta new file mode 100644 index 00000000..f9e085bd --- /dev/null +++ b/datapacks/map_all/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 16, + "description": "Map's Datapacks GAME #1" + } +} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/changemode.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/changemode.mcfunction new file mode 100644 index 00000000..b63a9340 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/changemode.mcfunction @@ -0,0 +1,16 @@ +playsound ui.button.click player @s +execute unless score boat.state state matches 1.. run scoreboard players add boat.type board 1 +execute if score boat.state state matches 1.. run tellraw @s ["\u00a7c游戏已经开始,当前无法修改。"] +# execute if score boat.type board matches 5.. run scoreboard players set boat.type board 1 +# execute if score boat.type board matches 4.. run scoreboard players set boat.type board 1 +execute if score boat.type board matches 6.. run scoreboard players set boat.type board 1 +execute if score boat.type board matches ..1 run data modify block -12 146 -32 front_text.messages[2] set value '"\\u00a7b[冰船]"' + +# execute if score chest.type board matches 2 run data merge block 347 91 22 {Textx2:'"\\u00a7b\\u00a7l[逃离神庙]"'} +execute if score boat.type board matches 2 run data modify block -12 146 -32 front_text.messages[2] set value '"\\u00a7d[猪]"' +execute if score boat.type board matches 3 run data modify block -12 146 -32 front_text.messages[2] set value '"\\u00a7c[炽足兽]"' +execute if score boat.type board matches 4 run data modify block -12 146 -32 front_text.messages[2] set value '"\\u00a77[铁人三项]"' +execute if score boat.type board matches 5 run data modify block -12 146 -32 front_text.messages[2] set value '"\\u00a7e[赛马]"' + + +# execute if score chest.type board matches 4 run data merge block 347 91 22 {Textx2:'"\\u00a7d\\u00a7l[五子棋]"'} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/detectmoreitem.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/detectmoreitem.mcfunction new file mode 100644 index 00000000..25c2afab --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/detectmoreitem.mcfunction @@ -0,0 +1,8 @@ +execute store result score boat.tmp board run clear @s compass{boatItem:1b} 0 +execute if score boat.tmp board matches 2.. run clear @s compass{boatItem:1b} +execute store result score boat.tmp board run clear @s carrot_on_a_stick{boatItem:1b} 0 +execute if score boat.tmp board matches 2.. run clear @s carrot_on_a_stick{boatItem:1b} +execute store result score boat.tmp board run clear @s carrot_on_a_stick{boatItem:2b} 0 +execute if score boat.tmp board matches 2.. run clear @s carrot_on_a_stick{boatItem:2b} +execute store result score boat.tmp board run clear @s carrot_on_a_stick{boatItem:-1b} 0 +execute if score boat.tmp board matches 2.. run clear @s carrot_on_a_stick{boatItem:-1b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/detectmyboat.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/detectmyboat.mcfunction new file mode 100644 index 00000000..890728b8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/detectmyboat.mcfunction @@ -0,0 +1,13 @@ +tag @s add boat.sel +execute as @e[tag=boat] if score @s park.uuid = @a[tag=boat.sel,limit=1] park.uuid run tag @s add boat.tmp1 +# tag @e[tag=boat,limit=1,sort=nearest] add boat.tmp +# execute if score @s park.uuid = @e[tag=boat.tmp,limit=1] park.uuid run tag @s add boat.ok +# execute as @e[tag=boat.tmp1,limit=1] at @s run tag @a[tag=boat.sel] add boat.ok +execute if data entity @s {RootVehicle:{Entity:{Tags:["boat.tmp1"]}}} run tag @s add boat.ok +execute as @s[tag=!boat.ok] run tp @s ~ ~ ~ +execute as @s[tag=!boat.ok] run tellraw @s ["\u00a7c这不是你的载具!\u00a7c请乘坐你自己的载具。"] +# {RootVehicle:{Entity:{id:"minecraft:minecart"}}} +tag @s remove boat.sel +# tag @e remove boat.tmp +tag @e remove boat.tmp1 +tag @s remove boat.ok \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/detectreadygo.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/detectreadygo.mcfunction new file mode 100644 index 00000000..01e5514d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/detectreadygo.mcfunction @@ -0,0 +1,4 @@ +item replace entity @a[team=boat,tag=boat.notspawn] hotbar.7 with air +item replace entity @a[team=boat,tag=boat.notspawn] hotbar.8 with air + +execute unless entity @a[team=boat,tag=boat.notinboat,gamemode=adventure] run function boat/readygo \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/getrandomitem.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/getrandomitem.mcfunction new file mode 100644 index 00000000..2fbbefd0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/getrandomitem.mcfunction @@ -0,0 +1,11 @@ +summon marker ~ ~ ~ {Tags:["boat.tmp.marker","1"]} +summon marker ~ ~ ~ {Tags:["boat.tmp.marker","2"]} + +tag @e[type=marker,tag=boat.tmp.marker,limit=1,sort=random] add boat.sel +execute if entity @e[tag=boat.sel,tag=1] run give @s carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7a\\u00a7l失明陷阱 \\u00a77- 右键使用"'},boatItem:4b,trap:1,CustomModelData:17} +execute if entity @e[tag=boat.sel,tag=2] run give @s carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7c\\u00a7l下车陷阱 \\u00a77- 右键使用"'},boatItem:4b,trap:2,CustomModelData:17} + +title @s actionbar ["\u00a7e\u00a7l你获得了新的道具"] +tag @e[tag=boat.sel] remove boat.sel +kill @e[type=marker,tag=boat.tmp.marker] +playsound entity.player.levelup player @s ~ ~ ~ 10 1.5 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/givespeed.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/givespeed.mcfunction new file mode 100644 index 00000000..39c96576 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/givespeed.mcfunction @@ -0,0 +1,15 @@ +tag @s add boat.sel +execute as @e[tag=boat] if score @s park.uuid = @a[tag=boat.sel,limit=1] park.uuid run tag @s add boat.tmp +# tag @e[tag=boat,limit=1,sort=nearest] add boat.tmp +effect give @e[tag=boat.tmp,limit=1] speed 5 3 true +effect give @s speed 5 3 true +execute unless score boat.type board matches 4 run execute unless entity @e[tag=boat.tmp,limit=1] run tag @s add boat.notspawn +execute unless score boat.type board matches 4 run execute unless entity @e[tag=boat.tmp,limit=1] run tellraw @s ["\u00a7c你尚未生成你的载具。"] +# execute if entity @e[tag=boat.tmp,limit=1] run tellraw @s ["\u00a7a已将你传送至你的载具。"] + +# execute if score @s park.uuid = @e[tag=boat.tmp,limit=1] park.uuid run tag @s add boat.ok +# execute as @s[tag=!boat.ok] run tp @s ~ ~0.5 ~ +# execute as @s[tag=!boat.ok] run tellraw @s ["\u00a7c这不是你的载具!这是",{"selector":"@e[tag=boat.tmp,limit=1]"},"\u00a7c,请乘坐你自己的载具。"] +tag @s remove boat.sel +tag @e remove boat.tmp +tag @s remove boat.ok \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/goback.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/goback.mcfunction new file mode 100644 index 00000000..1585984b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/goback.mcfunction @@ -0,0 +1,15 @@ +tag @s add boat.sel +execute as @e[tag=boat] if score @s park.uuid = @a[tag=boat.sel,limit=1] park.uuid run tag @s add boat.tmp +tp @s @e[tag=boat.tmp,limit=1] +ride @s dismount +ride @s mount @e[tag=boat.tmp,limit=1] +execute unless entity @e[tag=boat.tmp,limit=1] run tellraw @s ["\u00a7c请不要尝试卡 BUG,破坏游戏体验并不是一个很好的选择。"] +execute unless entity @e[tag=boat.tmp,limit=1] run tellraw @s ["\u00a7c你尚未生成你的载具。"] +execute if entity @e[tag=boat.tmp,limit=1] run tellraw @s ["\u00a7a已将你传送至你的载具。"] +# tag @e[tag=boat,limit=1,sort=nearest] add boat.tmp +# execute if score @s park.uuid = @e[tag=boat.tmp,limit=1] park.uuid run tag @s add boat.ok +# execute as @s[tag=!boat.ok] run tp @s ~ ~0.5 ~ +# execute as @s[tag=!boat.ok] run tellraw @s ["\u00a7c这不是你的载具!这是",{"selector":"@e[tag=boat.tmp,limit=1]"},"\u00a7c,请乘坐你自己的载具。"] +tag @s remove boat.sel +tag @e remove boat.tmp +tag @s remove boat.ok \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/ifgetrandomitem.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/ifgetrandomitem.mcfunction new file mode 100644 index 00000000..22b95401 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/ifgetrandomitem.mcfunction @@ -0,0 +1,2 @@ +execute store result score boat.tmp board run clear @s carrot_on_a_stick{boatItem:4b} 0 +execute if score boat.tmp board matches ..0 run function boat/getrandomitem \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/join.mcfunction new file mode 100644 index 00000000..dece79ed --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/join.mcfunction @@ -0,0 +1,19 @@ +team join boat @s +title @s reset +tellraw @a [{"selector":"@s"},"\u00a7a 加入了\u00a79冰船游戏\u00a7a。"] +title @s title ["\u00a79冰船游戏"] +title @s subtitle ["\u00a7bIce Boat Game"] +tellraw @s ["\u00a79\u00a7l冰船游戏\n\n\u00a76\u00a7l Builders: \u00a7b\u00a7lDomnick_JYH \u00a7a&\u00a7b wifi_left\n"] +# execute in minecraft:boatworld run tp @s -142 -56 -42 180 0 +execute in minecraft:boatworld2 run tp @s -12 146 -43 0 0 +playsound entity.player.levelup player @s ~ ~ ~ 10 1 1 +clear @s +effect clear @s +execute if score boat.state state matches 1.. run function minecraft:boat/spec +effect give @s instant_health 2 25 true + +execute if score boat.state state matches 1.. run function boat/spec +xp set @s 0 levels +xp set @s 0 points +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/letplayergetrandomitem.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/letplayergetrandomitem.mcfunction new file mode 100644 index 00000000..d829b699 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/letplayergetrandomitem.mcfunction @@ -0,0 +1,5 @@ +tag @s add boat.sel +execute as @a[team=boat] if score @s park.uuid = @e[tag=boat.sel,limit=1] park.uuid run tag @s add boat.tmp1 +execute as @a[tag=boat.tmp1] at @s run function boat/ifgetrandomitem +tag @a remove boat.tmp1 +tag @s remove boat.sel \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/over/listname.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/over/listname.mcfunction new file mode 100644 index 00000000..e0b7bd55 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/over/listname.mcfunction @@ -0,0 +1,8 @@ +# boat.rounds +tellraw @a[team=boat] [""] +execute as @a[team=boat,gamemode=spectator,scores={boat.rounds=1..}] at @s run tellraw @a[team=boat] [{"selector":"@s"},"\u00a76 是\u00a7a第",{"score":{"name": "@s","objective": "boat.rounds"},"color":"aqua"},"\u00a7a名"] +tellraw @a[team=boat] [""] +execute as @a[team=boat,gamemode=spectator,scores={boat.rounds=1..}] at @s run tellraw @s ["\n\u00a77你是\u00a7a第",{"score":{"name": "@s","objective": "boat.rounds"},"color":"aqua"},"\u00a7a名\u00a77。\n"] +execute as @a[team=boat] at @s run title @s title ["\u00a76\u00a7l游戏结束"] +execute as @a[team=boat,gamemode=adventure] at @s run title @s subtitle ["\u00a77你并未完成比赛"] +execute as @a[team=boat,gamemode=spectator,scores={boat.rounds=1..}] at @s run title @s subtitle ["\u00a7a你是第",{"score":{"name": "@s","objective": "boat.rounds"},"color":"aqua"},"\u00a7a名\u00a77"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/over/over.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/over/over.mcfunction new file mode 100644 index 00000000..558f6b44 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/over/over.mcfunction @@ -0,0 +1,14 @@ +team modify boat prefix ["\u00a7c[O]\u00a79 冰船\u00a78 | "] +tellraw @a ["\u00a79\u00a7l冰船游戏 > \u00a7a游戏结束。"] +forceload add -32 88 -102 313 +function boat/over/listname +gamemode spectator @a[team=boat] +scoreboard players reset * boat.rounds +scoreboard players set boat.state state 10 +schedule function boat/over/tp 6s replace +tellraw @a[team=boat] ["\u00a7a你已进入游戏队列,5秒后进入游戏大厅。"] +scoreboard players reset @e[tag=boat] +kill @e[tag=boat] +# kill @e[typoe] +kill @e[type=marker,tag=boat.trap] +forceload remove -32 88 -102 313 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/over/tp.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/over/tp.mcfunction new file mode 100644 index 00000000..c871930f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/over/tp.mcfunction @@ -0,0 +1,10 @@ +team modify boat prefix ["\u00a7a[W]\u00a79 冰船\u00a78 | "] + +scoreboard players reset @e[tag=boat] +kill @e[tag=boat] +scoreboard players set boat.state state 0 + +gamemode adventure @a[team=boat] +execute as @a[team=boat] run function boat/join +kill @e[type=marker,tag=boat.trap] +team modify hunger friendlyFire false diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/readycount.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/readycount.mcfunction new file mode 100644 index 00000000..c97c975b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/readycount.mcfunction @@ -0,0 +1,12 @@ +scoreboard players remove boat.start board 1 +execute if score boat.start board matches 1.. run tellraw @a[team=boat] ["\u00a7e游戏即将在",{"score":{"name": "boat.start","objective": "board"},"color":"red"},"\u00a7e秒后开始。"] +execute if score boat.start board matches 1.. run title @a[team=boat] title ["\u00a79\u00a7l冰船游戏 Ice Boat Game"] +execute if score boat.start board matches 1.. run title @a[team=boat] subtitle ["\u00a7e游戏即将在",{"score":{"name": "boat.start","objective": "board"},"color":"red"},"\u00a7e秒后开始"] +execute as @a[team=boat] at @s run playsound minecraft:block.note_block.pling player @s -62 160 -98 5 1 1 + +execute if score boat.start board matches ..0 run function boat/startgo +clear @a[team=boat] carrot_on_a_stick{boatItem:3b} +# clear @a[team=boat] carrot_on_a_stick{boatItem:2b} +# clear @a[team=boat] carrot_on_a_stick{boatItem:1b} + +# execute as @e[tag=boat,team=boat,nbt={NoAI:1b}] at @s run data merge entity @s {NoAI:0b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/readygo.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/readygo.mcfunction new file mode 100644 index 00000000..e4fa6090 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/readygo.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set boat.state state 3 +scoreboard players set boat.start board 6 +tellraw @a[team=boat] ["\u00a7a游戏即将开始,请各就各位。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/reset.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset.mcfunction new file mode 100644 index 00000000..07622211 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset.mcfunction @@ -0,0 +1,23 @@ +# execute if score boat.type board matches ..1 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7b冰船"] +# execute if score boat.type board matches 2 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7d猪"] +# execute if score boat.type board matches 3 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7c炽足兽"] +# execute if score boat.type board matches 4 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位准备\u00a76赛跑"] +# execute if score boat.type board matches 5 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7e马"] + +# execute if score boat.type board matches ..1 run +# execute if score boat.type board matches 2 run +# execute if score boat.type board matches 3 run +# execute if score boat.type board matches 4 run +# execute if score boat.type board matches 5 run +forceload add -32 88 -102 313 +tag @a remove boat.notspawn + +execute as @e[tag=boat.reset.structure] at @s run function boat/reset_marker + +scoreboard players reset @e[tag=boat] +kill @e[tag=boat] +kill @e[type=marker,tag=boat.trap] +execute unless score boat.type board matches 4 run tag @a[team=boat] add boat.notspawn + +schedule function minecraft:boat/reset_doit 5t +forceload remove -32 88 -102 313 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_doit.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_doit.mcfunction new file mode 100644 index 00000000..95c5977e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_doit.mcfunction @@ -0,0 +1 @@ +execute as @e[tag=boat.reset.structure] at @s if score boat.type board matches 3 run fill ~ ~ ~ ~16 ~16 ~31 lava replace obsidian diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_marker.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_marker.mcfunction new file mode 100644 index 00000000..3405f5c8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_marker.mcfunction @@ -0,0 +1,15 @@ +# setblock ~ ~ ~ air +fill ~ ~ ~ ~15 ~15 ~31 air +kill @e[type=item,distance=0..30] +execute store result storage boat:main random int 1 run random value 1..15 +execute as @s[tag=boat.reset.structure.water] at @s run data merge storage boat:main {type:"water"} +execute as @s[tag=boat.reset.structure.normal] at @s run data merge storage boat:main {type:"ice"} +function minecraft:boat/reset_set_random with storage boat:main +# PIG +execute as @s[tag=boat.reset.structure.water] if score boat.type board matches 2 run fill ~ ~ ~ ~16 ~16 ~31 grass_block replace water +# HORSE +execute as @s[tag=boat.reset.structure.water] if score boat.type board matches 5 run fill ~ ~ ~ ~16 ~16 ~31 grass_block replace water +# 炽足兽 +execute as @s[tag=boat.reset.structure] if score boat.type board matches 3 run fill ~ ~ ~ ~16 ~16 ~31 lava replace water +# /say @e[tag=boat.reset.structure.normal] +# /say @e[tag=boat.reset.structure.water] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_set_random.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_set_random.mcfunction new file mode 100644 index 00000000..8e889b56 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/reset_set_random.mcfunction @@ -0,0 +1 @@ +$place template minecraft:boat_$(type)_$(random) diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/second.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/second.mcfunction new file mode 100644 index 00000000..803915b1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/second.mcfunction @@ -0,0 +1,25 @@ +item replace entity @a[team=boat] hotbar.8 with minecraft:compass{LodestoneDimension:"minecraft:boatworld2",LodestonePos:{X:-45,Y:135,Z:96},LodestoneTracked:0b,display:{Name:'"\\u00a7b\\u00a7l终点指南针"',Lore:['"\\u00a77你到终点的直线方向"']},boatItem:1b} +execute if score boat.type board matches 2 run item replace entity @a[team=boat] hotbar.0 with minecraft:carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7b\\u00a7l加速冲刺 \\u00a77- 右键点击"'},boatItem:2b,CustomModelData:13} +execute if score boat.type board matches 4..5 run item replace entity @a[team=boat] hotbar.0 with minecraft:carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7b\\u00a7l加速冲刺 \\u00a77- 右键点击"'},boatItem:2b,CustomModelData:13} +# execute if score boat.type board matches 5 run item replace entity @a[team=boat] hotbar.0 with minecraft:carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7b\\u00a7l加速冲刺 \\u00a77- 右键点击"'},boatItem:2b} +execute if score boat.type board matches 3 run item replace entity @a[team=boat] hotbar.0 with minecraft:warped_fungus_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7b\\u00a7l加速冲刺 \\u00a77- 右键点击"'},boatItem:2b,CustomModelData:1} +item replace entity @a[team=boat,tag=boat.notspawn] hotbar.0 with minecraft:carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7a\\u00a7l生成载具 \\u00a77- 右键点击"'},boatItem:3b,CustomModelData:14} +execute unless score boat.type board matches 4 run item replace entity @a[team=boat] hotbar.7 with minecraft:carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7b\\u00a7l返回载具附近 \\u00a77- 右键点击"',Lore:['"\\u00a77传送到你的载具附近"']},boatItem:1b,CustomModelData:15} +execute if score boat.type board matches 1 run item replace entity @a[team=boat] weapon.offhand with air +execute if score boat.type board matches 3 run item replace entity @a[team=boat] weapon.offhand with warped_fungus_on_a_stick{Unbreakable:1b,boatItem:-1b,CustomModelData:2,display:{Name:'"\\u00a78你居然发现了我!"'}} +execute if score boat.type board matches 2 run item replace entity @a[team=boat] weapon.offhand with carrot_on_a_stick{Unbreakable:1b,boatItem:-1b,CustomModelData:16,display:{Name:'"\\u00a78你居然发现了我!"'}} +execute if score boat.type board matches 4 run item replace entity @a[team=boat] weapon.offhand with air +execute as @a[team=boat] at @s run function boat/detectmoreitem +execute if score boat.state state matches 1 run title @a[tag=boat.notinboat,team=boat] actionbar ["\u00a7e\u00a7l警告:您没有在您的载具里。请乘坐您的载具进行比赛!"] +execute if score boat.state state matches 2 run title @a[tag=boat.notinboat,team=boat] actionbar ["\u00a7a\u00a7l提示:请通过物品栏的工具召唤载具。"] +effect give @e[team=boat] resistance 4 25 true +execute if score boat.state state matches 2 run function boat/detectreadygo +execute if score boat.state state matches 3 run function boat/readycount + + +xp add @a[team=boat,level=1..] -1 levels + +# 探测是否应该结束游戏 +scoreboard players set boat.players tick 0 +execute as @a[team=boat,gamemode=adventure] at @s run scoreboard players add boat.players tick 1 +execute if score boat.state state matches 1..9 if score boat.players tick matches ..1 run function boat/over/over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/skills.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/skills.mcfunction new file mode 100644 index 00000000..b92b6c8f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/skills.mcfunction @@ -0,0 +1,50 @@ +execute as @s[level=..0] run tag @s add boat.skillok +execute at @s run playsound ui.button.click player @s +execute if entity @s[nbt={SelectedItem:{tag:{boatItem:3b}}},tag=boat.notspawn] run tag @s add skill.boat.3 +execute if entity @s[nbt={SelectedItem:{tag:{boatItem:2b}}},tag=boat.skillok,tag=!boat.notspawn] run tag @s add skill.boat.2 +execute if entity @s[nbt={SelectedItem:{tag:{boatItem:1b}}},tag=!boat.notspawn] run tag @s add skill.boat.1 + +execute if entity @s[nbt={SelectedItem:{tag:{boatItem:4b}}},tag=!boat.notspawn] run tag @s add skill.boat.trap + +execute as @s[tag=skill.boat.trap] if entity @s[nbt={SelectedItem:{tag:{trap:1}}}] run tag @s add boat.trap.1 +execute as @s[tag=skill.boat.trap] if entity @s[nbt={SelectedItem:{tag:{trap:2}}}] run tag @s add boat.trap.2 +execute as @s[tag=skill.boat.trap] if entity @s[nbt={SelectedItem:{tag:{trap:3}}}] run tag @s add boat.trap.3 +execute as @s[tag=skill.boat.trap] if entity @s[nbt={SelectedItem:{tag:{trap:4}}}] run tag @s add boat.trap.4 +# Trap 1 Slow and Blind +# Trap 2 Stop! +# Trap 3 to-do +# Trap 4 to-do +execute as @s[tag=boat.trap.1] at @s run function boat/trap/1/spawn +execute as @s[tag=boat.trap.2] at @s run function boat/trap/2/spawn +# execute as @s[tag=boat.trap.3] at @s run function boat/trap/3/spawn +# execute as @s[tag=boat.trap.4] at @s run function boat/trap/4/spawn +execute as @s[tag=skill.boat.trap] at @s run playsound minecraft:block.piston.contract player @s ~ ~ ~ 5 1 1 + +execute as @s[tag=skill.boat.3] at @s run function boat/spawn/spawnmain +execute as @s[tag=skill.boat.2] at @s run function boat/givespeed +execute as @s[tag=skill.boat.2] at @s run playsound entity.experience_orb.pickup player @s ~ ~ ~ 5 1 1 +execute as @s[tag=skill.boat.2] at @s run xp add @s 15 levels +execute as @s[tag=skill.boat.1] at @s run function boat/goback + +execute as @s[tag=skill.boat.trap] at @s run xp add @s 3 levels +execute as @s[tag=skill.boat.trap] at @s run xp set @s 0 points +execute as @s[tag=skill.boat.trap] at @s run title @s actionbar ["\u00a7a\u00a7l已使用道具"] +execute as @s[tag=skill.boat.trap] at @s run clear @s carrot_on_a_stick{boatItem:4b} + + +execute if entity @s[nbt={SelectedItem:{tag:{boatItem:2b}}},tag=!boat.skillok,tag=!boat.notspawn] run title @s actionbar ["\u00a7c\u00a7l此技能冷却中"] +execute if entity @s[tag=boat.trap,tag=!boat.skillok] run title @s actionbar ["\u00a7c\u00a7l此技能冷却中"] +execute if entity @s[nbt={SelectedItem:{tag:{boatItem:2b}}},tag=!boat.skillok,tag=!boat.notspawn] run playsound entity.enderman.teleport player @s ~ ~ ~ 5 0 1 + +tag @s remove skill.boat.3 +tag @s remove skill.boat.2 +tag @s remove skill.boat.1 +tag @s remove boat.trap.1 +tag @s remove boat.trap.2 +tag @s remove boat.trap.3 +tag @s remove boat.trap.4 +tag @s remove boat.trap.5 +tag @s remove boat.trap.6 +tag @s remove boat.trap.7 +tag @s remove skill.boat.trap +tag @s remove boat.skillok \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/spawn/spawnmain.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/spawn/spawnmain.mcfunction new file mode 100644 index 00000000..431f06a0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/spawn/spawnmain.mcfunction @@ -0,0 +1,20 @@ +clear @s carrot_on_a_stick{boatItem:3b} +tag @s remove boat.notspawn +tag @s add boat.sel +team leave @s +data modify block -54 160 -100 front_text.messages[0] set value '[{"selector":"@a[tag=boat.sel]","color":"gold"},"\\u00a7b\\u00a7l的载具"]' +team join boat @s + +execute if score boat.type board matches 1 run summon minecraft:boat ~ ~ ~ {CustomNameVisible:1b,Invulnerable:1b,Silent:1b,Tags:["boat","boat.new"]} +execute if score boat.type board matches 2 run summon minecraft:pig ~ ~ ~ {CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Tags:["boat","boat.new"],DeathLootTable:"",Saddle:1b,Team:"boat",Attributes:[{Base:0.23d,Name:"generic.movement_speed"}],NoAI:1b} +execute if score boat.type board matches 3 run summon minecraft:strider ~ ~ ~ {CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Tags:["boat","boat.new"],DeathLootTable:"",Saddle:1b,Team:"boat",Attributes:[{Base:0.22d,Name:"generic.movement_speed"}],NoAI:1b} +execute if score boat.type board matches 5 run summon minecraft:horse ~ ~ ~ {CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Tags:["boat","boat.new"],DeathLootTable:"",Team:"boat",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Name:"horse.jump_strength",Base:0.6d}],NoAI:1b,Tame:true,SaddleItem:{id:"minecraft:saddle",Count:1b},Temper:100} + +execute as @e[tag=boat.new] run scoreboard players operation @s park.uuid = @a[limit=1,tag=boat.sel] park.uuid +execute as @e[tag=boat.new] run data modify entity @s CustomName set from block -54 160 -100 front_text.messages[0] +execute as @e[tag=boat.new] run data modify entity @s Owner set from entity @a[limit=1,tag=boat.sel] UUID +execute as @e[tag=boat.new] run team join boat @s +ride @s mount @e[tag=boat.new,limit=1] +execute as @e[tag=boat.new] run tag @s remove boat.new +tag @s remove boat.sel +tellraw @s ["\n\u00a7b你已经骑上载具!\n"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/spec.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/spec.mcfunction new file mode 100644 index 00000000..3cdbbba1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,当前游戏已经开始。请等待下一场游戏。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/start.mcfunction new file mode 100644 index 00000000..2529bb6e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/start.mcfunction @@ -0,0 +1,25 @@ +execute as @a[team=boat] at @s run spreadplayers -82 299 0 3 false @s +execute as @a[team=boat] at @s run tp @s ~ ~ ~ 180 0 +# fill -66 165 -94 -60 160 -95 minecraft:stone_brick_wall keep +forceload add -32 88 -102 313 +fill -76 141 295 -89 135 294 cobblestone_wall keep +scoreboard players set boat.state state 2 +execute as @a[team=boat] at @s run playsound minecraft:block.anvil.land player @s ~ ~ ~ 5 2 1 +title @a[team=boat] title ["\u00a79\u00a9\u00a7l 冰船游戏 Ice Boat Game"] +# execute if score boat.type state matches 1 run +team modify boat prefix ["\u00a7e[R]\u00a79 冰船\u00a78 | "] + + +execute if score boat.type board matches ..1 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7b冰船"] +execute if score boat.type board matches 2 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7d猪"] +execute if score boat.type board matches 3 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7c炽足兽"] +execute if score boat.type board matches 4 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位准备\u00a76赛跑"] +execute if score boat.type board matches 5 run title @a[team=boat] subtitle ["\u00a7a游戏即将开始,请各位乘坐上\u00a7e马"] + +execute if score boat.type board matches 4 run function boat/readygo +schedule function boat/reset 1s replace +scoreboard players set number boat.rounds 0 +tag @a remove boat.notspawn +execute unless score boat.type board matches 4 run tag @a[team=boat] add boat.notspawn + +# forceload remove -32 88 -102 313 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/startgo.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/startgo.mcfunction new file mode 100644 index 00000000..30678ee8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/startgo.mcfunction @@ -0,0 +1,10 @@ +title @a[team=boat] subtitle ["\u00a7b游戏开始"] +tellraw @a[team=boat] ["\u00a7e游戏开始!"] +# fill -66 165 -94 -60 160 -95 air replace stone_brick_wall +fill -76 141 295 -89 135 294 air replace cobblestone_wall + +execute as @a[team=boat] at @s run playsound minecraft:entity.player.levelup player @s ~ ~ ~ 5 1 1 +execute as @a[team=boat] at @s run playsound minecraft:block.note_block.pling player @s ~ ~ ~ 5 2 1 +team modify boat prefix ["\u00a76[P]\u00a79 冰船\u00a78 | "] +scoreboard players set number boat.rounds 0 +scoreboard players set boat.state state 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/tick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/tick.mcfunction new file mode 100644 index 00000000..96f08c9d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/tick.mcfunction @@ -0,0 +1,39 @@ +# execute as @a[team=golf,gamemode=adventure] at @s run kill @e[type=item,distance=0..5] + +# title @a[team=boat,x=-71,y=134,z=547,distance=0..3] actionbar ["\u00a76您已进入 \u00a7b[神秘区域]"] +execute as @a[team=boat] at @s run kill @e[type=item,distance=0..5] +kill @e[type=item,nbt={Item:{tag:{boatItem:1b}}}] +kill @e[type=item,nbt={Item:{tag:{boatItem:2b}}}] +# title @a[team=boat,x=-43,y=134,z=196,distance=0..4] actionbar ["\u00a76您已进入 \u00a7a[Part 2 - 街道]"] +# title @a[team=boat,x=285,y=134,z=554,distance=0..5] actionbar ["\u00a76您已进入 \u00a7d[Part 3 - 隧道]"] +# title @a[team=boat,x=285,y=134,z=560,distance=0..5] actionbar ["\u00a76您已进入 \u00a7d[Part 3 - 隧道]"] +# title @a[team=boat,x=735,y=-61,z=582,distance=0..5] actionbar ["\u00a76您已进入 \u00a73[Part 4 - 地下桃园]"] + +# 735 -61 582 +# boat.notinboat 玩家不在载具里 + +tag @a[tag=boat.notinboat] remove boat.notinboat +execute unless score boat.type board matches 4 run tag @a[team=boat] add boat.notinboat +execute as @a[team=boat] if predicate minecraft/boat/ifintheboat run tag @s remove boat.notinboat +execute unless score boat.type board matches 4 run execute as @a[team=boat,tag=!boat.notinboat] at @s run function boat/detectmyboat + +execute as @e[team=boat,type=!player] at @s if block ~ ~-1 ~ target run scoreboard players reset @s +execute as @e[team=boat,type=!player] at @s if block ~ ~-1 ~ target run kill @s + +execute as @a[team=boat,tag=!boat.notinboat,gamemode=adventure] at @s if block ~ ~ ~ target run function boat/win +execute as @a[team=boat,tag=!boat.notinboat,gamemode=adventure] at @s if block ~ ~-2 ~ target run function boat/win +execute as @a[team=boat,tag=!boat.notinboat,gamemode=adventure] at @s if block ~ ~-1 ~ target run function boat/win + +execute as @e[team=boat,type=!player] at @s if block ~ ~-1 ~ blue_ice run effect give @s speed 1 2 true +execute as @a[team=boat,tag=!boat.notinboat] at @s if block ~ ~-1 ~ blue_ice run effect give @s speed 1 2 true + +# execute as @e[team=boat,type=!player] at @s if block ~ ~-1 ~ emerald_block run function boat/letplayergetrandomitem + +# execute as @a[team=boat,tag=!boat.notinboat] at @s if block ~ ~-1 ~ emerald_block run function boat/ifgetrandomitem + +# execute as @e[type=marker,tag=boat.trap,tag=trap1] at @s if entity @a[team=boat,distance=0..4] run function boat/trap/1/active +# execute as @e[type=marker,tag=boat.trap,tag=trap1] at @s run particle dolphin ~ ~ ~ 3 0 3 0 15 +# execute as @e[type=marker,tag=boat.trap,tag=trap2] at @s if entity @a[team=boat,distance=0..4] run function boat/trap/2/active +# execute as @e[type=marker,tag=boat.trap,tag=trap2] at @s run particle flame ~ ~ ~ 3 0 3 0 15 +# execute as @e[tag=boat.trap,scores={park.uuid=1..}] at @s run tp ~ ~-0.1 ~ +# execute as @e[tag=boat.trap,scores={park.uuid=1..}] at @s run scoreboard players remove @s park.uuid 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/1/active.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/1/active.mcfunction new file mode 100644 index 00000000..7d23bc73 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/1/active.mcfunction @@ -0,0 +1,7 @@ +effect give @e[distance=0..6,team=boat] slowness 5 5 true +effect give @a[distance=0..6,team=boat] blindness 5 5 true +particle minecraft:explosion ~ ~ ~ 1 1 1 1 5 +playsound entity.generic.explode player @a[distance=0..6,team=boat] ~ ~ ~ 5 1 1 +title @a[distance=0..6,team=boat] title [""] +title @a[distance=0..6,team=boat] subtitle ["\u00a7c你触发了陷阱"] +kill @s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/1/spawn.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/1/spawn.mcfunction new file mode 100644 index 00000000..27e469e7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/1/spawn.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~10 ~ {Tags:["boat.trap","trap1","boat.new"]} +scoreboard players set @e[tag=boat.new] park.uuid 100 +tag @e[tag=boat.new] remove boat.new +particle lava ~ ~ ~ 1 1 1 1 100 normal \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/2/active.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/2/active.mcfunction new file mode 100644 index 00000000..1ea580c1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/2/active.mcfunction @@ -0,0 +1,8 @@ +execute as @a[team=boat,distance=0..6] at @s run tp ~ ~0.5 ~ +execute as @a[team=boat,distance=0..6] at @s run effect give @s slowness 1 25 true +particle minecraft:explosion ~ ~ ~ 1 1 1 1 5 +playsound entity.generic.explode player @a[distance=0..6,team=boat] ~ ~ ~ 5 1 1 +title @a[distance=0..6,team=boat] title [""] +title @a[distance=0..6,team=boat] subtitle ["\u00a7c你触发了陷阱"] + +kill @s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/2/spawn.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/2/spawn.mcfunction new file mode 100644 index 00000000..fbe6be0b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/trap/2/spawn.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~10 ~ {Tags:["boat.trap","trap2","boat.new"]} +scoreboard players set @e[tag=boat.new] park.uuid 100 +particle cloud ~ ~ ~ 1 1 1 1 100 normal +tag @e[tag=boat.new] remove boat.new \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/trystart.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/trystart.mcfunction new file mode 100644 index 00000000..fcdafb72 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/trystart.mcfunction @@ -0,0 +1,9 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=boat,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score boat.state state matches 1.. run function minecraft:boat/spec +execute unless score boat.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score boat.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score boat.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:boat/start \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boat/win.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boat/win.mcfunction new file mode 100644 index 00000000..c340da5e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boat/win.mcfunction @@ -0,0 +1,17 @@ +gamemode spectator @s +scoreboard players add number boat.rounds 1 +scoreboard players operation @s boat.rounds = number boat.rounds +tellraw @s ["\n\u00a7a\u00a7l 您到达了终点。\n\u00a7b\u00a7l 您是\u00a76\u00a7l 第",{"score":{"name": "@s","objective": "boat.rounds"},"color":"gold","bold": true},"\u00a76\u00a7l名\n"] +tellraw @a[team=boat,distance=1..] [{"selector":"@s"},"\n\u00a7a\u00a7l到达了终点。"] + +tag @s add boat.sel +execute as @e[tag=boat] if score @s park.uuid = @a[tag=boat.sel,limit=1] park.uuid run tag @s add boat.tmp +scoreboard players reset @e[tag=boat.tmp] +kill @e[tag=boat.tmp] +# tag @e[tag=boat,limit=1,sort=nearest] add boat.tmp +# execute if score @s park.uuid = @e[tag=boat.tmp,limit=1] park.uuid run tag @s add boat.ok +# execute as @s[tag=!boat.ok] run tp @s ~ ~0.5 ~ +# execute as @s[tag=!boat.ok] run tellraw @s ["\u00a7c这不是你的载具!这是",{"selector":"@e[tag=boat.tmp,limit=1]"},"\u00a7c,请乘坐你自己的载具。"] +tag @s remove boat.sel +tag @e remove boat.tmp +tag @s remove boat.ok \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/boatdied.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/boatdied.mcfunction new file mode 100644 index 00000000..7a50cd24 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/boatdied.mcfunction @@ -0,0 +1,2 @@ +scoreboard players reset @e[tag=damage.boat] +kill @e[tag=damage.boat] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/detectboat.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/detectboat.mcfunction new file mode 100644 index 00000000..63198fc9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/detectboat.mcfunction @@ -0,0 +1,13 @@ +tag @s add sel +execute as @e[tag=btw.boat,type=boat] if score @s park.uuid = @a[tag=sel,limit=1] park.uuid run tag @s add damage.boat +execute unless entity @e[tag=damage.boat] at @s run function boatwars/diedbecausenoboat +execute as @s[gamemode=spectator] run tag @e[tag=damage.boat] remove damage.boat +execute as @s[gamemode=spectator] run tag @s remove sel +execute as @s[gamemode=spectator] run return 0 +execute unless data entity @s {RootVehicle:{Entity:{Tags:["damage.boat"]}}} run tag @s add btw.notonmyboat +execute as @s[tag=btw.notonmyboat] run tellraw @s ["\u00a7c禁止的操作:下船、换船。"] +execute as @s[tag=btw.notonmyboat] run ride @s dismount +execute as @s[tag=btw.notonmyboat] run ride @s mount @e[tag=damage.boat,limit=1] +tag @s remove btw.notonmyboat +tag @e[tag=damage.boat] remove damage.boat +tag @s remove sel diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/detectplayercount.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/detectplayercount.mcfunction new file mode 100644 index 00000000..b02d5951 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/detectplayercount.mcfunction @@ -0,0 +1,16 @@ + +scoreboard players set btw.c.a board 0 +scoreboard players set btw.c.b board 0 +execute as @a[team=btw.play.a] run scoreboard players add btw.c.a board 1 +execute as @a[team=btw.play.b] run scoreboard players add btw.c.b board 1 + +execute if score btw.state state matches 1..2 if score btw.c.a board matches ..0 run function boatwars/over/b +execute if score btw.state state matches 1..2 if score btw.c.b board matches ..0 run function boatwars/over/a + +scoreboard players set btw.d.a board 0 +scoreboard players set btw.d.b board 0 +execute as @a[team=btw.play.a,gamemode=adventure] run scoreboard players add btw.d.a board 1 +execute as @a[team=btw.play.b,gamemode=adventure] run scoreboard players add btw.d.b board 1 + +execute if score btw.state state matches 1 if score btw.d.a board matches ..0 run function boatwars/roundover/b +execute if score btw.state state matches 1 if score btw.d.b board matches ..0 run function boatwars/roundover/a \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/died.mcfunction new file mode 100644 index 00000000..7d51d7c3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/died.mcfunction @@ -0,0 +1,5 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,你死了。"] +tp @s 591 50 -6 0 90 +tp @s[team=btw.play.a] 628 24 -40 45 0 +tp @s[team=btw.play.b] 554 24 28 -135 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/diedbecausenoboat.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/diedbecausenoboat.mcfunction new file mode 100644 index 00000000..0fa9d843 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/diedbecausenoboat.mcfunction @@ -0,0 +1,4 @@ +execute as @s at @s run function boatwars/died +tellraw @a[team=btw.wait] [{"selector":"@s"},"\u00a77溺水死了。"] +tellraw @a[team=btw.play.a] [{"selector":"@s"},"\u00a77溺水死了。"] +tellraw @a[team=btw.play.b] [{"selector":"@s"},"\u00a77溺水死了。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/gunitem.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/gunitem.mcfunction new file mode 100644 index 00000000..83d153fd --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/gunitem.mcfunction @@ -0,0 +1 @@ +give @s carrot_on_a_stick{display:{Name:'{"text":"枪 \\u00a77- 右键使用","color":"gold"}'},Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/info.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/info.mcfunction new file mode 100644 index 00000000..0956ff4b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/info.mcfunction @@ -0,0 +1,9 @@ +tag @s add sel +execute as @e[tag=btw.boat,type=boat] if score @s park.uuid = @a[tag=sel,limit=1] park.uuid run tag @s add damage.boat +scoreboard players set boat.health board 0 +scoreboard players operation boat.health board = @e[tag=damage.boat] btw.score +title @s actionbar ["\u00a7b船等级:",{"score":{"objective": "btw.boattype","name": "@s"},"color": "green"}," \u00a7d枪速度:",{"score":{"objective": "btw.gunspeed","name": "@s"},"color": "green"}," \u00a7e金币:",{"score":{"objective": "btw.coin","name": "@s"},"color": "light_purple"}," \u00a76剩余血量:",{"score":{"objective": "board","name": "boat.health"},"color": "red"}] +execute if score boat.health board matches ..0 run function boatwars/boatdied + +tag @e[type=boat,tag=damage.boat] remove damage.boat +tag @s remove sel \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/join.mcfunction new file mode 100644 index 00000000..091a9008 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/join.mcfunction @@ -0,0 +1,15 @@ +tellraw @s ["\n\u00a7e游戏公开测试中...遇到BUG请及时反馈!\n"] +title @s title [{"text":"\u00a7b\u00a7lBoat Wars","color":"#F28500"}] +title @s subtitle ["\u00a77Shoot them down!"] +gamemode adventure @s +execute in airworld run tp @s 591 1 -6 0 0 +execute at @s run playsound entity.player.levelup player @s ~ ~ ~ 10 2 1 +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator +team join btw.wait +effect clear @s +effect give @s instant_health 1 25 true +clear @s +scoreboard players reset @s btw.boattype +scoreboard players reset @s btw.gunspeed +scoreboard players reset @s btw.coin \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/a.mcfunction new file mode 100644 index 00000000..61350602 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/a.mcfunction @@ -0,0 +1,10 @@ +tellraw @a[team=btw.play.a] ["\u00a72\u00a7lBOATWARS:\u00a76获胜队伍:\u00a7a队伍A(你)"] +tellraw @a[team=btw.play.b] ["\u00a72\u00a7lBOATWARS:\u00a76获胜队伍:\u00a7a队伍A"] +tellraw @a[team=btw.wait] ["\u00a72\u00a7lBOATWARS:\u00a76获胜队伍:\u00a7a队伍A"] +title @a[team=btw.wait] title ["\u00a7c游戏结束"] +title @a[team=btw.play.a] title ["\u00a76你赢了"] +title @a[team=btw.play.b] title ["\u00a7c你输了"] +title @a[team=btw.wait] subtitle ["\u00a7a队伍A\u00a7r赢了"] +title @a[team=btw.play.a] subtitle ["\u00a7a队伍A(你)\u00a7r赢了"] +title @a[team=btw.play.b] subtitle ["\u00a7a队伍A\u00a7r赢了"] +function boatwars/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/aandb.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/aandb.mcfunction new file mode 100644 index 00000000..0d3acdd8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/aandb.mcfunction @@ -0,0 +1,10 @@ +tellraw @a[team=btw.play.a] ["\u00a72\u00a7lBOATWARS:\u00a76平局"] +tellraw @a[team=btw.play.b] ["\u00a72\u00a7lBOATWARS:\u00a76平局"] +tellraw @a[team=btw.wait] ["\u00a72\u00a7lBOATWARS:\u00a76平局"] +title @a[team=btw.wait] title ["\u00a7c游戏结束"] +title @a[team=btw.play.a] title ["\u00a76你并没有输"] +title @a[team=btw.play.b] title ["\u00a76你并没有输"] +title @a[team=btw.wait] subtitle ["\u00a7a平局"] +title @a[team=btw.play.a] subtitle ["\u00a7a平局"] +title @a[team=btw.play.b] subtitle ["\u00a7a平局"] +function boatwars/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/all.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/all.mcfunction new file mode 100644 index 00000000..c6dcadc6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/all.mcfunction @@ -0,0 +1,13 @@ +scoreboard players reset * btw.coin +scoreboard players set @a[team=btw.wait] btw.coin 0 +scoreboard players reset * btw.score +scoreboard players set btw.state state 5 +gamemode spectator @a[team=btw.play.a] +gamemode spectator @a[team=btw.play.b] +gamemode spectator @a[team=btw.wait] +scoreboard players reset * btw.boattype +scoreboard players reset * btw.gunspeed +schedule function boatwars/over/tp 5s +schedule clear boatwars/startround +kill @e[tag=btw.boat] +kill @e[tag=boat.gun.line] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/b.mcfunction new file mode 100644 index 00000000..c35bbc77 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/b.mcfunction @@ -0,0 +1,10 @@ +tellraw @a[team=btw.play.a] ["\u00a72\u00a7lBOATWARS:\u00a76获胜队伍:\u00a7a队伍B"] +tellraw @a[team=btw.play.b] ["\u00a72\u00a7lBOATWARS:\u00a76获胜队伍:\u00a7a队伍B(你)"] +tellraw @a[team=btw.wait] ["\u00a72\u00a7lBOATWARS:\u00a76获胜队伍:\u00a7a队伍B"] +title @a[team=btw.wait] title ["\u00a7c游戏结束"] +title @a[team=btw.play.b] title ["\u00a76你赢了"] +title @a[team=btw.play.a] title ["\u00a7c你输了"] +title @a[team=btw.wait] subtitle ["\u00a7a队伍B\u00a7r赢了"] +title @a[team=btw.play.a] subtitle ["\u00a7a队伍B\u00a7r赢了"] +title @a[team=btw.play.b] subtitle ["\u00a7a队伍B(你)\u00a7r赢了"] +function boatwars/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/check.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/check.mcfunction new file mode 100644 index 00000000..1eebecf8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/check.mcfunction @@ -0,0 +1,3 @@ +execute if score btw.state state matches 1.. if score btw.score.a board > btw.score.b board run function boatwars/over/a +execute if score btw.state state matches 1.. if score btw.score.a board < btw.score.b board run function boatwars/over/b +execute if score btw.state state matches 1.. if score btw.score.a board = btw.score.b board run function boatwars/over/aandb \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/tp.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/tp.mcfunction new file mode 100644 index 00000000..74a719b2 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/over/tp.mcfunction @@ -0,0 +1,7 @@ +tag @a[team=btw.play.a] add tmp +tag @a[team=btw.play.b] add tmp +tag @a[team=btw.wait] add tmp +execute as @a[tag=tmp] run function boatwars/join +tag @a[tag=tmp] remove tmp +scoreboard players set btw.state state 0 +schedule clear boatwars/startround diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/ranteam.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/ranteam.mcfunction new file mode 100644 index 00000000..08b0d9d1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/ranteam.mcfunction @@ -0,0 +1,10 @@ +tag @a[tag=boat.out] remove boat.out +tag @r[team=btw.wait,gamemode=adventure] add boat.out +scoreboard players add duel.ranteam board 1 +execute if score duel.ranteam board matches 1..1 run team join btw.play.a @a[tag=boat.out] +execute if score duel.ranteam board matches 2..2 run team join btw.play.b @a[tag=boat.out] +tellraw @a[tag=boat.out,team=btw.play.a] ["\u00a7a你加入了 \u00a7e战船A队"] +tellraw @a[tag=boat.out,team=btw.play.b] ["\u00a7a你加入了 \u00a79战船B队"] + +execute if score duel.ranteam board matches 2.. run scoreboard players set duel.ranteam board 0 +tag @a[tag=boat.out] remove boat.out \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/a.mcfunction new file mode 100644 index 00000000..4db9f955 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/a.mcfunction @@ -0,0 +1,9 @@ +scoreboard players add @a[team=btw.play.a,gamemode=adventure] btw.coin 150 +scoreboard players add @a[team=btw.play.a,gamemode=spectator] btw.coin 75 +scoreboard players add @a[team=btw.play.b] btw.coin 20 + +tellraw @a[team=btw.wait] ["\n\u00a7a 本回合结束。获胜队伍:A\n"] +tellraw @a[team=btw.play.a] ["\n\u00a7a 本回合结束。获胜队伍:A(你)\n"] +tellraw @a[team=btw.play.b] ["\n\u00a7a 本回合结束。获胜队伍:A\n"] +scoreboard players add btw.score.a board 1 +function boatwars/roundover/waitnext diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/b.mcfunction new file mode 100644 index 00000000..587bde39 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/b.mcfunction @@ -0,0 +1,11 @@ +scoreboard players add @a[team=btw.play.b,gamemode=adventure] btw.coin 100 +scoreboard players add @a[team=btw.play.b,gamemode=spectator] btw.coin 50 +scoreboard players add @a[team=btw.play.a] btw.coin 20 + + +tellraw @a[team=btw.wait] ["\n\u00a7a 本回合结束。获胜队伍:B\n"] + +tellraw @a[team=btw.play.a] ["\n\u00a7a 本回合结束。获胜队伍:B\n"] +tellraw @a[team=btw.play.b] ["\n\u00a7a 本回合结束。获胜队伍:B(你)\n"] +scoreboard players add btw.score.b board 1 +function boatwars/roundover/waitnext diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/waitnext.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/waitnext.mcfunction new file mode 100644 index 00000000..d746cb36 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/roundover/waitnext.mcfunction @@ -0,0 +1,17 @@ +scoreboard players add btw.round board 1 +scoreboard players set btw.state state 2 +kill @e[type=boat,tag=btw.boat] +xp set @a[team=btw.play.b] 0 points +xp set @a[team=btw.play.b] 0 levels +xp set @a[team=btw.play.a] 0 points +xp set @a[team=btw.play.a] 0 levels +execute if score btw.round board > btw.toround board run function boatwars/over/check +execute if score btw.round board > btw.toround board run return 0 +tellraw @a[team=btw.wait] ["\u00a7a当前回合:",{"score":{"objective": "board","name": "btw.round"},"color":"green"},"\u00a76 / ",{"score":{"objective": "board","name": "btw.toround"},"color":"gold"},{"translate":"\n\u00a77当前比分:\u00a7aA [%s\u00a7a] ; \u00a7bB [%s\u00a7b]","with": [{"score":{"objective": "board","name": "btw.score.a"},"color":"gold"},{"score":{"objective": "board","name": "btw.score.b"},"color":"gold"}]},"\n\u00a7b下一局游戏将在15秒后开始。"] +tellraw @a[team=btw.play.a] ["\u00a7a当前回合:",{"score":{"objective": "board","name": "btw.round"},"color":"green"},"\u00a76 / ",{"score":{"objective": "board","name": "btw.toround"},"color":"gold"},{"translate":"\n\u00a77当前比分:\u00a7aA [%s\u00a7a] ; \u00a7bB [%s\u00a7b]","with": [{"score":{"objective": "board","name": "btw.score.a"},"color":"gold"},{"score":{"objective": "board","name": "btw.score.b"},"color":"gold"}]},"\n\u00a7b下一局游戏将在15秒后开始。"] +tellraw @a[team=btw.play.b] ["\u00a7a当前回合:",{"score":{"objective": "board","name": "btw.round"},"color":"green"},"\u00a76 / ",{"score":{"objective": "board","name": "btw.toround"},"color":"gold"},{"translate":"\n\u00a77当前比分:\u00a7aA [%s\u00a7a] ; \u00a7bB [%s\u00a7b]","with": [{"score":{"objective": "board","name": "btw.score.a"},"color":"gold"},{"score":{"objective": "board","name": "btw.score.b"},"color":"gold"}]},"\n\u00a7b下一局游戏将在15秒后开始。"] +execute as @a[team=btw.play.a,gamemode=spectator] at @s run gamemode adventure @s +execute as @a[team=btw.play.b,gamemode=spectator] at @s run gamemode adventure @s +execute as @a[team=btw.play.a] at @s run function boatwars/tpposition +execute as @a[team=btw.play.b] at @s run function boatwars/tpposition +schedule function boatwars/startround 15s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/second.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/second.mcfunction new file mode 100644 index 00000000..32502df8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/second.mcfunction @@ -0,0 +1,11 @@ +execute in minecraft:airworld run spawnpoint @s 553 6 32 +effect give @a[team=btw.wait] resistance 1 25 true +effect give @a[team=btw.play.a] resistance 1 25 true +effect give @a[team=btw.play.b] resistance 1 25 true + +execute as @a[team=btw.play.a,gamemode=adventure] at @s run function boatwars/info +execute as @a[team=btw.play.b,gamemode=adventure] at @s run function boatwars/info +execute if score btw.state state matches 1..2 run function boatwars/detectplayercount + +execute if score btw.state state matches 1 as @a[team=btw.play.a,gamemode=adventure] run function boatwars/testgunitem +execute if score btw.state state matches 1 as @a[team=btw.play.b,gamemode=adventure] run function boatwars/testgunitem diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/spawnboat.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/spawnboat.mcfunction new file mode 100644 index 00000000..43a268b5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/spawnboat.mcfunction @@ -0,0 +1,36 @@ +# tp @s[team=btw.play.a] 628 14 -40 45 0 +# tp @s[team=btw.play.b] 554 14 28 -135 0 +execute as @s[team=btw.play.a] if score @s btw.boattype matches 0 run summon boat 628 14 -40 {Type:"bamboo",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.a] if score @s btw.boattype matches 1 run summon boat 628 14 -40 {Type:"birch",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.a] if score @s btw.boattype matches 2 run summon boat 628 14 -40 {Type:"acacia",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.a] if score @s btw.boattype matches 3 run summon boat 628 14 -40 {Type:"dark_oak",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.a] if score @s btw.boattype matches 4 run summon boat 628 14 -40 {Type:"cherry",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.a] if score @s btw.boattype matches 5 run summon boat 628 14 -40 {Type:"mangrove",Tags:["boat.new","btw.boat"],Invulnerable:1b} + +execute as @s[team=btw.play.b] if score @s btw.boattype matches 0 run summon boat 554 14 28 {Type:"bamboo",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.b] if score @s btw.boattype matches 1 run summon boat 554 14 28 {Type:"birch",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.b] if score @s btw.boattype matches 2 run summon boat 554 14 28 {Type:"acacia",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.b] if score @s btw.boattype matches 3 run summon boat 554 14 28 {Type:"dark_oak",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.b] if score @s btw.boattype matches 4 run summon boat 554 14 28 {Type:"cherry",Tags:["boat.new","btw.boat"],Invulnerable:1b} +execute as @s[team=btw.play.b] if score @s btw.boattype matches 5 run summon boat 554 14 28 {Type:"mangrove",Tags:["boat.new","btw.boat"],Invulnerable:1b} + +execute as @s[team=btw.play.a] run tp @s 628 14 -40 45 0 +# execute as @s[team=btw.play.a] run tp @e[tag=boat.new] 628 14 -40 45 0 +execute as @s[team=btw.play.b] run tp @s 554 14 28 -135 0 +# execute as @s[team=btw.play.b] run tp @e[tag=boat.new] 554 14 28 -135 0 +scoreboard players operation @e[tag=boat.new] park.uuid = @s park.uuid + +execute if score @s btw.boattype matches 0 run scoreboard players set @e[tag=boat.new] btw.score 10 +execute if score @s btw.boattype matches 1 run scoreboard players set @e[tag=boat.new] btw.score 15 +execute if score @s btw.boattype matches 2 run scoreboard players set @e[tag=boat.new] btw.score 20 +execute if score @s btw.boattype matches 3 run scoreboard players set @e[tag=boat.new] btw.score 25 +execute if score @s btw.boattype matches 4 run scoreboard players set @e[tag=boat.new] btw.score 30 +execute if score @s btw.boattype matches 5 run scoreboard players set @e[tag=boat.new] btw.score 35 + +ride @s mount @e[tag=boat.new,limit=1] + +tag @e[tag=boat.new] remove boat.new + +title @s title ["\u00a7a游戏开始!"] +title @s subtitle ["\u00a7f游戏开始!"] +playsound entity.player.levelup player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/spec.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/spec.mcfunction new file mode 100644 index 00000000..12762b0d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,当前游戏已经开始。你将在下一轮进入游戏。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/start.mcfunction new file mode 100644 index 00000000..c9810c5e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/start.mcfunction @@ -0,0 +1,24 @@ +scoreboard players reset * btw.coin +scoreboard players reset * btw.score +scoreboard players set btw.state state 2 +scoreboard players set btw.round board 0 + +scoreboard players set btw.score.a board 0 +scoreboard players set btw.score.b board 0 + +scoreboard players set btw.toround board 0 +execute as @a[team=btw.wait,gamemode=adventure] run scoreboard players add btw.toround board 1 +scoreboard players set 2 board 2 +scoreboard players operation btw.toround board *= 1 board +scoreboard players add btw.toround board 1 +execute if score btw.toround board matches 8.. run scoreboard players set btw.toround board 8 +tellraw @a[team=btw.wait] ["\u00a76本次回合数量:",{"score":{"objective": "board","name": "btw.toround"}}] +scoreboard players reset * btw.boattype +scoreboard players reset * btw.gunspeed +scoreboard players set @a[team=btw.wait] btw.coin 0 +scoreboard players set @a[team=btw.wait] btw.boattype 0 +scoreboard players set @a[team=btw.wait] btw.gunspeed 0 +xp set @a[team=btw.wait] 0 points +xp set @a[team=btw.wait] 0 levels +execute as @a[team=btw.wait,gamemode=adventure] at @s run function boatwars/ranteam +function boatwars/roundover/waitnext \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/startposition.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/startposition.mcfunction new file mode 100644 index 00000000..6b25144d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/startposition.mcfunction @@ -0,0 +1,3 @@ +# tp @s[team=btw.play.a] 628 14 -40 45 0 +# tp @s[team=btw.play.b] 554 14 28 -135 0 +# # tp @s[team=btw.wait] 628 24 -40 45 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/startround.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/startround.mcfunction new file mode 100644 index 00000000..82f61006 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/startround.mcfunction @@ -0,0 +1,3 @@ +execute as @a[team=btw.play.a] at @s run function boatwars/spawnboat +execute as @a[team=btw.play.b] at @s run function boatwars/spawnboat +scoreboard players set btw.state state 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/testgunitem.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/testgunitem.mcfunction new file mode 100644 index 00000000..d99e25b3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/testgunitem.mcfunction @@ -0,0 +1,4 @@ +execute store result score tmp board run clear @s carrot_on_a_stick 0 +execute if score tmp board matches ..0 run function boatwars/gunitem +execute if score tmp board matches 2.. run clear @s carrot_on_a_stick +execute if score tmp board matches 2.. run function boatwars/gunitem \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/tick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/tick.mcfunction new file mode 100644 index 00000000..876ecc91 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/tick.mcfunction @@ -0,0 +1,18 @@ +execute as @e[tag=boat.gun.line] at @s run function boatgun:gun/main + +execute in airworld as @a[x=553,y=6,z=32,distance=..1,gamemode=adventure] at @s run function boatwars/died +execute if score btw.state state matches 1 as @a[team=btw.play.a,gamemode=adventure] run function boatwars/detectboat +execute if score btw.state state matches 1 as @a[team=btw.play.b,gamemode=adventure] run function boatwars/detectboat + + +execute as @a[team=btw.play.a,gamemode=adventure] at @s run kill @e[type=item,distance=..5] +execute as @a[team=btw.play.b,gamemode=adventure] at @s run kill @e[type=item,distance=..5] + +xp add @a[team=btw.play.a] -1 points +xp add @a[team=btw.play.b] -1 points + +execute as @a[team=btw.play.a,scores={btw.gunspeed=1..}] at @s run xp add @s -1 points +execute as @a[team=btw.play.b,scores={btw.gunspeed=1..}] at @s run xp add @s -1 points + +execute as @a[team=btw.play.a,scores={btw.gunspeed=3..}] at @s run xp add @s -1 points +execute as @a[team=btw.play.b,scores={btw.gunspeed=3..}] at @s run xp add @s -1 points \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/tpposition.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/tpposition.mcfunction new file mode 100644 index 00000000..3663ef77 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/tpposition.mcfunction @@ -0,0 +1,4 @@ +tp @s[team=btw.play.a] 628 24 -40 45 0 +tp @s[team=btw.play.b] 554 24 28 -135 0 +# tp @s[team=btw.wait] 628 24 -40 45 0 +clear @s diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/trystart.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/trystart.mcfunction new file mode 100644 index 00000000..5b4b31ba --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/trystart.mcfunction @@ -0,0 +1,15 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=btw.wait,gamemode=adventure] run scoreboard players add wait.player tick 1 + +# ## regoin 维护 +# scoreboard players set wait.player tick 0 +# tellraw @s ["\n\u00a7c很抱歉,此游戏仍在测试阶段!\n"] + +# ## endregoin 维护 + +execute if score btw.state state matches 1.. run function minecraft:boatwars/spec +execute unless score btw.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score btw.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score btw.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:boatwars/start \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/upgrade/boat.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/upgrade/boat.mcfunction new file mode 100644 index 00000000..509a4061 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/upgrade/boat.mcfunction @@ -0,0 +1,15 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score @s btw.boattype matches 0 run scoreboard players set boat.needcoin board 500 +execute if score @s btw.boattype matches 1 run scoreboard players set boat.needcoin board 500 +execute if score @s btw.boattype matches 2 run scoreboard players set boat.needcoin board 600 +execute if score @s btw.boattype matches 3 run scoreboard players set boat.needcoin board 600 +execute if score @s btw.boattype matches 4 run scoreboard players set boat.needcoin board 800 +execute if score @s btw.boattype matches 5 run tellraw @s ["\u00a7c无法升级:已经达到最满级。"] +execute if score @s btw.boattype matches 5 run return 0 +execute if score @s btw.coin < boat.needcoin board run tellraw @s ["\u00a7c无法升级:金币不够。需要:",{"score":{"name": "boat.needcoin","objective": "board"},"color": "yellow"}] +execute if score @s btw.coin < boat.needcoin board run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s btw.coin < boat.needcoin board run return 0 +scoreboard players operation @s btw.coin -= boat.needcoin board +scoreboard players add @s btw.boattype 1 +playsound entity.player.levelup player @s ~ ~ ~ 1 2 1 +tellraw @s ["\u00a7a升级成功,当前等级:",{"score":{"name": "@s","objective": "btw.boattype"},"color": "aqua"}] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/upgrade/gun.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/upgrade/gun.mcfunction new file mode 100644 index 00000000..5b4d8eb8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/upgrade/gun.mcfunction @@ -0,0 +1,20 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score @s btw.gunspeed matches 0 run scoreboard players set boat.needcoin board 500 +execute if score @s btw.gunspeed matches 1 run scoreboard players set boat.needcoin board 600 +execute if score @s btw.gunspeed matches 2 run scoreboard players set boat.needcoin board 600 +execute if score @s btw.gunspeed matches 3 run scoreboard players set boat.needcoin board 700 +execute if score @s btw.gunspeed matches 4 run scoreboard players set boat.needcoin board 700 +execute if score @s btw.gunspeed matches 5 run scoreboard players set boat.needcoin board 800 +execute if score @s btw.gunspeed matches 6 run scoreboard players set boat.needcoin board 800 +execute if score @s btw.gunspeed matches 7 run scoreboard players set boat.needcoin board 900 +execute if score @s btw.gunspeed matches 8 run scoreboard players set boat.needcoin board 900 +execute if score @s btw.gunspeed matches 9 run scoreboard players set boat.needcoin board 1000 +execute if score @s btw.gunspeed matches 10 run tellraw @s ["\u00a7c无法升级:已经达到最满级。"] +execute if score @s btw.gunspeed matches 10 run return 0 +execute if score @s btw.coin < boat.needcoin board run tellraw @s ["\u00a7c无法升级:金币不够。需要:",{"score":{"name": "boat.needcoin","objective": "board"},"color": "yellow"}] +execute if score @s btw.coin < boat.needcoin board run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s btw.coin < boat.needcoin board run return 0 +scoreboard players operation @s btw.coin -= boat.needcoin board +scoreboard players add @s btw.gunspeed 1 +playsound entity.player.levelup player @s ~ ~ ~ 1 2 1 +tellraw @s ["\u00a7a升级成功,当前速度:",{"score":{"name": "@s","objective": "btw.gunspeed"},"color": "aqua"}] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/boatwars/usegun.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/usegun.mcfunction new file mode 100644 index 00000000..3c237236 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/boatwars/usegun.mcfunction @@ -0,0 +1,8 @@ +# scoreboard players +title @s[level=1..] actionbar ["\u00a7c冷却中..."] +execute as @s[level=1..] at @s run playsound block.chest.locked player @s ~ ~ ~ 1 2 1 +execute as @s[level=1..] at @s run return 0 +execute as @s[team=btw.play.a] at @s run function boatgun:shoot/a +execute as @s[team=btw.play.b] at @s run function boatgun:shoot/b +xp set @s 0 points +xp set @s 3 levels \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/cloud/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/cloud/join.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/cloud/maps/points/ungrassed.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/cloud/maps/points/ungrassed.mcfunction new file mode 100644 index 00000000..60cb9982 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/cloud/maps/points/ungrassed.mcfunction @@ -0,0 +1,62 @@ +kill @e[tag=sw.marker,type=marker] +summon marker 735 3 323 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 735 -4 321 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 734 -4 327 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 718 3 304 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 720 -4 304 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 714 -4 303 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 688 3 276 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 688 -4 274 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 687 -4 280 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 660 3 306 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 658 -4 306 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 664 -4 307 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 641 3 323 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 641 -4 321 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 640 -4 327 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 613 3 353 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 611 -4 353 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 617 -4 354 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 643 3 381 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 643 -4 383 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 644 -4 377 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 660 3 400 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 658 -4 400 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 664 -4 401 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 690 3 428 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 690 -4 430 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 691 -4 424 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 718 3 398 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 720 -4 398 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 714 -4 397 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 737 3 381 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 737 -4 383 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 738 -4 377 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 765 3 351 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 767 -4 351 {Tags:["sw.chest.side","sw.chests","sw.marker"]} +summon marker 761 -4 350 {Tags:["sw.chest.side","sw.chests","sw.marker"]} + +summon marker 734 3 326 {Tags:["sw.spawn","sw.marker"]} +summon marker 716 3 302 {Tags:["sw.spawn","sw.marker"]} +summon marker 685 3 279 {Tags:["sw.spawn","sw.marker"]} +summon marker 662 3 310 {Tags:["sw.spawn","sw.marker"]} +summon marker 638 3 326 {Tags:["sw.spawn","sw.marker"]} +summon marker 615 3 356 {Tags:["sw.spawn","sw.marker"]} +summon marker 646 3 379 {Tags:["sw.spawn","sw.marker"]} +summon marker 662 3 403 {Tags:["sw.spawn","sw.marker"]} +summon marker 692 3 425 {Tags:["sw.spawn","sw.marker"]} +summon marker 716 3 395 {Tags:["sw.spawn","sw.marker"]} +summon marker 740 3 379 {Tags:["sw.spawn","sw.marker"]} +summon marker 763 3 348 {Tags:["sw.spawn","sw.marker"]} + +summon marker 689 4 319 {Tags:["sw.marker","sw.chest.sidemiddle"]} +summon marker 656 4 352 {Tags:["sw.marker","sw.chest.sidemiddle"]} +summon marker 689 4 385 {Tags:["sw.marker","sw.chest.sidemiddle"]} +summon marker 722 4 352 {Tags:["sw.marker","sw.chest.sidemiddle"]} + +summon marker 704 0 352 {Tags:["sw.marker","sw.chest.middle"]} +summon marker 689 0 367 {Tags:["sw.marker","sw.chest.middle"]} +summon marker 674 0 352 {Tags:["sw.marker","sw.chest.middle"]} +summon marker 689 0 337 {Tags:["sw.marker","sw.chest.middle"]} + +function minecraft:cloud/resetover \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/cloud/maps/ungrassed.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/cloud/maps/ungrassed.mcfunction new file mode 100644 index 00000000..62a41928 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/cloud/maps/ungrassed.mcfunction @@ -0,0 +1,117 @@ + +execute in airworld if score cloud.reset board matches 0 run forceload add 365 266 546 442 +execute in airworld if score cloud.reset board matches 1 run fill 599 -64 266 780 -64 442 air +execute in airworld if score cloud.reset board matches 2 run fill 599 -63 266 780 -63 442 air +execute in airworld if score cloud.reset board matches 3 run fill 599 -62 266 780 -62 442 air +execute in airworld if score cloud.reset board matches 4 run fill 599 -61 266 780 -61 442 air +execute in airworld if score cloud.reset board matches 5 run fill 599 -60 266 780 -60 442 air +execute in airworld if score cloud.reset board matches 6 run fill 599 -59 266 780 -59 442 air +execute in airworld if score cloud.reset board matches 7 run fill 599 -58 266 780 -58 442 air +execute in airworld if score cloud.reset board matches 8 run fill 599 -57 266 780 -57 442 air +execute in airworld if score cloud.reset board matches 9 run fill 599 -56 266 780 -56 442 air +execute in airworld if score cloud.reset board matches 10 run fill 599 -55 266 780 -55 442 air +execute in airworld if score cloud.reset board matches 11 run fill 599 -54 266 780 -54 442 air +execute in airworld if score cloud.reset board matches 12 run fill 599 -53 266 780 -53 442 air +execute in airworld if score cloud.reset board matches 13 run fill 599 -52 266 780 -52 442 air +execute in airworld if score cloud.reset board matches 14 run fill 599 -51 266 780 -51 442 air +execute in airworld if score cloud.reset board matches 15 run fill 599 -50 266 780 -50 442 air +execute in airworld if score cloud.reset board matches 16 run fill 599 -49 266 780 -49 442 air +execute in airworld if score cloud.reset board matches 17 run fill 599 -48 266 780 -48 442 air +execute in airworld if score cloud.reset board matches 18 run fill 599 -47 266 780 -47 442 air +execute in airworld if score cloud.reset board matches 19 run fill 599 -46 266 780 -46 442 air +execute in airworld if score cloud.reset board matches 20 run fill 599 -45 266 780 -45 442 air +execute in airworld if score cloud.reset board matches 21 run fill 599 -44 266 780 -44 442 air +execute in airworld if score cloud.reset board matches 22 run fill 599 -43 266 780 -43 442 air +execute in airworld if score cloud.reset board matches 23 run fill 599 -42 266 780 -42 442 air +execute in airworld if score cloud.reset board matches 24 run fill 599 -41 266 780 -41 442 air +execute in airworld if score cloud.reset board matches 25 run fill 599 -40 266 780 -40 442 air +execute in airworld if score cloud.reset board matches 26 run fill 599 -39 266 780 -39 442 air +execute in airworld if score cloud.reset board matches 27 run fill 599 -38 266 780 -38 442 air +execute in airworld if score cloud.reset board matches 28 run fill 599 -37 266 780 -37 442 air +execute in airworld if score cloud.reset board matches 29 run fill 599 -36 266 780 -36 442 air +execute in airworld if score cloud.reset board matches 30 run fill 599 -35 266 780 -35 442 air +execute in airworld if score cloud.reset board matches 31 run fill 599 -34 266 780 -34 442 air +execute in airworld if score cloud.reset board matches 32 run fill 599 -33 266 780 -33 442 air +execute in airworld if score cloud.reset board matches 33 run fill 599 -32 266 780 -32 442 air +execute in airworld if score cloud.reset board matches 34 run fill 599 -31 266 780 -31 442 air +execute in airworld if score cloud.reset board matches 35 run fill 599 -30 266 780 -30 442 air +execute in airworld if score cloud.reset board matches 36 run fill 599 -29 266 780 -29 442 air +execute in airworld if score cloud.reset board matches 37 run fill 599 25 266 780 25 442 air + +execute in airworld if score cloud.reset board matches 38 run clone 365 -64 266 546 -64 442 599 -28 266 +execute in airworld if score cloud.reset board matches 39 run clone 365 -63 266 546 -63 442 599 -27 266 +execute in airworld if score cloud.reset board matches 40 run clone 365 -62 266 546 -62 442 599 -26 266 +execute in airworld if score cloud.reset board matches 41 run clone 365 -61 266 546 -61 442 599 -25 266 +execute in airworld if score cloud.reset board matches 42 run clone 365 -60 266 546 -60 442 599 -24 266 +execute in airworld if score cloud.reset board matches 43 run clone 365 -59 266 546 -59 442 599 -23 266 +execute in airworld if score cloud.reset board matches 44 run clone 365 -58 266 546 -58 442 599 -22 266 +execute in airworld if score cloud.reset board matches 45 run clone 365 -57 266 546 -57 442 599 -21 266 +execute in airworld if score cloud.reset board matches 46 run clone 365 -56 266 546 -56 442 599 -20 266 +execute in airworld if score cloud.reset board matches 47 run clone 365 -55 266 546 -55 442 599 -19 266 +execute in airworld if score cloud.reset board matches 48 run clone 365 -54 266 546 -54 442 599 -18 266 +execute in airworld if score cloud.reset board matches 49 run clone 365 -53 266 546 -53 442 599 -17 266 +execute in airworld if score cloud.reset board matches 50 run clone 365 -52 266 546 -52 442 599 -16 266 +execute in airworld if score cloud.reset board matches 51 run clone 365 -51 266 546 -51 442 599 -15 266 +execute in airworld if score cloud.reset board matches 52 run clone 365 -50 266 546 -50 442 599 -14 266 +execute in airworld if score cloud.reset board matches 53 run clone 365 -49 266 546 -49 442 599 -13 266 +execute in airworld if score cloud.reset board matches 54 run clone 365 -48 266 546 -48 442 599 -12 266 +execute in airworld if score cloud.reset board matches 55 run clone 365 -47 266 546 -47 442 599 -11 266 +execute in airworld if score cloud.reset board matches 56 run clone 365 -46 266 546 -46 442 599 -10 266 +execute in airworld if score cloud.reset board matches 57 run clone 365 -45 266 546 -45 442 599 -9 266 +execute in airworld if score cloud.reset board matches 58 run clone 365 -44 266 546 -44 442 599 -8 266 +execute in airworld if score cloud.reset board matches 59 run clone 365 -43 266 546 -43 442 599 -7 266 +execute in airworld if score cloud.reset board matches 60 run clone 365 -42 266 546 -42 442 599 -6 266 +execute in airworld if score cloud.reset board matches 61 run clone 365 -41 266 546 -41 442 599 -5 266 +execute in airworld if score cloud.reset board matches 62 run clone 365 -40 266 546 -40 442 599 -4 266 +execute in airworld if score cloud.reset board matches 63 run clone 365 -39 266 546 -39 442 599 -3 266 +execute in airworld if score cloud.reset board matches 64 run clone 365 -38 266 546 -38 442 599 -2 266 +execute in airworld if score cloud.reset board matches 65 run clone 365 -37 266 546 -37 442 599 -1 266 +execute in airworld if score cloud.reset board matches 66 run clone 365 -36 266 546 -36 442 599 0 266 +execute in airworld if score cloud.reset board matches 67 run clone 365 -35 266 546 -35 442 599 1 266 +execute in airworld if score cloud.reset board matches 68 run clone 365 -34 266 546 -34 442 599 2 266 +execute in airworld if score cloud.reset board matches 69 run clone 365 -33 266 546 -33 442 599 3 266 +execute in airworld if score cloud.reset board matches 70 run clone 365 -32 266 546 -32 442 599 4 266 +execute in airworld if score cloud.reset board matches 71 run clone 365 -31 266 546 -31 442 599 5 266 +execute in airworld if score cloud.reset board matches 72 run clone 365 -30 266 546 -30 442 599 6 266 +execute in airworld if score cloud.reset board matches 73 run clone 365 -29 266 546 -29 442 599 7 266 +execute in airworld if score cloud.reset board matches 74 run clone 365 -28 266 546 -28 442 599 8 266 +execute in airworld if score cloud.reset board matches 75 run clone 365 -27 266 546 -27 442 599 9 266 +execute in airworld if score cloud.reset board matches 76 run clone 365 -26 266 546 -26 442 599 10 266 +execute in airworld if score cloud.reset board matches 77 run clone 365 -25 266 546 -25 442 599 11 266 +execute in airworld if score cloud.reset board matches 78 run clone 365 -24 266 546 -24 442 599 12 266 +execute in airworld if score cloud.reset board matches 79 run clone 365 -23 266 546 -23 442 599 13 266 +execute in airworld if score cloud.reset board matches 80 run clone 365 -22 266 546 -22 442 599 14 266 +execute in airworld if score cloud.reset board matches 81 run clone 365 -21 266 546 -21 442 599 15 266 +execute in airworld if score cloud.reset board matches 82 run clone 365 -20 266 546 -20 442 599 16 266 +execute in airworld if score cloud.reset board matches 83 run clone 365 -19 266 546 -19 442 599 17 266 +execute in airworld if score cloud.reset board matches 84 run clone 365 -18 266 546 -18 442 599 18 266 +execute in airworld if score cloud.reset board matches 85 run clone 365 -17 266 546 -17 442 599 19 266 +execute in airworld if score cloud.reset board matches 86 run clone 365 -16 266 546 -16 442 599 20 266 +execute in airworld if score cloud.reset board matches 87 run clone 365 -15 266 546 -15 442 599 21 266 +execute in airworld if score cloud.reset board matches 88 run clone 365 -14 266 546 -14 442 599 22 266 +execute in airworld if score cloud.reset board matches 89 run clone 365 -13 266 546 -13 442 599 23 266 +execute in airworld if score cloud.reset board matches 90 run clone 365 -12 266 546 -12 442 599 24 266 + +execute in airworld if score cloud.reset board matches 90 run fill 599 25 266 780 25 442 air +execute in airworld if score cloud.reset board matches 91 run fill 599 26 266 780 26 442 air +execute in airworld if score cloud.reset board matches 92 run fill 599 27 266 780 27 442 air +execute in airworld if score cloud.reset board matches 93 run fill 599 28 266 780 28 442 air +execute in airworld if score cloud.reset board matches 94 run fill 599 29 266 780 29 442 air +execute in airworld if score cloud.reset board matches 95 run fill 599 30 266 780 30 442 air +execute in airworld if score cloud.reset board matches 96 run fill 599 31 266 780 31 442 air +execute in airworld if score cloud.reset board matches 97 run fill 599 32 266 780 32 442 air +execute in airworld if score cloud.reset board matches 98 run fill 599 33 266 780 33 442 air +execute in airworld if score cloud.reset board matches 99 run fill 599 34 266 780 34 442 air +execute in airworld if score cloud.reset board matches 100 run fill 599 35 266 780 35 442 air +execute in airworld if score cloud.reset board matches 101 run fill 599 36 266 780 36 442 air +execute in airworld if score cloud.reset board matches 102 run fill 599 37 266 780 37 442 air +execute in airworld if score cloud.reset board matches 103 run fill 599 38 266 780 38 442 air +execute in airworld if score cloud.reset board matches 104 run fill 599 39 266 780 39 442 air +execute in airworld if score cloud.reset board matches 105 run fill 599 40 266 780 40 442 air + +execute in airworld if score cloud.reset board matches ..105 run title @a[team=wait.sw] title ["\u00a7b重置地图中..."] +execute in airworld if score cloud.reset board matches ..105 run title @a[team=wait.sw] subtitle [{"score":{"name": "cloud.reset","objective": "board"},"color": "green"},"\u00a7b / 105"] +execute in airworld if score cloud.reset board matches ..105 run schedule function minecraft:cloud/maps/ungrassed 1t +execute in airworld if score cloud.reset board matches ..105 run scoreboard players add cloud.reset board 1 +execute in airworld if score cloud.reset board matches 106.. run forceload remove 365 266 546 442 +execute in airworld if score cloud.reset board matches 106.. run function minecraft:cloud/maps/points/ungrassed diff --git a/datapacks/map_game_2nd/data/minecraft/functions/cloud/reset.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/cloud/reset.mcfunction new file mode 100644 index 00000000..7ec707ce --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/cloud/reset.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set cloud.reset board 0 +forceload add 599 266 780 442 +kill @e[tag=sw.marker,type=marker] +schedule clear minecraft:cloud/maps/ungrassed +function minecraft:cloud/maps/ungrassed +title @a[team=wait.sw] times 0 30 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/cloud/resetover.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/cloud/resetover.mcfunction new file mode 100644 index 00000000..ca62e0e7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/cloud/resetover.mcfunction @@ -0,0 +1,4 @@ +forceload remove 599 266 780 442 +title @a[team=wait.sw] reset +title @a[team=wait.sw] title ["\u00a7b地图准备完毕"] +title @a[team=wait.sw] subtitle ["\u00a7a重置完毕"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/hftick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/hftick.mcfunction new file mode 100644 index 00000000..23cacf0e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/hftick.mcfunction @@ -0,0 +1 @@ +execute in lobby if score desk.type board matches 1 run function minecraft:desk/touzi/hftick \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/join.mcfunction new file mode 100644 index 00000000..ca8608ff --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/join.mcfunction @@ -0,0 +1,15 @@ +execute in lobby run tp @s 35 7 43 -90 0 +tellraw @s ["\n\u00a7e该类游戏还在公开测试阶段!\n如发现BUG,最好请录制一个视频,然后向作者反馈。\n\u00a77从4000年前古埃及的塞尼特棋直至40,000年的茫茫星海,演绎于一桌之上!\n"] +title @s title [{"text":"桌游","color":"#0099CC","bold": true}] +title @s subtitle ["\u00a77Good Luck and Have Fun!"] +execute at @s run playsound entity.player.levelup player @s ~ ~ ~ 10 2 1 + +team join deskgame + +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator + +execute if score desk.state state matches 1.. run function minecraft:desk/spec +# summon minecraft:text_display 39 8 43 {alignment:"center",billboard:"fixed",text:'[{"text":"桌游大厅","color":"#0099CC","bold": true},"\\n\\u00a77前方前往"]'} +clear @s +effect clear @s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/modify.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/modify.mcfunction new file mode 100644 index 00000000..cf739d38 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/modify.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s +execute unless score desk.state state matches 1.. run scoreboard players add desk.type board 1 +execute if score desk.state state matches 1.. run tellraw @s ["\u00a7c游戏开始后无法修改。"] +execute if score desk.type board matches 2.. run scoreboard players set desk.type board 1 +execute if score desk.type board matches ..1 run data modify block ~ ~ ~ front_text.messages[1] set value '"\\u00a7a\\u00a7l[骰子游戏]"' +# 还没做呢 +execute if score desk.type board matches 2 run data modify block ~ ~ ~ front_text.messages[1] set value '"\\u00a7b\\u00a7l[爆炸棋(Beta)]"' +execute if score desk.type board matches 3 run data modify block ~ ~ ~ front_text.messages[1] set value '"\\u00a7d\\u00a7l[围棋]"' +execute if score desk.type board matches 4 run data modify block ~ ~ ~ front_text.messages[1] set value '"\\u00a7e\\u00a7l[黑白棋(Alpha)]"' +# execute if score chest.type board matches 2 run data modify block 90 126 19 front_text.messages[(2-1)] set value '"\\u00a7b\\u00a7l[爆炸棋(Alpha)]"'} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/second.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/second.mcfunction new file mode 100644 index 00000000..46eaf319 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/second.mcfunction @@ -0,0 +1 @@ +execute in lobby if score desk.type board matches 1 run function minecraft:desk/touzi/second \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/skill_handle.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/skill_handle.mcfunction new file mode 100644 index 00000000..8f272855 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/skill_handle.mcfunction @@ -0,0 +1,3 @@ +execute if score desk.type board matches 1 run function minecraft:desk/touzi/skill_handle + +scoreboard players reset @s use.skill \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/spec.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/spec.mcfunction new file mode 100644 index 00000000..12762b0d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,当前游戏已经开始。你将在下一轮进入游戏。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/start.mcfunction new file mode 100644 index 00000000..52b4cd5c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/start.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set desk.state state 1 +scoreboard players set desk.time board -1 + +execute if score desk.type board matches 1 run function minecraft:desk/touzi/start diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/tick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/tick.mcfunction new file mode 100644 index 00000000..0bfc6570 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/tick.mcfunction @@ -0,0 +1 @@ +execute in lobby if score desk.type board matches 1 run function minecraft:desk/touzi/tick \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/all_touzi.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/all_touzi.mcfunction new file mode 100644 index 00000000..9f7fa367 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/all_touzi.mcfunction @@ -0,0 +1,94 @@ +give @s minecraft:candle{touzit:0,CustomModelData:1,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e1"'},desk_item:1,touzi:1,number:1} +give @s minecraft:candle{touzit:0,CustomModelData:2,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e2"'},desk_item:1,touzi:1,number:2} +give @s minecraft:candle{touzit:0,CustomModelData:3,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e3"'},desk_item:1,touzi:1,number:3} +give @s minecraft:candle{touzit:0,CustomModelData:4,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e4"'},desk_item:1,touzi:1,number:4} +give @s minecraft:candle{touzit:0,CustomModelData:5,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e5"'},desk_item:1,touzi:1,number:5} +give @s minecraft:candle{touzit:0,CustomModelData:6,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e6"'},desk_item:1,touzi:1,number:6} + +# 木镐 +give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c⛏(2)"'},desk_item:1,touzi:2,number:2,touzit:1} +give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c挖煤矿"'},desk_item:1,touzi:4,number:2,touzit:1} +give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c挖石头"'},desk_item:1,touzi:4,number:2,touzit:1} +# 石镐 +give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c⛏(3)"'},desk_item:1,touzi:2,number:3,touzit:2} +give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c挖煤矿"'},desk_item:1,touzi:4,number:2,touzit:2} +give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c挖石头"'},desk_item:1,touzi:4,number:2,touzit:2} +give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c挖铁矿"'},desk_item:1,touzi:4,number:2,touzit:2} +# 铁镐 +give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:4,touzit:3} +give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c挖煤矿"'},desk_item:1,touzi:4,number:2,touzit:3} +give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c挖石头"'},desk_item:1,touzi:4,number:2,touzit:3} +give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c挖铁矿"'},desk_item:1,touzi:4,number:2,touzit:3} +give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c挖钻石矿"'},desk_item:1,touzi:4,number:2,touzit:3} +# 钻石镐 +give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:3,touzit:4} +give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:4,touzit:4} +give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c挖石头"'},desk_item:1,touzi:4,number:2,touzit:4} +give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c挖铁矿"'},desk_item:1,touzi:4,number:2,touzit:4} +give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c挖钻石矿"'},desk_item:1,touzi:4,number:2,touzit:4} +# 苦力怕 +give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c点火(4)"'},desk_item:1,touzi:2,number:4,touzit:5} +give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c大型爆炸(6)"'},desk_item:1,touzi:2,number:6,touzit:5} +give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c爆炸"'},desk_item:1,touzi:4,number:0,touzit:5} +give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c同归于尽"'},desk_item:1,touzi:4,number:0,touzit:5} +give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c召唤同伴"'},desk_item:1,touzi:4,number:0,touzit:5} +give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:0,touzit:5} +# 龙 +give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c普通咆哮(4)"'},desk_item:1,touzi:2,number:4,touzit:6} +give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c恶龙咆哮(6)"'},desk_item:1,touzi:2,number:6,touzit:6} +give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c猛冲(5)"'},desk_item:1,touzi:2,number:5,touzit:6} +give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c转圈"'},desk_item:1,touzi:4,number:0,touzit:6} +give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c停留"'},desk_item:1,touzi:4,number:0,touzit:6} +give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c震翅"'},desk_item:1,touzi:4,number:0,touzit:6} +# TNT +give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c爆炸(5)"'},desk_item:1,touzi:2,number:5,touzit:7} +give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c连锁爆炸(6)"'},desk_item:1,touzi:2,number:6,touzit:7} +give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c连锁爆炸(6)"'},desk_item:1,touzi:2,number:6,touzit:7} +give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c引燃"'},desk_item:1,touzi:4,number:0,touzit:7} +give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c连锁反应"'},desk_item:1,touzi:4,number:0,touzit:7} +give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c剧烈的氧化还原反应"'},desk_item:1,touzi:4,number:0,touzit:7} +# Command Block +give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c脉冲(6)"'},desk_item:1,touzi:2,number:6,touzit:10} +give @s minecraft:chain_command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c连锁(9)"'},desk_item:1,touzi:2,number:9,touzit:10} +give @s minecraft:repeating_command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c循环(12)"'},desk_item:1,touzi:2,number:12,touzit:10} +give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c激活"'},desk_item:1,touzi:4,number:0,touzit:10} +give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c{auto:true}"'},desk_item:1,touzi:4,number:0,touzit:10} +give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c{powered:true}"'},desk_item:1,touzi:4,number:0,touzit:10} +# 烟花 +give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b信号弹(3)"'},desk_item:1,touzi:3,number:3,touzit:8} +give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b闪光弹(3)"'},desk_item:1,touzi:3,number:3,touzit:8} +give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b发射"'},desk_item:1,touzi:5,number:0,touzit:8} +give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b升空"'},desk_item:1,touzi:5,number:0,touzit:8} +give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b烟花爆炸"'},desk_item:1,touzi:5,number:0,touzit:8} +# 不死图腾 +give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b图腾保佑(3)"'},desk_item:1,touzi:3,number:3,touzit:9} +give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b残血警告(6)"'},desk_item:1,touzi:3,number:6,touzit:9} +give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b不死图腾(6)"'},desk_item:1,touzi:3,number:6,touzit:9} +give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b激活图腾"'},desk_item:1,touzi:5,number:0,touzit:9} +give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b保佑"'},desk_item:1,touzi:5,number:0,touzit:9} +give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b警告"'},desk_item:1,touzi:5,number:0,touzit:9} +# 光 +give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b{6}(6)"'},desk_item:1,touzi:3,number:6,touzit:11} +give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b{9}(9)"'},desk_item:1,touzi:3,number:9,touzit:11} +give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b{12}(12)"'},desk_item:1,touzi:3,number:12,touzit:11} +give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7bBling~"'},desk_item:1,touzi:5,number:0,touzit:11} +give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7bTwinkle~"'},desk_item:1,touzi:5,number:0,touzit:11} +give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b你相信光吗?"'},desk_item:1,touzi:5,number:0,touzit:11} +# wdpick 1 攻击 +# stpick 2 攻击 +# irpick 3 攻击 +# dmpick 4 攻击 +# creeper 5 攻击 +# dragon 6 攻击 +# tnt 7 攻击 +# firework 8 防御 +# undying 9 防御 +# cb 10 攻击 +# light 11 防御 + +# 1: number touzi +# 2: attack touzi +# 3: defend touzi +# 4: attack role +# 5: defend role +# 0: none \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm.mcfunction new file mode 100644 index 00000000..73b9d1aa --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm.mcfunction @@ -0,0 +1,3 @@ +execute as @s at @s run playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute as @s[tag=touzi.team.a] run function minecraft:desk/touzi/confirm/a +execute as @s[tag=touzi.team.b] run function minecraft:desk/touzi/confirm/b \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/a.mcfunction new file mode 100644 index 00000000..bb8292a8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/a.mcfunction @@ -0,0 +1,17 @@ + +execute unless score desk.state state matches 3 run tellraw @s ["\u00a7c这不是你们的轮合。"] +execute unless score desk.state state matches 3 run return 0 +execute if score desk.time board matches ..59 run scoreboard players set desk.time board 60 + +scoreboard players set touzi.tmp.number board 0 +scoreboard players set touzi.tmp.type board 0 +scoreboard players set touzi.tmp.attack board 0 +scoreboard players set touzi.tmp.defend board 0 +execute as @e[type=marker,tag=touzi.a] at @s run function minecraft:desk/touzi/confirm/total +execute if score touzi.tmp.type board matches 4..5 run function minecraft:desk/touzi/confirm/total_numbers +execute as @e[type=marker,tag=touzi.a] at @s run function minecraft:desk/touzi/confirm/clear_item_a +execute if score touzi.tmp.type board matches -1 run function desk/touzi/confirm/failed +tellraw @s ["\u00a77---------------------\n\u00a76\u00a7l本次出牌小结:\n\u00a7c攻击: ",{"score":{"name": "touzi.tmp.attack","objective": "board"},"color": "gold"},"\n\u00a7b防御: ",{"score":{"name": "touzi.tmp.defend","objective": "board"},"color": "gold"},"\n\u00a77---------------------"] + +scoreboard players operation touzi.a.attack board += touzi.tmp.attack board +scoreboard players operation touzi.a.defend board += touzi.tmp.defend board \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/b.mcfunction new file mode 100644 index 00000000..31074e00 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/b.mcfunction @@ -0,0 +1,17 @@ +execute unless score desk.state state matches 4 run tellraw @s ["\u00a7c这不是你们的轮合。"] +execute unless score desk.state state matches 4 run return 0 +execute if score desk.time board matches ..59 run scoreboard players set desk.time board 60 + +scoreboard players set touzi.tmp.number board 0 +scoreboard players set touzi.tmp.attack board 0 +scoreboard players set touzi.tmp.type board 0 +scoreboard players set touzi.tmp.defend board 0 +execute as @e[type=armor_stand,tag=desk.touzi.place,tag=touzi.b] at @s run function minecraft:desk/touzi/confirm/total +execute if score touzi.tmp.type board matches 4..5 run function minecraft:desk/touzi/confirm/total_numbers + +execute as @e[type=armor_stand,tag=desk.touzi.place,tag=touzi.b] at @s run function minecraft:desk/touzi/confirm/clear_item_b +execute if score touzi.tmp.type board matches -1 run function desk/touzi/confirm/failed +tellraw @s ["\u00a77---------------------\n\u00a76\u00a7l本次出牌小结:\n\u00a7c攻击: ",{"score":{"name": "touzi.tmp.attack","objective": "board"},"color": "gold"},"\n\u00a7b防御: ",{"score":{"name": "touzi.tmp.defend","objective": "board"},"color": "gold"},"\n\u00a77---------------------"] + +scoreboard players operation touzi.b.attack board += touzi.tmp.attack board +scoreboard players operation touzi.b.defend board += touzi.tmp.defend board diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/clear_item_a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/clear_item_a.mcfunction new file mode 100644 index 00000000..211217ea --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/clear_item_a.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set tmp.type board 0 +scoreboard players set tmp.type1 board 0 +execute store result score tmp.type board run data get entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] HandItems[0].tag.touzi +execute store result score tmp.type1 board run data get entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] HandItems[0].tag.touzit + +execute if score tmp.type1 board matches 0 run scoreboard players remove touzit.a.number tick 1 + +execute if score tmp.type1 board = touzit.a.touzi1 board if score touzit.a.touzi1 tick matches 1 run scoreboard players remove touzit.a.touzi1 tick 1 +execute unless score touzit.a.touzi1 tick matches 1 unless score tmp.type1 board = touzit.a.touzi1 board if score tmp.type1 board = touzit.a.touzi2 board run scoreboard players remove touzit.a.touzi2 tick 1 + +execute unless score tmp.type board matches 0 run data merge entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] {HandItems:[{},{}]} +execute unless score tmp.type board matches 0 run item replace entity @e[sort=nearest,limit=1,type=item_frame,distance=0..5] container.0 with air \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/clear_item_b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/clear_item_b.mcfunction new file mode 100644 index 00000000..0f39971d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/clear_item_b.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set tmp.type board 0 +scoreboard players set tmp.type1 board 0 +execute store result score tmp.type board run data get entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] HandItems[0].tag.touzi +execute store result score tmp.type1 board run data get entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] HandItems[0].tag.touzit + +execute if score tmp.type1 board matches 0 run scoreboard players remove touzit.b.number tick 1 + +execute if score touzit.b.touzi1 tick matches 1 if score tmp.type1 board = touzit.b.touzi1 board run scoreboard players remove touzit.b.touzi1 tick 1 +execute unless score touzit.b.touzi1 tick matches 1 unless score tmp.type1 board = touzit.b.touzi1 board if score tmp.type1 board = touzit.b.touzi2 board run scoreboard players remove touzit.b.touzi2 tick 1 + +execute unless score tmp.type board matches 0 run data merge entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] {HandItems:[{},{}]} +execute unless score tmp.type board matches 0 run item replace entity @e[sort=nearest,limit=1,type=item_frame,distance=0..5] container.0 with air \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/failed.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/failed.mcfunction new file mode 100644 index 00000000..0409a1b9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/failed.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set touzi.tmp.type board -1 +scoreboard players set touzi.tmp.attack board 0 +scoreboard players set touzi.tmp.defend board 0 +scoreboard players set touzi.tmp.number board 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/total.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/total.mcfunction new file mode 100644 index 00000000..60e8d566 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/total.mcfunction @@ -0,0 +1,41 @@ +# scoreboard players add touzi.tmp.attack board 0 +# scoreboard players add touzi.tmp.defend board 0 +# scoreboard players set touzi.tmp.number board 0 +# scoreboard players set touzi.tmp.type board 0 +execute if score touzi.tmp.type board matches -1 run return 0 +scoreboard players set tmp.type board 0 +execute store result score tmp.type board run data get entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] HandItems[0].tag.touzi +execute store result score tmp.number board run data get entity @e[type=armor_stand,tag=desk.touzi.place,limit=1,sort=nearest] HandItems[0].tag.number + +# 角色骰子 +## attack +execute if score touzi.tmp.type board matches 0..1 if score tmp.type board matches 4 run scoreboard players set touzi.tmp.type board 4 +execute if score touzi.tmp.type board matches 5 if score tmp.type board matches 4 run function minecraft:desk/touzi/confirm/failed +## defend +execute if score touzi.tmp.type board matches 0..1 if score tmp.type board matches 5 run scoreboard players set touzi.tmp.type board 5 +execute if score touzi.tmp.type board matches 4 if score tmp.type board matches 5 run function minecraft:desk/touzi/confirm/failed + +# 数字骰子 +execute if score touzi.tmp.type board matches 0 if score tmp.type board matches 1 run scoreboard players set touzi.tmp.type board 1 +# attack +execute if score touzi.tmp.type board matches 0 if score tmp.type board matches 2 run scoreboard players set touzi.tmp.type board 2 +# defend +execute if score touzi.tmp.type board matches 0 if score tmp.type board matches 3 run scoreboard players set touzi.tmp.type board 3 + +execute if score touzi.tmp.type board matches 2 if score tmp.type board matches 4 run function minecraft:desk/touzi/confirm/failed +execute if score touzi.tmp.type board matches 3 if score tmp.type board matches 4 run function minecraft:desk/touzi/confirm/failed +# execute if score touzi.tmp.type board matches 3 if score tmp.type board matches 1 run function minecraft:desk/touzi/confirm/failed + +execute if score touzi.tmp.type board matches 1 if score tmp.type board matches 2 run function minecraft:desk/touzi/confirm/failed +execute if score touzi.tmp.type board matches 4 if score tmp.type board matches 2 run function minecraft:desk/touzi/confirm/failed +execute if score touzi.tmp.type board matches 1 if score tmp.type board matches 3 run function minecraft:desk/touzi/confirm/failed +execute if score touzi.tmp.type board matches 4 if score tmp.type board matches 3 run function minecraft:desk/touzi/confirm/failed +execute if score touzi.tmp.type board matches 4 if score tmp.type board matches 5 run function minecraft:desk/touzi/confirm/failed +execute if score touzi.tmp.type board matches 5 if score tmp.type board matches 4 run function minecraft:desk/touzi/confirm/failed + +execute if score touzi.tmp.type board matches 4..5 if score tmp.type board matches 1 run scoreboard players operation touzi.tmp.number board += tmp.number board +execute if score touzi.tmp.type board matches 1 if score tmp.type board matches 1 run scoreboard players operation touzi.tmp.number board += tmp.number board + +execute if score touzi.tmp.type board matches 2 if score tmp.type board matches 2 run scoreboard players operation touzi.tmp.attack board += tmp.number board +execute if score touzi.tmp.type board matches 3 if score tmp.type board matches 3 run scoreboard players operation touzi.tmp.defend board += tmp.number board + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/total_numbers.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/total_numbers.mcfunction new file mode 100644 index 00000000..7676be8c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirm/total_numbers.mcfunction @@ -0,0 +1,2 @@ +execute if score touzi.tmp.type board matches 4 run scoreboard players operation touzi.tmp.attack board = touzi.tmp.number board +execute if score touzi.tmp.type board matches 5 run scoreboard players operation touzi.tmp.defend board = touzi.tmp.number board \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround.mcfunction new file mode 100644 index 00000000..f3a206ce --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround.mcfunction @@ -0,0 +1,3 @@ +execute as @s at @s run playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute as @s[tag=touzi.team.a] run function minecraft:desk/touzi/confirmround/a +execute as @s[tag=touzi.team.b] run function minecraft:desk/touzi/confirmround/b \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/a.mcfunction new file mode 100644 index 00000000..ea426828 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/a.mcfunction @@ -0,0 +1,6 @@ +execute unless score desk.state state matches 3 run tellraw @s ["\u00a7c这不是你们的轮合。"] +execute unless score desk.state state matches 3 run return 0 +tellraw @a[team=deskgame,tag=touzi.team.a] ["\u00a77---------------------\n\u00a76\u00a7l出牌小结:\n\u00a7c攻击: ",{"score":{"name": "touzi.a.attack","objective": "board"},"color": "gold"},"\n\u00a7b防御: ",{"score":{"name": "touzi.a.defend","objective": "board"},"color": "gold"},"\n\u00a77---------------------"] +execute as @e[type=armor_stand,tag=desk.touzi.place] at @s run function minecraft:desk/touzi/confirmround/clear_item + +function minecraft:desk/touzi/round/bturn diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/b.mcfunction new file mode 100644 index 00000000..20985617 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/b.mcfunction @@ -0,0 +1,5 @@ +execute unless score desk.state state matches 4 run tellraw @s ["\u00a7c这不是你们的轮合。"] +execute unless score desk.state state matches 4 run return 0 +tellraw @a[team=deskgame,tag=touzi.team.b] ["\u00a77---------------------\n\u00a76\u00a7l出牌小结:\n\u00a7c攻击: ",{"score":{"name": "touzi.b.attack","objective": "board"},"color": "gold"},"\n\u00a7b防御: ",{"score":{"name": "touzi.b.defend","objective": "board"},"color": "gold"},"\n\u00a77---------------------"] +execute as @e[type=armor_stand,tag=desk.touzi.place] at @s run function minecraft:desk/touzi/confirmround/clear_item +function minecraft:desk/touzi/round/over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/clear_item.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/clear_item.mcfunction new file mode 100644 index 00000000..c3d017e6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/confirmround/clear_item.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set tmp.type board 0 +execute store result score tmp.type board run data get entity @e[type=armor_stand,tag=desk.touzi.place,tag=touzi.b,limit=1,sort=nearest] HandItems[0].tag.touzi +data merge entity @s {HandItems:[{},{}]} +item replace entity @e[sort=nearest,limit=1,type=item_frame] container.0 with air \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush.mcfunction new file mode 100644 index 00000000..4705a4c5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush.mcfunction @@ -0,0 +1,16 @@ +execute if score desk.time board matches ..59 run scoreboard players set desk.time board 60 + +execute if score @s touzi.count matches ..0 run tellraw @s ["\u00a7c你无法再刷新:你刷新的次数用光了。"] +execute if score @s touzi.count matches ..0 at @s run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score @s touzi.count matches ..0 run return 0 +scoreboard players remove @s touzi.count 1 +clear @s +execute if score @s touzi.count matches 4.. run item replace entity @s hotbar.7 with white_dye{desk_item:1,desk_clear:1,display:{Name:'"\\u00a77刷新剩余次数:\\u00a7f4"'}} 4 +execute if score @s touzi.count matches 3 run item replace entity @s hotbar.7 with green_dye{desk_item:1,desk_clear:1,display:{Name:'"\\u00a77刷新剩余次数:\\u00a7a3"'}} 3 +execute if score @s touzi.count matches 2 run item replace entity @s hotbar.7 with yellow_dye{desk_item:1,desk_clear:1,display:{Name:'"\\u00a77刷新剩余次数:\\u00a7e2"'}} 2 +execute if score @s touzi.count matches 1 run item replace entity @s hotbar.7 with orange_dye{desk_item:1,desk_clear:1,display:{Name:'"\\u00a77刷新剩余次数:\\u00a761"'}} 1 +execute if score @s touzi.count matches ..0 run item replace entity @s hotbar.8 with red_dye{desk_item:1,desk_clear:1,display:{Name:'"\\u00a7c你无法再刷新骰子了"'}} 1 +execute if score @s touzi.count matches 1.. run function minecraft:desk/touzi/item/item_refrush +function minecraft:desk/touzi/control/refrush_touzi + +execute as @s at @s run playsound ui.button.click player @s ~ ~ ~ 1 2 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/a.mcfunction new file mode 100644 index 00000000..c2abe212 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/a.mcfunction @@ -0,0 +1,41 @@ +execute if score touzit.a.number tick matches 3.. run function minecraft:desk/touzi/control/refrush/touzi/number +execute if score touzit.a.number tick matches 2.. run function minecraft:desk/touzi/control/refrush/touzi/number +execute if score touzit.a.number tick matches 1.. run function minecraft:desk/touzi/control/refrush/touzi/number + +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 0 run function minecraft:desk/touzi/control/refrush/touzi/sheild +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 1 run function minecraft:desk/touzi/control/refrush/touzi/wdpick +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 2 run function minecraft:desk/touzi/control/refrush/touzi/stpick +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 3 run function minecraft:desk/touzi/control/refrush/touzi/irpick +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 4 run function minecraft:desk/touzi/control/refrush/touzi/dmpick +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 5 run function minecraft:desk/touzi/control/refrush/touzi/creeper +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 6 run function minecraft:desk/touzi/control/refrush/touzi/dragon +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 7 run function minecraft:desk/touzi/control/refrush/touzi/tnt +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 8 run function minecraft:desk/touzi/control/refrush/touzi/firework +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 9 run function minecraft:desk/touzi/control/refrush/touzi/undying +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 10 run function minecraft:desk/touzi/control/refrush/touzi/cb +execute if score touzit.a.touzi1 tick matches 1 if score touzit.a.touzi1 board matches 11 run function minecraft:desk/touzi/control/refrush/touzi/light + +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 0 run function minecraft:desk/touzi/control/refrush/touzi/sheild +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 1 run function minecraft:desk/touzi/control/refrush/touzi/wdpick +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 2 run function minecraft:desk/touzi/control/refrush/touzi/stpick +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 3 run function minecraft:desk/touzi/control/refrush/touzi/irpick +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 4 run function minecraft:desk/touzi/control/refrush/touzi/dmpick +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 5 run function minecraft:desk/touzi/control/refrush/touzi/creeper +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 6 run function minecraft:desk/touzi/control/refrush/touzi/dragon +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 7 run function minecraft:desk/touzi/control/refrush/touzi/tnt +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 8 run function minecraft:desk/touzi/control/refrush/touzi/firework +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 9 run function minecraft:desk/touzi/control/refrush/touzi/undying +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 10 run function minecraft:desk/touzi/control/refrush/touzi/cb +execute if score touzit.a.touzi2 tick matches 1 if score touzit.a.touzi2 board matches 11 run function minecraft:desk/touzi/control/refrush/touzi/light + +# wdpick 1 +# stpick 2 +# irpick 3 +# dmpick 4 +# creeper 5 +# dragon 6 +# tnt 7 +# firework 8 +# undying 9 +# cb 10 +# light 11 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/b.mcfunction new file mode 100644 index 00000000..d7319c20 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/b.mcfunction @@ -0,0 +1,29 @@ +execute if score touzit.b.number tick matches 3.. run function minecraft:desk/touzi/control/refrush/touzi/number +execute if score touzit.b.number tick matches 2.. run function minecraft:desk/touzi/control/refrush/touzi/number +execute if score touzit.b.number tick matches 1.. run function minecraft:desk/touzi/control/refrush/touzi/number + +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 0 run function minecraft:desk/touzi/control/refrush/touzi/sheild +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 1 run function minecraft:desk/touzi/control/refrush/touzi/wdpick +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 2 run function minecraft:desk/touzi/control/refrush/touzi/stpick +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 3 run function minecraft:desk/touzi/control/refrush/touzi/irpick +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 4 run function minecraft:desk/touzi/control/refrush/touzi/dmpick +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 5 run function minecraft:desk/touzi/control/refrush/touzi/creeper +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 6 run function minecraft:desk/touzi/control/refrush/touzi/dragon +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 7 run function minecraft:desk/touzi/control/refrush/touzi/tnt +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 8 run function minecraft:desk/touzi/control/refrush/touzi/firework +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 9 run function minecraft:desk/touzi/control/refrush/touzi/undying +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 10 run function minecraft:desk/touzi/control/refrush/touzi/cb +execute if score touzit.b.touzi1 tick matches 1 if score touzit.b.touzi1 board matches 11 run function minecraft:desk/touzi/control/refrush/touzi/light + +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 0 run function minecraft:desk/touzi/control/refrush/touzi/sheild +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 1 run function minecraft:desk/touzi/control/refrush/touzi/wdpick +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 2 run function minecraft:desk/touzi/control/refrush/touzi/stpick +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 3 run function minecraft:desk/touzi/control/refrush/touzi/irpick +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 4 run function minecraft:desk/touzi/control/refrush/touzi/dmpick +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 5 run function minecraft:desk/touzi/control/refrush/touzi/creeper +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 6 run function minecraft:desk/touzi/control/refrush/touzi/dragon +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 7 run function minecraft:desk/touzi/control/refrush/touzi/tnt +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 8 run function minecraft:desk/touzi/control/refrush/touzi/firework +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 9 run function minecraft:desk/touzi/control/refrush/touzi/undying +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 10 run function minecraft:desk/touzi/control/refrush/touzi/cb +execute if score touzit.b.touzi2 tick matches 1 if score touzit.b.touzi2 board matches 11 run function minecraft:desk/touzi/control/refrush/touzi/light \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/cb.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/cb.mcfunction new file mode 100644 index 00000000..29ac0647 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/cb.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c脉冲(6)"'},desk_item:1,touzi:2,number:6,touzit:10} +execute if score desk.random board matches 2 run give @s minecraft:chain_command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c连锁(9)"'},desk_item:1,touzi:2,number:9,touzit:10} +execute if score desk.random board matches 3 run give @s minecraft:repeating_command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c循环(12)"'},desk_item:1,touzi:2,number:12,touzit:10} +execute if score desk.random board matches 4 run give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c激活"'},desk_item:1,touzi:4,number:0,touzit:10} +execute if score desk.random board matches 5 run give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c{auto:true}"'},desk_item:1,touzi:4,number:0,touzit:10} +execute if score desk.random board matches 6 run give @s minecraft:command_block{display:{Name:'"\\u00a7dCommand Block骰子 \\u00a77- \\u00a7c{powered:true}"'},desk_item:1,touzi:4,number:0,touzit:10} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/creeper.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/creeper.mcfunction new file mode 100644 index 00000000..67e98887 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/creeper.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c点火(4)"'},desk_item:1,touzi:2,number:4,touzit:5} +execute if score desk.random board matches 2 run give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c大型爆炸(6)"'},desk_item:1,touzi:2,number:6,touzit:5} +execute if score desk.random board matches 3 run give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c爆炸"'},desk_item:1,touzi:4,number:0,touzit:5} +execute if score desk.random board matches 4 run give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c同归于尽"'},desk_item:1,touzi:4,number:0,touzit:5} +execute if score desk.random board matches 5 run give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- \\u00a7c召唤同伴"'},desk_item:1,touzi:4,number:0,touzit:5} +execute if score desk.random board matches 6 run give @s minecraft:gunpowder{display:{Name:'"\\u00a72苦力怕骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:0,touzit:5} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/dmpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/dmpick.mcfunction new file mode 100644 index 00000000..27d1ee9f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/dmpick.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:3,touzit:4} +execute if score desk.random board matches 2 run give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:4,touzit:4} +execute if score desk.random board matches 3 run give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c挖铁矿"'},desk_item:1,touzi:4,number:2,touzit:4} +execute if score desk.random board matches 4 run give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- \\u00a7c挖钻石"'},desk_item:1,touzi:4,number:2,touzit:4} +execute if score desk.random board matches 5 run give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:4} +execute if score desk.random board matches 6 run give @s minecraft:diamond_pickaxe{display:{Name:'"\\u00a78钻石镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:4} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/dragon.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/dragon.mcfunction new file mode 100644 index 00000000..0a529a42 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/dragon.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c普通咆哮(4)"'},desk_item:1,touzi:2,number:4,touzit:6} +execute if score desk.random board matches 2 run give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c恶龙咆哮(6)"'},desk_item:1,touzi:2,number:6,touzit:6} +execute if score desk.random board matches 3 run give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c猛冲(5)"'},desk_item:1,touzi:2,number:5,touzit:6} +execute if score desk.random board matches 4 run give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c转圈"'},desk_item:1,touzi:4,number:0,touzit:6} +execute if score desk.random board matches 5 run give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c停留"'},desk_item:1,touzi:4,number:0,touzit:6} +execute if score desk.random board matches 6 run give @s minecraft:dragon_egg{display:{Name:'"\\u00a70龙骰子 \\u00a77- \\u00a7c震翅"'},desk_item:1,touzi:4,number:0,touzit:6} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/firework.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/firework.mcfunction new file mode 100644 index 00000000..8561179c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/firework.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b信号弹(3)"'},desk_item:1,touzi:3,number:3,touzit:8} +execute if score desk.random board matches 2 run give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b闪光弹(3)"'},desk_item:1,touzi:3,number:3,touzit:8} +execute if score desk.random board matches 3 run give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b发射"'},desk_item:1,touzi:5,number:0,touzit:8} +execute if score desk.random board matches 4 run give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b升空"'},desk_item:1,touzi:5,number:0,touzit:8} +execute if score desk.random board matches 5 run give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- \\u00a7b烟花爆炸"'},desk_item:1,touzi:5,number:0,touzit:8} +execute if score desk.random board matches 6 run give @s minecraft:firework_star{display:{Name:'"\\u00a7b烟花骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:0,touzit:8} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/irpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/irpick.mcfunction new file mode 100644 index 00000000..b93de8ab --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/irpick.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:4,touzit:3} +execute if score desk.random board matches 2 run give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c⛏(4)"'},desk_item:1,touzi:2,number:4,touzit:3} +execute if score desk.random board matches 3 run give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c挖铁矿"'},desk_item:1,touzi:4,number:2,touzit:3} +execute if score desk.random board matches 4 run give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- \\u00a7c挖钻石矿"'},desk_item:1,touzi:4,number:2,touzit:3} +execute if score desk.random board matches 5 run give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:3} +execute if score desk.random board matches 6 run give @s minecraft:iron_pickaxe{display:{Name:'"\\u00a78铁镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:3} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/light.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/light.mcfunction new file mode 100644 index 00000000..649eb5e2 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/light.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b{6}(6)"'},desk_item:1,touzi:3,number:6,touzit:11} +execute if score desk.random board matches 2 run give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b{9}(9)"'},desk_item:1,touzi:3,number:9,touzit:11} +execute if score desk.random board matches 3 run give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b{12}(12)"'},desk_item:1,touzi:3,number:12,touzit:11} +execute if score desk.random board matches 4 run give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7bBling~"'},desk_item:1,touzi:5,number:0,touzit:11} +execute if score desk.random board matches 5 run give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7bTwinkle~"'},desk_item:1,touzi:5,number:0,touzit:11} +execute if score desk.random board matches 6 run give @s minecraft:light{display:{Name:'"\\u00a7f\\u00a7l光骰子 \\u00a77- \\u00a7b你相信光吗?"'},desk_item:1,touzi:5,number:0,touzit:11} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/number.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/number.mcfunction new file mode 100644 index 00000000..fb63c58a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/number.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:candle{touzit:0,CustomModelData:1,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e1"'},desk_item:1,touzi:1,number:1} +execute if score desk.random board matches 2 run give @s minecraft:candle{touzit:0,CustomModelData:2,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e2"'},desk_item:1,touzi:1,number:2} +execute if score desk.random board matches 3 run give @s minecraft:candle{touzit:0,CustomModelData:3,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e3"'},desk_item:1,touzi:1,number:3} +execute if score desk.random board matches 4 run give @s minecraft:candle{touzit:0,CustomModelData:4,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e4"'},desk_item:1,touzi:1,number:4} +execute if score desk.random board matches 5 run give @s minecraft:candle{touzit:0,CustomModelData:5,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e5"'},desk_item:1,touzi:1,number:5} +execute if score desk.random board matches 6 run give @s minecraft:candle{touzit:0,CustomModelData:6,display:{Name:'"\\u00a7a数字骰子 \\u00a77- \\u00a7e6"'},desk_item:1,touzi:1,number:6} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/sheild.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/sheild.mcfunction new file mode 100644 index 00000000..48b75abe --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/sheild.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:oak_sign{display:{Name:'"\\u00a7b基础盾牌骰子 \\u00a77- \\u00a7b防御(2)"'},desk_item:1,touzi:3,number:3,touzit:8} +execute if score desk.random board matches 2 run give @s minecraft:oak_sign{display:{Name:'"\\u00a7b基础盾牌骰子 \\u00a77- 抵挡"'},desk_item:1,touzi:3,number:3,touzit:8} +execute if score desk.random board matches 3 run give @s minecraft:oak_sign{display:{Name:'"\\u00a7b基础盾牌骰子 \\u00a77- 格挡"'},desk_item:1,touzi:5,number:0,touzit:8} +execute if score desk.random board matches 4 run give @s minecraft:oak_sign{display:{Name:'"\\u00a7b基础盾牌骰子 \\u00a77- 抵挡"'},desk_item:1,touzi:5,number:0,touzit:8} +execute if score desk.random board matches 5 run give @s minecraft:oak_sign{display:{Name:'"\\u00a7b基础盾牌骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:0,touzit:8} +execute if score desk.random board matches 6 run give @s minecraft:oak_sign{display:{Name:'"\\u00a7b基础盾牌骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:0,touzit:8} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/stpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/stpick.mcfunction new file mode 100644 index 00000000..08bc1f84 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/stpick.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c⛏(3)"'},desk_item:1,touzi:2,number:3,touzit:2} +execute if score desk.random board matches 2 run give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c⛏(3)"'},desk_item:1,touzi:2,number:3,touzit:2} +execute if score desk.random board matches 3 run give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c挖煤矿"'},desk_item:1,touzi:4,number:2,touzit:2} +execute if score desk.random board matches 4 run give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- \\u00a7c挖铁矿"'},desk_item:1,touzi:4,number:2,touzit:2} +execute if score desk.random board matches 5 run give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:2} +execute if score desk.random board matches 6 run give @s minecraft:stone_pickaxe{display:{Name:'"\\u00a78石镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:2} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/tnt.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/tnt.mcfunction new file mode 100644 index 00000000..9aaf4b98 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/tnt.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c爆炸(5)"'},desk_item:1,touzi:2,number:5,touzit:7} +execute if score desk.random board matches 2 run give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c连锁爆炸(6)"'},desk_item:1,touzi:2,number:6,touzit:7} +execute if score desk.random board matches 3 run give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c连锁爆炸(6)"'},desk_item:1,touzi:2,number:6,touzit:7} +execute if score desk.random board matches 4 run give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c引燃"'},desk_item:1,touzi:4,number:0,touzit:7} +execute if score desk.random board matches 5 run give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c连锁反应"'},desk_item:1,touzi:4,number:0,touzit:7} +execute if score desk.random board matches 6 run give @s minecraft:tnt{display:{Name:'"\\u00a7cTNT\\u00a7e骰子 \\u00a77- \\u00a7c剧烈的氧化还原反应"'},desk_item:1,touzi:4,number:0,touzit:7} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/undying.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/undying.mcfunction new file mode 100644 index 00000000..69caee99 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/undying.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b图腾保佑(3)"'},desk_item:1,touzi:3,number:3,touzit:9} +execute if score desk.random board matches 2 run give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b残血警告(6)"'},desk_item:1,touzi:3,number:6,touzit:9} +execute if score desk.random board matches 3 run give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b不死图腾(6)"'},desk_item:1,touzi:3,number:6,touzit:9} +execute if score desk.random board matches 4 run give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b激活图腾"'},desk_item:1,touzi:5,number:0,touzit:9} +execute if score desk.random board matches 5 run give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b保佑"'},desk_item:1,touzi:5,number:0,touzit:9} +execute if score desk.random board matches 6 run give @s minecraft:totem_of_undying{display:{Name:'"\\u00a7e不死图腾骰子 \\u00a77- \\u00a7b警告"'},desk_item:1,touzi:5,number:0,touzit:9} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/wdpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/wdpick.mcfunction new file mode 100644 index 00000000..a4ee6074 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush/touzi/wdpick.mcfunction @@ -0,0 +1,8 @@ +scoreboard players set desk.random board 0 +execute store result score desk.random board run random value 1..6 +execute if score desk.random board matches 1 run give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c⛏(2)"'},desk_item:1,touzi:2,number:2,touzit:1} +execute if score desk.random board matches 2 run give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c挖煤矿"'},desk_item:1,touzi:4,number:2,touzit:1} +execute if score desk.random board matches 3 run give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c挖煤矿"'},desk_item:1,touzi:4,number:2,touzit:1} +execute if score desk.random board matches 4 run give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- \\u00a7c挖石头"'},desk_item:1,touzi:4,number:2,touzit:1} +execute if score desk.random board matches 5 run give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:1} +execute if score desk.random board matches 6 run give @s minecraft:wooden_pickaxe{display:{Name:'"\\u00a7a木镐骰子 \\u00a77- 无属性面"'},desk_item:1,touzi:0,number:2,touzit:1} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush_touzi.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush_touzi.mcfunction new file mode 100644 index 00000000..2470fb0b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/control/refrush_touzi.mcfunction @@ -0,0 +1,2 @@ +execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/control/refrush/a +execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/control/refrush/b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/hftick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/hftick.mcfunction new file mode 100644 index 00000000..6b8eadc3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/hftick.mcfunction @@ -0,0 +1,2 @@ +function minecraft:desk/touzi/let_show_touzi + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/item/item_refrush.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/item/item_refrush.mcfunction new file mode 100644 index 00000000..9bff04ed --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/item/item_refrush.mcfunction @@ -0,0 +1 @@ +item replace entity @s hotbar.8 with carrot_on_a_stick{Unbreakable:1b,display:{Name:'"\\u00a7a刷新骰子 \\u00a77- 右键点击"'},desk:1,desk_item:1} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/item/number.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/item/number.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/let_show_touzi.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/let_show_touzi.mcfunction new file mode 100644 index 00000000..903bbe46 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/let_show_touzi.mcfunction @@ -0,0 +1 @@ +execute as @e[type=armor_stand,tag=desk.touzi.place] at @s run function minecraft:desk/touzi/show_touzi \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/note.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/note.mcfunction new file mode 100644 index 00000000..62791fa8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/note.mcfunction @@ -0,0 +1,19 @@ +# 这只是一个笔记本,没有任何用处的方法 +# wdpick 1 攻击 +# stpick 2 攻击 +# irpick 3 攻击 +# dmpick 4 攻击 +# creeper 5 攻击 1 +# dragon 6 攻击 1 +# tnt 7 攻击 +# firework 8 防御 +# undying 9 防御 +# cb 10 攻击 +# light 11 防御 + +# 1: number touzi +# 2: attack touzi +# 3: defend touzi +# 4: attack role +# 5: defend role +# 0: none \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/a.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/a.mcfunction new file mode 100644 index 00000000..f46a63d0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/a.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[team=deskgame] ["\n\n\u00a76游戏结束!\n\u00a79队伍A\u00a7a获得胜利!"] +title @a[team=deskgame] title ["\u00a7c游戏结束!"] +title @a[team=deskgame] subtitle ["\u00a79队伍A\u00a7a获胜!"] +title @a[tag=touzi.team.a] title ["\u00a76你赢了"] +function minecraft:desk/touzi/over/all diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/all.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/all.mcfunction new file mode 100644 index 00000000..8697a350 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/all.mcfunction @@ -0,0 +1,16 @@ +kill @e[type=item,nbt={Item:{tag:{desk_item:1}}}] +kill @e[type=item,nbt={Item:{tag:{desk_clear:1}}}] +kill @e[type=armor_stand,tag=desk.touzi.place] +kill @e[type=item_frame,tag=desk.touzi.show] +kill @e[type=text_display,tag=touzi.show.text] +gamemode spectator @a[team=deskgame,gamemode=!creative] +clear @a[team=deskgame,gamemode=!creative] +effect clear @a[team=deskgame,gamemode=!creative] +schedule function minecraft:desk/touzi/over/tp 5s replace +tag @a remove touzi.team.a +tag @a remove touzi.team.b +scoreboard players set desk.state state 10 +scoreboard players set desk.time board -1 + +schedule clear minecraft:desk/touzi/round/atrun +schedule clear minecraft:desk/touzi/round/new_round \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/b.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/b.mcfunction new file mode 100644 index 00000000..a823b379 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/b.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[team=deskgame] ["\n\n\u00a76游戏结束!\n\u00a7c队伍B\u00a7a获得胜利!"] +title @a[team=deskgame] title ["\u00a7c游戏结束!"] +title @a[team=deskgame] subtitle ["\u00a7c队伍B\u00a7a获胜!"] +title @a[tag=touzi.team.b] title ["\u00a76你赢了"] +function minecraft:desk/touzi/over/all diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/none.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/none.mcfunction new file mode 100644 index 00000000..38ad70f5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/none.mcfunction @@ -0,0 +1,4 @@ +tellraw @a[team=deskgame] ["\n\n\u00a76游戏结束!\n\u00a7c无人胜利。"] +title @a[team=deskgame] title ["\u00a7c游戏结束!"] +title @a[team=deskgame] subtitle ["\u00a7f无人胜利"] +function minecraft:desk/touzi/over/all diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/pj.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/pj.mcfunction new file mode 100644 index 00000000..4f68e178 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/pj.mcfunction @@ -0,0 +1,4 @@ +tellraw @a[team=deskgame] ["\n\n\u00a76游戏结束!\n\u00a7a平局。"] +title @a[team=deskgame] title ["\u00a7c游戏结束!"] +title @a[team=deskgame] subtitle ["\u00a7a平局"] +function minecraft:desk/touzi/over/all diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/tp.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/tp.mcfunction new file mode 100644 index 00000000..990b06b9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/over/tp.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set desk.state state 0 +execute as @a[team=deskgame,gamemode=!creative] at @s in lobby run gamemode adventure @s +execute as @a[team=deskgame,gamemode=!creative] at @s in lobby run function desk/join + +schedule clear minecraft:desk/touzi/round/atrun +schedule clear minecraft:desk/touzi/round/new_round \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/overdetect.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/overdetect.mcfunction new file mode 100644 index 00000000..026dfb40 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/overdetect.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set desk.player.a tick 0 +scoreboard players set desk.player.b tick 0 + +execute as @a[team=deskgame,gamemode=adventure,tag=touzi.team.a] run scoreboard players add desk.player.a tick 1 +execute as @a[team=deskgame,gamemode=adventure,tag=touzi.team.b] run scoreboard players add desk.player.b tick 1 + +execute if score desk.state state matches 1..9 if score desk.player.a tick matches 0 if score desk.player.b tick matches 0 run function minecraft:desk/touzi/over/none +execute if score desk.state state matches 1..9 if score desk.player.a tick matches 0 run function minecraft:desk/touzi/over/b +execute if score desk.state state matches 1..9 if score desk.player.b tick matches 0 run function minecraft:desk/touzi/over/a +execute if score desk.state state matches 1..9 if score touzi.health.a board matches ..0 if score touzi.health.b board matches ..0 run function minecraft:desk/touzi/over/pj + +execute if score desk.state state matches 1..9 if score touzi.health.a board matches ..0 run function minecraft:desk/touzi/over/b +execute if score desk.state state matches 1..9 if score touzi.health.b board matches ..0 run function minecraft:desk/touzi/over/a diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/ran_team.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/ran_team.mcfunction new file mode 100644 index 00000000..4f9bc0e0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/ran_team.mcfunction @@ -0,0 +1,7 @@ +tag @r[tag=desk.ranteam] add chess.ransel +scoreboard players add rand board 1 +execute if score rand board matches 3.. run scoreboard players set rand board 1 +execute if score rand board matches ..1 run tag @a[tag=chess.ransel] add touzi.team.a +execute if score rand board matches 2.. run tag @a[tag=chess.ransel] add touzi.team.b +tag @a[tag=chess.ransel] remove desk.ranteam +tag @a[tag=chess.ransel] remove chess.ransel diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/reset.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/reset.mcfunction new file mode 100644 index 00000000..e96e753b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/reset.mcfunction @@ -0,0 +1,43 @@ +scoreboard players set touzi.health.a board 0 +scoreboard players reset * touzi.count + +scoreboard players set touzi.health.b board 0 +execute as @a[team=deskgame,gamemode=adventure] run scoreboard players add touzi.health.a board 50 +execute as @a[team=deskgame,gamemode=adventure] run scoreboard players add touzi.health.b board 50 +scoreboard players set touzi.money.a board 0 +scoreboard players set touzi.money.b board 0 +kill @e[type=armor_stand,tag=desk.touzi.place] +kill @e[type=item_frame,tag=desk.touzi.show] +kill @e[type=text_display,tag=touzi.show.text] +data merge block -19 4 71 {front_text:{messages:['["\\u00a79队伍A\\u00a78 | \\u00a77金币 ",{"score":{"objective":"board","name":"touzi.money.a"},"color":"yellow"},"\\u00a76℗"]','["\\u00a74队伍B \\u00a78| \\u00a77金币 ",{"score":{"objective":"board","name":"touzi.money.b"},"color":"yellow"},"\\u00a76℗"]','["\\u00a79队伍A \\u00a78| \\u00a77生命 ",{"score":{"objective":"board","name":"touzi.health.a"},"color":"red"},"\\u00a7c♥"]','["\\u00a74队伍B \\u00a78| \\u00a77生命 ",{"score":{"objective":"board","name":"touzi.health.b"},"color":"red"},"\\u00a7c♥"]']}} + +execute as @e[tag=touzi.text.money.a,type=marker] at @s run summon text_display ~ ~1.5 ~ {alignment:"center",billboard:"fixed",text:'["信息正在加载..."]',Tags:["touzi.show.text"]} +execute as @e[tag=touzi.text.health.a,type=marker] at @s run summon text_display ~ ~1.5 ~ {alignment:"center",billboard:"fixed",text:'["信息正在加载..."]',Tags:["touzi.show.text"]} +execute as @e[tag=touzi.text.money.b,type=marker] at @s run summon text_display ~ ~1.5 ~ {alignment:"center",billboard:"fixed",text:'["信息正在加载..."]',Tags:["touzi.show.text"]} +execute as @e[tag=touzi.text.health.b,type=marker] at @s run summon text_display ~ ~1.5 ~ {alignment:"center",billboard:"fixed",text:'["信息正在加载..."]',Tags:["touzi.show.text"]} +execute as @e[tag=touzi.text.health.b,type=marker] at @s as @e[distance=0..2,type=text_display] at @s run tp @s ~ ~ ~ -180 0 +execute as @e[tag=touzi.text.money.b,type=marker] at @s as @e[distance=0..2,type=text_display] at @s run tp @s ~ ~ ~ -180 0 + +execute as @e[tag=touzi.text.money.a,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[0] +execute as @e[tag=touzi.text.money.b,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[1] +execute as @e[tag=touzi.text.health.a,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[2] +execute as @e[tag=touzi.text.health.b,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[3] + + +execute as @e[tag=touzi.a,type=marker] at @s run summon minecraft:armor_stand ~ ~-1 ~ {Invulnerable:1b,NoAI:1b,Silent:1b,NoGravity:1b,Invisible:true,DisabledSlots:1973790,Tags:["touzi.a","desk.touzi.place"],CustomNameVisible:1b,CustomName:'"\\u00a78(空)"',ShowArms:true} +execute as @e[tag=touzi.a,type=marker] at @s run summon minecraft:item_frame ~ ~0.5 ~ {Invulnerable:1b,Silent:1b,NoGravity:1b,Invisible:true,Fixed:1b,Tags:["touzi.a","desk.touzi.show"]} +execute as @e[tag=touzi.a,type=item_frame] at @s run tp @s ~ ~ ~ -180 90 +execute as @e[tag=touzi.a,type=armor_stand] at @s run tp @s ~ ~ ~ -180 0 +execute as @e[tag=touzi.b,type=marker] at @s run summon minecraft:armor_stand ~ ~-1 ~ {Invulnerable:1b,NoAI:1b,Silent:1b,NoGravity:1b,Invisible:true,DisabledSlots:1973790,Tags:["touzi.b","desk.touzi.place"],CustomNameVisible:1b,CustomName:'"\\u00a78(空)"',ShowArms:true} +execute as @e[tag=touzi.b,type=marker] at @s run summon minecraft:item_frame ~ ~0.5 ~ {Invulnerable:1b,Silent:1b,NoGravity:1b,Invisible:true,Fixed:1b,Tags:["touzi.b","desk.touzi.show"]} +execute as @e[tag=touzi.b,type=item_frame] at @s run tp @s ~ ~ ~ 0 -90 + +# /execute as @e[tag=desk.touzi.desktop] at @s run setblock ~ ~ ~ stone_bricks +kill @e[type=item,nbt={Item:{tag:{desk_item:1}}}] + + +scoreboard players set touzit.a.touzi1 board 1 +scoreboard players set touzit.a.touzi2 board 0 + +scoreboard players set touzit.b.touzi1 board 1 +scoreboard players set touzit.b.touzi2 board 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/atrun.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/atrun.mcfunction new file mode 100644 index 00000000..103e72aa --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/atrun.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=deskgame] ["\u00a77现在轮到\u00a79队伍A\u00a77操作。"] +clear @a[team=deskgame] +execute as @a[team=deskgame,tag=touzi.team.a] at @s run function minecraft:desk/touzi/control/refrush +execute as @a[team=deskgame,tag=touzi.team.a] at @s run title @s title ["\u00a76该你操作了"] +execute as @a[team=deskgame,tag=touzi.team.a] at @s run title @s subtitle ["\u00a7f现在是你们队伍的回合"] +scoreboard players set desk.state state 3 +scoreboard players set desk.time board 120 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/bturn.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/bturn.mcfunction new file mode 100644 index 00000000..25dcf7ae --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/bturn.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=deskgame] ["\u00a77现在轮到\u00a74队伍B\u00a77操作。"] +clear @a[team=deskgame] +execute as @a[team=deskgame,tag=touzi.team.b] at @s run function minecraft:desk/touzi/control/refrush +execute as @a[team=deskgame,tag=touzi.team.b] at @s run title @s title ["\u00a76该你操作了"] +execute as @a[team=deskgame,tag=touzi.team.b] at @s run title @s subtitle ["\u00a7f现在是你们队伍的回合"] +scoreboard players set desk.state state 4 +scoreboard players set desk.time board 120 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/new_round.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/new_round.mcfunction new file mode 100644 index 00000000..a2d18e0c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/new_round.mcfunction @@ -0,0 +1,22 @@ +clear @a[team=deskgame,gamemode=!creative] +kill @e[type=item,nbt={Item:{tag:{desk_item:1}}}] +scoreboard players set touzi.a.attack board 0 +scoreboard players set touzi.a.defend board 0 +scoreboard players set touzi.b.attack board 0 +scoreboard players set touzi.b.defend board 0 +scoreboard players set @a[team=deskgame,gamemode=adventure] touzi.count 4 +scoreboard players set desk.state state 2 +tellraw @a[team=deskgame] ["\u00a7a新的一轮开始了。"] +title @a[team=deskgame] subtitle ["\u00a7a新的一轮开始了。"] +title @a[team=deskgame] title ["\u00a76下一轮"] +schedule function minecraft:desk/touzi/round/atrun 1s +scoreboard players set desk.time board -1 + +# 骰子1和骰子2状态 +scoreboard players set touzit.a.touzi1 tick 1 +scoreboard players set touzit.a.touzi2 tick 1 +scoreboard players set touzit.a.number tick 3 + +scoreboard players set touzit.b.touzi1 tick 1 +scoreboard players set touzit.b.touzi2 tick 1 +scoreboard players set touzit.b.number tick 3 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/over.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/over.mcfunction new file mode 100644 index 00000000..e4a96ed6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/round/over.mcfunction @@ -0,0 +1,31 @@ +execute as @a[team=deskgame] at @s run playsound block.anvil.place player @s ~ ~ ~ 1 1 1 +scoreboard players set touzi.tmp.money board 0 +scoreboard players operation touzi.tmp.money board = touzi.a.attack board +scoreboard players operation touzi.tmp.money board *= 100 board +execute if score touzi.tmp.money board matches ..0 run scoreboard players set touzi.tmp.money board 0 +scoreboard players operation touzi.money.a board += touzi.tmp.money board +scoreboard players set desk.time board -1 +tellraw @a[tag=touzi.team.a] ["\u00a76团队金币 +",{"score":{"objective": "board","name": "touzi.tmp.money"},"color": "gold"},"\u00a76℗"] + +scoreboard players set touzi.tmp.money board 0 +scoreboard players operation touzi.tmp.money board = touzi.b.attack board +scoreboard players operation touzi.tmp.money board *= 100 board +execute if score touzi.tmp.money board matches ..0 run scoreboard players set touzi.tmp.money board 0 +scoreboard players operation touzi.money.b board += touzi.tmp.money board +tellraw @a[tag=touzi.team.b] ["\u00a76团队金币 +",{"score":{"objective": "board","name": "touzi.tmp.money"},"color": "gold"},"\u00a76℗"] + +scoreboard players operation touzi.b.attack board -= touzi.a.defend board +scoreboard players operation touzi.a.attack board -= touzi.b.defend board + +execute if score touzi.a.attack board matches 1.. run scoreboard players operation touzi.health.b board -= touzi.a.attack board +execute if score touzi.b.attack board matches 1.. run scoreboard players operation touzi.health.a board -= touzi.b.attack board +scoreboard players set desk.state state 5 +execute if score touzi.a.attack board matches ..0 run scoreboard players set touzi.a.attack board 0 +execute if score touzi.b.attack board matches ..0 run scoreboard players set touzi.b.attack board 0 +execute if score touzi.health.a board matches ..0 run scoreboard players set touzi.health.a board 0 +execute if score touzi.health.b board matches ..0 run scoreboard players set touzi.health.b board 0 + +tellraw @a[team=deskgame] ["\n\u00a77---------------------\n\u00a7a\u00a7l本轮总结:\n\u00a79队伍A\u00a77有效攻击: ",{"score":{"name": "touzi.a.attack","objective": "board"},"color": "green"},"\u00a7a⛏\n\u00a7c队伍B\u00a77有效攻击: ",{"score":{"name": "touzi.b.attack","objective": "board"},"color": "green"},"\u00a7a⛏\n\u00a77====================\n\u00a79队伍A\u00a77剩余生命: ",{"score":{"name": "touzi.health.a","objective": "board"},"color": "red"},"\u00a7c♥\n\u00a7c队伍B\u00a77剩余生命: ",{"score":{"name": "touzi.health.b","objective": "board"},"color": "red"},"\u00a7c♥\n\u00a77---------------------"] +clear @a[team=deskgame] +function minecraft:desk/touzi/overdetect +execute if score desk.state state matches 1..9 run schedule function minecraft:desk/touzi/round/new_round 4s replace \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/second.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/second.mcfunction new file mode 100644 index 00000000..610bc6bf --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/second.mcfunction @@ -0,0 +1,17 @@ +execute unless score desk.time board matches 1.. run title @a[team=deskgame,tag=touzi.team.a] actionbar ["\u00a76你在\u00a79队伍A"] +execute unless score desk.time board matches 1.. run title @a[team=deskgame,tag=touzi.team.b] actionbar ["\u00a76你在\u00a74队伍B"] + +execute if score desk.time board matches 1.. run title @a[team=deskgame,tag=touzi.team.a] actionbar ["\u00a76你在\u00a79队伍A\u00a76,操作时间剩余:",{"score":{"objective": "board","name": "desk.time"},"color": "yellow"},"\u00a76s"] +execute if score desk.time board matches 1.. run title @a[team=deskgame,tag=touzi.team.b] actionbar ["\u00a76你在\u00a74队伍B\u00a76,操作时间剩余:",{"score":{"objective": "board","name": "desk.time"},"color": "yellow"},"\u00a76s"] + +data merge block -19 4 71 {front_text:{messages:['["\\u00a79队伍A\\u00a78 | \\u00a77金币 ",{"score":{"objective":"board","name":"touzi.money.a"},"color":"yellow"},"\\u00a76℗"]','["\\u00a74队伍B \\u00a78| \\u00a77金币 ",{"score":{"objective":"board","name":"touzi.money.b"},"color":"yellow"},"\\u00a76℗"]','["\\u00a79队伍A \\u00a78| \\u00a77生命 ",{"score":{"objective":"board","name":"touzi.health.a"},"color":"red"},"\\u00a7c♥"]','["\\u00a74队伍B \\u00a78| \\u00a77生命 ",{"score":{"objective":"board","name":"touzi.health.b"},"color":"red"},"\\u00a7c♥"]']}} + +execute as @e[tag=touzi.text.money.a,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[0] +execute as @e[tag=touzi.text.money.b,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[1] +execute as @e[tag=touzi.text.health.a,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[2] +execute as @e[tag=touzi.text.health.b,type=marker] at @s as @e[distance=0..2,type=text_display] run data modify entity @s text set from block -19 4 71 front_text.messages[3] + +function minecraft:desk/touzi/overdetect + +execute if score desk.state state matches 1..9 if score desk.time board matches 0 run function desk/touzi/timeout +execute if score desk.state state matches 1..9 if score desk.time board matches 1.. run scoreboard players remove desk.time board 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/cb.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/cb.mcfunction new file mode 100644 index 00000000..47041043 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/cb.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set touzi.shop.id board 10 +scoreboard players set touzi.shop.need board 12000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 + +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"Command Block骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/creeper.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/creeper.mcfunction new file mode 100644 index 00000000..b73bb242 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/creeper.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set touzi.shop.id board 5 +scoreboard players set touzi.shop.need board 3000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 + +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"苦力怕骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/dmpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/dmpick.mcfunction new file mode 100644 index 00000000..8f7b6647 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/dmpick.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set touzi.shop.id board 4 +scoreboard players set touzi.shop.need board 2000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 + +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"钻石镐骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/dragon.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/dragon.mcfunction new file mode 100644 index 00000000..f88b48de --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/dragon.mcfunction @@ -0,0 +1,14 @@ +scoreboard players set touzi.shop.id board 6 +scoreboard players set touzi.shop.need board 6000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 + +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"龙骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board + +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/firework.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/firework.mcfunction new file mode 100644 index 00000000..92715ab0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/firework.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set touzi.shop.id board 8 +scoreboard players set touzi.shop.need board 2000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"烟花骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/irpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/irpick.mcfunction new file mode 100644 index 00000000..37f5d3f1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/irpick.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set touzi.shop.id board 3 +scoreboard players set touzi.shop.need board 1500 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"铁镐骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/light.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/light.mcfunction new file mode 100644 index 00000000..c4f0990b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/light.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set touzi.shop.id board 11 +scoreboard players set touzi.shop.need board 12000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"光骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/stpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/stpick.mcfunction new file mode 100644 index 00000000..6a402070 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/stpick.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set touzi.shop.id board 2 +scoreboard players set touzi.shop.need board 500 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"石镐骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/tnt.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/tnt.mcfunction new file mode 100644 index 00000000..c3c4f86c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/tnt.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set touzi.shop.id board 7 +scoreboard players set touzi.shop.need board 8000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"TNT骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/undying.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/undying.mcfunction new file mode 100644 index 00000000..2ad41002 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/buy/undying.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set touzi.shop.id board 9 +scoreboard players set touzi.shop.need board 6000 + +scoreboard players set touzi.shop.success board 0 +$execute if score touzi.money.$(team) board >= touzi.shop.need board run scoreboard players set touzi.shop.success board 1 +$execute if score touzit.$(team).touzi$(place) board = touzi.shop.id board run scoreboard players set touzi.shop.success board 2 +$execute if score touzi.shop.success board matches 1 run tellraw @a[team=deskgame,tag=touzi.team.$(team)] [{"selector":"@s"},"\u00a7a购买了",{"text":"不死图腾骰子","color":"aqua"},"\u00a7a,将其替换了",{"text":"骰子$(place)","color": "yellow","bold": true}] +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzit.$(team).touzi$(place) board = touzi.shop.id board +$execute if score touzi.shop.success board matches 1 run scoreboard players operation touzi.money.$(team) board -= touzi.shop.need board +execute unless score touzi.shop.success board matches 1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +execute if score touzi.shop.success board matches 0 run tellraw @s ["\u00a7c购买失败!金钱不够。"] +execute if score touzi.shop.success board matches 2 run tellraw @s ["\u00a7c购买失败!该位置已为此骰子。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/cb.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/cb.mcfunction new file mode 100644 index 00000000..5294d16b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/cb.mcfunction @@ -0,0 +1,3 @@ +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/cb {place:$(place),team:a} +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/cb {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/creeper.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/creeper.mcfunction new file mode 100644 index 00000000..65600d8f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/creeper.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/creeper {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/creeper {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/dmpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/dmpick.mcfunction new file mode 100644 index 00000000..557480af --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/dmpick.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/dmpick {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/dmpick {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/dragon.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/dragon.mcfunction new file mode 100644 index 00000000..8b0e3af8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/dragon.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/dragon {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/dragon {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/firework.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/firework.mcfunction new file mode 100644 index 00000000..d4db687c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/firework.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/firework {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/firework {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/irpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/irpick.mcfunction new file mode 100644 index 00000000..a372f57a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/irpick.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/irpick {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/irpick {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/light.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/light.mcfunction new file mode 100644 index 00000000..ee464c68 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/light.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/light {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/light {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/stpick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/stpick.mcfunction new file mode 100644 index 00000000..a4a1f250 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/stpick.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/stpick {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/stpick {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/tnt.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/tnt.mcfunction new file mode 100644 index 00000000..37d6f1fa --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/tnt.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/tnt {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/tnt {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/undying.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/undying.mcfunction new file mode 100644 index 00000000..a995b9ea --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/shop/undying.mcfunction @@ -0,0 +1,3 @@ +$execute as @s[tag=touzi.team.a] at @s run function minecraft:desk/touzi/shop/buy/undying {place:$(place),team:a} +playsound block.note_block.pling player @s ~ ~ ~ 1 2 1 +$execute as @s[tag=touzi.team.b] at @s run function minecraft:desk/touzi/shop/buy/undying {place:$(place),team:b} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/show_touzi.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/show_touzi.mcfunction new file mode 100644 index 00000000..56d3b736 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/show_touzi.mcfunction @@ -0,0 +1,3 @@ +item replace entity @e[type=item_frame,sort=nearest,limit=1] container.0 from entity @s weapon.mainhand +data modify entity @s CustomName set from entity @s HandItems[0].tag.display.Name +execute unless data entity @s HandItems[0].tag run data merge entity @s {CustomName:'"\\u00a78(空)"'} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/skill_handle.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/skill_handle.mcfunction new file mode 100644 index 00000000..0ae889a8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/skill_handle.mcfunction @@ -0,0 +1,2 @@ +execute if entity @s[nbt={SelectedItem:{tag:{desk:1}}}] run function desk/touzi/control/refrush +# execute if entity @s[nbt={SelectedItem:{tag:{desk:2}}}] run tag @s add skill.old diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/start.mcfunction new file mode 100644 index 00000000..b6034c59 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/start.mcfunction @@ -0,0 +1,11 @@ +execute as @a[team=deskgame,gamemode=adventure] run tag @s add desk.ranteam +tag @a remove touzi.team.a +tag @a remove touzi.team.b +execute as @a[team=deskgame] run function desk/touzi/tips +execute as @a[tag=desk.ranteam] run function minecraft:desk/touzi/ran_team +function minecraft:desk/touzi/reset +tp @a[team=deskgame,gamemode=!creative] -18 8 54 0 90 +tp @a[tag=touzi.team.a] -18 0 49 0 0 +tp @a[tag=touzi.team.b] -18 0 59 180 0 + +function minecraft:desk/touzi/round/new_round \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/tick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/tick.mcfunction new file mode 100644 index 00000000..de375851 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/tick.mcfunction @@ -0,0 +1,2 @@ +kill @e[type=item,nbt={Item:{tag:{desk_clear:1}}}] +execute as @e[type=item,nbt={Item:{tag:{desk_item:1}}}] at @s run data merge entity @s {pickup:1b,PickupDelay:0} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/timeout.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/timeout.mcfunction new file mode 100644 index 00000000..888decd5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/timeout.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set desk.time board -1 + +execute if score desk.state state matches 4 run function minecraft:desk/touzi/confirmround/b +execute if score desk.state state matches 3 run function minecraft:desk/touzi/confirmround/a \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/tips.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/tips.mcfunction new file mode 100644 index 00000000..5a6a19ba --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/touzi/tips.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\n\u00a76\u00a7l ※ 骰子游戏\n\n\u00a7b 数字骰子 + 角色攻击技能骰子(不含大小) = 攻击,伤害由数字决定\n\u00a7b 数字骰子 + 角色防御技能骰子(不含大小) = 防御,减伤由数字决定\n\u00a7b 角色攻击技能骰子(含大小) = 攻击,伤害由数字决定\n\u00a7b 角色防御技能骰子(含大小) = 防御,减伤由数字决定\n\u00a76 请注意:上述操作仅允许同时一类操作,\n 多个角色骰子(不含大小)一个即可生效。\n\u00a7b 骰子上最后的红色字体表示为攻击牌;蓝色字体表示为防御牌。\n\u00a76金币由对对方造成的总计伤害增加。\n\u00a7a先将对方生命降为0方获胜。\n\u00a7e点击“确认出牌”进行操作。一局可以出牌多次。当所有操作结束后,点击“结束回合”即可。\n"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/desk/trystart.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/desk/trystart.mcfunction new file mode 100644 index 00000000..da43a6c0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/desk/trystart.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# 重置人数统计 +scoreboard players set wait.player tick 0 +# 计算人数 +execute as @a[team=deskgame,gamemode=adventure] run scoreboard players add wait.player tick 1 +# 判断人数、游戏状态 +execute if score desk.state state matches 1.. run function minecraft:desk/spec +execute unless score desk.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score desk.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score desk.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:desk/start \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/ballspawn.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/ballspawn.mcfunction new file mode 100644 index 00000000..256273d1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/ballspawn.mcfunction @@ -0,0 +1 @@ +execute as @e[type=marker,tag=golf.start] at @s run function golf/spawnball \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/item.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/item.mcfunction new file mode 100644 index 00000000..20367186 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/item.mcfunction @@ -0,0 +1,8 @@ +item replace entity @s hotbar.0 with minecraft:stick{display:{Name:'"\\u00a7a击退 I"'},Enchantments:[{id:"knockback",lvl:1}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s hotbar.1 with minecraft:wooden_shovel{display:{Name:'"\\u00a7a击退 II"'},Enchantments:[{id:"knockback",lvl:2}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s hotbar.2 with minecraft:stone_shovel{display:{Name:'"\\u00a7a击退 III"'},Enchantments:[{id:"knockback",lvl:3}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s hotbar.3 with minecraft:golden_shovel{display:{Name:'"\\u00a7a击退 IV"'},Enchantments:[{id:"knockback",lvl:4}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s hotbar.4 with minecraft:iron_shovel{display:{Name:'"\\u00a7a击退 V"'},Enchantments:[{id:"knockback",lvl:5}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s hotbar.5 with minecraft:diamond_shovel{display:{Name:'"\\u00a7a击退 VI"'},Enchantments:[{id:"knockback",lvl:6}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s hotbar.6 with minecraft:netherite_shovel{display:{Name:'"\\u00a7a击退 VII"'},Enchantments:[{id:"knockback",lvl:7}],Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:0d,Operation:0,UUID:[I;2169,7724,3478,3358]}],HideFlags:6} +item replace entity @s weapon.offhand with air \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/next.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/next.mcfunction new file mode 100644 index 00000000..ab75669b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/next.mcfunction @@ -0,0 +1,5 @@ +kill @e[type=zombie,tag=golf.ball] +gamemode spectator @a[team=golf,gamemode=adventure] +execute if entity @a[team=golf,tag=golf.waitshoot] as @a[team=golf,tag=golf.waitshoot,limit=1,sort=nearest] run function golf/gaming/nextplayer +execute unless entity @a[team=golf,tag=golf.waitshoot] run function golf/gaming/nextmap +execute as @a[team=golf] at @s run playsound entity.player.levelup player @s ~ ~ ~ 3 1 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/nextmap.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/nextmap.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/nextplayer.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/nextplayer.mcfunction new file mode 100644 index 00000000..0f5a7f60 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/nextplayer.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[team=golf] ["\u00a76 > 现在轮到 ",{"selector":"@s"},"\u00a76 了。"] +tp @s @e[limit=1,tag=golf.start] +tag @s remove golf.waitshoot +gamemode adventure @s +clear @s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/redo.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/redo.mcfunction new file mode 100644 index 00000000..0293c9c8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/gaming/redo.mcfunction @@ -0,0 +1,8 @@ +kill @e[type=zombie,tag=golf.ball] +gamemode spectator @a[team=golf,gamemode=adventure] +# execute if entity @a[team=golf,tag=golf.waitshoot] as @a[team=golf,tag=golf.waitshoot,limit=1,sort=nearest] run function golf/gaming/nextplayer +execute as @e[type=marker,tag=golf.spawn] at @s run function golf/gaming/ballspawn +tellraw @a[team=golf] ["\n\u00a7c 击球失败!球出界!\n"] +title @a[team=golf,gamemode=adventure] title ["\u00a7c击球失败!"] +title @a[team=golf,gamemode=adventure] subtitle ["\u00a7b球出界了,所以你失败了。"] +execute as @a[team=golf] at @s run playsound entity.player.levelup player @s ~ ~ ~ 3 1 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/join.mcfunction new file mode 100644 index 00000000..7424bdf8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/join.mcfunction @@ -0,0 +1,15 @@ +# team join golf @s +# tellraw @a [{"selector":"@s"},"\u00a7a 加入了\u00a7d高尔夫游戏\u00a7a。"] +# title @s title ["\u00a7dGOLF 高尔夫游戏"] +# title @s subtitle ["\u00a7aShoot the \u00a7eBall \u00a7ainto the \u00a7bHole"] +# tellraw @s ["\u00a7d\u00a7lGOLF 高尔夫游戏 > \n\u00a7a将 \u00a7eBall \u00a7a射进 \u00a7bHole \u00a7a中。\n"] +# execute in minecraft:golfworld run tp @s -121 -60 115 90 0 +playsound entity.player.levelup player @s ~ ~ ~ 10 1 1 +# clear @s +# effect clear @s +# execute if score golf.state state matches 1.. run function minecraft:golf/spec +# effect give @s instant_health 2 25 true +# tag @s remove golf.waitshoot +# tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +# execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator +tellraw @s ["\n\u00a7c仍在制作,敬请期待。\n"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/player_hit_ball.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/player_hit_ball.mcfunction new file mode 100644 index 00000000..1ad68041 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/player_hit_ball.mcfunction @@ -0,0 +1,14 @@ +advancement revoke @s only player_hit_ball + +scoreboard players set golf.scb.tmp board 5 +execute if data entity @s {SelectedItem:{id:"minecraft:stick"}} run scoreboard players set golf.scb.tmp board 5 +execute if data entity @s {SelectedItem:{id:"minecraft:wooden_shovel"}} run scoreboard players set golf.scb.tmp board 10 +execute if data entity @s {SelectedItem:{id:"minecraft:stone_shovel"}} run scoreboard players set golf.scb.tmp board 15 +execute if data entity @s {SelectedItem:{id:"minecraft:golden_shovel"}} run scoreboard players set golf.scb.tmp board 20 +execute if data entity @s {SelectedItem:{id:"minecraft:iron_shovel"}} run scoreboard players set golf.scb.tmp board 25 +execute if data entity @s {SelectedItem:{id:"minecraft:diamond_shovel"}} run scoreboard players set golf.scb.tmp board 30 +execute if data entity @s {SelectedItem:{id:"minecraft:netherite_shovel"}} run scoreboard players set golf.scb.tmp board 35 +scoreboard players operation @s golf.nowroundscore += golf.scb.tmp board +tellraw @s ["\u00a7c + ",{"score":{"name": "golf.scb.tmp","objective": "board"},"color": "red"},""] +playsound entity.experience_orb.pickup player @s ~ ~ ~ 3 1 1 +effect give @e[tag=golf.ball] regeneration 2 25 true \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/resets/1.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/resets/1.mcfunction new file mode 100644 index 00000000..5e4557e2 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/resets/1.mcfunction @@ -0,0 +1,5 @@ +forceload add -97 34 -22 86 +forceload add -171 23 -250 79 +clone -248 -60 25 -173 -53 77 -97 -63 34 +clone -248 -52 25 -173 -46 77 -97 -55 34 +forceload remove -171 23 -250 79 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/second.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/second.mcfunction new file mode 100644 index 00000000..3f87e2ff --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/second.mcfunction @@ -0,0 +1,6 @@ +effect give @e[team=golf] resistance 3 25 true +# effect give @e[tag=golf.ball] invisibility 3 25 true +execute if score golf.state state matches 1.. as @e[type=zombie,tag=golf.ball] at @s if block ~ ~-1 ~ copper_block run function golf/gaming/next +execute if score golf.state state matches 1.. as @e[type=zombie,tag=golf.ball] at @s if block ~ ~-1 ~ magma_block run function golf/gaming/redo +clear @a[team=golf,gamemode=spectator] +execute as @a[team=golf,gamemode=adventure] run function golf/gaming/item \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/spawnball.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/spawnball.mcfunction new file mode 100644 index 00000000..5fb0faec --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/spawnball.mcfunction @@ -0,0 +1 @@ +summon minecraft:zombie ~ ~1 ~ {CustomName:'["\\u00a7eBall"]',CustomNameVisible:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,Team:"golf",Tags:["golf.ball"],Attributes:[{Base:10d,Name:"generic.max_health"},{Base:0d,Name:"generic.knockback_resistance"},{Base:0d,Name:"generic.movement_speed"},{Base:0d,Name:"generic.follow_range"},{Base:0d,Name:"generic.attack_damage"},{Base:0d,Name:"generic.attack_speed"},{Base:10d,Name:"generic.armor"},{Base:10d,Name:"generic.armor_toughness"}],ArmorItems:[{id:"minecraft:leather_boots",Count:1b,tag:{Unbreakable:1b,display:{color:1241313}}},{id:"minecraft:leather_leggings",Count:1b,tag:{Unbreakable:1b,display:{color:1241313}}},{id:"minecraft:leather_chestplate",Count:1b,tag:{Unbreakable:1b,display:{color:1241313}}},{id:"minecraft:player_head",Count:1b,tag:{SkullOwner:"MHF_OakLog"}}],ArmorDropChances:[0f,0f,0f,0f],CanBreakDoors:false,DeathLootTable:"",IsBaby:false} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/spec.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/spec.mcfunction new file mode 100644 index 00000000..12762b0d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,当前游戏已经开始。你将在下一轮进入游戏。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/start.mcfunction new file mode 100644 index 00000000..0d6582eb --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/start.mcfunction @@ -0,0 +1 @@ +scoreboard players reset * golf.score \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/tick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/tick.mcfunction new file mode 100644 index 00000000..f7fb476c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/tick.mcfunction @@ -0,0 +1 @@ +execute as @a[team=golf,gamemode=adventure] at @s run kill @e[type=item,distance=0..5] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/golf/trystart.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/golf/trystart.mcfunction new file mode 100644 index 00000000..db823110 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/golf/trystart.mcfunction @@ -0,0 +1,15 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=golf,gamemode=adventure] run scoreboard players add wait.player tick 1 + +## regoin 维护 +scoreboard players set wait.player tick 0 +tellraw @s ["\n\u00a7c很抱歉,此游戏仍在测试阶段!\n"] + +## endregoin 维护 + +execute if score golf.state state matches 1.. run function minecraft:golf/spec +execute unless score golf.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score golf.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score golf.state state matches 1.. if score wait.player tick matches 2.. run function minecraft:golf/start \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/gunwars/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/gunwars/join.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/auto_settings.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/auto_settings.mcfunction new file mode 100644 index 00000000..895ef979 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/auto_settings.mcfunction @@ -0,0 +1,46 @@ +# execute if score +# 无论多少人都有啦 +execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/witch +execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/predictor + +execute if score wolf.total board matches 6.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute if score wolf.total board matches 13.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute if score wolf.total board matches 15.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute if score wolf.total board matches 17.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute if score wolf.total board matches 19.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute if score wolf.total board matches 21.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf +execute if score wolf.total board matches 23.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/wolf + + +execute if score wolf.total board matches 6.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/guard + +execute if score wolf.total board matches 8.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/hunter + +execute if score wolf.total board matches 9.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/knight + + +execute if score wolf.total board matches 11.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/tnt + +execute if score wolf.total board matches 12.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/cupid + + +execute if score wolf.total board matches 8.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/whitewolf + + +execute if score wolf.total board matches 14.. run execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/arsonist + +# A 模式 +scoreboard players set wolf.mode board 2 +execute if score wolf.total board matches 5 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 7 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 9 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 10 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 11 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 12 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 14 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 16 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 18 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 20 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 22 run scoreboard players set wolf.mode board 1 +execute if score wolf.total board matches 24 run scoreboard players set wolf.mode board 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/get_jobs.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/get_jobs.mcfunction new file mode 100644 index 00000000..28c68ad6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/get_jobs.mcfunction @@ -0,0 +1,12 @@ +function twolf/action/job_dg_start {job:wolf} +function twolf/action/job_dg_start {job:witch} +function twolf/action/job_dg_start {job:predictor} +function twolf/action/job_dg_start {job:arsonist} +function twolf/action/job_dg_start {job:cupid} +function twolf/action/job_dg_start {job:guard} +function twolf/action/job_dg_start {job:hunter} +function twolf/action/job_dg_start {job:knight} +function twolf/action/job_dg_start {job:tnt} +function twolf/action/job_dg_start {job:whitewolf} +scoreboard players operation wolf.mode board = wolf.mode state +# function minecraft:twolf/action/job_dg \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/givepoint.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/givepoint.mcfunction new file mode 100644 index 00000000..54520b87 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/givepoint.mcfunction @@ -0,0 +1,5 @@ +# 应在初始化的时候分配 +tag @e[tag=wolf.tppoint] remove wolf.used +kill @e[tag=wolf.nametags] +scoreboard players reset @e[tag=wolf.tp.sell,limit=1] +execute as @a[gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/givepoint diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/job_dg.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/job_dg.mcfunction new file mode 100644 index 00000000..4d3d8d5e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/job_dg.mcfunction @@ -0,0 +1,3 @@ +$scoreboard players remove wolf.$(job) board 1 +$execute as @r[team=wait.wolfpeople,gamemode=adventure] run function twolf/job/$(job) +$execute if score wolf.$(job) board matches 1.. run function minecraft:twolf/action/job_dg {job:$(job)} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/job_dg_start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/job_dg_start.mcfunction new file mode 100644 index 00000000..af6a844a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/job_dg_start.mcfunction @@ -0,0 +1,2 @@ +$scoreboard players operation wolf.$(job) board = wolf.$(job) state +$execute if score wolf.$(job) board matches 1.. run function minecraft:twolf/action/job_dg {job:$(job)} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom.mcfunction new file mode 100644 index 00000000..892b7199 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom.mcfunction @@ -0,0 +1,9 @@ +tag @s add wolf.sell +execute as @a[tag=wolf.tip,team=wolfpeople,gamemode=adventure] at @s run function minecraft:twolf/action/per/death/boom/whochooseme +tag @s remove wolf.sell +tellraw @a[tag=wolf.tip] ["\u00a7c炸弹人 ",{"selector":"@s"},"\u00a7c 爆炸了。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a7c炸弹人 ",{"selector":"@s"},"\u00a7c 爆炸了。"] + +execute as @a[tag=wolf.boomed] run function twolf/action/per/death/boom/died +tag @a remove wolf.boomed \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom/died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom/died.mcfunction new file mode 100644 index 00000000..2bee7917 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom/died.mcfunction @@ -0,0 +1,18 @@ + +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +execute if score @s LRS_JOB matches 9 run return 0 +tag @s add wolf.sell + +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (被炸死)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +gamemode spectator + +team join wait.wolfpeople +# execute at @s run tp @s ~ -20 ~ +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 被炸弹人炸死了。"] +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom/whochooseme.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom/whochooseme.mcfunction new file mode 100644 index 00000000..f807a398 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom/whochooseme.mcfunction @@ -0,0 +1 @@ +execute if score @s LRS_CS = @a[tag=wolf.sell,limit=1,team=wolfpeople] park.uuid run tag @s add wolf.boomed \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom_died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom_died.mcfunction new file mode 100644 index 00000000..378b207a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/boom_died.mcfunction @@ -0,0 +1,17 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (炸弹人,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +gamemode spectator + +team join wait.wolfpeople +# execute at @s run tp @s ~ -20 ~ +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] + +function minecraft:twolf/persons +execute unless score twolf.state state matches 3 if score wolf.r.good board matches 0 if score wolf.r.bad board matches 0 run function twolf/over/boom \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died.mcfunction new file mode 100644 index 00000000..e6bb041c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died.mcfunction @@ -0,0 +1,17 @@ + +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +execute if score @s LRS_JOB matches 9 run return 0 +tag @s add wolf.sell + +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (已阵亡)"]'} +execute as @e[tag=wolf.tp.sell,limit=1,tag=wolf.knight] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell + +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] + +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_all.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_all.mcfunction new file mode 100644 index 00000000..fe096ee3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_all.mcfunction @@ -0,0 +1,20 @@ + +gamemode spectator +team join wait.wolfpeople +scoreboard players add wolf.deathcount board 1 +tellraw @s ["\u00a7c你死了\n\u00a7b你已进入等待队列。为保证游戏体验,请使用 \u00a76/tm <消息>\u00a7b 在旁观玩家中交流"] + +# tellraw @s ["\u00a7c你死了"] +# execute at @s run tp @s ~ -20 ~ +tag @s remove wolf.sell + +tag @s remove wolf.protected +tag @s remove wolf.killed +tag @s remove wolf.fired +tag @s remove wolf.rescued +tag @s remove wolf.poisoned +tag @s remove wolf.lastprotected +tag @s remove wolf.acting +execute as @s[tag=wolf.connected] run function minecraft:twolf/action/per/death/died_cupid + +tag @s remove wolf.connected \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_cupid.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_cupid.mcfunction new file mode 100644 index 00000000..08aab79a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_cupid.mcfunction @@ -0,0 +1,4 @@ +tag @a[tag=wolf.connected] add wolf.tmp +tag @a remove wolf.connected +execute as @a[gamemode=adventure,team=wolfpeople,tag=wolf.tmp] at @s run function minecraft:twolf/action/per/death/died +tag @a remove wolf.tmp \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_fired.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_fired.mcfunction new file mode 100644 index 00000000..a18a818e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_fired.mcfunction @@ -0,0 +1,21 @@ + +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/fire +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +execute if score @s LRS_JOB matches 9 run return 0 +tag @s add wolf.sell + +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (已阵亡)"]'} +execute as @e[tag=wolf.tp.sell,limit=1,tag=wolf.knight] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell + +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] + +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 4 run tag @s add wolf.wolf +execute as @a[limit=1,sort=random,tag=wolf.wolf] run function minecraft:twolf/action/per/death/died +tag @a remove wolf.wolf +say debug +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_no.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_no.mcfunction new file mode 100644 index 00000000..a63cc5d5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_no.mcfunction @@ -0,0 +1,15 @@ +tag @s add wolf.sell +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +execute if score @s LRS_JOB matches 9 run return 0 +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (已阵亡)"]'} +execute as @e[tag=wolf.tp.sell,limit=1,tag=wolf.knight] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell + +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] + +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_witch.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_witch.mcfunction new file mode 100644 index 00000000..cfadab75 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_witch.mcfunction @@ -0,0 +1,13 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (已阵亡)"]'} +execute as @e[tag=wolf.tp.sell,limit=1,tag=wolf.knight] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell + +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] + +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_withsaying.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_withsaying.mcfunction new file mode 100644 index 00000000..de9eb37f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/died_withsaying.mcfunction @@ -0,0 +1,23 @@ +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +execute if score @s LRS_JOB matches 9 run return 0 +tag @s add wolf.sell + +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (已阵亡)"]'} +execute as @e[tag=wolf.tp.sell,limit=1,tag=wolf.knight] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell + + +scoreboard players set wolf.ttime board -1 + +scoreboard players add wolf.time board 15 + +# tellraw @s ["\u00a7c你死了"] +# execute at @s run tp @s ~ -20 ~ +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。他可以说遗言。"] +team join wolfpeople + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/detect.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/detect.mcfunction new file mode 100644 index 00000000..1d73ae88 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/detect.mcfunction @@ -0,0 +1,2 @@ +# execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +# execute if score @s LRS_JOB matches 9 run return 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/died.mcfunction new file mode 100644 index 00000000..ef497325 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/died.mcfunction @@ -0,0 +1,8 @@ +# scoreboard players set wolf.event board 18 +function minecraft:twolf/action/per/death/hunter_died +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board 4 +scoreboard players operation wolf.event board = wolf.save.event board +schedule clear #wolffunctions +function minecraft:twolf/action/tppoint_day +# schedule \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/fire.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/fire.mcfunction new file mode 100644 index 00000000..59078108 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/fire.mcfunction @@ -0,0 +1,10 @@ +tag @s remove wolf.protected +tag @s remove wolf.killed +tag @s remove wolf.fired +tag @s remove wolf.rescued +tag @s remove wolf.poisoned +tag @s remove wolf.lastprotected +tag @a remove wolf.wolf +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 4 run tag @s add wolf.wolf +execute as @a[limit=1,sort=random,tag=wolf.wolf] run function minecraft:twolf/action/per/death/died +tag @a remove wolf.wolf diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/trigger.mcfunction new file mode 100644 index 00000000..bff144a7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter/trigger.mcfunction @@ -0,0 +1,15 @@ +scoreboard players add wolf.deathcount board 1 + +function minecraft:twolf/events/job/hunter +tag @a remove wolf.acting +scoreboard players operation wolf.save.time board = wolf.time board +scoreboard players operation wolf.save.ttime board = wolf.ttime board +execute unless score wolf.event board matches 12 run scoreboard players operation wolf.save.event board = wolf.event board +scoreboard players set wolf.event board 12 +tag @s add wolf.acting +scoreboard players set wolf.ttime board -1 +scoreboard players set wolf.time board 60 +function twolf/action/special_day_choose +function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/hunter +schedule clear #wolffunctions \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter_died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter_died.mcfunction new file mode 100644 index 00000000..a3067142 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/hunter_died.mcfunction @@ -0,0 +1,14 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (猎人,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +team join wait.wolfpeople +gamemode spectator +# tellraw @s ["\u00a7c你死了"] +# execute at @s run tp @s ~ -20 ~ +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/knight_died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/knight_died.mcfunction new file mode 100644 index 00000000..5179c035 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/knight_died.mcfunction @@ -0,0 +1,15 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +gamemode spectator + +team join wait.wolfpeople +# tellraw @s ["\u00a7c你死了"] +# execute at @s run tp @s ~ -20 ~ +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/knight_died_t.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/knight_died_t.mcfunction new file mode 100644 index 00000000..1e47eb23 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/knight_died_t.mcfunction @@ -0,0 +1,2 @@ +function twolf/action/per/death/knight_died +function twolf/action/special_day_back \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/leaveaway.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/leaveaway.mcfunction new file mode 100644 index 00000000..72d571c7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/leaveaway.mcfunction @@ -0,0 +1,40 @@ +execute if score @s LRS_JOB matches 7 run function minecraft:twolf/action/per/death/boom + +execute if score @s LRS_JOB matches 9 run function minecraft:twolf/action/per/death/hunter/trigger +execute if score @s LRS_JOB matches 9 run return 0 +tag @s add wolf.sell + +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute unless score @s LRS_JOB matches 7 as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (被放逐)"]'} +execute if score @s LRS_JOB matches 7 as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (炸弹人,被放逐)"]'} +execute as @e[tag=wolf.tp.sell,limit=1,tag=wolf.knight] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (骑士,被放逐)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell + +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 被放逐了。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle [{"selector":"@s"},"\u00a7c 被放逐了。"] + + +gamemode spectator +team join wait.wolfpeople +scoreboard players add wolf.deathcount board 1 +tellraw @s ["\u00a7c你被放逐了\n\u00a7b你已进入等待队列。为保证游戏体验,请使用 \u00a76/tm <消息>\u00a7b 在旁观玩家中交流"] + +# tellraw @s ["\u00a7c你死了"] +# execute at @s run tp @s ~ -20 ~ +tag @s remove wolf.sell + +tag @s remove wolf.protected +tag @s remove wolf.killed +tag @s remove wolf.fired +tag @s remove wolf.rescued +tag @s remove wolf.poisoned +tag @s remove wolf.lastprotected + +execute as @s[tag=wolf.connected] run function minecraft:twolf/action/per/death/died_cupid +tag @s remove wolf.connected + +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/white_wolf_died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/white_wolf_died.mcfunction new file mode 100644 index 00000000..7b241dc3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/white_wolf_died.mcfunction @@ -0,0 +1,14 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (白狼王,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +gamemode spectator + +team join wait.wolfpeople +# execute at @s run tp @s ~ -20 ~ +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/white_wolf_died_t.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/white_wolf_died_t.mcfunction new file mode 100644 index 00000000..5d2d6fe8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/white_wolf_died_t.mcfunction @@ -0,0 +1,2 @@ +function twolf/action/per/death/white_wolf_died +function twolf/action/special_day_back \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/wolf_died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/wolf_died.mcfunction new file mode 100644 index 00000000..f041ed2c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/death/wolf_died.mcfunction @@ -0,0 +1,14 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7e※ ",{"selector":"@a[tag=wolf.sell]"},"\\u00a7c (狼,已阵亡)"]'} + +tag @e[tag=wolf.tp.sell] add wolf.died +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +gamemode spectator + +team join wait.wolfpeople +# execute at @s run tp @s ~ -20 ~ +tellraw @a[tag=wolf.tip] [{"selector":"@s"},"\u00a7c 死了。"] +tag @s remove wolf.sell +function minecraft:twolf/action/per/death/died_all +tellraw @s ["\n\u00a7e\u00a7lWARNING:\u00a76你不可以说遗言。\n"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/deletemypoint.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/deletemypoint.mcfunction new file mode 100644 index 00000000..8859ab79 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/deletemypoint.mcfunction @@ -0,0 +1,8 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run kill @e[tag=wolf.nametags,distance=0..2] +scoreboard players reset @e[tag=wolf.tp.sell,limit=1] +tag @e[tag=wolf.tp.sell] remove wolf.used +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +# execute at @s run tp @s ~ -20 ~ +tag @s remove wolf.sell \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/getjobtype.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/getjobtype.mcfunction new file mode 100644 index 00000000..db1c53c1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/getjobtype.mcfunction @@ -0,0 +1,14 @@ +# 获取是什么属性的角色 +# 1: good; 2: bad; 3: unknown + +execute if score @s LRS_JOB matches 1 if score wolf.cupid.type board matches 0 run return 2 +execute if score @s LRS_JOB matches 1 unless score wolf.cupid.type board matches 0 run return 1 +execute if score @s LRS_JOB matches 2 run return 1 +execute if score @s LRS_JOB matches 3 run return 1 +execute if score @s LRS_JOB matches 4 run return 2 +execute if score @s LRS_JOB matches 5 run return 1 +execute if score @s LRS_JOB matches 6 run return 1 +execute if score @s LRS_JOB matches 7 run return 3 +execute if score @s LRS_JOB matches 8 run return 1 +execute if score @s LRS_JOB matches 9 run return 1 +execute if score @s LRS_JOB matches 0 run return 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/givepoint.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/givepoint.mcfunction new file mode 100644 index 00000000..6745ad20 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/givepoint.mcfunction @@ -0,0 +1,11 @@ +execute positioned 29 16 31 run tag @e[tag=wolf.tppoint,tag=!wolf.used,limit=1,sort=nearest] add wolf.sel +scoreboard players operation @e[tag=wolf.sel,limit=1] LRS_UUID = @s park.uuid +tag @e[tag=wolf.sel] add wolf.used +tag @e[tag=wolf.sel] remove wolf.knight +tag @s add wolf.sell +execute as @e[tag=wolf.sel] at @s run summon text_display ~ ~1.8 ~ {billboard:"vertical",Tags:["wolf.nametags"],text:'[{"selector":"@a[tag=wolf.sell]"}]'} +execute as @e[tag=wolf.sel] at @s run summon minecraft:armor_stand ~ ~-0.5 ~ {Invulnerable:1b,NoAI:1b,Silent:1b,NoGravity:1b,Invisible:true,ShowArms:true,NoBasePlate:true,DisabledSlots:2039583,ArmorItems:[{id:"minecraft:leather_boots",Count:1b},{id:"minecraft:leather_leggings",Count:1b},{id:"minecraft:leather_chestplate",Count:1b},{id:"minecraft:player_head",Count:1b}],Tags:["wolf.new","wolf.nametags"],Marker:true,Glowing:1b} +item modify entity @e[tag=wolf.new] armor.head gethead +tag @s remove wolf.sell +tag @e[tag=wolf.new] remove wolf.new +tag @e[tag=wolf.sel] remove wolf.sel \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/highlight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/highlight.mcfunction new file mode 100644 index 00000000..53ebb0cf --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/highlight.mcfunction @@ -0,0 +1,19 @@ +tag @s add wolf.sell1 +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell1,limit=1] park.uuid run tag @s add wolf.selll +execute as @e[tag=wolf.selll] at @s as @e[type=armor_stand,limit=1,sort=nearest,distance=0..1] run tag @s add wolf.sell +scoreboard players set wolf.tmp board 0 +execute as @e[tag=wolf.sell] store result score wolf.tmp board run data get entity @s ArmorItems[2].tag.selcount + +execute if score wolf.tmp board matches ..0 as @e[tag=wolf.sell] run item replace entity @s armor.chest with leather_chestplate{display:{color:64659},selcount:1} + +execute if score wolf.tmp board matches 1 as @e[tag=wolf.sell] run item replace entity @s armor.chest with leather_chestplate{display:{color:15465472},selcount:2} + +execute if score wolf.tmp board matches 2 as @e[tag=wolf.sell] run item replace entity @s armor.chest with leather_chestplate{display:{color:51964},selcount:3} + +execute if score wolf.tmp board matches 3.. as @e[tag=wolf.sell] run item replace entity @s armor.chest with leather_chestplate{display:{color:16515227},selcount:4} +# execute as @e[tag=wolf.selll] run say 1 + +# say 1 +tag @e[tag=wolf.sell] remove wolf.sell +tag @e[tag=wolf.selll] remove wolf.selll +tag @s remove wolf.sell1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/highlight_acting.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/highlight_acting.mcfunction new file mode 100644 index 00000000..a8dde85e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/highlight_acting.mcfunction @@ -0,0 +1,10 @@ +tag @s add wolf.sell1 +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell1,limit=1] park.uuid run tag @s add wolf.selll +execute as @e[tag=wolf.selll] at @s as @e[type=armor_stand,limit=1,sort=nearest,distance=0..1] run tag @s add wolf.sell +# scoreboard players set wolf.tmp board 0 +# execute as @e[tag=wolf.sell] run item replace entity @s armor.chest with diamond_chestplate +execute as @e[tag=wolf.sell] run item replace entity @s armor.legs with diamond_leggings +execute as @e[tag=wolf.sell] run item replace entity @s armor.feet with diamond_boots +tag @e[tag=wolf.sell] remove wolf.sell +tag @e[tag=wolf.selll] remove wolf.selll +tag @s remove wolf.sell1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/loseobjective.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/loseobjective.mcfunction new file mode 100644 index 00000000..271c1b75 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/loseobjective.mcfunction @@ -0,0 +1,2 @@ +scoreboard players reset @s LRS_CS +title @s actionbar ["\u00a7c丢失目标"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/resethighlight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/resethighlight.mcfunction new file mode 100644 index 00000000..90432d4e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/resethighlight.mcfunction @@ -0,0 +1 @@ +execute as @s at @s as @e[type=armor_stand,limit=1,sort=nearest,distance=0..1] run item replace entity @s armor.chest with leather_chestplate{} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/showjob.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/showjob.mcfunction new file mode 100644 index 00000000..0298c22f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/showjob.mcfunction @@ -0,0 +1,11 @@ +execute if score @s LRS_JOB matches 3 run title @s actionbar ["\u00a7b你的身份是:\u00a7a\u00a7l纵火犯"] +execute if score @s LRS_JOB matches 1 run title @s actionbar ["\u00a7b你的身份是:\u00a7e\u00a7l丘比特"] +execute if score @s LRS_JOB matches 2 run title @s actionbar ["\u00a7b你的身份是:\u00a7a\u00a7l守卫"] +execute if score @s LRS_JOB matches 9 run title @s actionbar ["\u00a7b你的身份是:\u00a7b\u00a7l猎人"] +execute if score @s LRS_JOB matches 8 run title @s actionbar ["\u00a7b你的身份是:\u00a7a\u00a7l骑士"] +execute if score @s LRS_JOB matches 6 run title @s actionbar ["\u00a7b你的身份是:\u00a7a\u00a7l预言家"] +execute if score @s LRS_JOB matches 7 run title @s actionbar ["\u00a7b你的身份是:\u00a7d\u00a7l炸弹人"] +execute as @s[tag=wolf.white] if score @s LRS_JOB matches 4 run title @s actionbar ["\u00a7b你的身份是:\u00a74\u00a7l白狼王"] +execute unless entity @s[tag=wolf.white] if score @s LRS_JOB matches 4 run title @s actionbar ["\u00a7b你的身份是:\u00a7c\u00a7l狼"] +execute if score @s LRS_JOB matches 5 run title @s actionbar ["\u00a7b你的身份是:\u00a7a\u00a7l女巫"] +execute if score @s LRS_JOB matches 0 run title @s actionbar ["\u00a7b你的身份是:\u00a7b\u00a7l民"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/showselector.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/showselector.mcfunction new file mode 100644 index 00000000..d31b15a5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/showselector.mcfunction @@ -0,0 +1,7 @@ +tag @s add wolf.sel +execute as @a[team=wolfpeople,gamemode=adventure] if score @s park.uuid = @a[tag=wolf.sel,limit=1] LRS_CS run tag @s add wolf.tp.sel +title @s actionbar ["\u00a76你当前的选择为:",{"selector":"@a[tag=wolf.tp.sel]"}] +execute unless entity @a[tag=wolf.tp.sel] run function minecraft:twolf/action/per/loseobjective +execute as @a[tag=wolf.tp.sel] run function minecraft:twolf/action/per/highlight +tag @a[tag=wolf.tp.sel] remove wolf.tp.sel +tag @s remove wolf.sel \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/knight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/knight.mcfunction new file mode 100644 index 00000000..180295d5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/knight.mcfunction @@ -0,0 +1,10 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute as @e[tag=wolf.tp.sell,limit=1] at @s run data merge entity @e[tag=wolf.nametags,distance=0..2,limit=1] {text:'["\\u00a7a\\u00a7l「骑士」 ",{"selector":"@a[tag=wolf.sell]"}]'} +tag @e[tag=wolf.tp.sell] add wolf.knight + +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +# gamemode spectator +# tellraw @s ["\u00a7c你死了"] +# execute at @s run tp @s ~ -20 ~ +tag @s remove wolf.sell \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/protected.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/protected.mcfunction new file mode 100644 index 00000000..2f341012 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/protected.mcfunction @@ -0,0 +1,5 @@ +tag @a remove wolf.lastprotected +tag @s remove wolf.protected +tag @s remove wolf.rescued +tag @s remove wolf.killed +tag @s add wolf.lastprotected \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/rescued.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/rescued.mcfunction new file mode 100644 index 00000000..709c2717 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tag/rescued.mcfunction @@ -0,0 +1,3 @@ +tag @s remove wolf.killed +tag @s remove wolf.rescued +tag @s remove wolf.fired \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tagselector.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tagselector.mcfunction new file mode 100644 index 00000000..e0f9f360 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tagselector.mcfunction @@ -0,0 +1,3 @@ +tag @s add wolf.sel +execute as @a[team=wolfpeople,gamemode=adventure] if score @s park.uuid = @a[tag=wolf.sel,limit=1] LRS_CS run tag @s add wolf.selected +tag @s remove wolf.sel \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback.mcfunction new file mode 100644 index 00000000..366cf227 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback.mcfunction @@ -0,0 +1,7 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +tp @s @e[tag=wolf.tp.sell,limit=1] +execute at @s run tp @s ~ -20 ~ +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +tag @s remove wolf.sell +clear @s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback_real.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback_real.mcfunction new file mode 100644 index 00000000..fa551e99 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback_real.mcfunction @@ -0,0 +1,8 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +tp @s @e[tag=wolf.tp.sell,limit=1] +# execute at @s run tp @s ~ -20 ~ +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +tag @s remove wolf.sell +effect clear @s darkness +effect clear @s blindness \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback_special.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback_special.mcfunction new file mode 100644 index 00000000..9309ef6a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/per/tpback_special.mcfunction @@ -0,0 +1,9 @@ +tag @s add wolf.sell +execute as @e[tag=wolf.used] if score @s LRS_UUID = @a[tag=wolf.sell,limit=1] park.uuid run tag @s add wolf.tp.sell +execute at @e[tag=wolf.tp.sell,limit=1] run tp @s ~ 41 ~ +# execute at @s run tp @s ~ -20 ~ +tag @e[tag=wolf.tp.sell] remove wolf.tp.sell +tag @s remove wolf.sell +clear @s +effect clear @s darkness +effect clear @s blindness \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/resethighlight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/resethighlight.mcfunction new file mode 100644 index 00000000..28359d2d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/resethighlight.mcfunction @@ -0,0 +1 @@ +execute as @e[tag=wolf.used] at @s as @e[type=armor_stand,limit=1,sort=nearest,distance=0..1] run item replace entity @s armor.chest with leather_chestplate{} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_back.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_back.mcfunction new file mode 100644 index 00000000..c9ed9142 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_back.mcfunction @@ -0,0 +1,7 @@ +execute as @a[gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tpback_real +scoreboard players operation wolf.time board = wolf.resttime board +tellraw @a[tag=wolf.tip] ["\u00a7a继续发言。"] +scoreboard players set wolf.event board 10 +execute if score wolf.time board matches ..20 run scoreboard players add wolf.time board 30 +clear @a[tag=wolf.tip] +execute as @a[tag=wolf.tip,gamemode=adventure] run function twolf/items/day \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_choose.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_choose.mcfunction new file mode 100644 index 00000000..1e5226c5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_choose.mcfunction @@ -0,0 +1,2 @@ +scoreboard players operation wolf.resttime board = wolf.time board +execute as @a[gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tpback_special \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_night.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_night.mcfunction new file mode 100644 index 00000000..2d5df717 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/special_day_night.mcfunction @@ -0,0 +1,8 @@ +# execute as @a[gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tpback_real +# scoreboard players operation wolf.time board = wolf.resttime board +execute unless score wolf.event board matches 12 run tellraw @a[tag=wolf.tip] ["\u00a7f\u00a7l直接进入黑夜。"] +scoreboard players set wolf.event board 0 +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board 4 +# execute as @a[tag=wolf.tip,gamemode=adventure] run function twolf/action +clear @a[tag=wolf.tip] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tagselected.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tagselected.mcfunction new file mode 100644 index 00000000..cd628356 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tagselected.mcfunction @@ -0,0 +1,8 @@ +tag @s add wolf.selsss +tag @a remove wolf.selected +execute as @a[team=wolfpeople,gamemode=adventure] if score @s park.uuid = @a[tag=wolf.selsss,limit=1] LRS_CS run tag @s add wolf.tp.sels +title @s actionbar ["\u00a76你当前的选择为:",{"selector":"@a[tag=wolf.tp.sels]"}] +execute unless entity @a[tag=wolf.tp.sels] run function minecraft:twolf/action/per/loseobjective +execute as @a[tag=wolf.tp.sels] run tag @s add wolf.selected +tag @a[tag=wolf.tp.sels] remove wolf.tp.sels +tag @s remove wolf.selsss \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tagselected_notclear.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tagselected_notclear.mcfunction new file mode 100644 index 00000000..057bb4b0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tagselected_notclear.mcfunction @@ -0,0 +1,7 @@ +tag @s add wolf.sel +execute as @a[team=wolfpeople,gamemode=adventure] if score @s park.uuid = @a[tag=wolf.sel,limit=1] LRS_CS run tag @s add wolf.tp.sel +title @s actionbar ["\u00a76你当前的选择为:",{"selector":"@a[tag=wolf.tp.sel]"}] +execute unless entity @a[tag=wolf.tp.sel] run function minecraft:twolf/action/per/loseobjective +execute as @a[tag=wolf.tp.sel] run tag @s add wolf.selected +tag @a[tag=wolf.tp.sel] remove wolf.tp.sel +tag @s remove wolf.sel \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tppoint.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tppoint.mcfunction new file mode 100644 index 00000000..83e88fca --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tppoint.mcfunction @@ -0,0 +1 @@ +execute as @a[gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tpback \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tppoint_day.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tppoint_day.mcfunction new file mode 100644 index 00000000..879d2232 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/action/tppoint_day.mcfunction @@ -0,0 +1 @@ +execute as @a[gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tpback_real \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/cancel.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/cancel.mcfunction new file mode 100644 index 00000000..fa4b13b9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/cancel.mcfunction @@ -0,0 +1,8 @@ +execute if score @s LRS_CS matches ..0 run playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute if score @s LRS_CS matches ..0 run return 0 + +scoreboard players set @s LRS_CS 0 +title @s actionbar ["\u00a7c取消选择!"] + + +playsound ui.button.click player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/confirm.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/confirm.mcfunction new file mode 100644 index 00000000..da547bb1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/confirm.mcfunction @@ -0,0 +1,29 @@ +# 确认操作 +# 丘比特 +execute if score wolf.event board matches 1..7 if score @s LRS_JOB matches 1 run function minecraft:twolf/control/job/cupid/connect + +# 狼 +execute if score wolf.event board matches 1..7 unless score wolf.event board matches 11 if score @s LRS_JOB matches 4 run function minecraft:twolf/control/job/wolf/select + +# 守卫 +execute if score wolf.event board matches 1..7 if score @s LRS_JOB matches 2 run function minecraft:twolf/control/job/guard/select + +# 女巫 +execute if score wolf.event board matches 1..7 if score @s LRS_JOB matches 5 run function minecraft:twolf/control/job/witch/potion + +# 预言家 +execute if score wolf.event board matches 1..7 if score @s LRS_JOB matches 6 run function minecraft:twolf/control/job/predictor/select + +# 纵火犯 +execute if score wolf.event board matches 1..7 if score @s LRS_JOB matches 3 run function minecraft:twolf/control/job/arsonist/select + +# 猎人 +execute if score wolf.event board matches 12 if score @s LRS_JOB matches 9 run function minecraft:twolf/control/job/hunter/select + +# 白狼 +execute if score wolf.event board matches 11 if score @s LRS_JOB matches 4 run function minecraft:twolf/control/job/whitewolf/select +# 骑士 +execute if score wolf.event board matches 11 if score @s LRS_JOB matches 8 run function minecraft:twolf/control/job/knight/select + +# 投票 +execute if score wolf.event board matches 10 run function minecraft:twolf/control/day/select diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/detect.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/detect.mcfunction new file mode 100644 index 00000000..965a3e25 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/detect.mcfunction @@ -0,0 +1,16 @@ +scoreboard players set wolf.peoplecount.all board 0 +scoreboard players set wolf.peoplecount board 0 +scoreboard players set wolf.peoplecount.skip board 0 +execute as @a[gamemode=adventure,team=wolfpeople] at @s run scoreboard players add wolf.peoplecount.all board 1 +execute as @a[tag=wolf.toupaoed,gamemode=adventure,team=wolfpeople] at @s run scoreboard players add wolf.peoplecount board 1 +execute as @a[tag=wolf.toupaoed,gamemode=adventure,scores={LRS_CS=-1}] at @s run scoreboard players add wolf.peoplecount.skip board 1 + +scoreboard players set 3 board 3 +scoreboard players operation wolf.OtoT board = wolf.peoplecount.all board +scoreboard players operation wolf.OtoT board /= 3 board +scoreboard players operation wolf.OtoT board += wolf.OtoT board + +execute if score wolf.peoplecount.skip board >= wolf.OtoT board run function minecraft:twolf/control/day/skipp +execute if score wolf.peoplecount board >= wolf.peoplecount.all board run scoreboard players set wolf.event board 10 +# say [debugdd]detect.mcfunction +execute if score wolf.peoplecount board >= wolf.peoplecount.all board run function twolf/events/next_event diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/select.mcfunction new file mode 100644 index 00000000..80bb2ec1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/select.mcfunction @@ -0,0 +1,7 @@ +function twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 +tellraw @a[tag=wolf.tip] ["\u00a7d[!] ",{"selector":"@s"},"\u00a76 确定投票给了 ",{"selector":"@a[tag=wolf.selected]"}] +tag @a remove wolf.selected +tag @s add wolf.toupaoed +clear @s +function minecraft:twolf/control/day/detect diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/skip.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/skip.mcfunction new file mode 100644 index 00000000..f29496cc --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/skip.mcfunction @@ -0,0 +1,3 @@ +tag @s add wolf.toupaoed +tellraw @a[tag=wolf.tip] ["\u00a7d[!] ",{"selector":"@s"},"\u00a7e 放弃了投票。"] +function minecraft:twolf/control/day/detect diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/skipp.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/skipp.mcfunction new file mode 100644 index 00000000..dd4099dd --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/day/skipp.mcfunction @@ -0,0 +1,5 @@ +tellraw @a[tag=wolf.tip] ["\u00a762/3的玩家选择弃票。投票无效!"] +scoreboard players set wolf.event board 18 +# say [debugdd]skipp.mcfunction +function twolf/events/next_event + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/arsonist/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/arsonist/select.mcfunction new file mode 100644 index 00000000..4b9426a7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/arsonist/select.mcfunction @@ -0,0 +1,8 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 + +tellraw @a[tag=wolf.tip,gamemode=spectator] ["",{"selector":"@s"},"\u00a7c 烧死了了 ",{"selector":"@a[tag=wolf.selected]"}] +tellraw @a[tag=wolf.acting] ["\u00a7c你烧死了 ",{"selector":"@a[tag=wolf.selected]"}] + +tag @a[tag=wolf.selected] add wolf.fired +function twolf/events/event_over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/cupid/connect.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/cupid/connect.mcfunction new file mode 100644 index 00000000..f044596d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/cupid/connect.mcfunction @@ -0,0 +1,9 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 +execute unless entity @a[tag=wolf.connected,team=wolfpeople] run function minecraft:twolf/events/job/cupid2 + +execute if entity @a[tag=wolf.connected,team=wolfpeople] run function minecraft:twolf/control/job/cupid/connect_s + +tag @a[tag=wolf.selected] add wolf.connected +scoreboard players reset @a LRS_CS +playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/cupid/connect_s.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/cupid/connect_s.mcfunction new file mode 100644 index 00000000..303472a8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/cupid/connect_s.mcfunction @@ -0,0 +1,13 @@ +tag @a[tag=wolf.selected] add wolf.connected +scoreboard players reset @a LRS_CS +tellraw @s ["\u00a7a你连接了 ",{"selector":"@a[tag=wolf.connected,team=wolfpeople]"}] +function minecraft:twolf/action/tppoint +tag @s remove wolf.acting +execute as @a[tag=wolf.connected,team=wolfpeople] run function minecraft:twolf/events/job/cupidconnection +execute run function minecraft:twolf/events/job/cupidconnection_s +scoreboard players set wolf.time board -1 +scoreboard players set wolf.event board 2 +scoreboard players set wolf.ttime board 5 +# tellraw @s ["\u00a7c请闭眼。"] +title @s title [""] +title @s subtitle ["\u00a7f请闭眼。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/general/kill.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/general/kill.mcfunction new file mode 100644 index 00000000..512900c1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/general/kill.mcfunction @@ -0,0 +1 @@ +function minecraft:twolf/action/tagselected diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/general/skip.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/general/skip.mcfunction new file mode 100644 index 00000000..8883cfdc --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/general/skip.mcfunction @@ -0,0 +1,6 @@ +function minecraft:twolf/action/per/tpback +# tellraw @s ["\u00a7c请闭眼。"] +title @s title [""] +title @s subtitle ["\u00a7f请闭眼。"] +scoreboard players set wolf.ttime board 5 +scoreboard players set wolf.time board -1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/guard/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/guard/select.mcfunction new file mode 100644 index 00000000..c127f75f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/guard/select.mcfunction @@ -0,0 +1,12 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 + +execute if entity @a[tag=wolf.selected,tag=wolf.lastprotected] run tellraw @a[tag=wolf.acting] ["\u00a7d[!] \u00a7c你无法守护 ",{"selector":"@a[tag=wolf.selected]"},"\u00a7c,因为你昨晚守护了他。"] +execute if entity @a[tag=wolf.selected,tag=wolf.lastprotected] run return 0 + +tellraw @a[tag=wolf.tip,gamemode=spectator] ["",{"selector":"@s"},"\u00a76 守护了 ",{"selector":"@a[tag=wolf.selected]"}] +tellraw @a[tag=wolf.acting] ["\u00a76你守护了 ",{"selector":"@a[tag=wolf.selected]"}] + +tag @a remove wolf.lastprotected +tag @a[tag=wolf.selected] add wolf.protected +function twolf/events/event_over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/hunter/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/hunter/select.mcfunction new file mode 100644 index 00000000..efad5b5e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/hunter/select.mcfunction @@ -0,0 +1,10 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 +execute as @s[tag=wolf.selected] run tellraw @s ["\u00a7c你不能选择自己"] +execute as @s[tag=wolf.selected] run return 0 +tellraw @a[tag=wolf.tip,tag=!wolf.acting] ["",{"selector":"@s"},"\u00a7c 带走了 ",{"selector":"@a[tag=wolf.selected]"}] +tellraw @a[tag=wolf.acting] ["\u00a7c你带走了 ",{"selector":"@a[tag=wolf.selected]"}] +execute as @a[tag=wolf.selected] run function twolf/action/per/death/died_no +# tag @a[tag=wolf.selected] add wolf.protected +# function twolf/events/event_over +function twolf/action/per/death/hunter/died \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/knight/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/knight/select.mcfunction new file mode 100644 index 00000000..896b1c41 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/knight/select.mcfunction @@ -0,0 +1,21 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 +execute as @s[tag=wolf.selected] run tellraw @s ["\u00a7c你不能选择自己"] +execute as @s[tag=wolf.selected] run return 0 +tellraw @a[tag=wolf.tip,tag=!wolf.acting] ["",{"selector":"@s"},"\u00a76 与 ",{"selector":"@a[tag=wolf.selected]"}," \u00a76展开了对决"] +tellraw @a[tag=wolf.acting] ["\u00a76你与 ",{"selector":"@a[tag=wolf.selected]"},"\u00a76 开始对决。"] +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 4 as @a[tag=wolf.selected] run tellraw @a[tag=wolf.tip] ["\u00a7a\u00a7l骑士打败了它。对方是狼。"] +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 4 as @a[tag=wolf.selected] run function twolf/action/per/death/wolf_died +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 run tellraw @a[tag=wolf.tip] ["\u00a7e\u00a7l骑士与他不分上下,对方是炸弹人。\n骑士和炸弹人都死了。"] +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 run function twolf/action/per/death/knight_died +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 as @a[tag=wolf.selected] run function twolf/action/per/death/boom_died + +execute unless score @a[tag=wolf.selected,limit=1] LRS_JOB matches 4 unless score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 run tellraw @a[tag=wolf.tip] ["\u00a7c\u00a7l骑士输了,对方是好人。"] +execute unless score @a[tag=wolf.selected,limit=1] LRS_JOB matches 4 unless score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 run function twolf/action/per/death/knight_died +# execute as @a[tag=wolf.selected] run function twolf/action/per/death/died + +# tag @a[tag=wolf.selected] add wolf.protected +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 4 run function twolf/action/special_day_night +execute if score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 run function twolf/action/special_day_night +# function twolf/events/event_over +execute unless score @a[tag=wolf.selected,limit=1] LRS_JOB matches 4 unless score @a[tag=wolf.selected,limit=1] LRS_JOB matches 7 run function twolf/action/special_day_back diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/predictor/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/predictor/select.mcfunction new file mode 100644 index 00000000..876a2f7e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/predictor/select.mcfunction @@ -0,0 +1,19 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 + +tellraw @a[tag=wolf.tip,gamemode=spectator] ["",{"selector":"@s"},"\u00a76 预言了 ",{"selector":"@a[tag=wolf.selected]"}] +tellraw @a[tag=wolf.acting] ["\u00a76你预言了 ",{"selector":"@a[tag=wolf.selected]"}] + +execute store result score wolf.1 board as @a[tag=wolf.selected] run function twolf/action/per/getjobtype + +execute if score wolf.1 board matches 1 run tellraw @a[tag=wolf.tip,gamemode=spectator] [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"好人","color": "green"}] +execute if score wolf.1 board matches 2 run tellraw @a[tag=wolf.tip,gamemode=spectator] [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"坏人","color": "red"}] +execute if score wolf.1 board matches 3 run tellraw @a[tag=wolf.tip,gamemode=spectator] [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"未知","color": "aqua"}] +execute if score wolf.1 board matches 0 run tellraw @a[tag=wolf.tip,gamemode=spectator] [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"出错","color": "dark_red"}] + +execute if score wolf.1 board matches 1 run tellraw @s [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"好人","color": "green"}] +execute if score wolf.1 board matches 2 run tellraw @s [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"坏人","color": "red"}] +execute if score wolf.1 board matches 3 run tellraw @s [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"未知","color": "aqua"}] +execute if score wolf.1 board matches 0 run tellraw @s [{"selector":"@a[tag=wolf.selected]"},"\u00a76是",{"text":"出错","color": "dark_red"}] + +function twolf/events/event_over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/whitewolf/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/whitewolf/select.mcfunction new file mode 100644 index 00000000..91c8a7f2 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/whitewolf/select.mcfunction @@ -0,0 +1,11 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 +execute as @s[tag=wolf.selected] run tellraw @s ["\u00a7c你不能选择自己"] +execute as @s[tag=wolf.selected] run return 0 +tellraw @a[tag=wolf.tip,tag=!wolf.acting] ["",{"selector":"@s"},"\u00a7c 带走了 ",{"selector":"@a[tag=wolf.selected]"}] +tellraw @a[tag=wolf.acting] ["\u00a7c你带走了 ",{"selector":"@a[tag=wolf.selected]"}] +function twolf/action/per/death/white_wolf_died +function twolf/action/special_day_night +execute as @a[tag=wolf.selected] run function twolf/action/per/death/died_no +# tag @a[tag=wolf.selected] add wolf.protected +# function twolf/events/event_over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/witch/potion.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/witch/potion.mcfunction new file mode 100644 index 00000000..900912df --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/witch/potion.mcfunction @@ -0,0 +1,9 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 + +tellraw @a[tag=wolf.tip,gamemode=spectator] ["",{"selector":"@s"},"\u00a7c 毒死了 ",{"selector":"@a[tag=wolf.selected]"}] +tellraw @a[tag=wolf.acting] ["\u00a7c你毒死了 ",{"selector":"@a[tag=wolf.selected]"}] +scoreboard players remove wolf.witch.kill board 1 + +tag @a[tag=wolf.selected] add wolf.poisoned +function twolf/events/event_over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/kill_selector.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/kill_selector.mcfunction new file mode 100644 index 00000000..20a468b8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/kill_selector.mcfunction @@ -0,0 +1,8 @@ +execute unless entity @a[tag=wolf.selected,gamemode=adventure] as @a[tag=wolf.acting] at @s run function minecraft:twolf/control/job/wolf/next +execute unless entity @a[tag=wolf.acting,gamemode=adventure] run function minecraft:twolf/control/job/wolf/next +execute unless entity @a[tag=wolf.selected,gamemode=adventure] run return 0 +# 杀死他! +tag @a[tag=wolf.selected] add wolf.killed +tellraw @a[tag=wolf.acting] ["\u00a7c你们杀死了 ",{"selector":"@a[tag=wolf.killed]"}] +tellraw @a[tag=wolf.tip,gamemode=spectator] [{"selector":"@a[tag=wolf.acting]"},"\u00a7c(狼人)杀死了 ",{"selector":"@a[tag=wolf.killed]"}] +function minecraft:twolf/control/job/wolf/next \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/list_selectors.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/list_selectors.mcfunction new file mode 100644 index 00000000..f32bd33a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/list_selectors.mcfunction @@ -0,0 +1,8 @@ +tag @a remove wolf.selected +execute as @a[tag=wolf.acting,gamemode=adventure] run function minecraft:twolf/action/tagselected_notclear + +scoreboard players set wolf.tmp board 0 +execute as @a[tag=wolf.selected,gamemode=adventure] run scoreboard players add wolf.tmp board 1 + +execute if score wolf.tmp board matches 2.. run tellraw @a[tag=wolf.acting] ["\u00a7d[!] \u00a76请统一意见。你们只能共同杀死一个人。\n\u00a78 | \u00a76请在统一意见后确认操作。"] +execute if score wolf.tmp board matches 1 run function minecraft:twolf/control/job/wolf/kill_selector \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/next.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/next.mcfunction new file mode 100644 index 00000000..471c9294 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/next.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board -1 +execute as @a[tag=wolf.acting] run function minecraft:twolf/action/per/tpback +tellraw @s[tag=wolf.tip] ["\u00a7c请闭眼。"] +title @s[tag=wolf.tip] title [""] +title @s[tag=wolf.tip] subtitle ["\u00a7f请闭眼。"] +schedule function minecraft:twolf/events/next_event 4s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/select.mcfunction new file mode 100644 index 00000000..be0546cb --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/select.mcfunction @@ -0,0 +1,11 @@ +function minecraft:twolf/action/tagselected +execute unless entity @a[tag=wolf.selected] run return 0 +execute if entity @a[tag=wolf.selected] run tellraw @a[tag=wolf.acting] ["\u00a7d[!] ",{"selector":"@s"},"\u00a76 想要杀死 ",{"selector":"@a[tag=wolf.selected]"}] + +scoreboard players set wolf.tmp board 0 +execute as @a[tag=wolf.acting,gamemode=adventure,scores={LRS_CS=1..}] run scoreboard players add wolf.tmp board 1 + +scoreboard players set wolf.wolfcount board 0 +execute as @a[tag=wolf.acting,gamemode=adventure] run scoreboard players add wolf.wolfcount board 1 + +execute if score wolf.tmp board = wolf.wolfcount board run function minecraft:twolf/control/job/wolf/list_selectors \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/skip.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/skip.mcfunction new file mode 100644 index 00000000..66ef4064 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/skip.mcfunction @@ -0,0 +1,6 @@ +tellraw @a[tag=wolf.acting] ["\u00a7d[!] ",{"selector":"@s"}," \u00a7c放弃了操作。"] +function minecraft:twolf/action/per/tpback +scoreboard players set wolf.tmp board 0 +tag @s remove wolf.acting +execute as @a[tag=wolf.acting,gamemode=adventure] run scoreboard players add wolf.tmp board 1 +execute if score wolf.tmp board matches ..0 run function minecraft:twolf/control/job/wolf/next \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/timeout.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/timeout.mcfunction new file mode 100644 index 00000000..ec91ef7d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/job/wolf/timeout.mcfunction @@ -0,0 +1,12 @@ +tag @a remove wolf.selected +execute as @r[tag=wolf.acting,gamemode=adventure,scores={LRS_CS=1..}] run function minecraft:twolf/action/tagselected +tag @a remove wolf.randomkilled + +execute run tag @a[limit=1,sort=random,tag=wolf.selected,gamemode=adventure,team=wolfpeople] add wolf.randomkilled +tag @a remove wolf.selected +tag @a[tag=wolf.randomkilled] add wolf.selected +tag @a remove wolf.randomkilled +execute if entity @a[tag=wolf.selected,gamemode=adventure] run tellraw @a[tag=wolf.acting] ["\u00a7c操作超时,随机选择。"] +execute unless entity @a[tag=wolf.selected,gamemode=adventure] run tellraw @a[tag=wolf.acting] ["\u00a7c操作超时,取消操作。"] + +function minecraft:twolf/control/job/wolf/kill_selector \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/knight/choose.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/knight/choose.mcfunction new file mode 100644 index 00000000..d3c502e6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/knight/choose.mcfunction @@ -0,0 +1,9 @@ +function twolf/action/special_day_choose +# 骑士 +function twolf/action/per/tpback_real +function twolf/items/knight +scoreboard players set wolf.time board 60 +scoreboard players set wolf.event board 11 +tag @s add wolf.acting +execute as @a[tag=wolf.tip] run function twolf/tips/knight +function minecraft:twolf/action/per/tag/knight \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/select.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/select.mcfunction new file mode 100644 index 00000000..f123f332 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/select.mcfunction @@ -0,0 +1 @@ +function minecraft:twolf/control/selector/trigger \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selector/forward.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selector/forward.mcfunction new file mode 100644 index 00000000..b3d4f403 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selector/forward.mcfunction @@ -0,0 +1,10 @@ +scoreboard players remove @s PSTJ 1 +tp @s ^ ^ ^1 +tag @e[tag=wolf.used,distance=0..0.8,limit=1] add wolf.ptdmarker +# execute as @e[tag=wolf.used,distance=0..0.8,limit=1] run say hi +execute as @a[team=wolfpeople,gamemode=adventure] if score @s park.uuid = @e[limit=1,tag=wolf.ptdmarker] LRS_UUID run tag @s add wolf.pointed +# tag @a[distance=0..0.8,team=wolfpeople,gamemode=adventure] add wolf.pointed +tag @e[tag=wolf.ptdmarker] remove wolf.ptdmarker +execute at @s if entity @e[tag=wolf.pointed] run return 0 +# execute at @s run particle dust 0 0 0 1 ~ ~ ~ 0 0 0 0 1 force +execute at @s if score @s PSTJ matches 1.. run function minecraft:twolf/control/selector/forward \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selector/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selector/trigger.mcfunction new file mode 100644 index 00000000..b1828c4f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selector/trigger.mcfunction @@ -0,0 +1,19 @@ +summon marker ~ ~ ~ {Tags:["wolf.pointer","gun.new"]} +tp @e[tag=gun.new] @s +tp @e[tag=gun.new] ~ ~1 ~ +scoreboard players operation @e[tag=gun.new,limit=1] btw.gunspeed = @s btw.gunspeed +scoreboard players operation @e[tag=gun.new,limit=1] park.uuid = @s park.uuid +scoreboard players set @e[tag=gun.new] PSTJ 30 +tag @e[tag=gun.new] remove gun.new + +execute as @e[tag=wolf.pointer] at @s run function minecraft:twolf/control/selector/forward +execute if score wolf.event board matches 1..2 as @a[tag=wolf.pointed,tag=wolf.connected] run tag @s remove wolf.pointed +execute if entity @a[tag=wolf.pointed] run title @s actionbar ["\u00a7a你选择了 ",{"selector":"@a[tag=wolf.pointed]"}] +execute as @a[tag=wolf.pointed] run function minecraft:twolf/action/per/highlight +execute if entity @a[tag=wolf.pointed] run playsound ui.button.click player @s ~ ~ ~ 1 1 1 +execute unless entity @a[tag=wolf.pointed] run title @s actionbar ["\u00a7c无效选择"] +execute unless entity @a[tag=wolf.pointed] run playsound block.chest.locked player @s ~ ~ ~ 1 1 1 +scoreboard players operation @s LRS_CS = @a[tag=wolf.pointed,limit=1] park.uuid +tag @a[tag=wolf.pointed] remove wolf.pointed +kill @e[tag=wolf.pointer,type=marker] +# item modify entity @s weapon.mainhand usegun \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selfdied.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selfdied.mcfunction new file mode 100644 index 00000000..57ab10e6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/selfdied.mcfunction @@ -0,0 +1,2 @@ +execute as @s if score @s LRS_JOB matches 8 run function twolf/action/per/death/knight_died +execute as @s if score @s LRS_JOB matches 4 run function twolf/action/per/death/white_wolf_died \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/skip.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/skip.mcfunction new file mode 100644 index 00000000..6be76f1c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/skip.mcfunction @@ -0,0 +1,10 @@ +scoreboard players set @s LRS_CS -1 +tellraw @s ["\u00a7c你放弃了操作。"] +clear @s +# scoreboard players set wolf.ttime board 1 +execute if score wolf.event board matches 5 run function minecraft:twolf/control/job/wolf/skip +execute if score wolf.event board matches 2..4 run function minecraft:twolf/control/job/general/skip +execute if score wolf.event board matches 6..8 run function minecraft:twolf/control/job/general/skip +execute if score wolf.event board matches 6..8 run function minecraft:twolf/control/job/general/skip +# execute if score wolf.event board matches 9..10 run +execute if score wolf.event board matches 9..10 run function minecraft:twolf/control/day/skip diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/whitewolf/choose.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/whitewolf/choose.mcfunction new file mode 100644 index 00000000..2fe16fa4 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/whitewolf/choose.mcfunction @@ -0,0 +1,8 @@ +function twolf/action/special_day_choose +# 白狼 +function twolf/action/per/tpback_real +function twolf/items/whitewolf +scoreboard players set wolf.time board 60 +tag @s add wolf.acting +scoreboard players set wolf.event board 11 +execute as @a[tag=wolf.tip] run function twolf/tips/whitewolf diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/witch/kill.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/witch/kill.mcfunction new file mode 100644 index 00000000..9e4d484c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/witch/kill.mcfunction @@ -0,0 +1,4 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +function minecraft:twolf/items/selector +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e啥也不干 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/witch/rescue.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/witch/rescue.mcfunction new file mode 100644 index 00000000..d05cd4c3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/control/witch/rescue.mcfunction @@ -0,0 +1,8 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +scoreboard players remove wolf.witch.rescue board 1 +tag @a[tag=wolf.killed] add wolf.rescued +tellraw @s ["\u00a7a你救援了 ",{"selector":"@a[tag=wolf.rescued]"}] +tellraw @a[tag=wolf.tip,gamemode=spectator] [{"selector":"@s"},"\u00a7a 救援了 ",{"selector":"@a[tag=wolf.rescued]"}] +function twolf/action/per/tpback +function twolf/events/event_over \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/controls.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/controls.mcfunction new file mode 100644 index 00000000..36922dd8 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/controls.mcfunction @@ -0,0 +1,20 @@ +scoreboard players reset @s use.skill.2 +# 跳过 +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:0}}}] run function twolf/control/skip + +# 选择 +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:1}}}] run function twolf/control/select +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:2}}}] run function twolf/control/confirm +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:3}}}] run function twolf/control/cancel + +# 女巫 +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:4}}}] run function twolf/control/witch/rescue +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:5}}}] run function twolf/control/witch/kill + +# 白狼 +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:6}}}] run function twolf/control/whitewolf/choose +# 骑士 +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:7}}}] run function twolf/control/knight/choose +# 自爆 +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:10}}}] run function twolf/control/selfdied +execute if entity @s[nbt={SelectedItem:{tag:{wolfItem:12}}}] run function twolf/action/per/death/hunter/died diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/debug.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/debug.mcfunction new file mode 100644 index 00000000..5f5945fc --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/debug.mcfunction @@ -0,0 +1,3 @@ +team join wait.wolfpeople @a +gamemode adventure @a +function minecraft:twolf/start \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/main.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/main.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/new_round.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/new_round.mcfunction new file mode 100644 index 00000000..09e499c2 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/new_round.mcfunction @@ -0,0 +1,8 @@ +execute if score wolf.cupid board matches 1.. if score wolf.round board matches 1 run function minecraft:twolf/events/job/cupid +execute if score wolf.cupid board matches 1.. if score wolf.round board matches 1 run return 0 +# guard +scoreboard players set wolf.event board 2 +# say new_round +# say [debugdd]new_round.mcfunction +function minecraft:twolf/events/next_event +scoreboard players set wolf.failed state 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/trigger.mcfunction new file mode 100644 index 00000000..33d2a263 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/1/trigger.mcfunction @@ -0,0 +1,5 @@ +scoreboard players add wolf.round board 1 +scoreboard players set wolf.event board 0 +function minecraft:twolf/time/night +schedule function minecraft:twolf/events/1/new_round 5s +execute as @a[tag=wolf.tip] at @s run playsound minecraft:ambient.cave player @s ~ ~ ~ 1 1 0 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/2/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/2/trigger.mcfunction new file mode 100644 index 00000000..e0e1c0f9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/2/trigger.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add wolf.event board 1 +execute unless score wolf.guard board matches 1.. run scoreboard players set wolf.failed state 1 +# say [debugdd]2/trigger.mcfunction +execute unless score wolf.guard board matches 1.. run function minecraft:twolf/events/next_event + +execute unless score wolf.guard board matches 1.. run return 0 +function minecraft:twolf/events/job/guard \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/3/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/3/trigger.mcfunction new file mode 100644 index 00000000..79f1e3ab --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/3/trigger.mcfunction @@ -0,0 +1,13 @@ +# execute unless score wolf.arsonist board matches 1.. run +scoreboard players add wolf.event board 1 +# say [debugdd]3/trigger.mcfunction +execute unless score wolf.arsonist board matches 1.. run scoreboard players set wolf.failed state 1 +execute unless score wolf.arsonist board matches 1.. run function minecraft:twolf/events/next_event +execute unless score wolf.arsonist board matches 1.. run return 0 + +# wolf.setting.arsonist - 1: 只有一次 +execute if score wolf.round board matches 2.. if score wolf.setting.arsonist state matches 1.. run scoreboard players set wolf.failed state 1 +execute if score wolf.round board matches 2.. if score wolf.setting.arsonist state matches 1.. run function minecraft:twolf/events/next_event +execute if score wolf.round board matches 2.. if score wolf.setting.arsonist state matches 1.. run return 0 + +function minecraft:twolf/events/job/arsonist \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/4/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/4/trigger.mcfunction new file mode 100644 index 00000000..206dd1f0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/4/trigger.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add wolf.event board 1 +# say [debugdd]4/trigger.mcfunction +execute unless score wolf.wolf board matches 1.. run scoreboard players set wolf.failed state 1 +execute unless score wolf.wolf board matches 1.. run function minecraft:twolf/events/next_event + +execute unless score wolf.wolf board matches 1.. run return 0 +function minecraft:twolf/events/job/wolf \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/5/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/5/trigger.mcfunction new file mode 100644 index 00000000..79bf72bf --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/5/trigger.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add wolf.event board 1 +# say [debugdd]5/trigger.mcfunction +execute unless score wolf.witch board matches 1.. run scoreboard players set wolf.failed state 1 +execute unless score wolf.witch board matches 1.. run function minecraft:twolf/events/next_event + +execute unless score wolf.witch board matches 1.. run return 0 +function minecraft:twolf/events/job/witch \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/6/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/6/trigger.mcfunction new file mode 100644 index 00000000..5f4020ab --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/6/trigger.mcfunction @@ -0,0 +1,7 @@ +scoreboard players add wolf.event board 1 +# say [debugdd]6/trigger.mcfunction +execute unless score wolf.predictor board matches 1.. run scoreboard players set wolf.failed state 1 +execute unless score wolf.predictor board matches 1.. run function minecraft:twolf/events/next_event + +execute unless score wolf.predictor board matches 1.. run return 0 +function minecraft:twolf/events/job/predictor \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/close_eye.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/close_eye.mcfunction new file mode 100644 index 00000000..23772cc9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/close_eye.mcfunction @@ -0,0 +1,4 @@ +tellraw @s[tag=wolf.tip] ["\u00a70请闭眼。"] +title @s[tag=wolf.tip] title [""] +title @s[tag=wolf.tip] subtitle ["\u00a7f请闭眼。"] +schedule function minecraft:twolf/events/next_event 3s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/choose_leaveaway.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/choose_leaveaway.mcfunction new file mode 100644 index 00000000..beb8fc4f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/choose_leaveaway.mcfunction @@ -0,0 +1,23 @@ +scoreboard players set wolf.peoplecount board 0 +# execute as @a[tag=wolf.tip,team=wolfpeople,gamemode=adventure] at @s run scob + +scoreboard players reset @a LRS_ZT +execute as @a[tag=wolf.tip,team=wolfpeople,gamemode=adventure] at @s run function minecraft:twolf/events/day/toupiao/per +# LRS_ZT +scoreboard players set wolf.highest.score board -1 +execute as @a[tag=wolf.tip,team=wolfpeople,gamemode=adventure] at @s run function minecraft:twolf/events/day/toupiao/findhighest + +scoreboard players set 3 board 3 +scoreboard players operation wolf.OtoT board = wolf.peoplecount board +scoreboard players operation wolf.OtoT board /= 3 board + +execute if score wolf.highest.score board matches ..0 run tellraw @a[tag=wolf.tip] ["\u00a7c投票无效。"] +execute unless score wolf.highest.score board matches ..0 if score wolf.highest.score board < wolf.OtoT board run tellraw @a[tag=wolf.tip] ["\u00a7c投票票数小于总人数 1/3,投票无效。"] +execute if score wolf.highest.score board >= wolf.OtoT board run function minecraft:twolf/events/day/chooseout + +scoreboard players reset * LRS_ZT +function twolf/overdetect + +execute unless score twolf.state state matches 3 unless score wolf.event board matches 12 run scoreboard players set wolf.event board 18 +# say [debugdd]choose_leaveaway.mcfunction +execute unless score twolf.state state matches 3 unless score wolf.event board matches 12 run function minecraft:twolf/events/next_event \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/chooseout.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/chooseout.mcfunction new file mode 100644 index 00000000..8fdbd651 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/chooseout.mcfunction @@ -0,0 +1,5 @@ +scoreboard players set wolf.tmp board 0 +execute as @a[tag=wolf.tip,team=wolfpeople,gamemode=adventure] at @s run function minecraft:twolf/events/day/toupiao/isme +execute if score wolf.tmp board matches 2.. run tellraw @a[tag=wolf.tip] ["\u00a7c出现平票。投票无效。"] +execute if score wolf.tmp board matches 1 as @a[tag=wolf.out] run function twolf/action/per/death/leaveaway +tag @a remove wolf.out \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/died_special.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/died_special.mcfunction new file mode 100644 index 00000000..a25de11b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/died_special.mcfunction @@ -0,0 +1,4 @@ +execute as @a[tag=wolf.acting] if score @s LRS_JOB matches 8 run function twolf/action/per/death/knight_died_t +# execute as @a[tag=wolf.acting] if score @s LRS_JOB matches 8 run +execute as @a[tag=wolf.acting] if score @s LRS_JOB matches 4 run function twolf/action/per/death/white_wolf_died_t +# execute as @a[tag=wolf.acting] if score @s LRS_JOB matches 4 run \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/show_death.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/show_death.mcfunction new file mode 100644 index 00000000..11da88c6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/show_death.mcfunction @@ -0,0 +1,44 @@ +# say day +scoreboard players set wolf.ttime board 4 +scoreboard players set wolf.event board 9 +tellraw @a[tag=wolf.tip] ["\u00a76昨天晚上..."] +scoreboard players set wolf.deathcount board 0 + +# 守卫 奶穿了 +execute unless score wolf.setting.milked state matches 1.. as @a[tag=wolf.killed,tag=wolf.protected,tag=wolf.rescued,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/death/died_no + +# 守卫 防住了 +execute as @a[tag=wolf.killed,tag=wolf.protected,tag=!wolf.rescued,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tag/protected + +# 救援 成功了 +execute as @a[tag=wolf.killed,tag=!wolf.protected,tag=wolf.rescued,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tag/rescued + +# 守卫守了寂寞 +execute as @a[tag=!wolf.killed,tag=wolf.protected,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/tag/protected + +# 女巫 毒药 +execute as @a[tag=wolf.poisoned,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/death/died_witch + +# 纵火犯 火烧 +execute as @a[tag=wolf.fired,tag=!wolf.killed,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/death/died + +# 纵火犯 火烧,把狼带走咯 +execute as @a[tag=wolf.fired,tag=wolf.killed,gamemode=adventure,team=wolfpeople] at @s run function twolf/action/per/death/died_fired + +# 狼 杀死了 +execute if score wolf.round board matches 1 as @a[tag=wolf.killed] at @s run function twolf/action/per/death/died_withsaying +execute unless score wolf.round board matches 1 as @a[tag=wolf.killed] at @s run function twolf/action/per/death/died_no + +execute if score wolf.deathcount board matches ..0 run tellraw @a[tag=wolf.tip] ["\u00a7a是个平安夜。"] +execute if score wolf.deathcount board matches ..0 run title @a[tag=wolf.tip] subtitle ["\u00a7a是个平安夜。"] +execute if score wolf.deathcount board matches 1.. run title @a[tag=wolf.tip] subtitle ["\u00a7c昨天晚上,死了 ",{"score":{"objective": "board","name": "wolf.deathcount"},"color": "gold"},"\u00a7c 人"] +execute run title @a[tag=wolf.tip] title ["\u00a7f\u00a7l天亮了"] + +tag @a remove wolf.killed +tag @a remove wolf.protected +# tag @a[tag=wolf.protected] add wolf.tagtmp +# tag @a remove wolf.lastprotected +# tag @a[tag=wolf.tagtmp] add wolf.lastprotected +tag @a remove wolf.tagtmp +tag @a remove wolf.poisoned +tag @a remove wolf.rescued \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/start_talking.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/start_talking.mcfunction new file mode 100644 index 00000000..c1194e60 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/start_talking.mcfunction @@ -0,0 +1,12 @@ +# say day +tag @a remove wolf.toupaoed +team join wait.wolfpeople @a[team=wolfpeople,gamemode=spectator] +tellraw @a[tag=wolf.tip,gamemode=spectator] ["\u00a7c死者现在开始请勿发言。"] +title @a[tag=wolf.tip,gamemode=spectator] title ["\u00a7c停止发言"] +title @a[tag=wolf.tip,gamemode=spectator] subtitle ["\u00a7f死者现在开始请勿发言。"] +execute if score wolf.round board matches 1 run function twolf/tips/day +tellraw @a[tag=wolf.tip,gamemode=adventure] ["\u00a7b\u00a7l现在开始是发言阶段。请在时间之内自由发言并投票。"] +scoreboard players set wolf.time board 150 +scoreboard players set wolf.event board 10 + +execute as @a[gamemode=adventure,team=wolfpeople,tag=wolf.tip] run function twolf/items/day \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/findhighest.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/findhighest.mcfunction new file mode 100644 index 00000000..115f582f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/findhighest.mcfunction @@ -0,0 +1 @@ +scoreboard players operation wolf.highest.score board > @s LRS_ZT \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/isme.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/isme.mcfunction new file mode 100644 index 00000000..fbe0da83 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/isme.mcfunction @@ -0,0 +1,3 @@ +# execute if entity @a[tag=wolf.out] run return 0 +execute if score @s LRS_ZT = wolf.highest.score board run tag @s add wolf.out +execute if score @s LRS_ZT = wolf.highest.score board run scoreboard players add wolf.tmp board 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/per.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/per.mcfunction new file mode 100644 index 00000000..d418c8ae --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/toupiao/per.mcfunction @@ -0,0 +1,4 @@ +function twolf/action/tagselected +scoreboard players add @a[tag=wolf.selected] LRS_ZT 1 +tag @a remove wolf.selected +scoreboard players add wolf.peoplecount board 1 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/trigger.mcfunction new file mode 100644 index 00000000..bd44ed66 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/day/trigger.mcfunction @@ -0,0 +1,8 @@ +# say day +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a7f\u00a7l天亮了"] +tellraw @a[tag=wolf.tip] ["\u00a7f\u00a7l天亮了。"] +scoreboard players set wolf.ttime board 3 +scoreboard players set wolf.event board 8 +function twolf/time/day +function twolf/action/tppoint_day diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/end/trigger.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/end/trigger.mcfunction new file mode 100644 index 00000000..9ea9402d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/end/trigger.mcfunction @@ -0,0 +1,15 @@ +function twolf/persons +function twolf/overdetect +execute if score twolf.state state matches 3 run return 0 + +tellraw @a[tag=wolf.tip] ["\u00a77即将进入下一个夜晚..."] +title @a[tag=wolf.tip] title ["\u00a7f\u00a7l下一局..."] +title @a[tag=wolf.tip] subtitle ["\u00a77即将进入下一个夜晚..."] +clear @a[tag=wolf.tip] +scoreboard players set wolf.return board 1 +scoreboard players set wolf.event board 0 +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board 4 + +schedule clear minecraft:twolf/events/next_event +schedule clear minecraft:twolf/events/1/new_round \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/event_over.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/event_over.mcfunction new file mode 100644 index 00000000..fad54c20 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/event_over.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board -1 +execute as @a[tag=wolf.acting] run function minecraft:twolf/action/per/tpback +# tellraw @s[tag=wolf.tip] ["\u00a7c请闭眼。"] +# title @s[tag=wolf.tip] title [""] +# title @s[tag=wolf.tip] subtitle ["\u00a7f请闭眼。"] +schedule function minecraft:twolf/events/next_event 4s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/arsonist.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/arsonist.mcfunction new file mode 100644 index 00000000..da086d2c --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/arsonist.mcfunction @@ -0,0 +1,12 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/arsonist +tag @a remove wolf.acting +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 3 run tag @s add wolf.acting +tellraw @a[tag=wolf.tip] ["\u00a76\u00a7l纵火犯\u00a7a请睁眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a76\u00a7l纵火犯\u00a7a请睁眼。"] +execute as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/arsonist +execute unless entity @a[tag=wolf.acting] store result score wolf.ttime board run random value 3..25 + +scoreboard players set wolf.time board 60 +scoreboard players set twolf.state state 2 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupid.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupid.mcfunction new file mode 100644 index 00000000..1ff4f244 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupid.mcfunction @@ -0,0 +1,9 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/cupid +tag @a remove wolf.acting +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 1 run tag @s add wolf.acting +tellraw @a[tag=wolf.tip] ["\u00a76\u00a7l丘比特\u00a7a请睁眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a76\u00a7l丘比特\u00a7a请睁眼。"] +execute as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/cupid +scoreboard players set wolf.event board 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupid2.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupid2.mcfunction new file mode 100644 index 00000000..448ea5c5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupid2.mcfunction @@ -0,0 +1,3 @@ +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 1 run tag @s add wolf.acting +execute as @a[tag=wolf.acting] at @s run function twolf/items/cupid2 +scoreboard players set wolf.event board 2 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupidconnection.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupidconnection.mcfunction new file mode 100644 index 00000000..f8c0a3b3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupidconnection.mcfunction @@ -0,0 +1,5 @@ +# tag @s add wolf.acting +# function minecraft:twolf/action/tppoint_day +title @s title [""] +title @s subtitle ["\u00a7c你被丘比特连接了"] +playsound minecraft:block.chain.place player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupidconnection_s.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupidconnection_s.mcfunction new file mode 100644 index 00000000..8cba0f34 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/cupidconnection_s.mcfunction @@ -0,0 +1,29 @@ +tag @a[tag=wolf.connected,limit=1,team=wolfpeople] add wolf.1 +tag @a[tag=wolf.connected,tag=!wolf.1,team=wolfpeople,limit=1] add wolf.2 + +execute store result score wolf.1 board as @a[tag=wolf.1] run function twolf/action/per/getjobtype +execute store result score wolf.2 board as @a[tag=wolf.2] run function twolf/action/per/getjobtype + +execute if score wolf.1 board = wolf.2 board if score wolf.1 board matches 1 run scoreboard players set wolf.cupid.type board 1 +execute if score wolf.1 board = wolf.2 board if score wolf.1 board matches 3 run scoreboard players set wolf.cupid.type board 1 +execute if score wolf.1 board = wolf.2 board if score wolf.1 board matches 2 run scoreboard players set wolf.cupid.type board 0 +execute unless score wolf.1 board = wolf.2 board run scoreboard players set wolf.cupid.type board 2 + +tag @a[tag=wolf.connected,team=wolfpeople] add wolf.cupidmsg +tag @a[tag=wolf.tip,gamemode=spectator] add wolf.cupidmsg +tellraw @a[tag=wolf.connected,team=wolfpeople] ["\u00a76-----------------------\n\u00a7c你被丘比特连接了。\n\u00a7a你们的身份属性分别为:"] +tellraw @a[tag=wolf.tip,gamemode=spectator] ["\u00a76-----------------------\n\u00a7d丘比特连接的两人身份属性分别为:"] +execute if score wolf.1 board matches 1 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.1]"},"\u00a77: ",{"text":"好人","color": "green"}] +execute if score wolf.1 board matches 2 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.1]"},"\u00a77: ",{"text":"坏人","color": "red"}] +execute if score wolf.1 board matches 3 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.1]"},"\u00a77: ",{"text":"未知","color": "aqua"}] +execute if score wolf.1 board matches 0 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.1]"},"\u00a77: ",{"text":"出错","color": "dark_red"}] + +execute if score wolf.2 board matches 1 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.2]"},"\u00a77: ",{"text":"好人","color": "green"}] +execute if score wolf.2 board matches 2 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.2]"},"\u00a77: ",{"text":"坏人","color": "red"}] +execute if score wolf.2 board matches 3 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.2]"},"\u00a77: ",{"text":"未知","color": "aqua"}] +execute if score wolf.2 board matches 0 run tellraw @a[tag=wolf.cupidmsg] [{"selector":"@a[tag=wolf.2]"},"\u00a77: ",{"text":"出错","color": "dark_red"}] +tellraw @a[tag=wolf.cupidmsg] ["\u00a76-----------------------"] + +tag @a remove wolf.1 +tag @a remove wolf.2 +tag @a remove wolf.cupidmsg diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/guard.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/guard.mcfunction new file mode 100644 index 00000000..cb2d1616 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/guard.mcfunction @@ -0,0 +1,12 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/guard +tag @a remove wolf.acting +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 2 run tag @s add wolf.acting +tellraw @a[tag=wolf.tip] ["\u00a76\u00a7l守卫\u00a7a请睁眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a76\u00a7l守卫\u00a7a请睁眼。"] +execute as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/guard +execute unless entity @a[tag=wolf.acting] store result score wolf.ttime board run random value 3..25 + +scoreboard players set wolf.time board 60 +scoreboard players set twolf.state state 2 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/hunter.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/hunter.mcfunction new file mode 100644 index 00000000..3a49fd3b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/hunter.mcfunction @@ -0,0 +1,2 @@ +execute as @a[tag=wolf.tip] at @s run function twolf/tips/hunter +# 白天特殊 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/knight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/knight.mcfunction new file mode 100644 index 00000000..8d00776b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/knight.mcfunction @@ -0,0 +1 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/knight diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/predictor.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/predictor.mcfunction new file mode 100644 index 00000000..ebfa4c59 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/predictor.mcfunction @@ -0,0 +1,13 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/predictor +tag @a remove wolf.acting +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 6 run tag @s add wolf.acting +tellraw @a[tag=wolf.tip] ["\u00a76\u00a7l预言家\u00a7a请睁眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a76\u00a7l预言家\u00a7a请睁眼。"] +execute as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/predictor +execute unless entity @a[tag=wolf.acting] store result score wolf.ttime board run random value 3..25 +execute as @a[tag=wolf.tip] at @s run playsound entity.cow.ambient player @s ~ ~ ~ 1 0 1 + +scoreboard players set wolf.time board 60 +scoreboard players set twolf.state state 2 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/tnt.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/tnt.mcfunction new file mode 100644 index 00000000..901fe46b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/tnt.mcfunction @@ -0,0 +1,2 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/tnt +# 这个。。。投票有用。。。好吧 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/whitewolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/whitewolf.mcfunction new file mode 100644 index 00000000..40065682 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/whitewolf.mcfunction @@ -0,0 +1,2 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/whitewolf +# 先wolf,这个白天的 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/witch.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/witch.mcfunction new file mode 100644 index 00000000..82c87208 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/witch.mcfunction @@ -0,0 +1,15 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/witch +tag @a remove wolf.acting +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 5 run tag @s add wolf.acting +tellraw @a[tag=wolf.tip] ["\u00a76\u00a7l女巫\u00a7a请睁眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a76\u00a7l女巫\u00a7a请睁眼。"] + +execute as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/witch +execute unless entity @a[tag=wolf.acting] store result score wolf.ttime board run random value 3..25 + +execute as @a[tag=wolf.tip] at @s run playsound entity.witch.celebrate player @s ~ ~ ~ 1 1 1 + +scoreboard players set wolf.time board 60 +scoreboard players set twolf.state state 2 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/wolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/wolf.mcfunction new file mode 100644 index 00000000..adfa07f1 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/job/wolf.mcfunction @@ -0,0 +1,14 @@ +execute if score wolf.round board matches 1 as @a[tag=wolf.tip] at @s run function twolf/tips/wolf +tag @a remove wolf.acting +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 4 run tag @s add wolf.acting +tellraw @a[tag=wolf.tip] ["\u00a7c\u00a7l狼人\u00a7a请睁眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a7c\u00a7l狼人\u00a7a请睁眼。"] +execute as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback_real +execute as @a[tag=wolf.acting] at @s run function twolf/items/wolf +execute unless entity @a[tag=wolf.acting] store result score wolf.ttime board run random value 3..25 + +execute as @a[tag=wolf.tip] at @s run playsound entity.wolf.howl player @s ~ ~ ~ 1 1 1 + +scoreboard players set wolf.time board 120 +scoreboard players set twolf.state state 2 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/next_event.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/next_event.mcfunction new file mode 100644 index 00000000..b37288bc --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/next_event.mcfunction @@ -0,0 +1,61 @@ +# tellraw @a ["!",{"score":{"name": "wolf.time","objective": "board"}},":",{"score":{"name": "wolf.ttime","objective": "board"}},"[]",{"score":{"name": "wolf.event","objective": "board"}},":",{"score":{"name": "wolf.ttime","objective": "board"}}] +scoreboard players set wolf.return board 0 +tag @a remove wolf.acting +schedule clear minecraft:twolf/events/next_event +function minecraft:twolf/action/resethighlight + +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board -1 + +clear @a[tag=wolf.tip] + +# execute unless score wolf.failed state matches 1 if score wolf.event board matches 2..7 run tellraw @a[tag=wolf.tip] ["\u00a7c请闭眼。"] + +# 14 结束 +execute if score wolf.event board matches 100.. run function minecraft:twolf/over/tpback +execute if score twolf.state state matches 3 unless score wolf.event board matches 100.. run function minecraft:twolf/over/tpback +execute if score twolf.state state matches 3 run return 0 +execute if score wolf.return board matches 1.. run return 0 + +# 新一局 9 +execute unless score twolf.state state matches 3 if score wolf.event board matches 18.. unless score twolf.state state matches 3 run function minecraft:twolf/events/end/trigger + +execute if score wolf.return board matches 1.. run return 0 +# 白天自爆身份技能 + +# 白天 8 9 10 +execute unless score twolf.state state matches 3 if score wolf.event board matches 10 run function minecraft:twolf/events/day/choose_leaveaway +execute unless score twolf.state state matches 3 if score wolf.event board matches 9 run function minecraft:twolf/events/day/start_talking +execute unless score twolf.state state matches 3 if score wolf.event board matches 8 run function minecraft:twolf/events/day/show_death +execute unless score twolf.state state matches 3 if score wolf.event board matches 7 run function minecraft:twolf/events/day/trigger + +# 预言家 7 +execute if score wolf.event board matches 6 run function minecraft:twolf/events/6/trigger + +# 女巫 6 +execute if score wolf.event board matches 5 run function minecraft:twolf/events/5/trigger + +# 狼 5 +execute if score wolf.event board matches 4 run function minecraft:twolf/events/4/trigger + +# 纵火犯 4 +execute if score wolf.event board matches 3 run function minecraft:twolf/events/3/trigger + + +# 守卫 3 +execute if score wolf.event board matches 2 run function minecraft:twolf/events/2/trigger + + + + +# 丘比特 1/2 +execute if score wolf.event board matches 0 run function minecraft:twolf/events/1/trigger + +execute if score wolf.event board matches 1 run function minecraft:twolf/events/job/cupid2 +scoreboard players reset @a LRS_CS +tag @a remove wolf.selected + +# say 1 + + +# tellraw @a ["@",{"score":{"name": "wolf.time","objective": "board"}},":",{"score":{"name": "wolf.ttime","objective": "board"}},"[]",{"score":{"name": "wolf.event","objective": "board"}},":",{"score":{"name": "wolf.ttime","objective": "board"}}] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/player/died.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/player/died.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/reset.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/reset.mcfunction new file mode 100644 index 00000000..5903a9c7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/reset.mcfunction @@ -0,0 +1,59 @@ +scoreboard players set wolf.arsonist board 0 +scoreboard players set wolf.cupid board 0 +scoreboard players set wolf.guard board 0 +scoreboard players set wolf.hunter board 0 +scoreboard players set wolf.knight board 0 +scoreboard players set wolf.predictor board 0 +scoreboard players set wolf.tnt board 0 +scoreboard players set wolf.whitewolf board 0 +scoreboard players set wolf.witch board 0 +scoreboard players set wolf.wolf board 0 +scoreboard players set wolf.people board 0 + +function minecraft:twolf/time/day + +# 状态 +scoreboard players set wolf.event board 0 + +scoreboard players reset * LRS_CS + +# 女巫的药水 +scoreboard players set wolf.witch.rescue board 1 +scoreboard players set wolf.witch.kill board 1 + +# 丘比特 +scoreboard players set wolf.cupid.type board 1 + +scoreboard players set wolf.round board 0 +# scoreboard players set wolf.guard.lastprotected board 0 + +execute positioned 29 16 31 run kill @e[type=item,distance=..50] + +tag @e[tag=wolf.used] remove wolf.used +tag @e[tag=wolf.died] remove wolf.died + +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board -1 + + +tag @a remove wolf.acting +tag @a remove wolf.protected +tag @a remove wolf.killed +tag @a remove wolf.fired +tag @a remove wolf.poisoned +tag @a remove wolf.rescued +# 守卫 +tag @a remove wolf.lastprotected +# 行动 +tag @a remove wolf.acting +tag @a remove wolf.whitewolf +tag @a remove wolf.white +tag @a remove wolf.selected +# 丘比特 +tag @a remove wolf.connected + +tag @e[tag=wolf.tppoint] remove wolf.used +kill @e[tag=wolf.nametags] +scoreboard players reset @e[tag=wolf.tp.sell,limit=1] + +schedule clear #wolffunctions \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/timeout.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/timeout.mcfunction new file mode 100644 index 00000000..0e22b392 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/events/timeout.mcfunction @@ -0,0 +1,14 @@ +# say timeout +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board -1 +tellraw @a[tag=wolf.acting] ["\u00a7c操作超时"] +execute if entity @a[tag=wolf.acting] run tellraw @a[tag=wolf.tip,gamemode=spectator] ["\u00a7c操作超时"] + +execute if score wolf.event board matches 5 run function minecraft:twolf/control/job/wolf/timeout +execute if score wolf.event board matches 5 run return 0 + +execute unless score wolf.event board matches 11 unless score wolf.event board matches 12 as @a[tag=wolf.acting] at @s run function twolf/action/per/tpback +execute if score wolf.event board matches 11 run function minecraft:twolf/events/day/died_special +execute if score wolf.event board matches 12 as @a[tag=wolf.acting] run function minecraft:twolf/action/per/death/hunter/died +execute if score wolf.event board matches 12 run return 0 +schedule function minecraft:twolf/events/next_event 2s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/arsonist.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/arsonist.mcfunction new file mode 100644 index 00000000..9466a899 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/arsonist.mcfunction @@ -0,0 +1,9 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择你今晚要烧死的人"] +# 开始倒计时 + +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e啥也不干 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/cupid.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/cupid.mcfunction new file mode 100644 index 00000000..a7447a53 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/cupid.mcfunction @@ -0,0 +1,10 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择第1个人"] +# 开始倒计时 +execute unless entity @a[tag=wolf.acting] store result score wolf.ttime board run random value 3..15 + +scoreboard players set wolf.time board 60 +scoreboard players set twolf.state state 2 +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/cupid2.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/cupid2.mcfunction new file mode 100644 index 00000000..5502c314 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/cupid2.mcfunction @@ -0,0 +1,8 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择第2个人"] +# 开始倒计时 +scoreboard players set wolf.time board 60 +scoreboard players set twolf.state state 2 +# scoreboard players set wolf.event board 2 +function minecraft:twolf/items/selector \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/day.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/day.mcfunction new file mode 100644 index 00000000..291b9fe3 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/day.mcfunction @@ -0,0 +1,14 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +execute as @s[tag=!wolf.toupaoed] run function minecraft:twolf/items/selector +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e放弃投票 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} + +# 特殊工具 + +execute if score @s[tag=wolf.white] LRS_JOB matches 4 run item replace entity @s hotbar.7 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e白狼之牙 - \\u00a77右键发动技能"'},wolfItem:6,CustomModelData:4} +execute if score @s LRS_JOB matches 8 unless entity @a[tag=wolf.knight,team=wolfpeople,gamemode=adventure] run item replace entity @s hotbar.7 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e骑士之刃 - \\u00a77右键发动技能"'},wolfItem:7,CustomModelData:4} +# wolf.setting.knight - 1: 只有一次 +execute if score @s LRS_JOB matches 8 if entity @a[tag=wolf.knight,team=wolfpeople,gamemode=adventure] unless score wolf.setting.knight state matches 1.. run item replace entity @s hotbar.7 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e骑士之刃 - \\u00a77右键发动技能"'},wolfItem:7,CustomModelData:4} + +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 +tellraw @s ["\u00a7a您可以使用工具进行投票。"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/guard.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/guard.mcfunction new file mode 100644 index 00000000..36055a31 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/guard.mcfunction @@ -0,0 +1,10 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择守卫的人"] +execute if entity @a[tag=wolf.lastprotected] run tellraw @s ["\u00a7c你上次已经保护过:",{"selector":"@a[tag=wolf.lastprotected]"},"\u00a7c,所以你今晚不能再次保护他。"] +# 开始倒计时 + +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e啥也不干 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/hunter.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/hunter.mcfunction new file mode 100644 index 00000000..f078efe6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/hunter.mcfunction @@ -0,0 +1,8 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择你要带走的人"] +# 开始倒计时 +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e放弃带人 - \\u00a77右键点击"'},wolfItem:12,CustomModelData:3} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/knight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/knight.mcfunction new file mode 100644 index 00000000..7e34426b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/knight.mcfunction @@ -0,0 +1,8 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择你要对决的人"] +# 开始倒计时 +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e自爆 - \\u00a77右键点击"'},wolfItem:10,CustomModelData:3} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/predictor.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/predictor.mcfunction new file mode 100644 index 00000000..04dc31b7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/predictor.mcfunction @@ -0,0 +1,9 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择预言的人"] +# 开始倒计时 + +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e啥也不干 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/selector.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/selector.mcfunction new file mode 100644 index 00000000..943424e0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/selector.mcfunction @@ -0,0 +1,5 @@ +item replace entity @s hotbar.0 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7b选择玩家 - \\u00a77右键点击"'},wolfItem:1,CustomModelData:5} +item replace entity @s hotbar.1 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7a确认选择 - \\u00a77右键点击"'},wolfItem:2,CustomModelData:4} +item replace entity @s hotbar.2 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7c取消选择 - \\u00a77右键点击"'},wolfItem:3,CustomModelData:6} +# tellraw @s ["\u00a78 | \u00a7b\u00a7l选择:\u00a76使用手上的工具选择\u00a7d玩家玩偶\u00a76,选择后请使用 \u00a7a“确认选择” \u00a76确认操作\n\u00a78 | \u00a76当前活跃(正在操作的)玩家将会被\u00a7b钻石护腿\u00a76标记。\n\u00a78 | \u00a76当前选择玩家将会被有颜色的\u00a7e皮革盔甲\u00a76标记。"] +scoreboard players reset @s LRS_CS \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/whitewolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/whitewolf.mcfunction new file mode 100644 index 00000000..34034259 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/whitewolf.mcfunction @@ -0,0 +1,9 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择你要带走的人"] +# 开始倒计时 + +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e自爆 - \\u00a77右键点击"'},wolfItem:10,CustomModelData:3} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/witch.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/witch.mcfunction new file mode 100644 index 00000000..685ccfa0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/witch.mcfunction @@ -0,0 +1,15 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +# function minecraft:twolf/items/selector +title @s title [""] +execute unless entity @a[tag=wolf.killed,gamemode=adventure] run tellraw @s ["\u00a7c昨天晚上,没有人死亡。"] +execute unless entity @a[tag=wolf.killed,gamemode=adventure] run title @s subtitle ["\u00a7f昨天晚上,没有人死亡。"] +execute if entity @a[tag=wolf.killed,gamemode=adventure] run tellraw @s ["\u00a7c昨天晚上,",{"selector":"@a[tag=wolf.killed,gamemode=adventure]"},"\u00a7c 死了。"] +execute if entity @a[tag=wolf.killed,gamemode=adventure] run title @s subtitle ["\u00a7f昨天晚上,",{"selector":"@a[tag=wolf.killed,gamemode=adventure]"},"\u00a7c 死了。"] +execute as @s[tag=wolf.killed] if score wolf.round board matches 2.. run tellraw @s ["\u00a78 | \u00a7c你被杀了。\n\u00a78 | \u00a7c但今夜不是第一晚,\u00a7l你无法对自己使用解药。"] + +execute if entity @a[tag=wolf.killed] as @s[tag=!wolf.killed] if score wolf.witch.rescue board matches 1.. run item replace entity @s hotbar.2 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7a使用解药 - \\u00a77右键点击"'},wolfItem:4,CustomModelData:8} +execute as @s[tag=wolf.killed] if score wolf.round board matches ..1 if score wolf.witch.rescue board matches 1.. run item replace entity @s hotbar.2 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7a使用解药 - \\u00a77右键点击"'},wolfItem:4,CustomModelData:8} +execute if score wolf.witch.kill board matches 1.. run item replace entity @s hotbar.4 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7c使用毒药 - \\u00a77右键点击"'},wolfItem:5,CustomModelData:7} +item replace entity @s hotbar.6 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e啥也不干 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/wolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/wolf.mcfunction new file mode 100644 index 00000000..7e706209 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/items/wolf.mcfunction @@ -0,0 +1,9 @@ +clear @s +execute positioned 29 16 31 run kill @e[type=item,distance=..50] +tellraw @s ["\u00a7a请选择你们今晚要杀死的人"] +# 开始倒计时 + +function minecraft:twolf/items/selector +execute at @s run playsound entity.firework_rocket.blast player @s ~ ~ ~ 1 1 1 + +item replace entity @s hotbar.8 with warped_fungus_on_a_stick{display:{Name:'"\\u00a7e啥也不干 - \\u00a77右键点击"'},wolfItem:0,CustomModelData:3} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/arsonist.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/arsonist.mcfunction new file mode 100644 index 00000000..7c5cea31 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/arsonist.mcfunction @@ -0,0 +1,6 @@ +function twolf/tips/arsonist +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l纵火犯\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +scoreboard players set @s LRS_JOB 3 +team join wolfpeople +title @s title ["\u00a7a\u00a7l纵火犯"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/cupid.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/cupid.mcfunction new file mode 100644 index 00000000..45add354 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/cupid.mcfunction @@ -0,0 +1,6 @@ +function twolf/tips/cupid +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l丘比特\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +scoreboard players set @s LRS_JOB 1 +title @s title ["\u00a7e\u00a7l丘比特"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/guard.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/guard.mcfunction new file mode 100644 index 00000000..9672c85d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/guard.mcfunction @@ -0,0 +1,6 @@ +function twolf/tips/guard +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l守卫\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +scoreboard players set @s LRS_JOB 2 +title @s title ["\u00a7a\u00a7l守卫"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/human.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/human.mcfunction new file mode 100644 index 00000000..6fe0d21b --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/human.mcfunction @@ -0,0 +1,6 @@ +# scoreboard players set @s LRS_JOB 0 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l平民\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/day +title @s title ["\u00a7b\u00a7l平民"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/hunter.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/hunter.mcfunction new file mode 100644 index 00000000..3ae0ebe0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/hunter.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set @s LRS_JOB 9 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l猎人\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/hunter +title @s title ["\u00a7a\u00a7l猎人"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/knight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/knight.mcfunction new file mode 100644 index 00000000..37eb0ecf --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/knight.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set @s LRS_JOB 8 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l骑士\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/knight +title @s title ["\u00a7a\u00a7l骑士"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/predictor.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/predictor.mcfunction new file mode 100644 index 00000000..1572016e --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/predictor.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set @s LRS_JOB 6 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l预言家\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/predictor +title @s title ["\u00a7a\u00a7l预言家"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/tnt.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/tnt.mcfunction new file mode 100644 index 00000000..7f9e1e75 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/tnt.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set @s LRS_JOB 7 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l炸弹人\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/tnt +title @s title ["\u00a7d\u00a7l炸弹人"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/whitewolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/whitewolf.mcfunction new file mode 100644 index 00000000..bdd51dcb --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/whitewolf.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set @s LRS_JOB 4 +tag @s add wolf.white +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l白狼王\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/whitewolf +title @s title ["\u00a7c\u00a7l白狼王"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/witch.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/witch.mcfunction new file mode 100644 index 00000000..c9410864 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/witch.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set @s LRS_JOB 5 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l女巫\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/witch +title @s title ["\u00a7a\u00a7l女巫"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/wolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/wolf.mcfunction new file mode 100644 index 00000000..5f9be41d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/job/wolf.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set @s LRS_JOB 4 +tellraw @s ["\u00a7a你的身份是:\u00a76\u00a7l狼人\n\u00a7c为保证游戏公平请不要告诉别人。请仅在发言阶段说话。"] +team join wolfpeople +function twolf/tips/wolf +title @s title ["\u00a7c\u00a7l狼"] +title @s subtitle ["\u00a7f这是你的身份"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/join.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/join.mcfunction new file mode 100644 index 00000000..8140a1a0 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/join.mcfunction @@ -0,0 +1,12 @@ +tellraw @s ["\n\u00a7e该游戏还在公开测试阶段!\n如发现BUG,最好请录制一个视频,然后向作者反馈。\n"] +title @s title ["\u00a7b\u00a7l狼人杀"] +title @s subtitle ["\u00a77Who Killed me?"] +execute in killerworld run tp @s 30 6 31 0 0 +execute at @s run playsound entity.player.levelup player @s ~ ~ ~ 10 2 1 + +team join wait.wolfpeople + +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator + +execute if score twolf.state state matches 1.. run function minecraft:twolf/spec diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/note.md b/datapacks/map_game_2nd/data/minecraft/functions/twolf/note.md new file mode 100644 index 00000000..64809a1a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/note.md @@ -0,0 +1,63 @@ +# Jobs + +I | 职业 | 注释 +--|--|-- +3 | arsonist 纵火犯 [3] +1 | cupid 丘比特 [1] +2 | guard 守卫 [2] +9 | hunter 猎人 +8 | knight 骑士 +6 | predictor 预言家 [6] +7 | tnt 炸弹人 +4 | whitewolf 白狼 | tag=wolf.white [4] +4 | wolf 狼 [4] +5 | witch 女巫 [5] +0 | people 民 + + + +# scores +wolf.cupid.type: + - 0: 狼+狼 + - 1: 好人+好人 + - 2: 异属性 + +wolf.auto + - 1: auto + +wolf.mode + - 1: 屠边 + +state -> 记录 + +board -> 使用 + +# tags + + - wolf.acting -> 正在行动 + - wolf.protected -> 被保护 + - wolf.killed -> 被杀害 + - wolf.fired -> 被火烧 + - wolf.rescued -> 被救援 + - wolf.poisoned -> 被毒死 + - wolf.lastprotected -> 上一次被保护 + - wolf.connected -> 被连接 + +# Jobs + - arsonist 纵火犯 + - cupid 丘比特 + - guard 守卫 + - hunter 猎人 + - knight 骑士 + - predictor 预言家 + - tnt 炸弹人 + - whitewolf 白狼 + - witch 女巫 + - wolf 狼 + - people 民 + +# Settings +(state) +wolf.setting.knight - 1: 只有一次 +wolf.setting.arsonist - 1: 只有一次 +wolf.setting.milked - 1: 禁用奶穿 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/all.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/all.mcfunction new file mode 100644 index 00000000..552fcf5f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/all.mcfunction @@ -0,0 +1,20 @@ +scoreboard players set wolf.event board 100 +scoreboard players set wolf.time board 6 +scoreboard players set wolf.ttime board -1 +scoreboard players set twolf.state state 3 +tag @a remove wolf.acting +tag @a remove wolf.protected +tag @a remove wolf.killed +tag @a remove wolf.fired +tag @a remove wolf.poisoned +tag @a remove wolf.rescued +# 守卫 +tag @a remove wolf.lastprotected +# 行动 +tag @a remove wolf.acting +tag @a remove wolf.whitewolf +tag @a remove wolf.white +# 丘比特 +tag @a remove wolf.connected +schedule clear #wolffunctions +execute unless score wolf.time board matches 1.. run bossbar set minecraft:wolfkiller name ["\u00a76狼人杀 \u00a78| \u00a7c游戏结束"] diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/bad.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/bad.mcfunction new file mode 100644 index 00000000..762d7999 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/bad.mcfunction @@ -0,0 +1,6 @@ +function minecraft:twolf/over/show_jobs + +title @a[tag=wolf.tip] title ["\u00a7c\u00a7l游戏结束"] +title @a[tag=wolf.tip] subtitle ["\u00a7c狼阵营\u00a76胜利"] +tellraw @a[tag=wolf.tip] ["\n\u00a7c【狼阵营】\u00a76获得了胜利。\n"] +function minecraft:twolf/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/boom.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/boom.mcfunction new file mode 100644 index 00000000..f6549335 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/boom.mcfunction @@ -0,0 +1,7 @@ +function minecraft:twolf/over/show_jobs +execute if entity @a[tag=wolf.connected,scores={LRS_JOB=7}] run function twolf/over/cupid +execute if entity @a[tag=wolf.connected,scores={LRS_JOB=7}] run return 0 +title @a[tag=wolf.tip] title ["\u00a7c\u00a7l游戏结束"] +title @a[tag=wolf.tip] subtitle ["\u00a7b炸弹人阵营\u00a76胜利"] +tellraw @a[tag=wolf.tip] ["\n\u00a7b【炸弹人阵营】\u00a76获得了胜利。\n"] +function minecraft:twolf/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/cupid.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/cupid.mcfunction new file mode 100644 index 00000000..b3a83193 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/cupid.mcfunction @@ -0,0 +1,11 @@ +function minecraft:twolf/over/show_jobs + +title @a[tag=wolf.tip] title ["\u00a7c\u00a7l游戏结束"] +title @a[tag=wolf.tip] subtitle ["\u00a7e【丘比特阵营】\u00a76胜利"] +execute as @a[tag=wolf.tip] if score @s LRS_JOB matches 1 run title @s title ["\u00a7a\u00a7l你赢了"] +execute as @a[tag=wolf.tip] if score @s LRS_JOB matches 1 run tag @s add wolf.tmp +title @a[tag=wolf.connected] title ["\u00a7a\u00a7l你赢了"] +tellraw @a[tag=wolf.tip] ["\n\u00a7e【丘比特阵营】\u00a76获得了胜利。\n"] + +tag @a remove wolf.tmp +function minecraft:twolf/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/good.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/good.mcfunction new file mode 100644 index 00000000..daa58339 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/good.mcfunction @@ -0,0 +1,6 @@ +function minecraft:twolf/over/show_jobs + +title @a[tag=wolf.tip] title ["\u00a7c\u00a7l游戏结束"] +title @a[tag=wolf.tip] subtitle ["\u00a7e好人阵营\u00a76胜利"] +tellraw @a[tag=wolf.tip] ["\n\u00a7a【好人阵营】\u00a76获得了胜利。\n"] +function minecraft:twolf/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/show_jobs.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/show_jobs.mcfunction new file mode 100644 index 00000000..e1708e1a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/show_jobs.mcfunction @@ -0,0 +1,3 @@ +tellraw @a[tag=wolf.tip] ["\u00a76-------------------------\n\u00a7b\u00a7l ※ \u00a7a\u00a7l职业详情:"] +execute as @a[tag=wolf.tip] at @s run function minecraft:twolf/over/show_jobs_per +tellraw @a[tag=wolf.tip] ["\u00a76-------------------------"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/show_jobs_per.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/show_jobs_per.mcfunction new file mode 100644 index 00000000..3e49fc12 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/show_jobs_per.mcfunction @@ -0,0 +1,16 @@ +team leave @s +execute if score @s LRS_JOB matches 3 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7a纵火犯"] +execute if score @s LRS_JOB matches 1 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7e丘比特"] +execute if score @s LRS_JOB matches 2 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7a守卫"] +execute if score @s LRS_JOB matches 9 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7b猎人"] +execute if score @s LRS_JOB matches 8 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7a骑士"] +execute if score @s LRS_JOB matches 6 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7a预言家"] +execute if score @s LRS_JOB matches 7 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7d炸弹人"] +execute if score @s LRS_JOB matches 4 if entity @s[tag=wolf.white] run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a74白狼"] +execute if score @s LRS_JOB matches 5 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7a女巫"] +execute if score @s LRS_JOB matches 4 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7c狼"] +execute if score @s LRS_JOB matches 0 run tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a7e:\u00a7b民"] +execute as @s[tag=wolf.connected] run tellraw @a[tag=wolf.tip] ["\u00a78 | \u00a7e该玩家被丘比特连接"] +# tellraw @a[tag=wolf.tip] ["\u00a7d - ",{"selector":"@s"},"\u00a70未知"] +team join wait.wolfpeople +gamemode spectator @s \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/tpback.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/tpback.mcfunction new file mode 100644 index 00000000..044fa3d5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/tpback.mcfunction @@ -0,0 +1,6 @@ +function twolf/events/reset +gamemode adventure @a[tag=wolf.tip] +scoreboard players set twolf.state state 0 +execute as @a[tag=wolf.tip] run function twolf/join +execute unless score wolf.time board matches 1.. run bossbar set minecraft:wolfkiller name ["\u00a76狼人杀 \u00a78| \u00a7a等待游戏开始"] +scoreboard players set wolf.return board 1 \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/unexpected.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/unexpected.mcfunction new file mode 100644 index 00000000..8c29a1df --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/over/unexpected.mcfunction @@ -0,0 +1,6 @@ +function minecraft:twolf/over/show_jobs + +title @a[tag=wolf.tip] title ["\u00a7c\u00a7l游戏结束"] +title @a[tag=wolf.tip] subtitle ["\u00a7c无人获胜"] +tellraw @a[tag=wolf.tip] ["\n\u00a7c玩家全部死亡。游戏结束。\n"] +function minecraft:twolf/over/all \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/overdetect.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/overdetect.mcfunction new file mode 100644 index 00000000..69ecd336 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/overdetect.mcfunction @@ -0,0 +1,44 @@ +# 屠城 +## 没炸弹人 普通丘比特 +execute unless score twolf.state state matches 3 unless score wolf.r.tnt board matches 1.. if score wolf.r.bad board matches ..0 run function minecraft:twolf/over/good + +execute if score wolf.cupid.type board matches 0..1 unless score twolf.state state matches 3 if score wolf.mode board matches 2 unless score wolf.r.tnt board matches 1.. if score wolf.r.good board matches ..0 run function minecraft:twolf/over/bad + +## 有炸弹人 普通丘比特 +execute if score wolf.cupid.type board matches 0..1 unless score twolf.state state matches 3 if score wolf.mode board matches 2 if score wolf.tnt board matches 1.. if score wolf.r.bad board matches ..0 if score wolf.r.tnt board matches 1.. run function minecraft:twolf/over/boom +execute if score wolf.cupid.type board matches 0..1 unless score twolf.state state matches 3 if score wolf.mode board matches 2 if score wolf.r.good board matches ..0 run function minecraft:twolf/over/bad +## 有炸弹人 特别的丘比特 +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 2 if score wolf.r.tnt board matches ..0 if score wolf.r.good board matches ..0 if score wolf.r.cupids board matches ..0 run function minecraft:twolf/over/bad +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 2 if score wolf.r.tnt board matches 1.. if score wolf.r.bad board matches ..0 if score wolf.r.cupids board matches ..0 run function minecraft:twolf/over/boom +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 2 if score wolf.r.tnt board matches ..0 if score wolf.r.good board matches ..0 if score wolf.r.cupids board matches 1.. run function minecraft:twolf/over/cupid +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 2 if score wolf.r.tnt board matches ..0 if score wolf.r.good board matches ..1 if score wolf.r.bad board matches ..1 if score wolf.r.cupids board matches 1.. run function minecraft:twolf/over/cupid +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if entity @a[tag=wolf.connected,scores={LRS_JOB=7}] if score wolf.mode board matches 2 if score wolf.r.good board matches ..0 if score wolf.r.good board matches ..0 unless entity @a[tag=wolf.tip,gamemode=adventure,scores={LRS_JOB=4},tag=!wolf.connected] run function minecraft:twolf/over/cupid + +# 屠边 +## 没炸弹人 普通丘比特 + +execute if score wolf.cupid.type board matches 0..1 unless score twolf.state state matches 3 if score wolf.mode board matches 1 unless score wolf.r.tnt board matches 1.. if score wolf.r.person board matches ..0 run function minecraft:twolf/over/bad +execute if score wolf.cupid.type board matches 0..1 unless score twolf.state state matches 3 if score wolf.mode board matches 1 unless score wolf.r.tnt board matches 1.. if score wolf.r.god board matches ..0 run function minecraft:twolf/over/bad +## 有炸弹人 普通丘比特 +execute if score wolf.cupid.type board matches 0..1 unless score twolf.state state matches 3 if score wolf.mode board matches 1 if score wolf.r.bad board matches ..0 if score wolf.r.tnt board matches 1.. run function minecraft:twolf/over/boom +## 有炸弹人 特别的丘比特 +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 1 if score wolf.r.tnt board matches ..0 if score wolf.r.person board matches ..0 if score wolf.r.cupids board matches ..0 run function minecraft:twolf/over/bad +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 1 if score wolf.r.tnt board matches ..0 if score wolf.r.god board matches ..0 if score wolf.r.cupids board matches ..0 run function minecraft:twolf/over/bad + +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 1 if score wolf.r.tnt board matches 1.. if score wolf.r.bad board matches ..0 if score wolf.r.cupids board matches ..0 run function minecraft:twolf/over/boom + +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 1 if score wolf.r.tnt board matches ..0 if score wolf.r.god board matches ..0 if score wolf.r.cupids board matches 1.. run function minecraft:twolf/over/cupid +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 1 if score wolf.r.tnt board matches ..0 if score wolf.r.person board matches ..0 if score wolf.r.cupids board matches 1.. run function minecraft:twolf/over/cupid + +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if score wolf.mode board matches 1 if score wolf.tnt board matches ..0 if score wolf.r.good board matches ..1 if score wolf.r.bad board matches ..1 if score wolf.r.cupids board matches 1.. run function minecraft:twolf/over/cupid + +execute unless score twolf.state state matches 3 if score wolf.cupid.type board matches 2 if entity @a[tag=wolf.connected,scores={LRS_JOB=7}] if score wolf.mode board matches 1 if score wolf.r.good board matches ..0 if score wolf.r.good board matches ..0 unless entity @a[tag=wolf.tip,gamemode=adventure,scores={LRS_JOB=4},tag=!wolf.connected] run function minecraft:twolf/over/cupid + +execute unless score twolf.state state matches 3 if score wolf.r.all board matches ..1 if score wolf.r.good board matches 1.. run function minecraft:twolf/over/good +execute unless score twolf.state state matches 3 if score wolf.r.all board matches ..1 if score wolf.r.bad board matches 1.. run function minecraft:twolf/over/bad +execute unless score twolf.state state matches 3 if score wolf.r.all board matches ..1 if score wolf.r.cupid board matches 1.. run function minecraft:twolf/over/cupid +execute unless score twolf.state state matches 3 if score wolf.r.all board matches ..1 run function minecraft:twolf/over/unexpected + +# 全部 +execute unless score twolf.state state matches 3 unless entity @a[tag=wolf.connected] unless score wolf.r.tnt board matches 1.. if score wolf.r.bad board matches 1.. if score wolf.r.good board matches ..1 run function minecraft:twolf/over/bad +execute unless score twolf.state state matches 3 unless entity @a[tag=wolf.connected] unless score wolf.r.tnt board matches 1.. if score wolf.r.bad board matches ..0 run function minecraft:twolf/over/good \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/persons.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/persons.mcfunction new file mode 100644 index 00000000..b12abec4 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/persons.mcfunction @@ -0,0 +1,42 @@ +# 统计人数 +scoreboard players set wolf.r.all board 0 +scoreboard players set wolf.r.bad board 0 +scoreboard players set wolf.r.good board 0 +scoreboard players set wolf.r.person board 0 +scoreboard players set wolf.r.god board 0 +scoreboard players set wolf.r.tnt board 0 +scoreboard players set wolf.r.cupids board 0 + +execute as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,scores={LRS_JOB=0..}] run scoreboard players add wolf.r.all board 1 + +## 丘比特 +execute if score wolf.cupid.type board matches 1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 1 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 0 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 1 run scoreboard players add wolf.r.bad board 1 + +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 1 run scoreboard players add wolf.r.cupids board 1 +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=wolf.connected] unless score @s LRS_JOB matches 1 run scoreboard players add wolf.r.cupids board 1 + +## 好人 +execute if score wolf.cupid.type board matches 0..1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 0 run scoreboard players add wolf.r.person board 1 +# execute if score wolf.cupid.type board matches 1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 1..3 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 0..1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 2..3 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 0..1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 5..6 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 0..1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 8 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 0..1 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 9 run scoreboard players add wolf.r.person board 1 + +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=!wolf.connected] if score @s LRS_JOB matches 0 run scoreboard players add wolf.r.person board 1 +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=!wolf.connected] if score @s LRS_JOB matches 2..3 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=!wolf.connected] if score @s LRS_JOB matches 5..6 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=!wolf.connected] if score @s LRS_JOB matches 8 run scoreboard players add wolf.r.god board 1 +execute if score wolf.cupid.type board matches 2 as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=!wolf.connected] if score @s LRS_JOB matches 9 run scoreboard players add wolf.r.person board 1 + +scoreboard players operation wolf.r.good board += wolf.r.god board +scoreboard players operation wolf.r.good board += wolf.r.person board + +## 坏人 + +execute as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople] if score @s LRS_JOB matches 4 run scoreboard players add wolf.r.bad board 1 + +## 炸弹人 +execute as @a[tag=wolf.tip,gamemode=adventure,team=wolfpeople,tag=!wolf.connected] if score @s LRS_JOB matches 7 run scoreboard players add wolf.r.tnt board 1 + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/second.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/second.mcfunction new file mode 100644 index 00000000..ecd2aae9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/second.mcfunction @@ -0,0 +1,28 @@ +execute if score wolf.time board matches 0 run function minecraft:twolf/events/timeout +execute if score wolf.ttime board matches 0 run function minecraft:twolf/events/next_event + +execute if score twolf.time state matches 2 run effect give @a[team=wolfpeople,gamemode=adventure,tag=!wolf.acting] invisibility 2 25 true +execute if score twolf.time state matches 2 run effect give @a[team=wolfpeople,gamemode=adventure,tag=!wolf.acting] blindness 2 25 true +execute if score twolf.time state matches 2 run effect give @a[team=wolfpeople,gamemode=adventure,tag=!wolf.acting] darkness 2 25 true +execute if score wolf.time board matches 1.. run scoreboard players remove wolf.time board 1 +execute if score wolf.ttime board matches 1.. run scoreboard players remove wolf.ttime board 1 +execute if score wolf.time board matches 1.. run bossbar set minecraft:wolfkiller name ["\u00a76狼人杀 \u00a78| \u00a7a操作倒计时 [",{"score":{"objective": "board","name": "wolf.time"},"color":"aqua"},"\u00a7bs\u00a7a] \u00a78| \u00a76当前局数 [",{"score":{"objective": "board","name": "wolf.round"},"color":"aqua"},"\u00a76]"] +execute unless score wolf.time board matches 1.. run bossbar set minecraft:wolfkiller name ["\u00a76狼人杀 \u00a78| \u00a7a当前局数 [",{"score":{"objective": "board","name": "wolf.round"},"color":"aqua"},"\u00a7a]"] +execute if score twolf.state state matches 3 run bossbar set minecraft:wolfkiller name ["\u00a76狼人杀 \u00a78| \u00a7c游戏结束"] + + +function minecraft:twolf/action/resethighlight +execute as @a[team=wolfpeople,gamemode=adventure] unless score @s LRS_CS matches 1.. run function twolf/action/per/showjob +execute as @a[team=wolfpeople,gamemode=adventure,scores={LRS_CS=1..}] run function twolf/action/per/showselector +execute as @a[team=wolfpeople,gamemode=adventure,tag=wolf.acting] run function twolf/action/per/highlight_acting +scoreboard players set wolf.total board 0 +execute as @a[team=wolfpeople,gamemode=adventure] run scoreboard players add wolf.total board 0 + +execute unless score twolf.state state matches 3 run function minecraft:twolf/persons + +execute unless score twolf.state state matches 3 if score wolf.r.all board matches ..0 run function twolf/over/unexpected +execute unless score twolf.state state matches 3 if score wolf.event board matches 0 run function minecraft:twolf/overdetect +execute unless score twolf.state state matches 3 if score wolf.event board matches 10 run function minecraft:twolf/overdetect +execute unless score twolf.state state matches 3 if score wolf.event board matches 18 run function minecraft:twolf/overdetect + + diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/automode.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/automode.mcfunction new file mode 100644 index 00000000..84dd5d04 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/automode.mcfunction @@ -0,0 +1,5 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +scoreboard players add wolf.auto state 1 +execute if score wolf.auto state matches 3.. run scoreboard players set wolf.auto state 1 +execute if score wolf.auto state matches 1 run data modify block ~ ~ ~ front_text.messages[2] set value '"\\u00a7a[自动模式]"' +execute if score wolf.auto state matches 2 run data modify block ~ ~ ~ front_text.messages[2] set value '"\\u00a7e[手动设定]"' diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/jobcountroot.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/jobcountroot.mcfunction new file mode 100644 index 00000000..11e61f20 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/jobcountroot.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +$scoreboard players $(control) wolf.$(job) state 1 +$execute if score wolf.$(job) state matches ..-1 run scoreboard players set wolf.$(job) state 0 +execute if score wolf.predictor state matches 1.. run scoreboard players set wolf.predictor state 1 +execute if score wolf.witch state matches 1.. run scoreboard players set wolf.witch state 1 +execute if score wolf.guard state matches 1.. run scoreboard players set wolf.guard state 1 +execute if score wolf.cupid state matches 1.. run scoreboard players set wolf.cupid state 1 +execute if score wolf.arsonist state matches 1.. run scoreboard players set wolf.arsonist state 1 +$data modify block ~ 8 ~ front_text.messages[3] set value '{"score":{"objective":"state","name":"wolf.$(job)"},"color":"light_purple"}' +execute if score wolf.auto state matches 1 run title @s actionbar ["\u00a7e\u00a7l注意:\u00a7c您已启用\u00a7a[自动模式]\u00a7c,设置此处将无效。若希望其能生效,请切换至\u00a7e[手动模式]"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/mode.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/mode.mcfunction new file mode 100644 index 00000000..cca83e29 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/mode.mcfunction @@ -0,0 +1,5 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +scoreboard players add wolf.mode state 1 +execute if score wolf.mode state matches 3.. run scoreboard players set wolf.mode state 1 +execute if score wolf.mode state matches 1 run data modify block ~ ~ ~ front_text.messages[2] set value '"\\u00a7a[屠边]"' +execute if score wolf.mode state matches 2 run data modify block ~ ~ ~ front_text.messages[2] set value '"\\u00a7c[屠城]"' diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/truefalsesettings.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/truefalsesettings.mcfunction new file mode 100644 index 00000000..a1f36e77 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/settings/truefalsesettings.mcfunction @@ -0,0 +1,5 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +$scoreboard players add wolf.setting.$(setting) state 1 +$execute if score wolf.setting.$(setting) state matches 2.. run scoreboard players set wolf.setting.$(setting) state 0 +$execute if score wolf.setting.$(setting) state matches 1 run data modify block ~ ~ ~ front_text.messages[2] set value '"\\u00a7a[启用]"' +$execute if score wolf.setting.$(setting) state matches 0 run data modify block ~ ~ ~ front_text.messages[2] set value '"\\u00a7c[禁用]"' diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/spec.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/spec.mcfunction new file mode 100644 index 00000000..12762b0d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,当前游戏已经开始。你将在下一轮进入游戏。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/start.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/start.mcfunction new file mode 100644 index 00000000..45d63b52 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/start.mcfunction @@ -0,0 +1,51 @@ +function minecraft:twolf/events/reset + +scoreboard players reset * LRS_JOB +scoreboard players add @a[team=wait.wolfpeople,gamemode=adventure] LRS_JOB 0 +scoreboard players set wolf.total board 0 +function minecraft:twolf/events/reset +execute as @a[team=wait.wolfpeople,gamemode=adventure] run scoreboard players add wolf.total board 1 +execute if score wolf.auto state matches 1 run function twolf/action/auto_settings +execute unless score wolf.auto state matches 1 run function twolf/action/get_jobs +tag @a[tag=wolf.tip] remove wolf.tip +tag @a[team=wolfpeople] add wolf.tip +tag @a[team=wait.wolfpeople] add wolf.tip +clear @a[tag=wolf.tip] +effect clear @a[tag=wolf.tip] + +team join wolfpeople @a[team=wait.wolfpeople,gamemode=adventure] + + +# 统计人数 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 3 run scoreboard players add wolf.arsonist board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 1 run scoreboard players add wolf.cupid board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 2 run scoreboard players add wolf.guard board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 9 run scoreboard players add wolf.hunter board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 8 run scoreboard players add wolf.knight board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 6 run scoreboard players add wolf.predictor board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 7 run scoreboard players add wolf.tnt board 1 +execute as @a[team=wolfpeople,gamemode=adventure,tag=wolf.white] if score @s LRS_JOB matches 4 run scoreboard players add wolf.whitewolf board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 5 run scoreboard players add wolf.witch board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 4 run scoreboard players add wolf.wolf board 1 +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 0 run scoreboard players add wolf.people board 1 + +execute as @a[team=wolfpeople,gamemode=adventure] if score @s LRS_JOB matches 0 run function twolf/job/human + +scoreboard players set wolf.total board 0 +execute as @a[team=wolfpeople,gamemode=adventure] run scoreboard players add wolf.total board 1 + +tellraw @a[tag=wolf.tip] ["\u00a7a本次狼人杀角色数量:",{"text":"[鼠标移到此处查看]","color": "gold","hoverEvent": {"action": "show_text","contents": ["\u00a76[纵火犯] ",{"score":{"objective": "board","name": "wolf.arsonist"}},"\n\u00a76[丘比特] ",{"score":{"objective": "board","name": "wolf.cupid"}},"\n\u00a76[守卫] ",{"score":{"objective": "board","name": "wolf.guard"}},"\n\u00a76[猎人] ",{"score":{"objective": "board","name": "wolf.hunter"}},"\n\u00a76[骑士] ",{"score":{"objective": "board","name": "wolf.knight"}},"\n\u00a76[预言家] ",{"score":{"objective": "board","name": "wolf.predictor"}},"\n\u00a76[炸弹人] ",{"score":{"objective": "board","name": "wolf.tnt"}},"\n\u00a76[白狼] ",{"score":{"objective": "board","name": "wolf.whitewolf"}},"\n\u00a76[女巫] ",{"score":{"objective": "board","name": "wolf.witch"}},"\n\u00a76[狼(含白狼)] ",{"score":{"objective": "board","name": "wolf.wolf"}},"\n\u00a76[民] ",{"score":{"objective": "board","name": "wolf.people"}},"\n\n\u00a7b[总共] ",{"score":{"objective": "board","name": "wolf.total"},"color": "white"},"\u00a76人"]}},"\n\u00a78 | \u00a76\u00a7l温馨提示:\u00a7e为保证游戏体验,请在相关提示后发言,\n\u00a78 | \u00a7e并在相关提示后停止发言。\n\u00a78 | \u00a7e请关闭小地图、关闭灵魂出窍等功能,以增强游戏体验!"] + +function minecraft:twolf/action/givepoint +function minecraft:twolf/action/tppoint_day +# title @a[tag=wolf.tip] title ["\u00a76\u00a7l狼人杀"] +title @a[tag=wolf.tip] subtitle ["\u00a7f10秒后将会进入黑夜。"] +execute as @a[tag=wolf.tip] at @s run playsound entity.firework_rocket.twinkle player @s ~ ~ ~ 1 1 0 +# schedule function minecraft:twolf/events/next_event 10s +scoreboard players set twolf.state state 1 +scoreboard players set wolf.time board 6 +scoreboard players set wolf.ttime board -1 +execute if score wolf.mode board matches 1 run tellraw @a[tag=wolf.tip] ["\u00a76游戏模式:\u00a7a\u00a7l屠边"] +execute if score wolf.mode board matches 2 run tellraw @a[tag=wolf.tip] ["\u00a76游戏模式:\u00a7c\u00a7l屠城"] +execute as @a[tag=wolf.tip] run function minecraft:twolf/tips/new_game +schedule clear #wolffunctions diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tick.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tick.mcfunction new file mode 100644 index 00000000..43436210 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tick.mcfunction @@ -0,0 +1,4 @@ +tag @a[tag=wolf.tip] remove wolf.tip +tag @a[team=wolfpeople] add wolf.tip +tag @a[team=wait.wolfpeople] add wolf.tip +execute as @a[team=wolfpeople,gamemode=adventure] at @s as @e[type=item,distance=..3] run data merge entity @s {PickupDelay:0s} \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/time/day.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/time/day.mcfunction new file mode 100644 index 00000000..0c953ae7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/time/day.mcfunction @@ -0,0 +1,8 @@ +# execute as @e[tag=wolf.tppoint] at @s run fill ~1 ~ ~1 ~-1 ~3 ~-1 air replace minecraft:barrier +scoreboard players set twolf.time state 1 +team modify wolfpeople nametagVisibility always + +# MOD: +## 0 for nothing; 1 ban other team; 2 ban own team; 4 ban +scoreboard players set wait.wolfpeople BAMBOO_MOD_SAYING 2 +scoreboard players set wolfpeople BAMBOO_MOD_SAYING 0 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/time/night.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/time/night.mcfunction new file mode 100644 index 00000000..359e83d6 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/time/night.mcfunction @@ -0,0 +1,16 @@ +# execute as @e[tag=wolf.tppoint] at @s run fill ~1 ~ ~1 ~-1 ~3 ~-1 minecraft:black_concrete +# execute as @e[tag=wolf.tppoint] at @s run fill ~ ~1 ~ ~ ~2 ~ air replace barrier +scoreboard players set twolf.time state 2 +team modify wolfpeople nametagVisibility hideForOwnTeam +tellraw @a[tag=wolf.tip] ["\u00a7f\u00a7l天黑请闭眼。"] +title @a[tag=wolf.tip] title [""] +title @a[tag=wolf.tip] subtitle ["\u00a7f\u00a7l天黑请闭眼。"] +schedule clear #wolffunctions +scoreboard players set wolf.time board -1 +scoreboard players set wolf.ttime board -1 +function twolf/action/tppoint + + +## 0 for nothing; 1 other team; 2 own team; 3 all banned; 4 ban /tshout +scoreboard players set wait.wolfpeople BAMBOO_MOD_SAYING 2 +scoreboard players set wolfpeople BAMBOO_MOD_SAYING 3 diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/arsonist.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/arsonist.mcfunction new file mode 100644 index 00000000..7160e1bb --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/arsonist.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l纵火犯:\u00a7a【神】\u00a7r每天晚上选择烧死一名玩家。\n\u00a78 | \u00a7f如果狼人将被烧死的玩家杀害,将会随机死亡一匹狼。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/cupid.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/cupid.mcfunction new file mode 100644 index 00000000..ae72853d --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/cupid.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l丘比特:\u00a7e【条件】\u00a7r可以在第一晚连接2人。2人中1人死亡,会一同死亡。\n\u00a78 | \u00a7b若两人为不同阵营:丘比特和两人各成阵营。\n\u00a78 | \u00a7a若为好人阵营:丘比特属于好人。\n\u00a78 | \u00a7c若为坏人阵营:丘比特属于坏人。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/day.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/day.mcfunction new file mode 100644 index 00000000..e3c10337 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/day.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a7d\u00a7l白天阶段:\u00a7r宣布死者,活着的人自由发言。\n\u00a78 | \u00a7f发言结束后进行投票,最高选票(要求被票的人票数大于1/3)则出局。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/guard.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/guard.mcfunction new file mode 100644 index 00000000..f415ca1f --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/guard.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l守卫:\u00a7a【神】\u00a7r每天晚上选择保护一名玩家免受狼人杀害以及火烧,\n\u00a78 | \u00a7f但无法避免被\u00a7c毒药\u00a7f毒死。\n\u00a78 | \u00a7f不能连续两晚保护一个玩家。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/hunter.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/hunter.mcfunction new file mode 100644 index 00000000..14282808 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/hunter.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l猎人:\u00a7b【好人】\u00a7r可以在被狼人杀死或被驱逐时带走一个人。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/knight.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/knight.mcfunction new file mode 100644 index 00000000..3a7c8772 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/knight.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l骑士:\u00a7a【神】\u00a7r可以在白天选择一人进行对跳。\n\u00a78 | \u00a7f若被选择者为狼人,则狼人死亡,进入下一夜。\n\u00a78 | \u00a7f若为炸弹人,两者都死亡,继续发言。\n\u00a78 | \u00a7f若为好人,则骑士死亡,继续发言。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/new_game.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/new_game.mcfunction new file mode 100644 index 00000000..0b286be7 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/new_game.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a7e----------------------------\n\u00a78 | \u00a7c\u00a7l屠城:\u00a7f狼人必须杀死所有好人\n\u00a78 | \u00a7a\u00a7l屠边:\u00a7f狼人只需要杀死平民或者神任意一方\n\u00a7e============================"] +tellraw @s "\u00a78 | \u00a7b\u00a7l选择:\u00a76使用手上的工具选择\u00a7d玩家玩偶\u00a76,选择后请使用 \u00a7a“确认选择” \u00a76确认操作\n\u00a78 | \u00a76当前活跃(正在操作的)玩家将会被\u00a7b钻石护腿\u00a76标记。\n\u00a78 | \u00a76当前选择玩家将会被有颜色的\u00a7e皮革盔甲\u00a76标记。\n\u00a7e----------------------------" \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/predictor.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/predictor.mcfunction new file mode 100644 index 00000000..c0410caa --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/predictor.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l预言家:\u00a7a【神】\u00a7r每天晚上选择一名玩家,可以得知他的好坏。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/show_all.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/show_all.mcfunction new file mode 100644 index 00000000..953dd1b5 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/show_all.mcfunction @@ -0,0 +1,14 @@ +tellraw @s ["\u00a7e----------------------------"] +function minecraft:twolf/tips/wolf +function minecraft:twolf/tips/whitewolf +function minecraft:twolf/tips/witch +function minecraft:twolf/tips/predictor +function minecraft:twolf/tips/guard +function minecraft:twolf/tips/hunter +function minecraft:twolf/tips/knight +function minecraft:twolf/tips/arsonist +function minecraft:twolf/tips/cupid +function minecraft:twolf/tips/tnt +function minecraft:twolf/tips/day +tellraw @s ["\u00a7e============================\n\u00a78 | \u00a7c\u00a7l屠城:\u00a7f狼人必须杀死所有好人\n\u00a78 | \u00a7a\u00a7l屠边:\u00a7f狼人只需要杀死平民或者神任意一方\n\u00a7e============================"] +tellraw @s "\u00a78 | \u00a7b\u00a7l选择:\u00a76使用手上的工具选择\u00a7d玩家玩偶\u00a76,选择后请使用 \u00a7a“确认选择” \u00a76确认操作\n\u00a78 | \u00a76当前活跃(正在操作的)玩家将会被\u00a7b钻石护腿\u00a76标记。\n\u00a78 | \u00a76当前选择玩家将会被有颜色的\u00a7e皮革盔甲\u00a76标记。\n\u00a7e----------------------------" \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/tnt.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/tnt.mcfunction new file mode 100644 index 00000000..dcf64dbb --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/tnt.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l炸弹人:\u00a7e【独立】\u00a7r在被驱逐时,投票给他的人将会被炸死。\n\u00a78 | \u00a7f不属于任何一个阵营,获胜条件为炸死所有人。\n\u00a78 | \u00a7f若和好人一起活到最后,炸弹人单独胜利。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/whitewolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/whitewolf.mcfunction new file mode 100644 index 00000000..3febcd54 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/whitewolf.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l白狼王:\u00a7c【坏人】\u00a7r除了和狼一起行动外,还可以在白天选择自爆身份,\n\u00a78 | \u00a7f带走一名玩家并自己死亡。然后直接进入下一夜。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/witch.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/witch.mcfunction new file mode 100644 index 00000000..f1c6625a --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/witch.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l女巫:\u00a7a【神】\u00a7r拥有一瓶\u00a7a解药\u00a7r和\u00a7c毒药\u00a7r。\n\u00a78 | \u00a7f女巫只能在\u00a7b第一晚\u00a7r对自己使用解药。"] +execute unless score wolf.setting.milked state matches 1.. run tellraw @s ["\u00a78 | \u00a7f若玩家同时被保护、狼杀、女巫救后,\u00a7c会被奶穿死亡。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/wolf.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/wolf.mcfunction new file mode 100644 index 00000000..363dbcde --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/tips/wolf.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a78 | \u00a76\u00a7l狼人:\u00a7c【坏人】\u00a7r每天晚上选择一名玩家进行杀害。\n\u00a78 | \u00a7f白狼王也被算在狼人队列中。"] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/functions/twolf/trystart.mcfunction b/datapacks/map_game_2nd/data/minecraft/functions/twolf/trystart.mcfunction new file mode 100644 index 00000000..d60ec772 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/functions/twolf/trystart.mcfunction @@ -0,0 +1,17 @@ +playsound ui.button.click player @s ~ ~ ~ 1 1 1 +# playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.wolfpeople,gamemode=adventure] run scoreboard players add wait.player tick 1 + +# ## regoin 维护 +# scoreboard players set wait.player tick 0 +# tellraw @s ["\n\u00a7c很抱歉,此游戏仍在测试阶段!\n"] + +# ## endregoin 维护 + +execute if score twolf.state state matches 1.. run function minecraft:twolf/spec +execute unless score twolf.state state matches 1.. if score wait.player tick matches ..2 run tellraw @s ["\u00a7c人数不够!请等待至少3人!"] +execute unless score twolf.state state matches 1.. if score wait.player tick matches 25.. run tellraw @s ["\u00a7c人数过多!最多支持24人!"] +execute unless score twolf.state state matches 1.. if score wait.player tick matches ..2 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score twolf.state state matches 1.. if score wait.player tick matches 25.. run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score twolf.state state matches 1.. if score wait.player tick matches 3..24 run function minecraft:twolf/start \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/item_modifiers/gethead.json b/datapacks/map_game_2nd/data/minecraft/item_modifiers/gethead.json new file mode 100644 index 00000000..8f030eed --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/item_modifiers/gethead.json @@ -0,0 +1,6 @@ +[ + { + "function": "minecraft:fill_player_head", + "entity": "this" + } +] \ No newline at end of file diff --git a/datapacks/map_game_2nd/data/minecraft/tags/functions/wolffunctions.json b/datapacks/map_game_2nd/data/minecraft/tags/functions/wolffunctions.json new file mode 100644 index 00000000..1fb8ffc9 --- /dev/null +++ b/datapacks/map_game_2nd/data/minecraft/tags/functions/wolffunctions.json @@ -0,0 +1,7 @@ +{ + "values": [ + "twolf/events/1/new_round", + "twolf/events/next_event", + "minecraft:twolf/events/1/new_round" + ] +} \ No newline at end of file diff --git a/datapacks/map_game_2nd/pack.mcmeta b/datapacks/map_game_2nd/pack.mcmeta new file mode 100644 index 00000000..a066d509 --- /dev/null +++ b/datapacks/map_game_2nd/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 16, + "description": "Map's Datapacks GAME #2" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/chat.json b/datapacks/map_main/data/minecraft/chat_type/chat.json new file mode 100644 index 00000000..29a4d3c3 --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/chat.json @@ -0,0 +1,16 @@ +{ + "chat": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "\u00a77[CHAT] \u00a77%s\u00a77: %s" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.text.narrate" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/emote_command.json b/datapacks/map_main/data/minecraft/chat_type/emote_command.json new file mode 100644 index 00000000..ba4e6dae --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/emote_command.json @@ -0,0 +1,16 @@ +{ + "chat": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "\u00a7d * \u00a77%s \u00a7f%s" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.emote" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/msg_command_incoming.json b/datapacks/map_main/data/minecraft/chat_type/msg_command_incoming.json new file mode 100644 index 00000000..beb70119 --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/msg_command_incoming.json @@ -0,0 +1,20 @@ +{ + "chat": { + "parameters": [ + "sender", + "content" + ], + "style": { + "color": "gray", + "italic": false + }, + "translation_key": "\u00a7dFrom \u00a77%s\u00a77: %s" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.text.narrate" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/msg_command_outgoing.json b/datapacks/map_main/data/minecraft/chat_type/msg_command_outgoing.json new file mode 100644 index 00000000..9aefd830 --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/msg_command_outgoing.json @@ -0,0 +1,20 @@ +{ + "chat": { + "parameters": [ + "target", + "content" + ], + "style": { + "color": "gray", + "italic": false + }, + "translation_key": "\u00a7dTo \u00a77%s\u00a77: %s" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.text.narrate" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/say_command.json b/datapacks/map_main/data/minecraft/chat_type/say_command.json new file mode 100644 index 00000000..8a587a05 --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/say_command.json @@ -0,0 +1,16 @@ +{ + "chat": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.announcement" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.text.narrate" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/team_msg_command_incoming.json b/datapacks/map_main/data/minecraft/chat_type/team_msg_command_incoming.json new file mode 100644 index 00000000..4bb18597 --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/team_msg_command_incoming.json @@ -0,0 +1,17 @@ +{ + "chat": { + "parameters": [ + "target", + "sender", + "content" + ], + "translation_key": "\u00a7f%s \u00a77%s: \u00a7f%s" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.text.narrate" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/chat_type/team_msg_command_outgoing.json b/datapacks/map_main/data/minecraft/chat_type/team_msg_command_outgoing.json new file mode 100644 index 00000000..4bb18597 --- /dev/null +++ b/datapacks/map_main/data/minecraft/chat_type/team_msg_command_outgoing.json @@ -0,0 +1,17 @@ +{ + "chat": { + "parameters": [ + "target", + "sender", + "content" + ], + "translation_key": "\u00a7f%s \u00a77%s: \u00a7f%s" + }, + "narration": { + "parameters": [ + "sender", + "content" + ], + "translation_key": "chat.type.text.narrate" + } +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/damage_type/player_gun.json b/datapacks/map_main/data/minecraft/damage_type/player_gun.json new file mode 100644 index 00000000..38cd5498 --- /dev/null +++ b/datapacks/map_main/data/minecraft/damage_type/player_gun.json @@ -0,0 +1,7 @@ +{ + "exhaustion": 0.1, + "message_id": "arrow", + "scaling": "never", + "death_message_type": "default", + "effects": "freezing" +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/check_rename.mcfunction b/datapacks/map_main/data/minecraft/functions/check_rename.mcfunction new file mode 100644 index 00000000..7340579f --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/check_rename.mcfunction @@ -0,0 +1,5 @@ +execute in overworld run tp @s 188 124 26 +gamemode survival @s +team leave @s +execute as @s[tag=map.old] run tellraw @a ["\u00a7b[玩家] ",{"selector":"@s","color":"gray"},"\u00a7e 貌似更换了一个新的名字重新加入了游戏。"] +scoreboard players set @s old 1 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/inits/itemlock.mcfunction b/datapacks/map_main/data/minecraft/functions/inits/itemlock.mcfunction new file mode 100644 index 00000000..5358a59f --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/inits/itemlock.mcfunction @@ -0,0 +1,2 @@ +execute as @e[type=item_frame] run data merge entity @s {Fixed:1b,Invisible:1b} +execute as @e[type=painting] run data merge entity @s {Fixed:1b,Invisible:1b,Invulnerable:1b} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/inits/reset_lobby_title.mcfunction b/datapacks/map_main/data/minecraft/functions/inits/reset_lobby_title.mcfunction new file mode 100644 index 00000000..fd36bf5c --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/inits/reset_lobby_title.mcfunction @@ -0,0 +1,69 @@ +kill @e[tag=lobby,type=area_effect_cloud] +kill @e[tag=lobby,type=armor_stand] + +## 188 x 34 小游戏 +summon minecraft:area_effect_cloud 188 126 34 {CustomName:'["\\u00a7a\\u00a7l小游戏区"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 125.7 34 {CustomName:'["\\u00a77Mini Games"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +## 196 x 26 留影处 +summon minecraft:area_effect_cloud 196 126 26 {CustomName:'["\\u00a7d\\u00a7l留影处"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 196 125.7 26 {CustomName:'["\\u00a77Photo Spot"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +## 180 x 26 地图介绍 +summon minecraft:area_effect_cloud 180 126 26 {CustomName:'["\\u00a7b\\u00a7l地图介绍 & 地图设置"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 180 125.7 26 {CustomName:'["\\u00a77introduction & Settings"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +## 188 x 18 跑酷区 +summon minecraft:area_effect_cloud 188 126 18 {CustomName:'["\\u00a7e\\u00a7l跑酷区 & 活动区"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 125.7 18 {CustomName:'["\\u00a77Parkour & Activity"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +## 210 116 22 拉杆1 - 烟花 +summon minecraft:area_effect_cloud 211 116.9 22 {CustomName:'["\\u00a7e\\u00a7l烟花 (纪念区)"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 211 116.6 22 {CustomName:'["\\u00a7d\\u00a7lFireworks (Here)"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + + +## 210 116 30 拉杆2 - 烟花 +summon minecraft:area_effect_cloud 211 116.9 30 {CustomName:'["\\u00a7a\\u00a7l烟花 (其他)"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 211 116.6 30 {CustomName:'["\\u00a7b\\u00a7lFireworks (Other Places)"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +# 跑酷 188 117 -3 +summon minecraft:area_effect_cloud 188 117.4 -3 {CustomName:'["\\u00a7e\\u00a7l大厅跑酷区 \\u00a7b\\u00a7lParkour"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 116.8 -3 {CustomName:'["\\u00a77踩下前方\\u00a7e",{"translate":"block.minecraft.light_weighted_pressure_plate","color":"yellow"},"\\u00a77开始跑酷\\u00a77,路上的金块是存档点"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 116.5 -3 {CustomName:'["\\u00a77使用\\u00a7b物品栏道具\\u00a77返回记录点,"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 116.2 -3 {CustomName:'["\\u00a77或者指令\\u00a7e /trigger parkour \\u00a77回记录点"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 115.9 -3 {CustomName:'["\\u00a7a\\u00a7l祝你好运!"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 115.6 -3 {CustomName:'["\\u00a7b\\u00a7lGood Luck \\u00a7c\\u00a7land \\u00a7d\\u00a7lHave Fun!"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + + +summon minecraft:area_effect_cloud 74 117 37 {CustomName:'["\\u00a7a\\u00a7l活动广场"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 74 116.7 37 {CustomName:'["\\u00a77Event Plaza"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 123 117 5 {CustomName:'["\\u00a7e\\u00a7l神庙"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 123 116.7 5 {CustomName:'["\\u00a77Temple"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 108 117 5 {CustomName:'["\\u00a7e\\u00a7l神庙"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 108 116.7 5 {CustomName:'["\\u00a77Temple"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 138 117 5 {CustomName:'["\\u00a7e\\u00a7l神庙"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 138 116.7 5 {CustomName:'["\\u00a77Temple"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 86 117 5 {CustomName:'["\\u00a7b\\u00a7l咖啡馆"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 86 116.7 5 {CustomName:'["\\u00a77Coffe Shop"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + + +summon minecraft:area_effect_cloud 240 117 -31 {CustomName:'["\\u00a79\\u00a7l海滩"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 240 116.7 -31 {CustomName:'["\\u00a77Beach"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +execute as @e[type=item_frame] run data merge entity @s {Fixed:1b} + +summon minecraft:area_effect_cloud 188 116 50 {CustomName:'["\\u00a7a\\u00a7l小游戏"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 188 115.7 50 {CustomName:'["\\u00a771st Floor"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 197.0 121 48 {CustomName:'["\\u00a7b\\u00a7l小游戏"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 197.0 120.7 48 {CustomName:'["\\u00a772nd Floor"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 183 126 50 {CustomName:'["\\u00a7c\\u00a7l小游戏"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 183 125.7 50 {CustomName:'["\\u00a773rd Floor"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} + +summon minecraft:area_effect_cloud 238 116 66 {CustomName:'["\\u00a7a\\u00a7l迷宫"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} +summon minecraft:area_effect_cloud 238 115.7 66 {CustomName:'["\\u00a77寻找出口吧!"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,NoGravity:1b,Tags:["lobby"],Duration:2147483647} diff --git a/datapacks/map_main/data/minecraft/functions/inits/reset_random.mcfunction b/datapacks/map_main/data/minecraft/functions/inits/reset_random.mcfunction new file mode 100644 index 00000000..c90a9052 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/inits/reset_random.mcfunction @@ -0,0 +1,95 @@ +## 清除 +kill @e[tag=random_game,type=marker] +## 生成 +# Car +# Deleted! +# 躲猫猫 - 道具 +# summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7b\\u00a7l躲猫猫(动物)"'} +# scoreboard players set @e[tag=neww] board 1 +# tag @e[tag=neww] remove neww +# Snow TNTRUN +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7eTNTRUN"'} +scoreboard players set @e[tag=neww] board 2 +tag @e[tag=neww] remove neww +# Snow Pick +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7f掘一死战"'} +scoreboard players set @e[tag=neww] board 3 +tag @e[tag=neww] remove neww +# Repeling +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7e击退大战"'} +scoreboard players set @e[tag=neww] board 4 +tag @e[tag=neww] remove neww +# Color +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7d色盲大战"'} +scoreboard players set @e[tag=neww] board 5 +tag @e[tag=neww] remove neww +# Block Believer +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7b信仰方块"'} +scoreboard players set @e[tag=neww] board 6 +tag @e[tag=neww] remove neww +# 躲猫猫 +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7b方块躲猫猫"'} +scoreboard players set @e[tag=neww] board 7 +tag @e[tag=neww] remove neww +# Duel +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7e战桥"'} +scoreboard players set @e[tag=neww] board 8 +tag @e[tag=neww] remove neww +# Hot Potato +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7c烫手的山芋"'} +scoreboard players set @e[tag=neww] board 9 +tag @e[tag=neww] remove neww +# Pool War +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7b冬泳怪鸽"'} +scoreboard players set @e[tag=neww] board 10 +tag @e[tag=neww] remove neww +# TNT Wars +summon marker 0 10 0 {Tags:["random_game","neww"],CustomName:'"\\u00a7cTNT Wars"'} +scoreboard players set @e[tag=neww] board 11 +tag @e[tag=neww] remove neww + +# Car 1 +# Snow TNTRUN 2 +# Snow Pick 3 +# Repeling 4 +# Color 5 +# Block Believer 6 +# Muder Mystery 7 +# Duel 8 +# Hot Potato 9 +# Pool War 10 +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 1 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 2 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 3 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 4 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 5 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 6 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 7 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 8 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 9 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 10 +tag @e[tag=neww] remove neww +summon marker 0 10 0 {Tags:["random_saying","neww"]} +scoreboard players set @e[tag=neww] board 11 +tag @e[tag=neww] remove neww + +# forceload remove 168 -45 168 -45 diff --git a/datapacks/map_main/data/minecraft/functions/inits/resetuuid.mcfunction b/datapacks/map_main/data/minecraft/functions/inits/resetuuid.mcfunction new file mode 100644 index 00000000..6392a94e --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/inits/resetuuid.mcfunction @@ -0,0 +1,10 @@ +scoreboard players reset * park.uuid +scoreboard players set p.uid park.uuid 0 +execute as @a run function npark/getuuid +scoreboard players reset * kill +scoreboard players reset * job_kill +scoreboard players reset * leave +scoreboard players reset * dropper.level +scoreboard players reset * old + +# function ttsecond \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/inits/undoitem.mcfunction b/datapacks/map_main/data/minecraft/functions/inits/undoitem.mcfunction new file mode 100644 index 00000000..849a388d --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/inits/undoitem.mcfunction @@ -0,0 +1 @@ +execute as @e[type=item_frame] run data merge entity @s {Fixed:0b} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/language/chinese.mcfunction b/datapacks/map_main/data/minecraft/functions/language/chinese.mcfunction new file mode 100644 index 00000000..eb43d5ca --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/language/chinese.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7a[INFO] \u00a76当前语言切换为 \u00a7e[简体中文]\u00a76!"] diff --git a/datapacks/map_main/data/minecraft/functions/language/english.mcfunction b/datapacks/map_main/data/minecraft/functions/language/english.mcfunction new file mode 100644 index 00000000..b6366478 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/language/english.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7cSorry. 'English' translation didn't support anymore."] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/gameover_killer.mcfunction b/datapacks/map_main/data/minecraft/functions/live/gameover_killer.mcfunction new file mode 100644 index 00000000..05ab8094 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/gameover_killer.mcfunction @@ -0,0 +1,4 @@ +tellraw @a ["\u00a76[Live Longest] \u00a7a游戏结束!获胜玩家:",{"selector":"@a[team=play.live.killer]"}] +title @a[team=play.live.killer] title ["\u00a76You won!"] +title @a[team=play.live.runner] title ["\u00a7cYou lost!"] +function minecraft:live/over \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/gameover_runner.mcfunction b/datapacks/map_main/data/minecraft/functions/live/gameover_runner.mcfunction new file mode 100644 index 00000000..2b41e4c3 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/gameover_runner.mcfunction @@ -0,0 +1,4 @@ +tellraw @a ["\u00a76[Live Longest] \u00a7a游戏结束!获胜玩家: ",{"selector":"@a[team=play.live.runner]"}] +title @a[team=play.live.runner] title ["\u00a76You won!"] +title @a[team=play.live.killer] title ["\u00a7cYou lost!"] +function minecraft:live/over \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/gamereallystart.mcfunction b/datapacks/map_main/data/minecraft/functions/live/gamereallystart.mcfunction new file mode 100644 index 00000000..cbb63fbd --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/gamereallystart.mcfunction @@ -0,0 +1,3 @@ +fill 106 92 169 104 92 167 minecraft:air +effect give @a[team=play.live.runner] slow_falling 10 1 true +scoreboard players set live.state state 2 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/ingame/died.mcfunction b/datapacks/map_main/data/minecraft/functions/live/ingame/died.mcfunction new file mode 100644 index 00000000..804ea907 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/ingame/died.mcfunction @@ -0,0 +1,20 @@ +title @s title ["\u00a7c\u00a7lYou Died"] +title @s subtitle ["\u00a7aLoading..."] +gamemode spectator @s[team=play.live.runner] +execute if score live.set.mode live.all matches 1..1 as @s[team=play.live.runner] run team join play.live.runner @a[team=play.live.killer] +execute if score live.set.mode live.all matches 1..1 as @s[team=play.live.runner] run function minecraft:live/ingame/selkiller +## Normal Mode +execute if score live.set.mode live.all matches 0..0 if score live.state state matches 1.. if score live.time live.all >= live.timelimit live.all as @s run function minecraft:live/gameover_runner + +execute if score live.set.mode live.all matches 0..0 run tp @s[team=play.live.killer] 64 55 152 -90 0 +execute if score live.set.mode live.all matches 0..0 run title @s[team=play.live.killer] subtitle ["\u00a7a你复活了!"] +execute if score live.set.mode live.all matches 0..0 run clear @s[team=play.live.killer] arrow +## Guess Killer +execute if score live.set.mode live.all matches 1..1 run gamemode spectator @s[team=play.live.killer] +execute as @s[team=play.live.killer] if score live.set.mode live.all matches 1..1 run function minecraft:live/ingame/selkiller +execute if score live.set.mode live.all matches 1..1 as @s[team=play.live.killer] run tellraw @a[team=play.live.runner] ["\u00a7a[INFO] \u00a7c杀手 ",{"selector":"@s"},"\u00a7c 淘汰了 !"] +execute if score live.set.mode live.all matches 1..1 as @s[team=play.live.killer] run team join play.live.runner @s + +title @s[gamemode=spectator] subtitle ["对不起,你淘汰了!"] + +tp @s[gamemode=spectator] 101 70 172 0 90 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/ingame/selkiller.mcfunction b/datapacks/map_main/data/minecraft/functions/live/ingame/selkiller.mcfunction new file mode 100644 index 00000000..fc677633 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/ingame/selkiller.mcfunction @@ -0,0 +1,12 @@ +tag @r[team=play.live.runner,gamemode=adventure] add live.Killer +tellraw @a[team=play.live.runner] ["\u00a7a[Info] \u00a7bKiller 已经选出!请小心!"] +title @a[tag=live.Killer] title ["\u00a7c你是 Killer"] +title @a[tag=live.Killer] subtitle ["\u00a7e杀死 Runners !"] +execute as @a[team=live.play.runner] at @s run playsound minecraft:entity.dragon_fireball.explode player @s +team join play.live.killer @a[tag=live.Killer] +tag @a[tag=live.Killer] remove live.Killer +title @a[team=play.live.runner] title ["\u00a7b你是 Runner"] +title @a[tag=play.live.runner] subtitle ["\u00a7e快跑!"] + +scoreboard players set live.time live.all -20 +give @a[team=play.live.killer] minecraft:bow{Unbreakable:1b,display:{Name:'["§aR§ba§ci§dn §eB§fo§6w"]',Lore:['["§aR§ba§ci§dn §eB§fo§6w"]','["§aR§ba§ci§dn §eB§fo§6w"]','["§aR§ba§ci§dn §eB§fo§6w"]']},Enchantments:[{id:"minecraft:power",lvl:2s}]} 1 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/over.mcfunction b/datapacks/map_main/data/minecraft/functions/live/over.mcfunction new file mode 100644 index 00000000..4f0cc030 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/over.mcfunction @@ -0,0 +1,11 @@ +scoreboard players set live.state state 0 +gamemode adventure @a[team=wait.live] +gamemode adventure @a[team=play.live.killer] +gamemode adventure @a[team=play.live.runner] +tag @a[team=wait.live] add join.livelongest +tag @a[team=play.live.killer] add join.livelongest +tag @a[team=play.live.runner] add join.livelongest +clear @a[team=play.live.killer] +clear @a[team=play.live.runner] +clear @a[team=wait.live] +bossbar set minecraft:live players \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/settings/settoguess.mcfunction b/datapacks/map_main/data/minecraft/functions/live/settings/settoguess.mcfunction new file mode 100644 index 00000000..799112e9 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/settings/settoguess.mcfunction @@ -0,0 +1,6 @@ +data modify block 36 8 0 front_text.messages[1] set value "[{\"text\":\"Normal Mode\",\"color\":\"aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/function minecraft:live/settings/settonormal\"}}]" +data modify block 36 8 0 front_text.messages[2] set value "[{\"text\":\"\\u00a7a[\\u00a76Guess Killer\\u00a7a]\",\"color\":\"gold\"}]" +playsound minecraft:ui.button.click player @s +scoreboard players set live.set.mode live.all 1 +team modify play.live.runner friendlyFire false +tellraw @a[team=wait.live] ["\u00a7a[INFO] \u00a7b模式变成了 \u00a76[Guess Killer]\u00a7b.\n\u00a7e在这个模式中,Killer 不会获得发光效果。"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/settings/settonormal.mcfunction b/datapacks/map_main/data/minecraft/functions/live/settings/settonormal.mcfunction new file mode 100644 index 00000000..dfad6a96 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/settings/settonormal.mcfunction @@ -0,0 +1,6 @@ +data modify block 36 8 0 front_text.messages[1] set value "[{\"text\":\"\\u00a7a[\\u00a7bNormal Mode\\u00a7a]\",\"color\":\"aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/function minecraft:live/settings/settoguess\"}}]" +data modify block 36 8 0 front_text.messages[2] set value "[{\"text\":\"Guess Killer\",\"color\":\"gold\"}]" +playsound minecraft:ui.button.click player @s +scoreboard players set live.set.mode live.all 0 +tellraw @a[team=wait.live] ["\u00a7a[INFO] \u00a7b模式变成了 \u00a7d[Normal Mode]\u00a7b.\n\u00a7e在这个模式中,杀手会发光!你可以轻松辨别!"] +team modify play.live.runner friendlyFire false \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/sign.mcfunction b/datapacks/map_main/data/minecraft/functions/live/sign.mcfunction new file mode 100644 index 00000000..e748ed5d --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/sign.mcfunction @@ -0,0 +1,6 @@ +execute if score live.timelimit live.all matches ..29 run tellraw @s ["\u00a7e[Warn] \u00a7e这个时间太短了!"] +execute if score live.timelimit live.all matches ..29 run scoreboard players set live.timelimit live.all 30 +execute if score live.timelimit live.all matches 301.. run tellraw @s ["\u00a7e[Warn] \u00a7e这个时间太长了!"] +execute if score live.timelimit live.all matches 301.. run scoreboard players set live.timelimit live.all 300 +tellraw @s ["\u00a7a[INFO] \u00a7d时间限制: ",{"score":{"objective":"live.all","name":"live.timelimit"},"color":"aqua"},"\u00a7b s"] +data modify block 25 7 11 front_text.messages[2] set value "[{\"score\":{\"objective\":\"live.all\",\"name\":\"live.timelimit\"},\"color\":\"aqua\"},\"\\u00a7b s\"]" diff --git a/datapacks/map_main/data/minecraft/functions/live/specthegame.mcfunction b/datapacks/map_main/data/minecraft/functions/live/specthegame.mcfunction new file mode 100644 index 00000000..809e3a64 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/specthegame.mcfunction @@ -0,0 +1,4 @@ +gamemode spectator @s +tp @s 101 70 172 0 90 +team join wait.live +tellraw @s ["\n\u00a7a\u00a7l[MESSAGE] \u00a7c游戏已经开始 !\n\n\u00a77返回大厅: \u00a7b/trigger hub set 1"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/start.mcfunction b/datapacks/map_main/data/minecraft/functions/live/start.mcfunction new file mode 100644 index 00000000..20b9df61 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/start.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set live.state state 3 +tp @a[team=wait.live] 105 93 168 0 90 +team join play.live.runner @a[team=wait.live] +scoreboard players set givething live.all 21 +scoreboard players set gamestart live.all 6 +fill 106 92 169 104 92 167 minecraft:smooth_basalt +kill @e[type=item] +team modify play.live.runner friendlyFire false +clear @a[team=play.live.runner] +execute store result bossbar minecraft:live max run scoreboard players get live.timelimit live.all +scoreboard players set live.time live.all -20 +effect give @a[team=play.live.runner] resistance 25 25 true +effect give @a[team=play.live.runner] regeneration 2 25 true \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/testfor.mcfunction b/datapacks/map_main/data/minecraft/functions/live/testfor.mcfunction new file mode 100644 index 00000000..2ac88983 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/testfor.mcfunction @@ -0,0 +1,14 @@ +tag @a[team=wait.live] add liveshowboss +tag @a[team=play.live.killer] add liveshowboss +tag @a[team=play.live.runner] add liveshowboss +bossbar set minecraft:live players +bossbar set minecraft:live players @a[tag=liveshowboss] +tag @a remove liveshowboss +title @a[tag=live.Killer] actionbar ["\u00a7c你是 Killer"] +title @a[team=play.live.runner] actionbar ["\u00a7b你是 Runner"] +## the number of runners +scoreboard players set live.runner tick 0 +execute as @a[team=play.live.runner,gamemode=adventure] run scoreboard players add live.runner tick 1 +execute if score live.state state matches 1.. if score live.runner tick matches ..0 run function minecraft:live/gameover_killer +execute if score live.state state matches 1.. if score live.time live.all >= live.timelimit live.all as @a[team=play.live.killer] run function minecraft:live/ingame/died +execute if score live.state state matches 1.. unless entity @a[team=play.live.killer] run function minecraft:live/gameover_runner \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/teststart.mcfunction b/datapacks/map_main/data/minecraft/functions/live/teststart.mcfunction new file mode 100644 index 00000000..41609bea --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/teststart.mcfunction @@ -0,0 +1,6 @@ +playsound minecraft:ui.button.click player @s +## scoreboard players set live.state state 0 +execute if score live.state state matches 1.. run tellraw @s ["\n\u00a7a\u00a7l[MESSAGE] \u00a7c游戏已经开始啦!\n\u00a77\u00a7o如果这是个bug,请报告给制作者!\n\u00a77\u00a7o你现在可以旁观游戏。\n"] +execute if score live.state state matches 1.. run function minecraft:live/specthegame +execute unless score live.state state matches 1.. if score wait.live.player tick matches 2.. run function minecraft:live/start +execute unless score live.state state matches 1.. unless score wait.live.player tick matches 2.. run tellraw @a[team=wait.live] ["\n\u00a7a\u00a7l[MESSAGE] \u00a7c开始失败! Reason:\n \u00a7e游戏需要至少 \u00a7b2\u00a7e 个玩家;\n 但现在只有 ",{"score":{"objective":"tick","name":"wait.live.player"},"color":"aqua"}," \u00a7e个玩家 ! \n"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/live/tick.mcfunction b/datapacks/map_main/data/minecraft/functions/live/tick.mcfunction new file mode 100644 index 00000000..7b978003 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/live/tick.mcfunction @@ -0,0 +1,4 @@ +spawnpoint @a[team=play.live.killer] 29 15 -3 +spawnpoint @a[team=play.live.runner] 29 15 -3 +spawnpoint @a[team=wait.live] 25 7 0 +# spawnpoint @a[team=lobby] 0 7 0 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/car.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/car.mcfunction new file mode 100644 index 00000000..aa7ed6a6 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/car.mcfunction @@ -0,0 +1,3 @@ +# execute positioned 122 120 59 unless entity @e[tag=lobby.car,type=minecart,distance=0..10] run setblock 123 121 59 stone_button[powered=true] +# execute positioned 122 120 59 unless entity @e[tag=lobby.car,type=minecart,distance=0..10] run summon minecart 122 120 59 {Invulnerable:1b,Silent:1b,Tags:["lobby.car"],CustomName:'["观光车"]',CustomNameVisible:1b} +# execute as @e[tag=lobby.car] run team join lobby @s \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/car/detectdie.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/car/detectdie.mcfunction new file mode 100644 index 00000000..002c2c45 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/car/detectdie.mcfunction @@ -0,0 +1,5 @@ +# tag @s add car.tmp +# scoreboard players set car.detect board 0 +# execute as @a[team=lobby] if data entity @s {RootVehicle:{Entity:{Tags:["car.tmp"]}}} run scoreboard players set car.detect board 1 +# execute if score car.detect board matches 0 run kill @s[type=minecart] +# tag @s remove car.tmp \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/car/detectgo.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/car/detectgo.mcfunction new file mode 100644 index 00000000..4e14b720 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/car/detectgo.mcfunction @@ -0,0 +1,5 @@ +# tag @s add car.tmp +# scoreboard players set car.detect board 0 +# execute as @a[team=lobby] if data entity @s {RootVehicle:{Entity:{Tags:["car.tmp"]}}} run scoreboard players set car.detect board 1 +# execute if score car.detect board matches 1 run setblock 121 120 60 minecraft:redstone_torch +# tag @s remove car.tmp \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/cleartags.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/cleartags.mcfunction new file mode 100644 index 00000000..8537a4bb --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/cleartags.mcfunction @@ -0,0 +1,22 @@ +tag @s remove wolf.acting +tag @s remove wolf.protected +tag @s remove wolf.killed +tag @s remove wolf.fired +tag @s remove wolf.poisoned +tag @s remove wolf.rescued +tag @s remove wolf.lastprotected +tag @s remove wolf.acting +tag @s remove wolf.white +tag @s remove wolf.connected +tag @s remove sur.killedbyzom +tag @s remove bw.play +tag @s remove bw.player +tag @s remove boat.notinboats +tag @s remove play.total +tag @s remove bw.shears +tag @s remove boat.notinboat +tag @s remove tntwars.a +tag @s remove tntwars.b +tag @s remove touzi.team.a +tag @s remove touzi.team.b +# tag @s remove \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/elevent.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/elevent.mcfunction new file mode 100644 index 00000000..8801f537 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/elevent.mcfunction @@ -0,0 +1,70 @@ +## Effects +execute if score speed lobby.effect matches 1 run effect give @a[team=lobby,tag=!parkouring,tag=!mazing] speed 1 0 true +execute if score speed lobby.effect matches 2 run effect give @a[team=lobby,tag=!parkouring,tag=!mazing] speed 1 1 true +execute if score jump lobby.effect matches 1 run effect give @a[team=lobby,tag=!parkouring,tag=!mazing] jump_boost 1 1 true +execute if score jump lobby.effect matches 2 run effect give @a[team=lobby,tag=!parkouring,tag=!mazing] jump_boost 1 3 true +execute run effect give @a[team=lobby,tag=mazing] speed 1 0 true + + +## Back to the Lobby +effect give @a[team=lobby] resistance 1 127 true +kill @e[type=tnt,nbt={fuse:80s}] +scoreboard players enable @a hub +scoreboard players enable @a rejoin + +tag @a[scores={rejoin=1..}] add REJOINGAME +execute as @a[tag=REJOINGAME] run function lobby/rejoin +scoreboard players reset @a[tag=REJOINGAME] rejoin +tag @a[tag=REJOINGAME] remove REJOINGAME + +tag @a[scores={hub=1..}] add NEWENTER1 +execute as @a[tag=NEWENTER1] unless score @s park.uuid matches 0.. run function minecraft:npark/getuuid + +title @a[tag=NEWENTER1] reset +execute as @a[scores={hub=1..}] run tellraw @a ["\u00a7a\u00a7l[MESSAGE] \u00a77",{"selector":"@s","color":"yellow"},"\u00a7b 返回了大厅。"] + +execute as @a[scores={hub=1..}] run bossbar set surgame:time players +scoreboard players reset @a[scores={hub=1..}] hub +scoreboard players reset @a[scores={hub=1..}] globle.game +tag @a[scores={hub=1..}] remove sur.killedbyzom +team join lobby @a[tag=NEWENTER1] +tag @a[tag=NEWENTER1] remove tntwars.a +tag @a[tag=NEWENTER1] remove tntwars.b +tag @a[tag=NEWENTER1] remove bw.shears +execute as @a[tag=NEWENTER1] at @s run attribute @s minecraft:generic.attack_speed base set 4 +tag @a[tag=NEWENTER1] remove zombie.nehelp +tag @a[tag=NEWENTER1] remove parkouring +effect clear @a[tag=NEWENTER1] +stopsound @a[tag=NEWENTER1] record +stopsound @a[tag=NEWENTER1] voice +tag @a[tag=NEWENTER1] remove mazing +tellraw @a[tag=NEWENTER1] ["\n\u00a7a 您可以随时使用 \u00a76/trigger hub \u00a7a返回大厅。\n \u00a7a全局音乐可以通过\u00a76游戏设置 - 声音设置 - 玩家语音\u00a7a调节声音大小\n"] +tellraw @a[tag=NEWENTER1,tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @a[tag=NEWENTER1] run attribute @s generic.max_health base set 20 +execute as @a[tag=NEWENTER1] at @s run effect clear @s +execute in overworld run tp @a[tag=NEWENTER1] 188 124 26 0 0 +effect clear @a[tag=NEWENTER1] +title @a[tag=NEWENTER1] title ["\u00a7a\u00a7lMini\u00a7e\u00a7lGames"] +title @a[tag=NEWENTER1] subtitle ["\u00a76You're in \u00a7dMain Lobby"] +title @a[tag=NEWENTER1] actionbar ["\u00a7aWelcome to the map!"] +gamemode adventure @a[tag=NEWENTER1] +execute as @a[tag=NEWENTER1] at @s run attribute @s minecraft:generic.max_health base set 20 + +clear @a[tag=NEWENTER1] +execute as @a[tag=NEWENTER1] at @s run function lobby/cleartags +execute as @a[tag=NEWENTER1] run function lobby/oneword +tag @a[tag=NEWENTER1] remove NEWENTER1 + +## Repeling War +tp @a[tag=join.hit] -33 4 -11 0 0 +clear @a[tag=join.hit] +gamemode adventure @a[tag=join.hit] +team leave @a[tag=join.hit] +execute as @a[tag=join.hit] run tellraw @a ["\u00a7a\u00a7l[MESSAGE] \u00a77",{"selector":"@s","color":"yellow"},"\u00a77 加入了 \u00a7eRepeling War\u00a77。"] +tellraw @a[tag=join.hit,tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @a[tag=join.hit,tag=GOABLE.SPEC] at @s run gamemode spectator +team join wait.repel @a[tag=join.hit] +execute as @a[tag=join.hit] at @s run attribute @s minecraft:generic.max_health base set 20 +execute as @a[tag=join.hit] at @s run effect clear @s +tag @a[tag=join.hit] remove join.hit + diff --git a/datapacks/map_main/data/minecraft/functions/lobby/firework.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/firework.mcfunction new file mode 100644 index 00000000..b9cc294b --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/firework.mcfunction @@ -0,0 +1,9 @@ +summon firework_rocket 230 118 22 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon firework_rocket 230 118 30 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +# summon firework_rocket 230 118 26 {LifeTime:20,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +# summon firework_rocket 230 116 34 {LifeTime:20,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +# summon firework_rocket 230 116 18 {LifeTime:20,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon firework_rocket 230 114 14 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon firework_rocket 230 114 38 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} + +# summon firework_rocket 230 118 26 {LifeTime:20,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:3,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/firework2.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/firework2.mcfunction new file mode 100644 index 00000000..f0f68053 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/firework2.mcfunction @@ -0,0 +1,34 @@ +# {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +# 166 115 4 +# 166 115 48 + +# 219 118 40 +# 219 118 12 + +# 102 133 -20 +# 101 115 4 +# 58 115 28 +# 74 115 79 + +# 156 115 -15 +# 220 115 -15 + +# 235 115 -33 +# 239 116 -84 +# 296 121 -93 +# 310 116 -44 + +summon minecraft:firework_rocket 166 115 4 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 166 115 48 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 219 118 40 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 219 118 12 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 102 133 -20 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 101 115 4 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 58 115 28 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 74 115 79 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 156 115 -15 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 220 115 -15 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 235 115 -33 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 239 116 -84 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 296 121 -93 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +summon minecraft:firework_rocket 310 116 -44 {LifeTime:30,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,920588,15790320]}],Flight:1}}}} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/getrandom1.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/getrandom1.mcfunction new file mode 100644 index 00000000..241e5afa --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/getrandom1.mcfunction @@ -0,0 +1 @@ +scoreboard players operation random board = @e[limit=1,tag=random_saying,sort=random,scores={board=1..11}] board \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/getrandom2.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/getrandom2.mcfunction new file mode 100644 index 00000000..7df48998 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/getrandom2.mcfunction @@ -0,0 +1 @@ +scoreboard players operation random board = @e[limit=1,tag=random_saying,sort=random,scores={board=1..9}] board \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/jump.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/jump.mcfunction new file mode 100644 index 00000000..c82e6d29 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/jump.mcfunction @@ -0,0 +1,6 @@ +scoreboard players add jump lobby.effect 0 +execute if score jump lobby.effect matches -10..0 run function lobby/jump_one +execute if score jump lobby.effect matches 1..1 run function lobby/jump_two +execute if score jump lobby.effect matches 2..2 run function lobby/jump_off +scoreboard players add jump lobby.effect 1 +execute if score jump lobby.effect matches 3.. run scoreboard players set jump lobby.effect 0 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/jump_off.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/jump_off.mcfunction new file mode 100644 index 00000000..02c900dc --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/jump_off.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7c大厅效果已禁用:\u00a72\u00a7l跳跃提升"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/jump_one.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/jump_one.mcfunction new file mode 100644 index 00000000..947ece85 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/jump_one.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7a大厅效果已启用:\u00a72\u00a7l跳跃提升 II"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/jump_two.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/jump_two.mcfunction new file mode 100644 index 00000000..43f27f47 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/jump_two.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7a大厅效果已启用:\u00a72\u00a7l跳跃提升 IV"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/oneword.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/oneword.mcfunction new file mode 100644 index 00000000..1c92d230 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/oneword.mcfunction @@ -0,0 +1,36 @@ +function lobby/getrandom1 +execute if score random board matches 1 run title @s title ["\u00a7a世间万物皆有裂痕,那是光照进来的地方。"] +execute if score random board matches 1 run title @s subtitle ["\u00a7e —— 莱昂纳德·科恩《颂歌》"] +execute if score random board matches 2 run title @s title ["\u00a7a世间多无奈,别被风雪染。世事多无奈,莫随霜雪白。"] +execute if score random board matches 2 run title @s subtitle ["\u00a7e —— 俗语"] +execute if score random board matches 3 run title @s title ["\u00a7a在天鹅的世界里,乌鸦都是有罪的。"] +execute if score random board matches 3 run title @s subtitle ["\u00a7e —— 俗语"] +execute if score random board matches 4 run title @s title ["\u00a7a人们试图把你埋了,但你是颗种子。"] +execute if score random board matches 4 run title @s subtitle ["\u00a7e —— 俗语"] +execute if score random board matches 5 run title @s title ["\u00a7a乌云自己遮住了太阳,它却怨天空不够明朗。"] +execute if score random board matches 5 run title @s subtitle ["\u00a7e —— 俗语"] +execute if score random board matches 6 run title @s title ["\u00a7a你担心什么,什么就控制你。你所拥有的,亦是你的枷锁。"] +execute if score random board matches 6 run title @s subtitle ["\u00a7e —— 约翰·洛克 / 未知"] +execute if score random board matches 7 run title @s title ["\u00a7a我与我周旋久,宁做我。"] +execute if score random board matches 7 run title @s subtitle ["\u00a7e —— 汪曾祺《世说新语》"] +execute if score random board matches 8 run title @s title ["\u00a7a有些人污蔑诋毁你,却又想成为你。"] +execute if score random board matches 8 run title @s subtitle ["\u00a7e —— 俗语"] +execute if score random board matches 9 run title @s title ["\u00a7a没有什么会踏雾而来,喜欢的风景要自己去看。"] +execute if score random board matches 9 run title @s subtitle ["\u00a7e —— 俗语"] +execute if score random board matches 10 run title @s title ["\u00a7a我既年轻又年老,连灵魂都无聊至极。"] +execute if score random board matches 10 run title @s subtitle ["\u00a7e —— 托尼·凯耶《超脱》"] +execute if score random board matches 11 run title @s title ["\u00a7a哀其不幸,怒其不争。从来如此,便对么?"] +execute if score random board matches 11 run title @s subtitle ["\u00a7e —— 鲁迅《孔乙己》&《狂人日记》"] + +function lobby/getrandom2 +tellraw @s [""] +execute if score random board matches 1 run tellraw @s [" \u00a7b谁都有难以名状的心情,因此人才会变得难过。"] +execute if score random board matches 2 run tellraw @s [" \u00a7b有时候,音乐比言语更能诉说心情。\n 要是言语全是音乐的话就好了,我有时会这么想。"] +execute if score random board matches 3 run tellraw @s [" \u00a7b适度的恐惧是人生的香料,如同吊桥会成为回忆一般。\n 人心就是这么不可思议。"] +execute if score random board matches 4 run tellraw @s [" \u00a7b如果认为只要发出声音就能变成音乐,那就大错特错了。\n 因为静寂也是音乐的一部分。"] +execute if score random board matches 5 run tellraw @s [" \u00a7b人生不止是道别,人生何处不相逢。"] +execute if score random board matches 6 run tellraw @s [" \u00a7b今日永远不同于昨日,所以今日才那么美好,不过也会令人有些寂寞。\n 这份寂寞的苦涩会日复一日地加深,咖啡也一样。"] +execute if score random board matches 7 run tellraw @s [" \u00a7b青春总是焦急的,连一勺砂糖溶于杯中的时间都等不及。"] +execute if score random board matches 8 run tellraw @s [" \u00a7b后悔带来的苦涩,是对过去的见证,终将逐一化为杯中咖啡的味道。"] +execute if score random board matches 9 run tellraw @s [" \u00a7b有些东西,只有放手后才能得到,也许并不是只有握在手里才是幸福的。"] +tellraw @s ["\u00a77 —— 玉子市场 · 咖啡店人生导师\n"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/quickplay.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/quickplay.mcfunction new file mode 100644 index 00000000..b5fe8369 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/quickplay.mcfunction @@ -0,0 +1,32 @@ +scoreboard players enable @s quickplay +execute if score @s quickplay matches 1 run tellraw @s ["\n\u00a76 ※ 快速加入游戏 ※ \u00a7b游戏ID列表:\n","\n\u00a7a2 \u00a77- \u00a7bBattle Box\n\u00a7a3 \u00a77- \u00a7b信仰方块\n\u00a7a4 \u00a77- \u00a7b冰船\n\u00a7a5 \u00a77- \u00a7b赛车\n\u00a7a6 \u00a77- \u00a7b色盲大战\n\u00a7a7 \u00a77- \u00a7b星跳水立方\n\u00a7a8 \u00a77- \u00a7b战桥\n\u00a7a9 \u00a77- \u00a7b高尔夫\n\u00a7a10 \u00a77- \u00a7b躲猫猫(道具)\n\u00a7a11 \u00a77- \u00a7b躲猫猫(方块)\n\u00a7a12 \u00a77- \u00a7b烫手的山芋\n\u00a7a13 \u00a77- \u00a7b饥饿游戏\n\u00a7a14 \u00a77- \u00a7b职业战争\n\u00a7a15 \u00a77- \u00a7b密室杀手\n\u00a7a16 \u00a77- \u00a7bLive Longest\n\u00a7a17 \u00a77- \u00a7b关卡跑酷\n\u00a7a18 \u00a77- \u00a7b冬泳怪鸽\n\u00a7a19 \u00a77- \u00a7b棋类游戏\n\u00a7a20 \u00a77- \u00a7b狼人杀\n\u00a7a21 \u00a77- \u00a7b小游戏合集\n\u00a7a22 \u00a77- \u00a7bSnow\n\u00a7a23 \u00a77- \u00a7bTNT Wars\n\u00a7a24 \u00a77- \u00a7bZombie Days(PVE)\n\u00a7a25 \u00a77- \u00a7b生存游戏\n\u00a7a26 \u00a77- \u00a7b起床战争\n\n\u00a7e使用 \u00a76/trigger quickplay set <游戏ID>\u00a7b 快速进入"] + +execute if score @s quickplay matches 2 run function battle/join +execute if score @s quickplay matches 3 run function believer/join +execute if score @s quickplay matches 4 run function boat/join +execute if score @s quickplay matches 5 run function car_race/join +execute if score @s quickplay matches 6 run function color/join +execute if score @s quickplay matches 7 run function dropper/join +execute if score @s quickplay matches 8 run function duel/join +execute if score @s quickplay matches 9 run function golf/join +execute if score @s quickplay matches 10 run function hide2/join +execute if score @s quickplay matches 11 run function hideseek/join +execute if score @s quickplay matches 12 run function hotpotever/join +execute if score @s quickplay matches 13 run function hunger/join +execute if score @s quickplay matches 14 run function job_pvp/join +execute if score @s quickplay matches 15 run function killerever/join +execute if score @s quickplay matches 16 run tag @s add join.livelongest +execute if score @s quickplay matches 17 run function lpark/join +execute if score @s quickplay matches 18 run function poolwar/join +execute if score @s quickplay matches 19 run function small_games/chess/join +execute if score @s quickplay matches 20 run function twolf/join +execute if score @s quickplay matches 21 run function small_games/total/join +execute if score @s quickplay matches 22 run function snow/join +execute if score @s quickplay matches 23 run function tntwars/join +execute if score @s quickplay matches 24 run function zombieever/join +execute if score @s quickplay matches 25 run function surgame:join +execute if score @s quickplay matches 26 run function bedwars/message/join +execute if score @s quickplay matches 1.. run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute if score @s quickplay matches 27.. run tellraw @s ["\u00a7c很抱歉,未知游戏的ID!"] + +execute if score @s quickplay matches 1.. run scoreboard players reset @s quickplay \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/quickplay_refused.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/quickplay_refused.mcfunction new file mode 100644 index 00000000..70792a24 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/quickplay_refused.mcfunction @@ -0,0 +1,3 @@ +playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 1 +tellraw @s ["\u00a7c您无法在进行游戏时快速加入其他游戏队列!"] +scoreboard players reset @s quickplay \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/rejoin.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/rejoin.mcfunction new file mode 100644 index 00000000..2c68d96f --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/rejoin.mcfunction @@ -0,0 +1,9 @@ +scoreboard players add @s globle.game 0 +execute unless score @s leave matches 1.. if score @s globle.game matches ..1 run tellraw @s ["\u00a7c很抱歉,您无法重新加入游戏!"] +execute unless score @s leave matches 1.. if score @s globle.game matches 2.. run tellraw @s ["\u00a76正在为您检查游戏状态!如果游戏仍在运行且支持重新加入,您将会重新进入游戏!\n\u00a77您的游戏状态码:",{"score":{"objective": "globle.game","name": "@s"},"color":"gray","bold": true}] +execute if score bw.state state matches 1.. if score @s globle.game = bw globle.game run function bedwars/during/player/rejoin +execute if score zombie.state state matches 1.. if score @s globle.game = zombie globle.game run function zombieever/rejoin +execute if score gametotal state matches 1.. if score @s globle.game = game.total globle.game run function small_games/total/rejoin +execute if score twolf.state state matches 1.. as @s[team=wolfpeople] run function twolf/rejoin +execute if score twolf.state state matches 1.. as @s[team=wait.wolfpeople] run function twolf/rejoin +execute if score @s globle.game matches ..1 run scoreboard players reset @s globle.game \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/spawncar.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/spawncar.mcfunction new file mode 100644 index 00000000..d94e611a --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/spawncar.mcfunction @@ -0,0 +1 @@ +summon minecraft:minecart ~ ~ ~ {Invulnerable:1b,Silent:1b,Tags:["lobby.car"],Passengers:[{id:"minecraft:strider",Saddle:true,CustomName:'["观光车"]',CustomNameVisible:1b,Invulnerable:1b,NoAI:1b,Silent:1b,NoGravity:1b,PersistenceRequired:1b,Tags:["lobby.car"]}]} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/specintroduce.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/specintroduce.mcfunction new file mode 100644 index 00000000..382778e0 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/specintroduce.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\n\u00a7b\u00a7l 旁观者模式操作面板\n \u00a77你可以点击对应的命令并且补全到聊天栏。\n\n",{"text":"\u00a76\u00a7l/trigger spec set 1 \u00a77- \u00a7e打开这个菜单","bold":true,"clickEvent": {"action": "suggest_command","value": "/trigger spec set 1"},"hoverEvent": {"action": "show_text","contents": "\u00a77点击此处补全到聊天栏"}},"\n",{"text":"\u00a76\u00a7l/trigger spec set 2 \u00a77- \u00a7e开启全局旁观者模式","bold":true,"clickEvent": {"action": "suggest_command","value": "/trigger spec set 2"},"hoverEvent": {"action": "show_text","contents": "\u00a77点击此处补全到聊天栏"}},"\n",{"text":"\u00a76\u00a7l/trigger spec set 3 \u00a77- \u00a7e退出全局旁观者模式","bold":true,"clickEvent": {"action": "suggest_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a77点击此处补全到聊天栏"}},"\n"] diff --git a/datapacks/map_main/data/minecraft/functions/lobby/speed.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/speed.mcfunction new file mode 100644 index 00000000..359ccbd8 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/speed.mcfunction @@ -0,0 +1,6 @@ +scoreboard players add speed lobby.effect 0 +execute if score speed lobby.effect matches -10..0 run function lobby/speed_one +execute if score speed lobby.effect matches 1..1 run function lobby/speed_two +execute if score speed lobby.effect matches 2..2 run function lobby/speed_off +scoreboard players add speed lobby.effect 1 +execute if score speed lobby.effect matches 3.. run scoreboard players set speed lobby.effect 0 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/speed_off.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/speed_off.mcfunction new file mode 100644 index 00000000..3fbcab18 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/speed_off.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7c大厅效果已禁用:\u00a7f\u00a7l速度"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/speed_one.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/speed_one.mcfunction new file mode 100644 index 00000000..baab97a6 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/speed_one.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7a大厅效果已启用:\u00a7f\u00a7l速度 I"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/lobby/speed_two.mcfunction b/datapacks/map_main/data/minecraft/functions/lobby/speed_two.mcfunction new file mode 100644 index 00000000..f7cdc512 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/lobby/speed_two.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7a大厅效果已启用:\u00a7f\u00a7l速度 II"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/main.mcfunction b/datapacks/map_main/data/minecraft/functions/main.mcfunction new file mode 100644 index 00000000..00df2e0e --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/main.mcfunction @@ -0,0 +1,195 @@ +function minecraft:lobby/elevent +execute if block 123 121 59 oak_button[powered=true] run function lobby/car +function foodparty:tick +execute as @a[team=lobby] at @s run function lobby/quickplay +execute as @a[team=!lobby,scores={quickplay=1..}] at @s run function lobby/quickplay_refused + +execute as @a unless score @s old matches 1.. run function minecraft:check_rename + +execute as @a[scores={leave=1..}] in overworld run tp @s 188 124 26 +execute as @a[scores={leave=1..}] run function lobby/rejoin +gamemode survival @a[scores={leave=1..}] +scoreboard players reset @a[scores={leave=1..}] leave + +# execute as @a[tag=music.playing] at @s run function main_loop + +tag @a[gamemode=survival,nbt={Dimension:"minecraft:overworld"}] add NEWENTER +tp @a[tag=NEWENTER] 188 124 26 0 0 +team join lobby @a[tag=NEWENTER] +clear @a[tag=NEWENTER] +execute as @a[tag=NEWENTER] at @s run tag @s add map.old +execute as @a[tag=NEWENTER] at @s run function lobby/cleartags +title @a[tag=NEWENTER] title ["\u00a7a\u00a7lMini\u00a7e\u00a7lGames"] +title @a[tag=NEWENTER] subtitle ["\u00a76You're in \u00a7dMain Lobby"] +title @a[tag=NEWENTER] actionbar ["\u00a7aWelcome to the map!"] +tellraw @a[tag=NEWENTER] ["\n\u00a7a 您可以随时使用 \u00a76/trigger hub \u00a7a返回大厅。\n \u00a7a全局音乐可以通过\u00a76游戏设置 - 声音设置 - 玩家语音\u00a7a调节声音大小\n \u00a7e部分游戏支持使用 \u00a76/trigger rejoin\u00a7e 重新加入退出的游戏!\n\n\u00a7b 下载资源包:",{"text":"\u00a7d\u00a7n[GitLab](推荐)","underlined": true,"clickEvent": {"action":"open_url","value": "https://gitlab.com/wifi-left/Map-MiniGames/-/raw/master/resourcepack/MiniGameRes.zip"}}," ",{"underlined": true,"text":"\u00a7e\u00a7n[GitHub](备用)","clickEvent": {"action":"open_url","value": "https://github.com/wifi-left/Map-MiniGames/raw/master/resourcepack/MiniGameRes.zip"}},"\n"] +execute as @a[tag=NEWENTER] run attribute @s generic.max_health base set 20 + +gamemode adventure @a[tag=NEWENTER] + +execute if score tnt.state state matches 1.. run function minecraft:tntwars/tick +execute if entity @a[team=dropper] in dropperworld run function dropper/tick + +execute as @a[tag=NEWENTER] at @s run attribute @s minecraft:generic.attack_speed base set 4 +execute as @a[tag=NEWENTER] run bossbar set surgame:time players @a[team=wait.sur] + +execute as @a[tag=NEWENTER] unless score @s park.uuid matches 0.. run function minecraft:npark/getuuid +tellraw @a[tag=NEWENTER,tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +effect clear @a[tag=NEWENTER] +tag @a[tag=NEWENTER] remove zombie.nehelp +tag @a[tag=NEWENTER] remove parkouring +tag @a[tag=NEWENTER] remove mazing +tag @a[tag=NEWENTER] remove play.total +stopsound @a[tag=NEWENTER] record +stopsound @a[tag=NEWENTER] voice +tag @a[tag=NEWENTER] remove NEWENTER + +execute as @a[scores={job_kill=1..},team=job_pvp] run function job_pvp/getakill +scoreboard players reset @a[scores={job_kill=1..}] job_kill + +execute as @a[scores={spec=1}] run function lobby/specintroduce +execute as @a[scores={spec=2}] run tag @s add SPEC.JOIN +execute as @a[scores={spec=3..}] run tag @s add SPEC.REMOVE +scoreboard players enable @a spec +scoreboard players reset @a[scores={spec=1..}] spec +tag @a[tag=SPEC.JOIN] add GOABLE.SPEC +tellraw @a[tag=SPEC.JOIN] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +tag @a[tag=SPEC.JOIN] remove SPEC.JOIN +tellraw @a[tag=SPEC.REMOVE] ["\n\u00a7c 你已关闭\u00a7b全局旁观者模式\u00a77。\n"] +tag @a[tag=SPEC.REMOVE] remove GOABLE.SPEC +tag @a[tag=SPEC.REMOVE] remove SPEC.REMOVE + +effect give @a[team=hide.wait] resistance 1 25 true +effect give @a[team=deskgame] resistance 1 25 true +effect give @a[team=hide.wait] resistance 1 25 true +execute if score hide.state state matches 1.. run function hideseek/tick +execute if score golf.state state matches 1.. in golfworld run function golf/tick +execute if score boat.state state matches 1.. in boatworld2 run function boat/tick +execute if score hunger.state state matches 1.. in hungerworld run function hunger/tick +execute if score battle.state state matches 1.. in overworld run function battle/tick +execute if score btw.state state matches 1.. in overworld run function boatwars/tick + +execute as @a[team=lobby,tag=!parkouring] at @s if block ~ ~ ~ light_weighted_pressure_plate run function npark/join +execute as @a[team=lobby,tag=!mazing] at @s if block ~ ~ ~ warped_pressure_plate run function maze/join + +spawnpoint @a[team=lobby] 188 124 26 + +effect give @a[team=chestgame] resistance 1 25 true + +execute if score chess.state state matches 1.. run function small_games/chess/tick + +execute as @e[tag=gun.line] at @s run function gun/main +# 检测到玩家右键后: +execute as @a[scores={use.skill=1..},team=deskgame] at @s run function minecraft:desk/skill_handle +execute as @a[scores={use.skill=1..},team=btw.play.a] at @s run function minecraft:boatwars/usegun +execute as @a[scores={use.skill=1..},team=btw.play.b] at @s run function minecraft:boatwars/usegun +execute as @a[scores={use.skill=1..},level=..0,team=job_pvp] at @s run function minecraft:skills +execute as @a[scores={use.skill=1..},team=play.tntwars] at @s run function minecraft:tntwars/tnttool +execute as @a[scores={use.skill=1..},level=..0,team=play.live.runner] at @s run function minecraft:skills +execute as @a[scores={use.skill=1..},level=..0,team=play.live.killer] at @s run function minecraft:skills +execute in boatworld2 as @a[scores={use.skill=1..},team=boat] at @s run function minecraft:boat/skills +execute in boatworld2 as @a[scores={use.skill.2=1..},team=boat] at @s run function minecraft:boat/skills +execute in killerworld as @a[scores={use.skill.2=1..},team=wolfpeople] at @s run function minecraft:twolf/controls +execute as @a[scores={use.skill=1..},level=..0,team=hide.play.hun] at @s run function minecraft:hideseek/skillss +execute as @a[scores={use.skill=1..},level=..0,team=hide.play.ani] at @s run function minecraft:hideseek/skillss + + + +execute in airworld as @a[gamemode=!creative,gamemode=!spectator,team=play.sur,x=-46,y=-26,z=3,distance=0..4] run function surgame:died +execute in airworld as @a[gamemode=!creative,gamemode=!spectator,team=play.sur.zom,x=-46,y=-26,z=3,distance=0..4] run function surgame:died +execute in airworld as @a[gamemode=!creative,gamemode=!spectator,team=wait.sur,x=-46,y=-26,z=3,distance=0..4] run function surgame:join + +# execute as @a[scores={use.skill=1..,cooldowntime=1..},team=play.zombie] at @s run title @s actionbar ["\u00a7c\u00a7l冷却中: ",{"score":{"objective": "cooldowntime","name": "@s"},"color":"yellow"},"\u00a7et"] +execute as @a[scores={cooldowntime=1..},team=play.zombie] at @s run scoreboard players remove @s cooldowntime 1 + +execute as @a[scores={use.skill=1..},team=play.zombie] at @s run scoreboard players add @s cooldowntime 0 +execute as @a[scores={use.skill=1..,cooldowntime=..0},team=play.zombie] at @s run function minecraft:gun/guns +scoreboard players reset @a[scores={use.skill.2=1..}] use.skill.2 + +execute if score sur.state state matches 1.. in airworld run function surgame:tick + +execute as @a[scores={use.skill=1..},level=1..,team=hide.play.hun] at @s run title @s actionbar ["\u00a7c\u00a7l技能还在冷却。"] +execute as @a[scores={use.skill=1..},level=1..,team=hide.play.ani] at @s run title @s actionbar ["\u00a7c\u00a7l变身冷却中。"] +execute as @a[scores={use.skill=1..},level=1..,team=hide.play.hun] at @s run playsound entity.enderman.teleport player @s +execute as @a[scores={use.skill=1..},level=1..,team=hide.play.ani] at @s run playsound entity.enderman.teleport player @s + +execute as @a[scores={use.skill=1..},level=1..,team=play.live.runner] at @s run playsound entity.enderman.teleport player @s +execute as @a[scores={use.skill=1..},level=1..,team=play.live.runner] at @s run title @s actionbar ["\u00a7c\u00a7l技能还在冷却。"] +execute as @a[scores={use.skill=1..},level=1..,team=play.live.runner] at @s run scoreboard players reset @s use.skill +# scoreboard players reset @a[scores={use.skill=1..}] use.skill + +execute as @a[scores={use.skill=1..},level=1..,team=play.live.killer] at @s run playsound entity.enderman.teleport player @s +execute as @a[scores={use.skill=1..},level=1..,team=play.live.killer] at @s run title @s actionbar ["\u00a7c\u00a7l技能还在冷却。"] +execute as @a[scores={use.skill=1..},level=1..,team=play.live.killer] at @s run scoreboard players reset @s use.skill +# scoreboard players reset @a[scores={use.skill=1..}] use.skill + + +execute as @a[scores={use.skill=1..},level=1..,team=job_pvp] at @s run playsound entity.enderman.teleport player @s +execute as @a[scores={use.skill=1..},level=1..,team=job_pvp] at @s run title @s actionbar ["\u00a7c\u00a7l技能还在冷却。"] +execute as @a[scores={use.skill=1..},level=1..,team=job_pvp] at @s run scoreboard players reset @s use.skill + +scoreboard players reset @a[scores={use.skill=1..}] use.skill +tag @a[tag=action.sneaking] remove action.sneaking +execute as @a[scores={sneaking=1..}] run tag @s add action.sneaking +execute as @a[scores={sneaking=1..}] run scoreboard players reset @s sneaking +execute if score desk.state state matches 1.. run function minecraft:desk/tick +execute if score repel state matches 1..1 run function minecraft:repel/main +execute in killerworld if score twolf.state state matches 1.. run function minecraft:twolf/tick +scoreboard players add tick tick 1 +execute if score tick tick matches 4 run function minecraft:seconds/1 +execute if score tick tick matches 8 run function minecraft:seconds/2 +execute if score tick tick matches 12 run function minecraft:seconds/3 +execute if score tick tick matches 16 run function minecraft:seconds/4 +execute if score tick tick matches 20.. run function minecraft:second +effect give @a[team=play.repel] minecraft:resistance 1 25 true +effect give @a[team=pw.wait] minecraft:resistance 1 25 true +effect give @a[team=car.wait] minecraft:resistance 1 25 true +effect give @a[team=wait.repel] minecraft:resistance 1 25 true +kill @e[type=arrow,nbt={inGround:1b}] +kill @e[type=spectral_arrow,nbt={inGround:1b}] +# execute as @e[type=area_effect_cloud,tag=title] at @s run data modify +execute if score gametotal state matches 1.. run function minecraft:small_games/total/tick +# execute if score @a[team=wait.total] run function minecraft:small_games/total/tick + +execute as @a[scores={fireball=1..}] at @s run function snowtofire + +tag @a[tag=sneaking] remove sneaking +tag @a[scores={zombie.sneak=1..}] add sneaking +scoreboard players reset @a[tag=sneaking] zombie.sneak + +execute as @a[tag=join.snow] in overworld at @s run function snow/join +tag @a[tag=join.snow] remove join.snow + +effect give @a[team=wait.total] resistance 2 25 true +execute as @a[tag=join.livelongest] run tp @s 25 7 0 0 0 +execute as @a[tag=join.livelongest] run team leave @s +execute as @a[tag=join.livelongest] run tellraw @a ["\u00a7a\u00a7l[MESSAGE] \u00a7a",{"selector":"@s","color":"gray"},"\u00a7e joined \u00a76Live Longest \u00a7e."] + +tellraw @a[tag=GOABLE.SPEC,tag=join.livelongest] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @a[tag=GOABLE.SPEC,tag=join.livelongest] at @s run gamemode spectator +execute as @a[tag=join.livelongest] run team join wait.live @s +execute as @a[tag=join.livelongest] run tag @s remove join.livelongest + +execute if score pw.state state matches 1.. run function minecraft:poolwar/tick +execute if score car.state state matches 1.. run function minecraft:car_race/tick +# execute if score pw.state state matches 1.. run function minecraft:poolwar/tick +execute as @a[tag=parkouring,team=!lobby] run function npark/cancel +execute as @a[tag=mazing,team=!lobby] run function maze/cancelnottp +kill @e[type=item,nbt={Item:{tag:{park:1}}}] + +scoreboard players reset @a[scores={die=1..},tag=!bw.play] die + +execute as @e[tag=getnbt,type=marker] at @s run function test/shownbt + +execute if score hide2.state state matches 1.. run function minecraft:hide2/tick + +execute in overworld as @a[x=137,y=89,z=-158,dx=2,dy=2,dz=2,gamemode=adventure] at @s run function hide2/died + + +scoreboard players reset @a[tag=!bw.play] bw.kill + +execute in hungerworld as @a[x=101,y=-60,z=0,distance=..2] at @s run function hunger/died + +execute as @e[type=minecart,tag=lobby.car] at @s if block ~ ~-1 ~ piston_head run data modify entity @s Motion[2] set value -1.0 + +execute positioned 29 17 -4 as @a[distance=0..3,gamemode=adventure] at @s run function minecraft:live/ingame/died \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/o_f_tick.mcfunction b/datapacks/map_main/data/minecraft/functions/o_f_tick.mcfunction new file mode 100644 index 00000000..07b5a43b --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/o_f_tick.mcfunction @@ -0,0 +1,3 @@ +execute as @a[team=play.zombie,gamemode=adventure] run function zombieever/guninfo +execute if score color.state state matches 1.. run function minecraft:color/half_second +execute if score desk.state state matches 1.. run function minecraft:desk/hftick diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/died.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/died.mcfunction new file mode 100644 index 00000000..7fb01bb7 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/died.mcfunction @@ -0,0 +1,4 @@ +tp @s -6 3 41 -90 0 +effect clear @s +tellraw @a[team=play.parkour] ["\u00a7a[INFO] \u00a7b玩家 ",{"selector":"@s"},"\u00a7c 死了。"] +playsound minecraft:entity.player.burp player @s \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/join.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/join.mcfunction new file mode 100644 index 00000000..12c5b73f --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/join.mcfunction @@ -0,0 +1,3 @@ +tp @s -5 41 67 180 0 +team join wait.parkour +tellraw @a[team=wait.parkour] [{"selector":"@s"},"\u00a7d 加入了游戏。"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/jointhegame.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/jointhegame.mcfunction new file mode 100644 index 00000000..0dd2a83b --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/jointhegame.mcfunction @@ -0,0 +1,4 @@ +tellraw @s ["\u00a7a[INFO] \u00a7b游戏已经开始了! 你已加入游戏 !"] +team join play.parkour @s +tellraw @a[team=play.parkour] ["\n",{"selector":"@s"},"\u00a7b 加入了 \u00a7aParkour Race\u00a7b.\n"] +function minecraft:parkourrace/died \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/over.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/over.mcfunction new file mode 100644 index 00000000..59116290 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/over.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set park.state state 0 +tellraw @a ["\u00a7a[INFO] \u00a7b[Parkour Race] \u00a7d游戏结束!"] +gamemode adventure @a[team=play.parkour] +execute as @a[team=play.parkour] run function minecraft:parkourrace/join \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/start.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/start.mcfunction new file mode 100644 index 00000000..6a528e9c --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/start.mcfunction @@ -0,0 +1,5 @@ +team join play.parkour @a[team=wait.parkour] +tp @a[team=play.parkour] -6 3 41 -90 0 +scoreboard players set park.state state 1 +tellraw @a ["\u00a7a[INFO] \u00a7bParkour Race \u00a7a开始了!"] +execute as @a[team=play.parkour] at @s run playsound minecraft:entity.ender_dragon.growl player @s \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/testfor.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/testfor.mcfunction new file mode 100644 index 00000000..7b440aa0 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/testfor.mcfunction @@ -0,0 +1 @@ +execute if score park.state state matches 1.. if score play.park.player tick matches ..0 run function minecraft:parkourrace/over \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/tick.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/tick.mcfunction new file mode 100644 index 00000000..40bcbb04 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/tick.mcfunction @@ -0,0 +1,18 @@ +execute as @a[team=play.parkour] at @s if block ~ ~-1 ~ minecraft:light_blue_concrete run effect give @s minecraft:speed 1 3 true +execute as @a[team=play.parkour] at @s if block ~ ~-1 ~ minecraft:lime_concrete run effect give @s minecraft:jump_boost 1 3 true + + +execute as @a[team=play.parkour,gamemode=adventure] at @s if block ~ ~-0.3 ~ minecraft:red_concrete run function minecraft:parkourrace/died +execute as @a[team=play.parkour,gamemode=adventure] at @s if block ~ ~-0.3 ~ minecraft:grass_block run function minecraft:parkourrace/died +execute as @a[team=play.parkour,gamemode=adventure] at @s if block ~ ~-0.3 ~ minecraft:black_stained_glass run function minecraft:parkourrace/died +execute as @a[team=play.parkour,gamemode=adventure] at @s if block ~ ~-0.3 ~ minecraft:oak_leaves run function minecraft:parkourrace/died +execute as @a[team=play.parkour,gamemode=adventure] at @s if block ~ ~-0.3 ~ minecraft:emerald_block run function minecraft:parkourrace/win + + +execute as @a[team=play.parkour] at @s if block ~ ~-1 ~ minecraft:black_concrete run effect give @s minecraft:levitation 1 4 true +execute as @a[team=play.parkour] at @s if block ~ ~-1 ~ minecraft:brown_concrete run effect give @s minecraft:slowness 2 2 true +execute as @a[team=play.parkour] at @s if block ~ ~-1 ~ minecraft:yellow_concrete run effect give @s minecraft:blindness 2 20 true +execute as @a[team=play.parkour] at @s if block ~ ~-1 ~ minecraft:glass run effect clear @s + +effect give @a[team=play.parkour] saturation 2 25 true +effect give @a[team=play.parkour] minecraft:resistance 2 25 true \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/trystart.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/trystart.mcfunction new file mode 100644 index 00000000..d7219f85 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/trystart.mcfunction @@ -0,0 +1,3 @@ +playsound ui.button.click player @s +execute if score park.state state matches 1..1 run function minecraft:parkourrace/jointhegame +execute unless score park.state state matches 1.. if score wait.park.player tick matches 1.. run function minecraft:parkourrace/start \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/parkourrace/win.mcfunction b/datapacks/map_main/data/minecraft/functions/parkourrace/win.mcfunction new file mode 100644 index 00000000..c658b6ae --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/parkourrace/win.mcfunction @@ -0,0 +1,3 @@ +gamemode spectator @s +tellraw @a[team=play.parkour] ["\n",{"selector":"@s"},"\u00a7a 完成了跑酷!\n"] +execute as @a[team=play.parkour] at @s run playsound minecraft:entity.player.levelup player @s \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/repel/givethings.mcfunction b/datapacks/map_main/data/minecraft/functions/repel/givethings.mcfunction new file mode 100644 index 00000000..359c6b0b --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/repel/givethings.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=play.repel] ["\u00a7a\u00a7lYou was be able to attack!"] +title @a[team=play.repel] title ["\u00a7e\u00a7lWARNING"] +title @a[team=play.repel] subtitle ["\u00a7rYou was be able to attack!"] +give @a[team=play.repel] minecraft:stick{display:{Name:'["§aRepel"]',Lore:['["§rUse it to Shoot Down Other Players"]']},HideFlags:63,Enchantments:[{id:"minecraft:knockback",lvl:1s}],AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"noName",Amount:4d,Operation:0,UUID:[I;4651,1568,3158,3284]}]} 1 +give @a[team=play.repel] minecraft:bow{display:{Name:'["§cRepel Bow"]',Lore:['["§rUse it to Shoot Down Other Players"]']},HideFlags:63,Enchantments:[{id:"minecraft:punch",lvl:1s}],AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"noName",Amount:4d,Operation:0,UUID:[I;4651,1568,3158,3284]}]} 1 +give @a[team=play.repel] arrow 15 +team modify play.repel friendlyFire true \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/repel/main.mcfunction b/datapacks/map_main/data/minecraft/functions/repel/main.mcfunction new file mode 100644 index 00000000..cd0321b4 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/repel/main.mcfunction @@ -0,0 +1,14 @@ +execute as @a[team=play.repel,gamemode=adventure] at @s if block ~ ~-2 ~ minecraft:orange_stained_glass run tag @s add out.repel +execute as @a[tag=out.repel] run tellraw @a[team=play.repel] [{"selector":"@s"},"\u00a7c 淘汰了 !"] +execute as @a[tag=out.repel] run scoreboard players operation @s number = cnt.repel number +execute as @a[tag=out.repel] run scoreboard players add cnt.repel number 1 +gamemode spectator @a[tag=out.repel] +clear @a[tag=out.repel] +tp @a[tag=out.repel] -94 40 62 0 90 +tag @a[tag=out.repel] remove out.repel +scoreboard players set play.repel.player tick 0 +execute as @a[team=play.repel,gamemode=adventure] run scoreboard players add play.repel.player tick 1 +execute unless score play.repel.player tick matches 2.. run function minecraft:repel/over + +execute as @a[team=play.repel,gamemode=adventure] at @s if block ~ ~-0.2 ~ end_portal_frame run playsound minecraft:entity.ender_dragon.flap player @s ~ ~ ~ 0.5 1 0.5 +execute as @a[team=play.repel,gamemode=adventure] at @s if block ~ ~-0.2 ~ end_portal_frame run effect give @s levitation 1 15 true \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/repel/over.mcfunction b/datapacks/map_main/data/minecraft/functions/repel/over.mcfunction new file mode 100644 index 00000000..d80e3d8e --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/repel/over.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set repel state 0 +execute as @a[team=play.repel,gamemode=adventure] run scoreboard players operation @s number = cnt.repel number +execute as @a[team=play.repel,gamemode=adventure] run scoreboard players add cnt.repel number 1 +tellraw @a ["\u00a76\u00a7l[GAMEOVER] \u00a7eRepeling War\u00a7a 结束了。胜利者: ",{"selector":"@a[team=play.repel,gamemode=adventure]"},"\n \u00a7b死亡顺序:"] +execute as @a[team=play.repel] run tellraw @a[team=play.repel] ["\u00a7a ",{"score":{"objective":"number","name":"@s"},"color":"red"},"\u00a7e -> ",{"selector":"@s"}] +title @a[team=play.repel,gamemode=adventure] title ["\u00a76You won!"] +title @a[team=play.repel,gamemode=spectator] title ["\u00a7c\u00a7lGAME OVER!"] +scoreboard players add @a[team=play.repel,gamemode=adventure,tag=play.total] score 1 +execute if entity @a[team=play.repel,tag=play.total] run function small_games/total/next_game +tag @a[team=play.repel,gamemode=!creative] add join.hit +schedule clear minecraft:repel/givethings +#/summon armor_stand ~ ~-1.98 ~ {NoGravity:1b,Invisible:1b,Passengers:[{Tags:["block_entity"],Invulnerable:1b,NoAI:1b,NoGravity:1b,PersistenceRequired:1b,id:"minecraft:falling_block",Time:-1000000,DropItem:true,BlockState:{Name:"orange_wool"}}]} +#minecraft:orange_stained_glass \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/repel/start.mcfunction b/datapacks/map_main/data/minecraft/functions/repel/start.mcfunction new file mode 100644 index 00000000..e1c07824 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/repel/start.mcfunction @@ -0,0 +1,16 @@ +scoreboard players set repel state 1 +scoreboard players set cnt.repel number 1 +scoreboard players set start.repel.second tick 30 +execute as @a[team=wait.repel,gamemode=adventure] run spreadplayers -93 62 0 20 under 42 false @s + +team join play.repel @a[team=wait.repel,gamemode=adventure] +tellraw @a ["\u00a7b\u00a7l[GAMESTART] \u00a7eRepeling War\u00a7a 开始了!"] +title @a[team=play.repel] title ["\u00a7e\u00a7lRepeling War"] +team modify play.repel friendlyFire false +title @a[team=play.repel] subtitle ["\u00a7r将其他玩家击退下去!"] +tellraw @a[team=play.repel] ["\u00a7c你将在\u00a7610 s\u00a7c后获得武器。"] +tellraw @a[team=play.repel] ["\n\u00a76提示:如果您使用投影MOD,建议在设置中更换绑定物品,避免导致无法游戏。\n"] +schedule function minecraft:repel/givethings 10s + +tellraw @a[tag=GOABLE.SPEC,team=play.repel] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @a[tag=GOABLE.SPEC,team=play.repel] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/second.mcfunction b/datapacks/map_main/data/minecraft/functions/second.mcfunction new file mode 100644 index 00000000..d1f3f8b6 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/second.mcfunction @@ -0,0 +1,44 @@ +scoreboard players set tick tick 0 + +scoreboard players add tick2 tick 1 +execute if score tick2 tick matches 4.. run function minecraft:tsecond +scoreboard players add tick3 tick 1 +execute if score tick3 tick matches 10.. run function minecraft:ttsecond +effect give @a[team=play.color] resistance 1 25 true +effect give @a[team=wait.color] resistance 1 25 true + + +execute store result bossbar minecraft:live value run scoreboard players get live.time live.all +execute if score live.state state matches 1..1 run scoreboard players add live.time live.all 1 + +execute if score park.state state matches 1.. run function minecraft:parkourrace/testfor +execute if score pw.state state matches 1.. run function minecraft:poolwar/second +function minecraft:snow/second +execute if score car.state state matches 1.. run function minecraft:car_race/second +execute as @e[tag=block_entity] run data merge entity @s {Time:100} + +execute as @e[type=minecart,tag=lobby.car] at @s if block ~ ~ ~ lava run kill @s + + +## Car +# execute as @e[tag=lobby.car.start] at @s unless entity @e[tag=lobby.car,type=!player,distance=0..1] run function lobby/spawncar +# execute as @e[tag=lobby.car.end] at @s run kill @e[tag=lobby.car,type=!player,distance=0..3] +xp add @a[team=play.live.runner,level=1..] -1 levels +xp add @a[team=play.live.killer,level=1..] -1 levels +effect give @a[team=wait.sur] resistance 2 25 true +execute if score golf.state state matches 1.. in golfworld run function golf/second +execute if score boat.state state matches 1.. in boatworld2 run function boat/second +execute if score sur.state state matches 1.. in airworld run function surgame:second +effect give @a[team=boat] resistance 3 25 true + +execute as @e[type=area_effect_cloud,tag=lobby] at @s run data merge entity @s {Duration:2147483647,Age:0} + +function foodparty:second +tag @a[team=lobby] add music.playing +tag @a[team=dropper] add music.playing +tag @a[team=chestgame] add music.playing +tag @a[team=parkour] add music.playing +tag @a[tag=music.playing,team=!lobby,team=!dropper,team=!parkour,team=!chestgame] remove music_kano +tag @a[tag=music.playing,team=!lobby,team=!dropper,team=!parkour,team=!chestgame] remove music_little_stars +tag @a[tag=music.playing,team=!lobby,team=!dropper,team=!parkour,team=!chestgame] remove music.playing +scoreboard players reset @a[tag=!music.playing] time \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/seconds/1.mcfunction b/datapacks/map_main/data/minecraft/functions/seconds/1.mcfunction new file mode 100644 index 00000000..6b8aeda9 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/seconds/1.mcfunction @@ -0,0 +1,33 @@ +# say 1 + +function o_f_tick +execute if score zombie.state state matches 1.. run function zombieever/o_f_tick + +spawnpoint @a[team=wait.zombie] -202 17 353 +spawnpoint @a[team=lobby] 188 124 26 0 + +scoreboard players set wait.hit.player tick 0 +execute as @a[team=wait.repel] run scoreboard players add wait.hit.player tick 1 + +scoreboard players set wait.live.player tick 0 +execute as @a[team=wait.live] run scoreboard players add wait.live.player tick 1 + +scoreboard players set wait.park.player tick 0 +execute as @a[team=wait.parkour] run scoreboard players add wait.park.player tick 1 + +execute if score zombie.debug state matches 1 run function zombieever/test/display +execute if score battle.state state matches 1.. in overworld run function battle/second + +effect give @a[team=wait.battle] resistance 5 25 true +effect give @a[team=wait.battle] regeneration 5 25 true + +effect give @a[team=wait.tntwars] resistance 5 25 true +effect give @a[team=play.tntwars] resistance 5 25 true + +effect give @a[team=hide.wait] resistance 9999 25 true +effect give @a[team=hide.wait2] resistance 9999 25 true +effect give @a[team=hide.killer] resistance 9999 25 true +effect give @a[team=hide.killer] strength 2 20 true +effect give @a[team=hide.killer] glowing 2 2 true + +execute if score btw.state state matches 1.. in overworld run function boatwars/second diff --git a/datapacks/map_main/data/minecraft/functions/seconds/2.mcfunction b/datapacks/map_main/data/minecraft/functions/seconds/2.mcfunction new file mode 100644 index 00000000..59877fa4 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/seconds/2.mcfunction @@ -0,0 +1,35 @@ +# say 2 + +execute if score hide2.state state matches 1.. run function minecraft:hide2/second + +execute if score tnt.state state matches 1.. run function minecraft:tntwars/second +tag @a[tag=wolf.tip] remove wolf.tip +tag @a[team=wolfpeople] add wolf.tip +tag @a[team=wait.wolfpeople] add wolf.tip +bossbar set minecraft:wolfkiller players +bossbar set minecraft:wolfkiller players @a[tag=wolf.tip] +bossbar set zombie:zombiecount players +bossbar set zombie:zombiecount players @a[team=play.zombie] + +execute if entity @a[team=dropper] in dropperworld run function dropper/second + +scoreboard players set play.park.player tick 0 +execute as @a[team=play.parkour,gamemode=adventure] run scoreboard players add play.park.player tick 1 + +execute if score chess.state state matches 1.. run function small_games/chess/second + +execute if score hide.state state matches 1.. run function hideseek/second + +execute unless score wait.hit.player tick matches 2.. run scoreboard players set start.repel.second tick 30 +execute if score wait.hit.player tick matches 2.. run scoreboard players remove start.repel.second tick 1 +execute unless score wait.hit.player tick matches 2.. run title @a[team=wait.repel] actionbar ["\u00a7bEvent : \u00a7a游戏开始 \u00a7e- \u00a76请等待更多玩家加入!"] +execute if score wait.hit.player tick matches 2.. run title @a[team=wait.repel] actionbar ["\u00a7bEvent : \u00a7a游戏开始 \u00a7e- ",{"score":{"objective":"tick","name":"start.repel.second"},"color":"gold"},"\u00a76s"] +execute if score start.repel.second tick matches ..1 run function minecraft:repel/start +effect give @a[team=lobby,scores={health=..19}] minecraft:instant_health 1 5 true +effect give @a minecraft:saturation 1 25 true +function o_f_tick + +execute in killerworld if score twolf.state state matches 1.. run function minecraft:twolf/second + +effect give @a[team=wait.wolfpeople] resistance 2 25 true +effect give @a[team=wolfpeople] resistance 2 25 true diff --git a/datapacks/map_main/data/minecraft/functions/seconds/3.mcfunction b/datapacks/map_main/data/minecraft/functions/seconds/3.mcfunction new file mode 100644 index 00000000..711a38f8 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/seconds/3.mcfunction @@ -0,0 +1,27 @@ +# say 3 +# execute if score zombie.state state matches 1 run function zombieever/o_f_tick +execute if score zombie.state state matches 1.. run function zombieever/o_f_tick + + +execute if score hunger.state state matches 1.. in hungerworld run function hunger/second +execute if score hunger.state state matches 0 in hungerworld run effect give @a[team=hunger] resistance 2 25 true +effect give @a[team=golf] resistance 2 25 true + +bossbar set minecraft:hungergame players @a[team=hunger] +function o_f_tick + +execute if score live.state state matches 1..1 run function minecraft:live/testfor +effect give @a[team=play.live.killer] minecraft:saturation 2 25 true +effect give @a[team=play.live.runner] minecraft:saturation 2 25 true +execute if score live.set.mode live.all matches 0..0 run effect give @a[team=play.live.killer] minecraft:glowing 2 1 true +execute if score live.state state matches 2..2 run scoreboard players remove givething live.all 1 +execute if score live.state state matches 2..2 run title @a[team=play.live.runner] actionbar ["\u00a7a你会在 ",{"score":{"objective":"live.all","name":"givething"},"color":"gold"},"\u00a76s \u00a7a后得到你的盔甲!"] +execute if score live.state state matches 2..2 if score givething live.all matches ..0 run function minecraft:live/givethings + +execute if score live.state state matches 3..3 run scoreboard players remove gamestart live.all 1 +execute if score live.state state matches 3..3 run title @a[team=play.live.runner] actionbar ["\u00a7a游戏将在 ",{"score":{"objective":"live.all","name":"gamestart"},"color":"gold"},"\u00a76s \u00a7a后正式开始!"] +execute if score live.state state matches 3..3 if score gamestart live.all matches ..0 run function minecraft:live/gamereallystart +execute if entity @a[team=wait.total] run function minecraft:small_games/total/start_second +# execute unless entity @a[team=wait.total] if entity @a[tag=play.total] run function minecraft:small_games/total/start_second +execute if score gametotal state matches 1.. run function minecraft:small_games/total/second +execute if score desk.state state matches 1.. run function minecraft:desk/second diff --git a/datapacks/map_main/data/minecraft/functions/seconds/4.mcfunction b/datapacks/map_main/data/minecraft/functions/seconds/4.mcfunction new file mode 100644 index 00000000..748acd5a --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/seconds/4.mcfunction @@ -0,0 +1,5 @@ +# setblock 121 120 60 minecraft:air +# /data get entity @s RootVehicle +# execute positioned 122 120 59 as @e[tag=lobby.car,type=minecart,distance=3..] run function lobby/car/detectdie +function o_f_tick +# execute positioned 122 120 59 as @e[tag=lobby.car,type=minecart,distance=..3] run function lobby/car/detectgo \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/check.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/check.mcfunction new file mode 100644 index 00000000..3c26460a --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/check.mcfunction @@ -0,0 +1,11 @@ +# execute run tellraw @a ["\u00a7b [SYS] 地图自检信息:"] +say §b [SYS] 地图自检信息: +function version/version1 +function minecraft:version/gamev +playsound entity.experience_orb.pickup player @s ~ ~ ~ 2 1 1 +scoreboard players set syserror board 0 +setblock 31 17 -10 air +setblock 31 15 -10 air +execute run tellraw @a ["\u00a78\u00a7o 检查是否支持命令方块中..."] +setblock 31 15 -10 command_block{Command:"/setblock 31 17 -10 redstone_block",auto:1b} replace +schedule function selfcheck/cmd 1s replace \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/check_random.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/check_random.mcfunction new file mode 100644 index 00000000..e9c81998 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/check_random.mcfunction @@ -0,0 +1,7 @@ +scoreboard players set tmp board 0 +execute as @e[tag=random_game,type=marker] run scoreboard players add tmp board 1 +tellraw @a ["\u00a7e随机数数量(大概在10个左右是正常的):",{"score":{"objective": "board","name": "tmp"},"color": "red"}] +tellraw @a ["\u00a76随机游戏(与随机数相关):",{"selector":"@e[tag=random_game]","color": "red"}] +execute if score tmp board matches 15.. run scoreboard players add syserror board 1 +execute if score tmp board matches 15.. run say §c [×] 随机数数量错误!§e解决办法:§f不要使用插件端,请使用forge服务端、§efabric服务端§f或者原版服务端! +function selfcheck/final diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/checkpack.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/checkpack.mcfunction new file mode 100644 index 00000000..164f5dd1 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/checkpack.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\n\u00a76 ※ \u00a7b资源包加载情况: [",{"translate":"optimizeWorld.stage.failed","color":"red"},"\u00a7b]\n"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/cmd.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/cmd.mcfunction new file mode 100644 index 00000000..2c72fdf8 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/cmd.mcfunction @@ -0,0 +1,6 @@ +execute if block 31 17 -10 redstone_block run say §a [√] 支持命令方块 + +execute unless block 31 17 -10 redstone_block run say §c [×] 不支持命令方块。解决方法:在服务器设置中启用命令方块。 +execute unless block 31 17 -10 redstone_block run scoreboard players add syserror board 1 +function selfcheck/give +function selfcheck/next diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/final.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/final.mcfunction new file mode 100644 index 00000000..f7ac9a79 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/final.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\u00a76 [SYS] 自检完成。结果:"] +execute if score syserror board matches 1.. run tellraw @a [" \u00a7e[!] \u00a7c发现 ",{"score":{"objective": "board","name": "syserror"},"color":"yellow"},"\u00a7c 个错误。"] +execute unless score syserror board matches 1.. run tellraw @a [" \u00a7a[OK] \u00a76未发现错误。若有问题请向作者反馈!"] +say §6 [SYS] 自检完毕 + +execute as @a run function selfcheck/checkpack \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/give.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/give.mcfunction new file mode 100644 index 00000000..96543d58 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/give.mcfunction @@ -0,0 +1,3 @@ +# summon armor_stand 164 115 21 {Tags:["temp"]} +## 检测是否为 ess +give @a paper{display:{Name:'"\\u00a76服务器检测纸"'},testfor:1b} diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/next.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/next.mcfunction new file mode 100644 index 00000000..4447e9c1 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/next.mcfunction @@ -0,0 +1,8 @@ +tag @a[limit=1,sort=random] add check.sel +execute store result score check.tmp board run clear @a paper{testfor:1b} +execute if score check.tmp board matches 1.. run say §a [√] /give 命令未受影响 +execute unless entity @a[team=lobby] run say §e [-] /give 命令暂时无法检测:服务器大厅无人。§6解决办法:请在服务器大厅有人时测试。 +execute if entity @a[team=lobby] unless score check.tmp board matches 1.. run say §c [×] /give 命令受到影响。§6解决方法:如果服务器无人,请等待服务器有人后重新执行检查命令;请删除 ESS 等修改指令的游戏插件。 +execute unless score check.tmp board matches 1.. run scoreboard players add syserror board 1 +tag @a remove check.sel +function selfcheck/teamtest \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/teamtest.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/teamtest.mcfunction new file mode 100644 index 00000000..e3fa3072 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/teamtest.mcfunction @@ -0,0 +1,11 @@ +scoreboard players set debug board 0 +execute if entity @a[team=lobby] run scoreboard players set debug board 1 +team join selfcheck.debug @a[team=lobby] +execute if entity @a[team=selfcheck.debug] run say §a [√] /team 命令未受影响 +execute unless entity @a[team=selfcheck.debug] if score debug board matches 0 run say §e [-] /team 命令暂时无法检测:服务器大厅无人。§6解决办法:请在服务器大厅有人时测试。 +execute unless entity @a[team=selfcheck.debug] if score debug board matches 1 run say §c [×] /team 命令受到影响。§6解决方法:§c请勿使用 Paper服务端,已知会出现问题(尤其是和某个皮肤补丁一起用);§6请删除 ESS 等修改指令的游戏插件。 +execute unless entity @a[team=selfcheck.debug] if score debug board matches 1 run scoreboard players add syserror board 1 +tag @a remove check.sel +function selfcheck/worldtest + +team join lobby @a[team=selfcheck.debug] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/selfcheck/worldtest.mcfunction b/datapacks/map_main/data/minecraft/functions/selfcheck/worldtest.mcfunction new file mode 100644 index 00000000..c24a46ca --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/selfcheck/worldtest.mcfunction @@ -0,0 +1,9 @@ +execute in airworld run forceload add 1 0 1 0 +execute in airworld run setblock 1 -64 0 air +execute in airworld run setblock 1 -64 0 diamond_block +execute in airworld if block 1 -64 0 diamond_block run say §a [√] 支持多世界 +execute in airworld unless block 1 -64 0 diamond_block run say §c [×] 不支持多世界。请使用原版/Fabric/Forge服务端。§6§l请不要添加修改原版命令的Mod、插件! +execute in airworld unless block 1 -64 0 diamond_block run scoreboard players add syserror board 1 +execute in airworld run forceload remove 1 0 1 0 + +function selfcheck/check_random \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/setup.mcfunction b/datapacks/map_main/data/minecraft/functions/setup.mcfunction new file mode 100644 index 00000000..b4fb88dd --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/setup.mcfunction @@ -0,0 +1,66 @@ +tellraw @a ["\u00a7b\u00a7l[Gamom Datapacks] \u00a7aReloaded successfully ! \u00a7e[Language: 简体中文]"] +function minecraft:bedwars/setup +scoreboard objectives remove level +scoreboard objectives remove sneaking +scoreboard objectives add sneaking minecraft.custom:minecraft.sneak_time +scoreboard objectives add level level +scoreboard objectives remove zombie.villager.click +scoreboard objectives add zombie.villager.click minecraft.custom:minecraft.talked_to_villager +scoreboard objectives remove hurt.1 +scoreboard objectives add hurt.1 minecraft.custom:minecraft.damage_taken +scoreboard objectives remove cooldowntime +scoreboard objectives add cooldowntime dummy ["冷却时间"] +scoreboard objectives remove zombie.hurt +scoreboard objectives add zombie.hurt minecraft.custom:damage_dealt "Zombie Damage" +scoreboard objectives remove spec +scoreboard objectives add spec trigger ["\u00a77全局旁观者操作"] +scoreboard objectives remove globle.game +scoreboard objectives remove quickplay +scoreboard objectives add quickplay trigger "快速加入" +scoreboard objectives add globle.game dummy "游戏ID,用于玩家重新加入" +scoreboard players set globle globle.game 1 +scoreboard objectives add old dummy "老玩家检测" +# game.total globle.game = globle globle.game +scoreboard objectives remove hub +scoreboard objectives remove rejoin +scoreboard objectives add hub trigger "\u00a7b回城操作" +scoreboard objectives add rejoin trigger "\u00a7e重新加入游戏操作" +scoreboard objectives remove xp +scoreboard objectives add xp level "经验等级" +bossbar remove minecraft:battle +bossbar add minecraft:battle "BATTLE GAME" +bossbar set minecraft:battle color green +bossbar set minecraft:battle max 60 +bossbar set minecraft:battle value 0 +# function selfcheck/check +say §b§l若您是第一次使用此地图,请管理员(或者控制台)先运行 §6/function selfcheck/check §b§l检查兼容情况。§a(建议在有玩家的情况下测试) +say 建议您安装 https://modrinth.com/mod/speech-manager-by-command-scoreboard 模组(仅需服务端),即可在需要的时候控制玩家说话,提升游戏体验感。 +function minecraft:version/version1 +function minecraft:version/gamev +# say §b§l若您是第一次使用此地图,请管理员(或者控制台)先运行 §6/function selfcheck/check §b§l查看兼容情况。 + +# function inits/reset_random +# function inits/resetuuid +kill @e[tag=lobby.car,type=minecart] + +execute in overworld run forceload add 0 0 + +# MOD: +## 0 for nothing; 1 ban other team; 2 ban own team; 4 ban /shout +scoreboard players set wait.wolfpeople BAMBOO_MOD_SAYING 0 +scoreboard players set wolfpeople BAMBOO_MOD_SAYING 0 +scoreboard players set bw.blue BAMBOO_MOD_SAYING 2 +scoreboard players set bw.wait BAMBOO_MOD_SAYING 2 +scoreboard players set bw.green BAMBOO_MOD_SAYING 2 +scoreboard players set bw.yellow BAMBOO_MOD_SAYING 2 +scoreboard players set bw.red BAMBOO_MOD_SAYING 2 +bossbar set minigames:bedwars players @a[tag=bw.player] + +gamerule maxCommandChainLength 114514 +gamerule disableElytraMovementCheck true + +forceload add 0 0 0 0 + +scoreboard objectives add touzi.count dummy "还能刷新几次骰子" + +execute unless score hunger.state state matches 1.. run execute in hungerworld run forceload remove all diff --git a/datapacks/map_main/data/minecraft/functions/skills.mcfunction b/datapacks/map_main/data/minecraft/functions/skills.mcfunction new file mode 100644 index 00000000..b001598d --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/skills.mcfunction @@ -0,0 +1,74 @@ +title @s actionbar ["\u00a7b\u00a7lSkills Actived"] +playsound ui.button.click player @s ~ ~ ~ 1 2 1 + +execute if entity @s[nbt={SelectedItem:{tag:{job:1}}}] run tag @s add skill.old +execute if entity @s[nbt={SelectedItem:{tag:{job:2}}}] run tag @s add skill.scientist +execute if entity @s[nbt={SelectedItem:{tag:{job:3}}}] run tag @s add skill.tp +execute if entity @s[nbt={SelectedItem:{tag:{job:4}}}] run tag @s add skill.creeper +execute if entity @s[nbt={SelectedItem:{tag:{job:7}}}] run tag @s add skill.7 +execute if entity @s[nbt={SelectedItem:{tag:{job:5}}}] run tag @s add skill.5 +execute if entity @s[nbt={SelectedItem:{tag:{job:6}}}] run tag @s add skill.6 +execute if entity @s[nbt={SelectedItem:{tag:{job:9}}}] run tag @s add skill.9 + +execute as @s[tag=skill.7] at @s run function gun/job_1/shoot +execute as @s[tag=skill.6] at @s run function gun/job_2/shoot +execute as @s[tag=skill.9] at @s run function skills/haerkala + +playsound minecraft:entity.ender_dragon.flap player @s[tag=skill.5] ~ ~ ~ 0.5 1 0.5 +# execute if entity @s[nbt={SelectedItem:{tag:{gun:1}}}] run tag @s add gun.1 +effect give @s[tag=skill.5] levitation 4 10 true +effect give @s[tag=skill.5] slow_falling 10 1 true +#custom model data: 18 + +effect give @s[tag=skill.scientist] speed 10 3 true +effect give @s[tag=skill.scientist] darkness 4 20 true +effect give @s[tag=skill.scientist] jump_boost 10 3 true +# 冷却 +execute as @s[tag=skill.old] run effect give @a[distance=0.5..7,team=job_pvp,gamemode=!creative] slowness 5 5 true +execute as @s[tag=skill.old] run effect give @a[distance=0.5..7,team=job_pvp,gamemode=!creative] blindness 5 5 true +execute as @s[tag=skill.old] run effect give @a[distance=0.5..7,team=job_pvp,gamemode=!creative] darkness 5 5 true +execute as @s[tag=skill.old] run effect give @a[distance=0.5..7,team=job_pvp,gamemode=!creative] poison 5 2 true +# execute as @s[tag=skill.old] run effect give @a[distance=0.5..7,team=job_pvp,gamemode=!creative] poison 5 5 true + +execute as @s[tag=skill.old] run title @a[distance=0.5..7,team=job_pvp,gamemode=!creative] title ["\u00a7c你被定住了。"] +execute as @s[tag=skill.old] run title @a[distance=0.5..7,team=job_pvp,gamemode=!creative] subtitle ["\u00a7e来自 ",{"selector":"@s"}," \u00a7e的范围技能"] +execute as @s[tag=skill.old] run particle minecraft:angry_villager ~ ~1 ~ 8 5 8 1 1000 force @a +execute as @s[tag=skill.tp] run particle minecraft:glow ~ ~ ~ 0 1 0 1 50 +execute as @s[tag=skill.tp] run particle minecraft:glow ~ ~ ~ 0 1 0 1 50 +execute as @s[tag=skill.tp] run tp @s @e[limit=1,tag=pvp.tp,sort=random] +# Creeper +execute as @s[tag=skill.creeper] run execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^2 {Tags:["f.tmp"]} +# execute if entity @s[team=job_pvp] anchored eyes run summon fireball ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +execute as @s[tag=skill.creeper] run execute anchored eyes run summon minecraft:spectral_arrow ^ ^ ^1 {Glowing:1b,damage:1d,pickup:0b,Passengers:[{id:"minecraft:creeper",CustomName:'["CREEPER"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Glowing:1b,powered:true,ignited:true,ExplosionRadius:2b,fuse:30s}],Tags:["f.new"]} +execute as @s[tag=skill.creeper] run execute as @e[tag=f.new] run data modify entity @s Owner set from entity @p[tag=skill.creeper] UUID +# execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,sort=nearest,tag=f.tmp] Pos +execute as @s[tag=skill.creeper] run execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,tag=f.tmp] Pos +tag @e[tag=f.new] remove f.new +# kill @e[type=snowball,distance=0..5,sort=nearest] +# scoreboard players reset @s fireball +kill @e[tag=f.tmp] +scoreboard players reset @s use.skill + +execute as @s[tag=skill.tp] at @s run playsound minecraft:entity.enderman.hurt player @s ~ ~ ~ 10 1 0.5 +execute as @s[tag=skill.old] at @s run playsound entity.ender_dragon.growl player @s ~ ~ ~ 1 1 1 +execute as @s[tag=skill.scientist] at @s run playsound entity.player.burp player @s ~ ~ ~ 1 1 1 +execute as @s[tag=skill.creeper] at @s run playsound entity.creeper.primed player @s ~ ~ ~ 1 1 1 + +xp set @s[tag=skill.tp] 30 levels +xp set @s[tag=skill.old] 30 levels +xp set @s[tag=skill.scientist] 25 levels +xp set @s[tag=skill.creeper] 20 levels +xp set @s[tag=skill.6] 20 levels +xp set @s[tag=skill.9] 45 levels +xp set @s[tag=skill.5] 30 levels +# execute as @s[tag=gun.1] run function gun/1/shoot + +tag @s remove skill.old +tag @s remove skill.7 +tag @s remove skill.6 +tag @s remove skill.5 +tag @s remove skill.scientist +tag @s remove skill.tp +tag @s remove skill.creeper +tag @s remove gun.1 +tag @s remove skill.9 diff --git a/datapacks/map_main/data/minecraft/functions/skills/haerkala.mcfunction b/datapacks/map_main/data/minecraft/functions/skills/haerkala.mcfunction new file mode 100644 index 00000000..7d98cf56 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/skills/haerkala.mcfunction @@ -0,0 +1,33 @@ +function lobby/getrandom1 + +# 1~11 + +execute if score random board matches ..1 run tellraw @s ["\u00a7c\u00a7l你喝下了它,觉得身体有了更多力量。"] +execute if score random board matches ..1 run effect give @s strength 15 1 true +execute if score random board matches 2 run tellraw @s ["\u00a7a\u00a7l你喝下了它,觉得身体更加轻盈。"] +execute if score random board matches 2 run effect give @s jump_boost 15 2 true +execute if score random board matches 3 run tellraw @s ["\u00a7b\u00a7l你喝下了它,觉得跑得更快了。"] +execute if score random board matches 3 run effect give @s speed 15 1 true +execute if score random board matches 4 run tellraw @s ["\u00a7c\u00a7l你喝下了它,觉得身体有点不适。"] +execute if score random board matches 4 run effect give @s minecraft:nausea 15 1 true +execute if score random board matches 5 run tellraw @s ["\u00a7f\u00a7l你喝下了它,觉得身体轻飘飘的。"] +execute if score random board matches 5 run effect give @s levitation 15 2 true +execute if score random board matches 5 run effect give @s slow_falling 20 2 true +execute if score random board matches 6 run tellraw @s ["\u00a72\u00a7l你喝下了它,觉得胃痛。"] +execute if score random board matches 6 run effect give @s resistance 1 25 true +execute if score random board matches 6 run effect give @s instant_damage 1 0 true +execute if score random board matches 7 run tellraw @s ["\u00a73\u00a7l你喝下了它,觉得身体倍儿棒。"] +execute if score random board matches 7 run effect give @s regeneration 15 2 true +execute if score random board matches 8 run tellraw @s ["\u00a76\u00a7l你喝下了它,觉得身体非常硬朗。"] +execute if score random board matches 8 run effect give @s resistance 15 1 true +execute if score random board matches 9 run tellraw @s ["\u00a7f\u00a7l你喝下了它,觉得身体非常轻盈。"] +execute if score random board matches 9 run effect give @s slow_falling 15 1 true +execute if score random board matches 10 run tellraw @s ["\u00a77\u00a7l你...下...它,觉...视力..."] +execute if score random board matches 10 run effect give @s blindness 15 1 true +execute if score random board matches 10 run effect give @s darkness 15 1 true +execute if score random board matches 11.. run tellraw @s ["\u00a7a\u00a7l你喝下了它,然后,啥也没发生。"] + +title @s actionbar ["\u00a7f你饮用了\u00a76\u00a7l哈尔克拉特制营养酒"] +stopsound @s * entity.ender_dragon.flap + +playsound minecraft:entity.wandering_trader.drink_potion player @s ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/snow/died.mcfunction b/datapacks/map_main/data/minecraft/functions/snow/died.mcfunction new file mode 100644 index 00000000..38a85139 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/snow/died.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c对不起,你死了。\n\u00a7a请等待下一局游戏!"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/snow/notenough.mcfunction b/datapacks/map_main/data/minecraft/functions/snow/notenough.mcfunction new file mode 100644 index 00000000..3301ba10 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/snow/notenough.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7c对不起,当前玩家数小于2 !"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/snow/over.mcfunction b/datapacks/map_main/data/minecraft/functions/snow/over.mcfunction new file mode 100644 index 00000000..a1d6bf44 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/snow/over.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set snow.state state 0 +tellraw @a ["\u00a7f[SNOW] \u00a7c游戏结束 ! \u00a7a获胜者: ",{"selector":"@a[team=play.snow,gamemode=adventure]"}] +title @a[team=play.snow,gamemode=adventure] title ["\u00a76You won!"] +title @a[team=play.snow,gamemode=spectator] title ["\u00a7c\u00a7lGAME OVER"] +scoreboard players add @a[team=play.snow,gamemode=adventure,tag=play.total] score 1 +execute if entity @a[team=play.snow,tag=play.total] run function small_games/total/next_game +gamemode adventure @a[team=play.snow] +execute as @a[team=play.snow] run function snow/join +gamemode adventure @a[team=wait.snow] +execute as @a[team=wait.snow] run function snow/join +kill @e[type=marker,tag=snow.disa] +function minecraft:snow/reset diff --git a/datapacks/map_main/data/minecraft/functions/snow/spec.mcfunction b/datapacks/map_main/data/minecraft/functions/snow/spec.mcfunction new file mode 100644 index 00000000..b6294e2a --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/snow/spec.mcfunction @@ -0,0 +1,2 @@ +gamemode spectator @s +tellraw @s ["\u00a7c抱歉!游戏已经开始了!\n\u00a7a请等待下一局游戏!"] \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/snowtofire.mcfunction b/datapacks/map_main/data/minecraft/functions/snowtofire.mcfunction new file mode 100644 index 00000000..4c021ed5 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/snowtofire.mcfunction @@ -0,0 +1,15 @@ + +# data modify entity @e[type=fireball,limit=1,sort=nearest] Motion set from entity @s Motion +# data modify entity @e[type=fireball,limit=1,sort=nearest] power set from entity @s Motion +# kill @s +execute as @s at @s positioned 0.0 0.0 0.0 run summon marker ^ ^ ^0.25 {Tags:["f.tmp"]} +execute if entity @s[team=job_pvp] anchored eyes run summon fireball ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +execute unless entity @s[team=job_pvp] anchored eyes run summon fireball ^ ^ ^1 {Tags:["f.new"],ExplosionPower:1} +execute as @e[tag=f.new] run data modify entity @s Owner set from entity @e[limit=1,sort=nearest,type=snowball] Owner +# execute as @e[tag=f.new] run data modify entity @s Motion set from entity @e[limit=1,sort=nearest,tag=f.tmp] Pos +execute as @e[tag=f.new] run data modify entity @s power set from entity @e[limit=1,tag=f.tmp] Pos +tag @e[tag=f.new] remove f.new +kill @e[type=snowball,distance=0..5,sort=nearest] +scoreboard players reset @s fireball +kill @e[tag=f.tmp] +# say 1 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/test/getegg.mcfunction b/datapacks/map_main/data/minecraft/functions/test/getegg.mcfunction new file mode 100644 index 00000000..6830116a --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/test/getegg.mcfunction @@ -0,0 +1 @@ +give @s minecraft:sheep_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["getnbt"]},display:{Name:'"\\u00a7aGet Block NBT"'}} 1 \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/test/shownbt.mcfunction b/datapacks/map_main/data/minecraft/functions/test/shownbt.mcfunction new file mode 100644 index 00000000..812c3007 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/test/shownbt.mcfunction @@ -0,0 +1,6 @@ +execute store result score tmp.x tick run data get entity @s Pos[0] +execute store result score tmp.y tick run data get entity @s Pos[1] +execute store result score tmp.z tick run data get entity @s Pos[2] +tellraw @a [{"score":{"name": "tmp.x","objective": "tick"},"color":"aqua"}," ",{"score":{"name": "tmp.x","objective": "tick"},"color":"aqua"}," ",{"score":{"name": "tmp.x","objective": "tick"},"color":"aqua"}] +kill @s + diff --git a/datapacks/map_main/data/minecraft/functions/tsecond.mcfunction b/datapacks/map_main/data/minecraft/functions/tsecond.mcfunction new file mode 100644 index 00000000..3999f032 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/tsecond.mcfunction @@ -0,0 +1,9 @@ +scoreboard players set tick2 tick 0 +effect give @a regeneration 2 1 true + + + + +give @a[team=play.live.killer,gamemode=adventure] arrow 1 + +# execute positioned 122 120 59 unless entity @e[tag=lobby.car,type=minecart,distance=0..10] run execute if block 123 121 59 stone_button[powered=true] run setblock 121 120 60 minecraft:air \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/ttsecond.mcfunction b/datapacks/map_main/data/minecraft/functions/ttsecond.mcfunction new file mode 100644 index 00000000..bbeb29c1 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/ttsecond.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set tick3 tick 0 +give @a[team=play.live.runner,gamemode=adventure] arrow 1 +# give arrow 1 +## 210 116 30 拉杆2 - 烟花 +execute if block 210 116 22 lever[powered=true] run function lobby/firework + +## 210 116 22 拉杆1 - 烟花 +execute if block 210 116 30 lever[powered=true] run function lobby/firework2 + +execute if score killer.state state matches 1.. run function minecraft:killerever/tsecond +execute if score tnt.state state matches 1.. run function minecraft:tntwars/longsecond +# item replace entity @a[team=hide.play.ani] inventory.26 with arrow + diff --git a/datapacks/map_main/data/minecraft/functions/twolf/rejoin.mcfunction b/datapacks/map_main/data/minecraft/functions/twolf/rejoin.mcfunction new file mode 100644 index 00000000..203db0df --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/twolf/rejoin.mcfunction @@ -0,0 +1,2 @@ +scoreboard players reset @s leave +function twolf/join \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/functions/version/gamev.mcfunction b/datapacks/map_main/data/minecraft/functions/version/gamev.mcfunction new file mode 100644 index 00000000..5ca11644 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/version/gamev.mcfunction @@ -0,0 +1 @@ +say §a§l当前地图兼容 Minecraft 游戏版本:§b§l1.20.4 diff --git a/datapacks/map_main/data/minecraft/functions/version/version.mcfunction b/datapacks/map_main/data/minecraft/functions/version/version.mcfunction new file mode 100644 index 00000000..7dfaed76 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/version/version.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7aMap Version: \u00a7b\u00a7l2024.04.05 (09:54:09)"] diff --git a/datapacks/map_main/data/minecraft/functions/version/version1.mcfunction b/datapacks/map_main/data/minecraft/functions/version/version1.mcfunction new file mode 100644 index 00000000..255aafd9 --- /dev/null +++ b/datapacks/map_main/data/minecraft/functions/version/version1.mcfunction @@ -0,0 +1 @@ +say §aMap Version: §b§l2024.04.05 (09:54:09) diff --git a/datapacks/map_main/data/minecraft/loot_tables/blocks/shulker_box.json b/datapacks/map_main/data/minecraft/loot_tables/blocks/shulker_box.json new file mode 100644 index 00000000..6bd49db1 --- /dev/null +++ b/datapacks/map_main/data/minecraft/loot_tables/blocks/shulker_box.json @@ -0,0 +1,72 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:dynamic", + "name": "contents", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:air", + "minecraft:diamond" + ], + "nbt": "{drop_contents:1b}" + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:shulker_box", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "source": "block_entity", + "ops": [ + { + "source": "Lock", + "target": "BlockEntityTag.Lock", + "op": "replace" + }, + { + "source": "LootTable", + "target": "BlockEntityTag.LootTable", + "op": "replace" + }, + { + "source": "LootTableSeed", + "target": "BlockEntityTag.LootTableSeed", + "op": "replace" + } + ] + }, + { + "function": "minecraft:set_contents", + "type": "minecraft:shulker_box", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/tags/blocks/gunblock.json b/datapacks/map_main/data/minecraft/tags/blocks/gunblock.json new file mode 100644 index 00000000..dcfbf6da --- /dev/null +++ b/datapacks/map_main/data/minecraft/tags/blocks/gunblock.json @@ -0,0 +1,69 @@ +{ + "replace": false, + "values": [ + "minecraft:copper_block", + "minecraft:copper_ore", + "minecraft:chain", + "minecraft:snow_block", + "minecraft:grass_block", + "minecraft:dirt", + "minecraft:snow", + "minecraft:mycelium", + "minecraft:fire", + "minecraft:powder_snow", + "minecraft:red_sand", + "minecraft:sand", + "minecraft:gravel", + "minecraft:rooted_dirt", + "minecraft:podzol", + "minecraft:coarse_dirt", + "minecraft:soul_sand", + "minecraft:dirt_path", + "minecraft:farmland", + "minecraft:soul_soil", + "minecraft:stone", + "minecraft:cobblestone", + "#minecraft:logs", + "#minecraft:leaves", + "#minecraft:doors", + "#minecraft:dirt", + "#minecraft:planks", + "#minecraft:stairs", + "minecraft:glass_pane", + "minecraft:bookshelf", + "minecraft:white_terracotta", + "#minecraft:walls", + "#minecraft:stone_bricks", + "#minecraft:logs", + "#minecraft:planks", + "minecraft:dirt", + "#minecraft:base_stone_overworld", + "#minecraft:beacon_base_blocks", + "#minecraft:leaves", + "#minecraft:wool", + "minecraft:end_stone", + "minecraft:dark_oak_planks", + "minecraft:obsidian", + "#minecraft:stainglass", + "minecraft:ladder", + "#minecraft:beds", + "#minecraft:bwstones", + "#minecraft:concrete", + "#minecraft:slabs", + "#minecraft:stairs", + "#minecraft:snowmineable", + "minecraft:brown_mushroom_block", + "minecraft:red_mushroom_block", + "#minecraft:terracottas", + "minecraft:diamond_block", + "minecraft:gold_block", + "minecraft:emerald_block", + "minecraft:iron_block", + "minecraft:lapis_block", + "minecraft:redstone_block", + "glass", + "glowstone", + "sea_lantern", + "prismarine" + ] +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/tags/entity_types/mobs.json b/datapacks/map_main/data/minecraft/tags/entity_types/mobs.json new file mode 100644 index 00000000..ca2879f7 --- /dev/null +++ b/datapacks/map_main/data/minecraft/tags/entity_types/mobs.json @@ -0,0 +1,27 @@ +{ + "replace": false, + "values": [ + "minecraft:ender_dragon", + "minecraft:spider", + "minecraft:cave_spider", + "minecraft:evoker", + "minecraft:pillager", + "minecraft:ravager", + "minecraft:vindicator", + "minecraft:illusioner", + "minecraft:witch", + "minecraft:skeleton", + "minecraft:stray", + "minecraft:zombie", + "minecraft:zombie_villager", + "minecraft:creeper", + "minecraft:enderman", + "minecraft:drowned", + "minecraft:ghast", + "minecraft:hoglin", + "minecraft:zoglin", + "minecraft:piglin", + "minecraft:piglin_brute", + "minecraft:wither_skeleton" + ] +} \ No newline at end of file diff --git a/datapacks/map_main/data/minecraft/tags/functions/load.json b/datapacks/map_main/data/minecraft/tags/functions/load.json new file mode 100644 index 00000000..4e7d3584 --- /dev/null +++ b/datapacks/map_main/data/minecraft/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "minecraft:setup" + ] +} diff --git a/datapacks/map_main/data/minecraft/tags/functions/tick.json b/datapacks/map_main/data/minecraft/tags/functions/tick.json new file mode 100644 index 00000000..fab5e5e0 --- /dev/null +++ b/datapacks/map_main/data/minecraft/tags/functions/tick.json @@ -0,0 +1,8 @@ +{ + "values": [ + "minecraft:main", + "minecraft:live/tick", + "minecraft:parkourrace/tick", + "minecraft:snow/tick" + ] +} diff --git a/datapacks/map_main/pack.mcmeta b/datapacks/map_main/pack.mcmeta new file mode 100644 index 00000000..de85a0c9 --- /dev/null +++ b/datapacks/map_main/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks 【MAIN】" + } +} \ No newline at end of file diff --git a/datapacks/map_rpg/data/rpg/functions/players/join.mcfunction b/datapacks/map_rpg/data/rpg/functions/players/join.mcfunction new file mode 100644 index 00000000..543a3e6d --- /dev/null +++ b/datapacks/map_rpg/data/rpg/functions/players/join.mcfunction @@ -0,0 +1,2 @@ +tellraw @s ["\n\u00a7c 此游戏需要 MiniGames RPG 附加包,但服务器尚未安装。\n \u00a76附加包介绍:",{"text":"[点击打开 GitLab]","color":"aqua","bold": true,"clickEvent": {"action":"open_url","value": "https://gitlab.com/wifi-left/map-minigames-rpg/-/blob/master/README.md"}},"\n"] +playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 \ No newline at end of file diff --git a/datapacks/map_rpg/pack.mcmeta b/datapacks/map_rpg/pack.mcmeta new file mode 100644 index 00000000..e40dc6fa --- /dev/null +++ b/datapacks/map_rpg/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks §c[RPG][UNLOADED]" + } +} \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/advancements/player_was_killed.json b/datapacks/map_surgame/data/surgame/advancements/player_was_killed.json new file mode 100644 index 00000000..a31033c7 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/advancements/player_was_killed.json @@ -0,0 +1,20 @@ +{ + "criteria": { + "player_died": { + "trigger": "minecraft:entity_killed_player", + "conditions": { + "player": { + "team": "play.sur" + } + } + } + }, + "requirements": [ + [ + "player_died" + ] + ], + "rewards": { + "function": "surgame:lootitem" + } +} \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/advancements/testfordeath.json b/datapacks/map_surgame/data/surgame/advancements/testfordeath.json new file mode 100644 index 00000000..91db278d --- /dev/null +++ b/datapacks/map_surgame/data/surgame/advancements/testfordeath.json @@ -0,0 +1,21 @@ +{ + "criteria": { + "Con1": { + "trigger": "minecraft:entity_killed_player", + "conditions": { + "entity": { + "team": "play.sur.zom", + "type": "player" + } + } + } + }, + "requirements": [ + [ + "Con1" + ] + ], + "rewards": { + "function": "surgame:ismedied" + } +} \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/changemode.mcfunction b/datapacks/map_surgame/data/surgame/functions/changemode.mcfunction new file mode 100644 index 00000000..d038f509 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/changemode.mcfunction @@ -0,0 +1,5 @@ +playsound ui.button.click player @s +scoreboard players add sur.zommode state 1 +execute if score sur.zommode state matches 2.. run scoreboard players set sur.zommode state 0 +execute if score sur.zommode state matches 1 run data modify block -43 182 -116 front_text.messages[1] set value '"\\u00a7c[感染模式]"' +execute if score sur.zommode state matches 0 run data modify block -43 182 -116 front_text.messages[1] set value '"\\u00a7a[竞赛模式]"' \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/died.mcfunction b/datapacks/map_surgame/data/surgame/functions/died.mcfunction new file mode 100644 index 00000000..c67e3455 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/died.mcfunction @@ -0,0 +1,6 @@ +# execute if score sur.zommode state matches 1 run +execute if score sur.zommode state matches 1 as @s[tag=!sur.killedbyzom,team=!play.sur.zom] run function surgame:out +execute if score sur.zommode state matches 1 as @s[team=play.sur.zom] run function surgame:joinzom +execute if score sur.zommode state matches 1 as @s[tag=sur.killedbyzom] run function surgame:joinzom +execute if score sur.zommode state matches 0 run function surgame:out +# execute if score sur.zommode state matches 0 run tellraw @s ["\n\u00a7c你淘汰了。\n"] \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/enablepvp.mcfunction b/datapacks/map_surgame/data/surgame/functions/enablepvp.mcfunction new file mode 100644 index 00000000..5fb45268 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/enablepvp.mcfunction @@ -0,0 +1,8 @@ +execute if score sur.zommode state matches 0 run team modify play.sur friendlyFire true +execute if score sur.zommode state matches 0 run tellraw @a[team=play.sur] ["\n\u00a7c PVP 已被启用。\n"] +execute if score sur.zommode state matches 0 run tellraw @a[team=play.sur.zom] ["\n\u00a7c PVP 已被启用。\n"] +execute if score sur.zommode state matches 1 run tellraw @a[team=play.sur] ["\n\u00a7c 一名玩家已被感染。\n"] +execute if score sur.zommode state matches 1 run tellraw @a[team=play.sur.zom] ["\n\u00a7c 一名玩家已被感染。\n"] +execute if score sur.zommode state matches 1 unless entity @a[team=play.sur.zom] run execute as @a[team=play.sur,limit=1,sort=random] run function surgame:joinzom +execute as @a[team=play.sur] at @s run playsound block.anvil.destroy player @a ~ ~ ~ 10 1 1 +schedule clear surgame:enablepvp \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/ismedied.mcfunction b/datapacks/map_surgame/data/surgame/functions/ismedied.mcfunction new file mode 100644 index 00000000..ec8e5b0e --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/ismedied.mcfunction @@ -0,0 +1,2 @@ +advancement revoke @s only surgame:testfordeath +tag @s[team=play.sur] add sur.killedbyzom \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/join.mcfunction b/datapacks/map_surgame/data/surgame/functions/join.mcfunction new file mode 100644 index 00000000..dd578493 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/join.mcfunction @@ -0,0 +1,17 @@ +execute in minecraft:airworld run tp @s -40 182 -116 0 0 +execute as @s at @s run playsound entity.player.levelup player @s +xp set @s 0 levels +xp set @s 0 points +title @s title ["\u00a79生存游戏"] +title @s subtitle ["\u00a77Survival game"] +tellraw @a [{"selector":"@s"},"\u00a7a 加入了\u00a79生存游戏\u00a7a队列。"] +team join wait.sur +gamemode adventure @s[gamemode=survival] +bossbar set surgame:time players @a[team=wait.sur] +clear @s +effect clear @s +execute if score sur.state state matches 1 run function surgame:spec +execute if score sur.state state matches 2 run function surgame:joinlist +execute if score sur.state state matches 3 run function surgame:spec +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/joinlist.mcfunction b/datapacks/map_surgame/data/surgame/functions/joinlist.mcfunction new file mode 100644 index 00000000..1b1a71dd --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/joinlist.mcfunction @@ -0,0 +1,5 @@ +tellraw @s ["\n\u00a7e 游戏正在进行重置,您已加入等待队列。\n"] +title @s times 0 200 0 +title @s title ["\u00a7e重置地图中..."] +title @s subtitle ["\u00a7a等待响应..."] +gamemode spectator @s \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/joinzom.mcfunction b/datapacks/map_surgame/data/surgame/functions/joinzom.mcfunction new file mode 100644 index 00000000..044ea621 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/joinzom.mcfunction @@ -0,0 +1,8 @@ +tellraw @s ["\u00a7c你已被感染。你的目标是:感染所有玩家。"] +gamemode adventure +execute in airworld run tp @s -68 -51 9 +team join play.sur.zom @s +tag @s remove sur.killedbyzom +tellraw @a[team=play.sur] ["\u00a7f\u00a7l感染 > ",{"selector":"@s"},"\u00a76 被感染了。"] +tellraw @a[team=wait.sur] ["\u00a7f\u00a7l感染 > ",{"selector":"@s"},"\u00a76 被感染了。"] +tellraw @a[team=play.sur.zom] ["\u00a7f\u00a7l感染 > ",{"selector":"@s"},"\u00a76 被感染了。"] diff --git a/datapacks/map_surgame/data/surgame/functions/lootitem.mcfunction b/datapacks/map_surgame/data/surgame/functions/lootitem.mcfunction new file mode 100644 index 00000000..e805122a --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/lootitem.mcfunction @@ -0,0 +1,19 @@ +# say @a[scores={bw.kill=1..},team=sur] +# scoreboard players reset @a[scores={bw.kill=1..},team=sur] bw.kill +advancement revoke @s only surgame:player_was_killed +team leave @s +tag @s add sur.sel +forceload add -46 3 -46 3 +data modify block -46 -20 3 front_text.messages[0] set value '[{"selector":"@a[tag=sur.sel]","color":"aqua"},"\\u00a7a 的背包"]' +forceload remove -46 3 -46 3 +team join play.sur @s +summon item ~ ~ ~ {Item:{id:"minecraft:bundle",Count:1b,tag:{surItem:1b}},Tags:["sur.loot.new"],CustomNameVisible:1b} +data modify entity @e[limit=1,type=item,tag=sur.loot.new] Item.tag.Items set from entity @s Inventory +data modify entity @e[limit=1,type=item,tag=sur.loot.new] Item.tag.display.Name set from block -46 -20 3 front_text.messages[0] +data modify entity @e[limit=1,type=item,tag=sur.loot.new] CustomName set from block -46 -20 3 front_text.messages[0] +tag @e[tag=sur.loot.new] remove sur.loot.new +# execute as @a[team=sur] if predicate minecraft:sur/killed +scoreboard players reset @s die +tag @s remove sur.sel +clear @s +tellraw @s ["\u00a7c你的物品已经掉落。"] \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/out.mcfunction b/datapacks/map_surgame/data/surgame/functions/out.mcfunction new file mode 100644 index 00000000..0160dc94 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/out.mcfunction @@ -0,0 +1,5 @@ +gamemode spectator @s +tellraw @s ["\n\u00a7c你淘汰了。\n"] +tellraw @a[team=play.sur] ["\u00a7b\u00a7l玩家淘汰 > ",{"selector":"@s"},"\u00a7c淘汰了。"] +tellraw @a[team=play.sur.zom] ["\u00a7b\u00a7l玩家淘汰 > ",{"selector":"@s"},"\u00a7c淘汰了。"] +tellraw @a[team=wait.sur] ["\u00a7b\u00a7l玩家淘汰 > ",{"selector":"@s"},"\u00a7c淘汰了。"] \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/over/normal.mcfunction b/datapacks/map_surgame/data/surgame/functions/over/normal.mcfunction new file mode 100644 index 00000000..cc7e0e90 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/over/normal.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\u00a79生存游戏 > \u00a7c游戏结束。\n\u00a76获胜者:",{"selector":"@a[gamemode=survival,team=play.sur]"},""] +title @a[team=play.sur] title ["\u00a7cGame Over"] +title @a[team=play.sur.zom] title ["\u00a7cGame Over"] +title @a[team=wait.sur] title ["\u00a7cGame Over"] +title @a[gamemode=survival,team=play.sur] title ["\u00a76You won!"] +function surgame:over/over \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/over/over.mcfunction b/datapacks/map_surgame/data/surgame/functions/over/over.mcfunction new file mode 100644 index 00000000..e3f2314f --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/over/over.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set sur.state state 3 +tag @a[team=play.sur] add surback +tag @a[team=wait.sur] add surback +tag @a[team=play.sur.zom] add surback +gamemode spectator @a[tag=surback] +tag @a remove surback +schedule function surgame:over/tp 5s +schedule clear surgame:enablepvp +bossbar set surgame:time name ["\u00a79生存游戏 \u00a7aSurvival Game"] +bossbar set surgame:time max 1 +bossbar set surgame:time value 1 +bossbar set surgame:time players @a[team=wait.sur] +tag @a remove sur.killedbyzom \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/over/playerwin.mcfunction b/datapacks/map_surgame/data/surgame/functions/over/playerwin.mcfunction new file mode 100644 index 00000000..ab4d0fe2 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/over/playerwin.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\u00a79生存游戏 > \u00a7c游戏结束。\n\u00a76获胜者:幸存者队 (",{"selector":"@a[gamemode=survival,team=play.sur]"},")"] +title @a[team=play.sur] title ["\u00a7cGame Over"] +title @a[team=play.sur.zom] title ["\u00a7cGame Over"] +title @a[team=wait.sur] title ["\u00a7cGame Over"] +title @a[gamemode=survival,team=play.sur] title ["\u00a76You won!"] +function surgame:over/over \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/over/special.mcfunction b/datapacks/map_surgame/data/surgame/functions/over/special.mcfunction new file mode 100644 index 00000000..6c2a9304 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/over/special.mcfunction @@ -0,0 +1,5 @@ +tellraw @a ["\n\u00a79生存游戏 > \u00a7c游戏结束。\n\u00a76获胜者:",{"selector":"@a[gamemode=survival,team=play.sur]"},""] +title @a[team=play.sur] title ["\u00a7cGame Over"] +title @a[team=play.sur.zom] title ["\u00a7cGame Over"] +title @a[team=wait.sur] title ["\u00a7cGame Over"] +function surgame:over/over \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/over/tp.mcfunction b/datapacks/map_surgame/data/surgame/functions/over/tp.mcfunction new file mode 100644 index 00000000..eaecb5fe --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/over/tp.mcfunction @@ -0,0 +1,11 @@ +tag @a[team=play.sur] add surback +tag @a[team=wait.sur] add surback +tag @a[team=play.sur.zom] add surback +clear @a[tag=surback] +scoreboard players set sur.state state 0 +gamemode adventure @a[tag=surback] +execute as @a[tag=surback] run function surgame:join +tag @a remove surback +schedule clear surgame:enablepvp +schedule clear surgame:reset/process +schedule clear surgame:reset/start diff --git a/datapacks/map_surgame/data/surgame/functions/over/zomwin.mcfunction b/datapacks/map_surgame/data/surgame/functions/over/zomwin.mcfunction new file mode 100644 index 00000000..ae4e1ace --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/over/zomwin.mcfunction @@ -0,0 +1,6 @@ +tellraw @a ["\u00a79生存游戏 > \u00a7c游戏结束。\n\u00a76获胜者:僵尸队 (",{"selector":"@a[team=play.sur.zom]"},")"] +title @a[team=play.sur] title ["\u00a7cGame Over"] +title @a[team=play.sur.zom] title ["\u00a7cGame Over"] +title @a[team=wait.sur] title ["\u00a7cGame Over"] +title @a[team=play.sur.zom] title ["\u00a76You won!"] +function surgame:over/over \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/reset/end.mcfunction b/datapacks/map_surgame/data/surgame/functions/reset/end.mcfunction new file mode 100644 index 00000000..2946c3ea --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/reset/end.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=wait.sur] ["\u00a7a重置地图完毕!"] +title @a[team=wait.sur] reset +title @a[team=wait.sur] title ["\u00a7b地图重置完毕"] +title @a[team=wait.sur] subtitle ["\u00a7a等待下一步响应..."] +scoreboard players set sur.reset board -64 +execute in airworld run forceload remove -104 -142 0 1 +execute in airworld run forceload remove -103 28 1 171 +function surgame:startafterreset diff --git a/datapacks/map_surgame/data/surgame/functions/reset/process.mcfunction b/datapacks/map_surgame/data/surgame/functions/reset/process.mcfunction new file mode 100644 index 00000000..269a730e --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/reset/process.mcfunction @@ -0,0 +1,250 @@ +execute in airworld if score sur.reset board matches -64 run clone -104 -64 1 0 -64 -142 -103 -64 28 +execute in airworld if score sur.reset board matches -63 run clone -104 -63 1 0 -63 -142 -103 -63 28 +execute in airworld if score sur.reset board matches -62 run clone -104 -62 1 0 -62 -142 -103 -62 28 +execute in airworld if score sur.reset board matches -61 run clone -104 -61 1 0 -61 -142 -103 -61 28 +execute in airworld if score sur.reset board matches -60 run clone -104 -60 1 0 -60 -142 -103 -60 28 +execute in airworld if score sur.reset board matches -59 run clone -104 -59 1 0 -59 -142 -103 -59 28 +execute in airworld if score sur.reset board matches -58 run clone -104 -58 1 0 -58 -142 -103 -58 28 +execute in airworld if score sur.reset board matches -57 run clone -104 -57 1 0 -57 -142 -103 -57 28 +execute in airworld if score sur.reset board matches -56 run clone -104 -56 1 0 -56 -142 -103 -56 28 +execute in airworld if score sur.reset board matches -55 run clone -104 -55 1 0 -55 -142 -103 -55 28 +execute in airworld if score sur.reset board matches -54 run clone -104 -54 1 0 -54 -142 -103 -54 28 +execute in airworld if score sur.reset board matches -53 run clone -104 -53 1 0 -53 -142 -103 -53 28 +execute in airworld if score sur.reset board matches -52 run clone -104 -52 1 0 -52 -142 -103 -52 28 +execute in airworld if score sur.reset board matches -51 run clone -104 -51 1 0 -51 -142 -103 -51 28 +execute in airworld if score sur.reset board matches -50 run clone -104 -50 1 0 -50 -142 -103 -50 28 +execute in airworld if score sur.reset board matches -49 run clone -104 -49 1 0 -49 -142 -103 -49 28 +execute in airworld if score sur.reset board matches -48 run clone -104 -48 1 0 -48 -142 -103 -48 28 +execute in airworld if score sur.reset board matches -47 run clone -104 -47 1 0 -47 -142 -103 -47 28 +execute in airworld if score sur.reset board matches -46 run clone -104 -46 1 0 -46 -142 -103 -46 28 +execute in airworld if score sur.reset board matches -45 run clone -104 -45 1 0 -45 -142 -103 -45 28 +execute in airworld if score sur.reset board matches -44 run clone -104 -44 1 0 -44 -142 -103 -44 28 +execute in airworld if score sur.reset board matches -43 run clone -104 -43 1 0 -43 -142 -103 -43 28 +execute in airworld if score sur.reset board matches -42 run clone -104 -42 1 0 -42 -142 -103 -42 28 +execute in airworld if score sur.reset board matches -41 run clone -104 -41 1 0 -41 -142 -103 -41 28 +execute in airworld if score sur.reset board matches -40 run clone -104 -40 1 0 -40 -142 -103 -40 28 +execute in airworld if score sur.reset board matches -39 run clone -104 -39 1 0 -39 -142 -103 -39 28 +execute in airworld if score sur.reset board matches -38 run clone -104 -38 1 0 -38 -142 -103 -38 28 +execute in airworld if score sur.reset board matches -37 run clone -104 -37 1 0 -37 -142 -103 -37 28 +execute in airworld if score sur.reset board matches -36 run clone -104 -36 1 0 -36 -142 -103 -36 28 +execute in airworld if score sur.reset board matches -35 run clone -104 -35 1 0 -35 -142 -103 -35 28 +execute in airworld if score sur.reset board matches -34 run clone -104 -34 1 0 -34 -142 -103 -34 28 +execute in airworld if score sur.reset board matches -33 run clone -104 -33 1 0 -33 -142 -103 -33 28 +execute in airworld if score sur.reset board matches -32 run clone -104 -32 1 0 -32 -142 -103 -32 28 +execute in airworld if score sur.reset board matches -31 run clone -104 -31 1 0 -31 -142 -103 -31 28 +execute in airworld if score sur.reset board matches -30 run clone -104 -30 1 0 -30 -142 -103 -30 28 +execute in airworld if score sur.reset board matches -29 run clone -104 -29 1 0 -29 -142 -103 -29 28 +execute in airworld if score sur.reset board matches -28 run clone -104 -28 1 0 -28 -142 -103 -28 28 +execute in airworld if score sur.reset board matches -27 run clone -104 -27 1 0 -27 -142 -103 -27 28 +execute in airworld if score sur.reset board matches -26 run clone -104 -26 1 0 -26 -142 -103 -26 28 +execute in airworld if score sur.reset board matches -25 run clone -104 -25 1 0 -25 -142 -103 -25 28 +execute in airworld if score sur.reset board matches -24 run clone -104 -24 1 0 -24 -142 -103 -24 28 +execute in airworld if score sur.reset board matches -23 run clone -104 -23 1 0 -23 -142 -103 -23 28 +execute in airworld if score sur.reset board matches -22 run clone -104 -22 1 0 -22 -142 -103 -22 28 +execute in airworld if score sur.reset board matches -21 run clone -104 -21 1 0 -21 -142 -103 -21 28 +execute in airworld if score sur.reset board matches -20 run clone -104 -20 1 0 -20 -142 -103 -20 28 +execute in airworld if score sur.reset board matches -19 run clone -104 -19 1 0 -19 -142 -103 -19 28 +execute in airworld if score sur.reset board matches -18 run clone -104 -18 1 0 -18 -142 -103 -18 28 +execute in airworld if score sur.reset board matches -17 run clone -104 -17 1 0 -17 -142 -103 -17 28 +execute in airworld if score sur.reset board matches -16 run clone -104 -16 1 0 -16 -142 -103 -16 28 +execute in airworld if score sur.reset board matches -15 run clone -104 -15 1 0 -15 -142 -103 -15 28 +execute in airworld if score sur.reset board matches -14 run clone -104 -14 1 0 -14 -142 -103 -14 28 +execute in airworld if score sur.reset board matches -13 run clone -104 -13 1 0 -13 -142 -103 -13 28 +execute in airworld if score sur.reset board matches -12 run clone -104 -12 1 0 -12 -142 -103 -12 28 +execute in airworld if score sur.reset board matches -11 run clone -104 -11 1 0 -11 -142 -103 -11 28 +execute in airworld if score sur.reset board matches -10 run clone -104 -10 1 0 -10 -142 -103 -10 28 +execute in airworld if score sur.reset board matches -9 run clone -104 -9 1 0 -9 -142 -103 -9 28 +execute in airworld if score sur.reset board matches -8 run clone -104 -8 1 0 -8 -142 -103 -8 28 +execute in airworld if score sur.reset board matches -7 run clone -104 -7 1 0 -7 -142 -103 -7 28 +execute in airworld if score sur.reset board matches -6 run clone -104 -6 1 0 -6 -142 -103 -6 28 +execute in airworld if score sur.reset board matches -5 run clone -104 -5 1 0 -5 -142 -103 -5 28 +execute in airworld if score sur.reset board matches -4 run clone -104 -4 1 0 -4 -142 -103 -4 28 +execute in airworld if score sur.reset board matches -3 run clone -104 -3 1 0 -3 -142 -103 -3 28 +execute in airworld if score sur.reset board matches -2 run clone -104 -2 1 0 -2 -142 -103 -2 28 +execute in airworld if score sur.reset board matches -1 run clone -104 -1 1 0 -1 -142 -103 -1 28 +execute in airworld if score sur.reset board matches 0 run clone -104 0 1 0 0 -142 -103 0 28 +execute in airworld if score sur.reset board matches 1 run clone -104 1 1 0 1 -142 -103 1 28 +execute in airworld if score sur.reset board matches 2 run clone -104 2 1 0 2 -142 -103 2 28 +execute in airworld if score sur.reset board matches 3 run clone -104 3 1 0 3 -142 -103 3 28 +execute in airworld if score sur.reset board matches 4 run clone -104 4 1 0 4 -142 -103 4 28 +execute in airworld if score sur.reset board matches 5 run clone -104 5 1 0 5 -142 -103 5 28 +execute in airworld if score sur.reset board matches 6 run clone -104 6 1 0 6 -142 -103 6 28 +execute in airworld if score sur.reset board matches 7 run clone -104 7 1 0 7 -142 -103 7 28 +execute in airworld if score sur.reset board matches 8 run clone -104 8 1 0 8 -142 -103 8 28 +execute in airworld if score sur.reset board matches 9 run clone -104 9 1 0 9 -142 -103 9 28 +execute in airworld if score sur.reset board matches 10 run clone -104 10 1 0 10 -142 -103 10 28 +execute in airworld if score sur.reset board matches 11 run clone -104 11 1 0 11 -142 -103 11 28 +execute in airworld if score sur.reset board matches 12 run clone -104 12 1 0 12 -142 -103 12 28 +execute in airworld if score sur.reset board matches 13 run clone -104 13 1 0 13 -142 -103 13 28 +execute in airworld if score sur.reset board matches 14 run clone -104 14 1 0 14 -142 -103 14 28 +execute in airworld if score sur.reset board matches 15 run clone -104 15 1 0 15 -142 -103 15 28 +execute in airworld if score sur.reset board matches 16 run clone -104 16 1 0 16 -142 -103 16 28 +execute in airworld if score sur.reset board matches 17 run clone -104 17 1 0 17 -142 -103 17 28 +execute in airworld if score sur.reset board matches 18 run clone -104 18 1 0 18 -142 -103 18 28 +execute in airworld if score sur.reset board matches 19 run clone -104 19 1 0 19 -142 -103 19 28 +execute in airworld if score sur.reset board matches 20 run clone -104 20 1 0 20 -142 -103 20 28 +execute in airworld if score sur.reset board matches 21 run clone -104 21 1 0 21 -142 -103 21 28 +execute in airworld if score sur.reset board matches 22 run clone -104 22 1 0 22 -142 -103 22 28 +execute in airworld if score sur.reset board matches 23 run clone -104 23 1 0 23 -142 -103 23 28 +execute in airworld if score sur.reset board matches 24 run clone -104 24 1 0 24 -142 -103 24 28 +execute in airworld if score sur.reset board matches 25 run clone -104 25 1 0 25 -142 -103 25 28 +execute in airworld if score sur.reset board matches 26 run clone -104 26 1 0 26 -142 -103 26 28 +execute in airworld if score sur.reset board matches 27 run clone -104 27 1 0 27 -142 -103 27 28 +execute in airworld if score sur.reset board matches 28 run clone -104 28 1 0 28 -142 -103 28 28 +execute in airworld if score sur.reset board matches 29 run clone -104 29 1 0 29 -142 -103 29 28 +execute in airworld if score sur.reset board matches 30 run clone -104 30 1 0 30 -142 -103 30 28 +execute in airworld if score sur.reset board matches 31 run clone -104 31 1 0 31 -142 -103 31 28 +execute in airworld if score sur.reset board matches 32 run clone -104 32 1 0 32 -142 -103 32 28 +execute in airworld if score sur.reset board matches 33 run clone -104 33 1 0 33 -142 -103 33 28 +execute in airworld if score sur.reset board matches 34 run clone -104 34 1 0 34 -142 -103 34 28 +execute in airworld if score sur.reset board matches 35 run clone -104 35 1 0 35 -142 -103 35 28 +execute in airworld if score sur.reset board matches 36 run clone -104 36 1 0 36 -142 -103 36 28 +execute in airworld if score sur.reset board matches 37 run clone -104 37 1 0 37 -142 -103 37 28 +execute in airworld if score sur.reset board matches 38 run clone -104 38 1 0 38 -142 -103 38 28 +execute in airworld if score sur.reset board matches 39 run clone -104 39 1 0 39 -142 -103 39 28 +execute in airworld if score sur.reset board matches 40 run clone -104 40 1 0 40 -142 -103 40 28 +execute in airworld if score sur.reset board matches 41 run clone -104 41 1 0 41 -142 -103 41 28 +execute in airworld if score sur.reset board matches 42 run clone -104 42 1 0 42 -142 -103 42 28 +execute in airworld if score sur.reset board matches 43 run clone -104 43 1 0 43 -142 -103 43 28 +execute in airworld if score sur.reset board matches 44 run clone -104 44 1 0 44 -142 -103 44 28 +execute in airworld if score sur.reset board matches 45 run clone -104 45 1 0 45 -142 -103 45 28 +execute in airworld if score sur.reset board matches 46 run clone -104 46 1 0 46 -142 -103 46 28 +execute in airworld if score sur.reset board matches 47 run clone -104 47 1 0 47 -142 -103 47 28 +execute in airworld if score sur.reset board matches 48 run clone -104 48 1 0 48 -142 -103 48 28 +execute in airworld if score sur.reset board matches 49 run clone -104 49 1 0 49 -142 -103 49 28 +execute in airworld if score sur.reset board matches 50 run clone -104 50 1 0 50 -142 -103 50 28 +execute in airworld if score sur.reset board matches 51 run clone -104 51 1 0 51 -142 -103 51 28 +execute in airworld if score sur.reset board matches 52 run clone -104 52 1 0 52 -142 -103 52 28 +execute in airworld if score sur.reset board matches 53 run clone -104 53 1 0 53 -142 -103 53 28 +execute in airworld if score sur.reset board matches 54 run clone -104 54 1 0 54 -142 -103 54 28 +execute in airworld if score sur.reset board matches 55 run clone -104 55 1 0 55 -142 -103 55 28 +execute in airworld if score sur.reset board matches 56 run clone -104 56 1 0 56 -142 -103 56 28 +execute in airworld if score sur.reset board matches 57 run clone -104 57 1 0 57 -142 -103 57 28 +execute in airworld if score sur.reset board matches 58 run clone -104 58 1 0 58 -142 -103 58 28 +execute in airworld if score sur.reset board matches 59 run clone -104 59 1 0 59 -142 -103 59 28 +execute in airworld if score sur.reset board matches 60 run clone -104 60 1 0 60 -142 -103 60 28 +execute in airworld if score sur.reset board matches 61 run clone -104 61 1 0 61 -142 -103 61 28 +execute in airworld if score sur.reset board matches 62 run clone -104 62 1 0 62 -142 -103 62 28 +execute in airworld if score sur.reset board matches 63 run clone -104 63 1 0 63 -142 -103 63 28 +execute in airworld if score sur.reset board matches 64 run clone -104 64 1 0 64 -142 -103 64 28 +execute in airworld if score sur.reset board matches 65 run clone -104 65 1 0 65 -142 -103 65 28 +execute in airworld if score sur.reset board matches 66 run clone -104 66 1 0 66 -142 -103 66 28 +execute in airworld if score sur.reset board matches 67 run clone -104 67 1 0 67 -142 -103 67 28 +execute in airworld if score sur.reset board matches 68 run clone -104 68 1 0 68 -142 -103 68 28 +execute in airworld if score sur.reset board matches 69 run clone -104 69 1 0 69 -142 -103 69 28 +execute in airworld if score sur.reset board matches 70 run clone -104 70 1 0 70 -142 -103 70 28 +execute in airworld if score sur.reset board matches 71 run clone -104 71 1 0 71 -142 -103 71 28 +execute in airworld if score sur.reset board matches 72 run clone -104 72 1 0 72 -142 -103 72 28 +execute in airworld if score sur.reset board matches 73 run clone -104 73 1 0 73 -142 -103 73 28 +execute in airworld if score sur.reset board matches 74 run clone -104 74 1 0 74 -142 -103 74 28 +execute in airworld if score sur.reset board matches 75 run clone -104 75 1 0 75 -142 -103 75 28 +execute in airworld if score sur.reset board matches 76 run clone -104 76 1 0 76 -142 -103 76 28 +execute in airworld if score sur.reset board matches 77 run clone -104 77 1 0 77 -142 -103 77 28 +execute in airworld if score sur.reset board matches 78 run clone -104 78 1 0 78 -142 -103 78 28 +execute in airworld if score sur.reset board matches 79 run clone -104 79 1 0 79 -142 -103 79 28 +execute in airworld if score sur.reset board matches 80 run clone -104 80 1 0 80 -142 -103 80 28 +execute in airworld if score sur.reset board matches 81 run clone -104 81 1 0 81 -142 -103 81 28 +execute in airworld if score sur.reset board matches 82 run clone -104 82 1 0 82 -142 -103 82 28 +execute in airworld if score sur.reset board matches 83 run clone -104 83 1 0 83 -142 -103 83 28 +execute in airworld if score sur.reset board matches 84 run clone -104 84 1 0 84 -142 -103 84 28 +execute in airworld if score sur.reset board matches 85 run clone -104 85 1 0 85 -142 -103 85 28 +execute in airworld if score sur.reset board matches 86 run clone -104 86 1 0 86 -142 -103 86 28 +execute in airworld if score sur.reset board matches 87 run clone -104 87 1 0 87 -142 -103 87 28 +execute in airworld if score sur.reset board matches 88 run clone -104 88 1 0 88 -142 -103 88 28 +execute in airworld if score sur.reset board matches 89 run clone -104 89 1 0 89 -142 -103 89 28 +execute in airworld if score sur.reset board matches 90 run clone -104 90 1 0 90 -142 -103 90 28 +execute in airworld if score sur.reset board matches 91 run clone -104 91 1 0 91 -142 -103 91 28 +execute in airworld if score sur.reset board matches 92 run clone -104 92 1 0 92 -142 -103 92 28 +execute in airworld if score sur.reset board matches 93 run clone -104 93 1 0 93 -142 -103 93 28 +execute in airworld if score sur.reset board matches 94 run clone -104 94 1 0 94 -142 -103 94 28 +execute in airworld if score sur.reset board matches 95 run clone -104 95 1 0 95 -142 -103 95 28 +execute in airworld if score sur.reset board matches 96 run clone -104 96 1 0 96 -142 -103 96 28 +execute in airworld if score sur.reset board matches 97 run clone -104 97 1 0 97 -142 -103 97 28 +execute in airworld if score sur.reset board matches 98 run clone -104 98 1 0 98 -142 -103 98 28 +execute in airworld if score sur.reset board matches 99 run clone -104 99 1 0 99 -142 -103 99 28 +execute in airworld if score sur.reset board matches 100 run clone -104 100 1 0 100 -142 -103 100 28 +execute in airworld if score sur.reset board matches 101 run clone -104 101 1 0 101 -142 -103 101 28 +execute in airworld if score sur.reset board matches 102 run clone -104 102 1 0 102 -142 -103 102 28 +execute in airworld if score sur.reset board matches 103 run clone -104 103 1 0 103 -142 -103 103 28 +execute in airworld if score sur.reset board matches 104 run clone -104 104 1 0 104 -142 -103 104 28 +execute in airworld if score sur.reset board matches 105 run clone -104 105 1 0 105 -142 -103 105 28 +execute in airworld if score sur.reset board matches 106 run clone -104 106 1 0 106 -142 -103 106 28 +execute in airworld if score sur.reset board matches 107 run clone -104 107 1 0 107 -142 -103 107 28 +execute in airworld if score sur.reset board matches 108 run clone -104 108 1 0 108 -142 -103 108 28 +execute in airworld if score sur.reset board matches 109 run clone -104 109 1 0 109 -142 -103 109 28 +execute in airworld if score sur.reset board matches 110 run clone -104 110 1 0 110 -142 -103 110 28 +execute in airworld if score sur.reset board matches 111 run clone -104 111 1 0 111 -142 -103 111 28 +execute in airworld if score sur.reset board matches 112 run clone -104 112 1 0 112 -142 -103 112 28 +execute in airworld if score sur.reset board matches 113 run clone -104 113 1 0 113 -142 -103 113 28 +execute in airworld if score sur.reset board matches 114 run clone -104 114 1 0 114 -142 -103 114 28 +execute in airworld if score sur.reset board matches 115 run clone -104 115 1 0 115 -142 -103 115 28 +execute in airworld if score sur.reset board matches 116 run clone -104 116 1 0 116 -142 -103 116 28 +execute in airworld if score sur.reset board matches 117 run clone -104 117 1 0 117 -142 -103 117 28 +execute in airworld if score sur.reset board matches 118 run clone -104 118 1 0 118 -142 -103 118 28 +execute in airworld if score sur.reset board matches 119 run clone -104 119 1 0 119 -142 -103 119 28 +execute in airworld if score sur.reset board matches 120 run clone -104 120 1 0 120 -142 -103 120 28 +execute in airworld if score sur.reset board matches 121 run clone -104 121 1 0 121 -142 -103 121 28 +execute in airworld if score sur.reset board matches 122 run clone -104 122 1 0 122 -142 -103 122 28 +execute in airworld if score sur.reset board matches 123 run clone -104 123 1 0 123 -142 -103 123 28 +execute in airworld if score sur.reset board matches 124 run clone -104 124 1 0 124 -142 -103 124 28 +execute in airworld if score sur.reset board matches 125 run clone -104 125 1 0 125 -142 -103 125 28 +execute in airworld if score sur.reset board matches 126 run clone -104 126 1 0 126 -142 -103 126 28 +execute in airworld if score sur.reset board matches 127 run clone -104 127 1 0 127 -142 -103 127 28 +execute in airworld if score sur.reset board matches 128 run clone -104 128 1 0 128 -142 -103 128 28 +execute in airworld if score sur.reset board matches 129 run clone -104 129 1 0 129 -142 -103 129 28 +execute in airworld if score sur.reset board matches 130 run clone -104 130 1 0 130 -142 -103 130 28 +execute in airworld if score sur.reset board matches 131 run clone -104 131 1 0 131 -142 -103 131 28 +execute in airworld if score sur.reset board matches 132 run clone -104 132 1 0 132 -142 -103 132 28 +execute in airworld if score sur.reset board matches 133 run clone -104 133 1 0 133 -142 -103 133 28 +execute in airworld if score sur.reset board matches 134 run clone -104 134 1 0 134 -142 -103 134 28 +execute in airworld if score sur.reset board matches 135 run clone -104 135 1 0 135 -142 -103 135 28 +execute in airworld if score sur.reset board matches 136 run clone -104 136 1 0 136 -142 -103 136 28 +execute in airworld if score sur.reset board matches 137 run clone -104 137 1 0 137 -142 -103 137 28 +execute in airworld if score sur.reset board matches 138 run clone -104 138 1 0 138 -142 -103 138 28 +execute in airworld if score sur.reset board matches 139 run clone -104 139 1 0 139 -142 -103 139 28 +execute in airworld if score sur.reset board matches 140 run clone -104 140 1 0 140 -142 -103 140 28 +execute in airworld if score sur.reset board matches 141 run clone -104 141 1 0 141 -142 -103 141 28 +execute in airworld if score sur.reset board matches 142 run clone -104 142 1 0 142 -142 -103 142 28 +execute in airworld if score sur.reset board matches 143 run clone -104 143 1 0 143 -142 -103 143 28 +execute in airworld if score sur.reset board matches 144 run clone -104 144 1 0 144 -142 -103 144 28 +execute in airworld if score sur.reset board matches 145 run clone -104 145 1 0 145 -142 -103 145 28 +execute in airworld if score sur.reset board matches 146 run clone -104 146 1 0 146 -142 -103 146 28 +execute in airworld if score sur.reset board matches 147 run clone -104 147 1 0 147 -142 -103 147 28 +execute in airworld if score sur.reset board matches 148 run clone -104 148 1 0 148 -142 -103 148 28 +execute in airworld if score sur.reset board matches 149 run clone -104 149 1 0 149 -142 -103 149 28 +execute in airworld if score sur.reset board matches 150 run clone -104 150 1 0 150 -142 -103 150 28 +execute in airworld if score sur.reset board matches 151 run clone -104 151 1 0 151 -142 -103 151 28 +execute in airworld if score sur.reset board matches 152 run clone -104 152 1 0 152 -142 -103 152 28 +execute in airworld if score sur.reset board matches 153 run clone -104 153 1 0 153 -142 -103 153 28 +execute in airworld if score sur.reset board matches 154 run clone -104 154 1 0 154 -142 -103 154 28 +execute in airworld if score sur.reset board matches 155 run clone -104 155 1 0 155 -142 -103 155 28 +execute in airworld if score sur.reset board matches 156 run clone -104 156 1 0 156 -142 -103 156 28 +execute in airworld if score sur.reset board matches 157 run clone -104 157 1 0 157 -142 -103 157 28 +execute in airworld if score sur.reset board matches 158 run clone -104 158 1 0 158 -142 -103 158 28 +execute in airworld if score sur.reset board matches 159 run clone -104 159 1 0 159 -142 -103 159 28 +execute in airworld if score sur.reset board matches 160 run clone -104 160 1 0 160 -142 -103 160 28 +execute in airworld if score sur.reset board matches 161 run clone -104 161 1 0 161 -142 -103 161 28 +execute in airworld if score sur.reset board matches 162 run clone -104 162 1 0 162 -142 -103 162 28 +execute in airworld if score sur.reset board matches 163 run clone -104 163 1 0 163 -142 -103 163 28 +execute in airworld if score sur.reset board matches 164 run clone -104 164 1 0 164 -142 -103 164 28 +execute in airworld if score sur.reset board matches 165 run clone -104 165 1 0 165 -142 -103 165 28 +execute in airworld if score sur.reset board matches 166 run clone -104 166 1 0 166 -142 -103 166 28 +execute in airworld if score sur.reset board matches 167 run clone -104 167 1 0 167 -142 -103 167 28 +execute in airworld if score sur.reset board matches 168 run clone -104 168 1 0 168 -142 -103 168 28 +execute in airworld if score sur.reset board matches 169 run clone -104 169 1 0 169 -142 -103 169 28 +execute in airworld if score sur.reset board matches 170 run clone -104 170 1 0 170 -142 -103 170 28 +execute in airworld if score sur.reset board matches 171 run clone -104 171 1 0 171 -142 -103 171 28 +execute in airworld if score sur.reset board matches 172 run clone -104 172 1 0 172 -142 -103 172 28 +execute in airworld if score sur.reset board matches 173 run clone -104 173 1 0 173 -142 -103 173 28 +execute in airworld if score sur.reset board matches 174 run clone -104 174 1 0 174 -142 -103 174 28 +execute in airworld if score sur.reset board matches 175 run clone -104 175 1 0 175 -142 -103 175 28 +execute in airworld if score sur.reset board matches 176 run clone -104 176 1 0 176 -142 -103 176 28 +execute in airworld if score sur.reset board matches 177 run clone -104 177 1 0 177 -142 -103 177 28 +execute in airworld if score sur.reset board matches 178 run clone -104 178 1 0 178 -142 -103 178 28 +execute in airworld if score sur.reset board matches 179 run clone -104 179 1 0 179 -142 -103 179 28 +execute in airworld if score sur.reset board matches 180 run clone -104 180 1 0 180 -142 -103 180 28 +scoreboard players add sur.reset board 1 +title @a[team=wait.sur] title ["\u00a7e正在重置地图中..."] +title @a[team=wait.sur] subtitle ["\u00a7b进度:",{"score":{"objective": "board","name": "sur.reset"},"color":"green"},"\u00a7b / \u00a7c180"] +execute if score sur.reset board matches ..180 run schedule function surgame:reset/process 1t +execute if score sur.reset board matches 181.. run function surgame:reset/end \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/reset/start.mcfunction b/datapacks/map_surgame/data/surgame/functions/reset/start.mcfunction new file mode 100644 index 00000000..63f7f6cd --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/reset/start.mcfunction @@ -0,0 +1,13 @@ +scoreboard players set sur.reset board -64 +tellraw @a[team=wait.sur] ["\u00a7e正在开始重置地图"] +title @a[team=wait.sur] times 0 200 0 +title @a[team=wait.sur] title ["\u00a7e重置地图中..."] +title @a[team=wait.sur] subtitle ["\u00a7a等待响应..."] +execute in airworld run forceload add -104 -142 0 1 +execute in airworld run forceload add -103 28 1 171 +scoreboard players set sur.state state 2 +schedule clear surgame:reset/process +schedule clear surgame:reset/start +team modify play.sur friendlyFire false +bossbar set surgame:time name ["\u00a79生存游戏 \u00a7aSurvival Game \u00a76- \u00a7e重置地图中..."] +function surgame:reset/process diff --git a/datapacks/map_surgame/data/surgame/functions/second.mcfunction b/datapacks/map_surgame/data/surgame/functions/second.mcfunction new file mode 100644 index 00000000..7029ca5e --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/second.mcfunction @@ -0,0 +1,37 @@ +execute in airworld run spawnpoint @a[team=play.sur] -46 -26 3 +execute in airworld run spawnpoint @a[team=play.sur.zom] -46 -26 3 + +tag @a[team=play.sur] add sur.needshow +tag @a[team=play.sur.zom] add sur.needshow +tag @a[team=wait.sur] add sur.needshow +bossbar set surgame:time players @a[tag=sur.needshow] +tag @a remove sur.needshow + +recipe give @a[team=play.sur] * +recipe give @a[team=play.sur.zom] * + +function compasstrack:second + +execute store result bossbar surgame:time value run scoreboard players get sur.time board +execute if score sur.state state matches 2 run bossbar set surgame:time name ["\u00a79生存游戏 \u00a7aSurvival Game \u00a76- \u00a7e重置地图中..."] +execute if score sur.state state matches 1 if score sur.zommode state matches 1 if score sur.time board matches ..180 run bossbar set surgame:time name ["\u00a79事件:\u00a7c僵尸变异 \u00a7b[",{"score":{"name": "sur.time","objective": "board"},"color":"green"},"\u00a7b/\u00a7e180\u00a7b]"] +# execute if score sur.state state matches 1 if score sur.zommode state matches 1 if score sur.time board matches ..180 run bossbar set surgame:time max 180 +execute if score sur.state state matches 1 if score sur.zommode state matches 0 if score sur.time board matches ..180 run bossbar set surgame:time name ["\u00a79事件:\u00a7c允许 PVP \u00a7b[",{"score":{"name": "sur.time","objective": "board"},"color":"green"},"\u00a7b/\u00a7e180\u00a7b]"] +execute if score sur.state state matches 1 if score sur.zommode state matches 1 if score sur.time board matches 181.. run bossbar set surgame:time name ["\u00a79事件:\u00a7a救援到来 \u00a7b[",{"score":{"name": "sur.time","objective": "board"},"color":"green"},"\u00a7b/\u00a7e",{"score":{"name": "sur.maxtime","objective": "board"},"color":"yellow"},"\u00a7b]"] + +scoreboard players operation sur.resettime board = sur.maxtime board +scoreboard players operation sur.resettime board -= sur.time board +execute if score sur.resettime board matches 120 run tellraw @a[team=play.sur] ["\u00a76现在僵尸能更轻松地找到你!"] +execute if score sur.resettime board matches 120 run tellraw @a[team=play.sur.zom] ["\u00a76现在你能更轻松地找到玩家!"] +execute if score sur.resettime board matches ..120 run effect give @a[team=play.sur] glowing 2 25 true + +execute if score sur.state state matches 1 run scoreboard players add sur.time board 1 +execute if score sur.state state matches 1 if score sur.zommode state matches 1 run function surgame:testfor/zombie +execute if score sur.state state matches 1 if score sur.zommode state matches 0 run function surgame:testfor/normal +execute as @a[team=play.sur.zom] at @s run team join play.sur.zom @e[type=zombie,distance=0..10] +execute as @a[team=play.sur.zom] at @s run team join play.sur.zom @e[type=skeleton,distance=0..10] +effect give @e[team=play.sur.zom] speed 2 0 true +effect give @e[team=play.sur.zom] jump_boost 2 1 true +effect give @e[team=play.sur.zom] minecraft:strength 3 2 true +effect give @e[team=play.sur.zom] minecraft:haste 3 0 true +effect give @e[team=play.sur] minecraft:haste 3 1 true diff --git a/datapacks/map_surgame/data/surgame/functions/spec.mcfunction b/datapacks/map_surgame/data/surgame/functions/spec.mcfunction new file mode 100644 index 00000000..ec9a55ca --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/spec.mcfunction @@ -0,0 +1,3 @@ +team join play.sur @s +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!\n\u00a7c请等待下一局游戏,或者使用\u00a76/trigger hub\u00a7c返回大厅。"] \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/start.mcfunction b/datapacks/map_surgame/data/surgame/functions/start.mcfunction new file mode 100644 index 00000000..17236a21 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/start.mcfunction @@ -0,0 +1,11 @@ +function surgame:reset/start +gamemode spectator @a[team=wait.sur] + +execute if score sur.zommode state matches 0 run tellraw @a[team=wait.sur] ["\n\u00a7a ※ 竞赛模式\n\u00a7b 击败其他玩家,留到最后,即可获胜。\n"] +execute if score sur.zommode state matches 1 run tellraw @a[team=wait.sur] ["\n\u00a7c ※ 感染模式\n\u00a7b 防止被僵尸感染,活到救援到来,即可获胜。\n"] +tag @a remove sur.killedbyzom +## 状态: +# 0: 游戏结束 +# 1: 游戏中 +# 2: 重置中 +# 3: 结束中 diff --git a/datapacks/map_surgame/data/surgame/functions/startafterreset.mcfunction b/datapacks/map_surgame/data/surgame/functions/startafterreset.mcfunction new file mode 100644 index 00000000..1e627b67 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/startafterreset.mcfunction @@ -0,0 +1,20 @@ +scoreboard players set sur.state state 1 +execute in airworld run kill @e[type=item,distance=0..] +execute as @a[team=wait.sur] run tp @s @e[limit=1,sort=random,tag=sur.tp,type=marker] +team join play.sur @a[team=wait.sur] +tellraw @a[team=play.sur] ["\n\u00a7e 目前 PVP 已被禁止。请留意特殊事件。\n"] +schedule function surgame:enablepvp 180s +team modify play.sur friendlyFire false +gamemode survival @a[team=play.sur,tag=!GOABLE.SPEC] +gamemode spectator @a[team=play.sur,tag=GOABLE.SPEC] +scoreboard players set wait.player tick 0 +execute as @a[team=play.sur,gamemode=survival] run scoreboard players add wait.player tick 1 +scoreboard players operation sur.maxtime board = wait.player tick +scoreboard players set 90 board 90 +scoreboard players set 600 board 600 +scoreboard players operation sur.maxtime board *= 90 board +scoreboard players operation sur.maxtime board += 600 board +execute if score sur.maxtime board matches 2400.. run scoreboard players set sur.maxtime board 2400 +execute store result bossbar surgame:time max run scoreboard players get sur.maxtime board +scoreboard players set sur.time board 0 +execute if score sur.zommode state matches 0 run bossbar set surgame:time max 180 diff --git a/datapacks/map_surgame/data/surgame/functions/testfor/normal.mcfunction b/datapacks/map_surgame/data/surgame/functions/testfor/normal.mcfunction new file mode 100644 index 00000000..6d33e81c --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/testfor/normal.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set sur.player tick 0 +execute as @a[team=play.sur,gamemode=survival] run scoreboard players add sur.player tick 1 +execute if score sur.player tick matches ..1 run function surgame:over/normal \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/testfor/zombie.mcfunction b/datapacks/map_surgame/data/surgame/functions/testfor/zombie.mcfunction new file mode 100644 index 00000000..5f3fcd17 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/testfor/zombie.mcfunction @@ -0,0 +1,8 @@ + +execute if score sur.time board >= sur.maxtime board run function surgame:over/playerwin +scoreboard players set sur.player tick 0 +execute as @a[team=play.sur,gamemode=survival] run scoreboard players add sur.player tick 1 +execute if score sur.player tick matches ..0 run function surgame:over/zomwin + +execute as @a[team=play.sur.zom] run scoreboard players add sur.player tick 1 +execute if score sur.player tick matches ..1 run function surgame:over/special diff --git a/datapacks/map_surgame/data/surgame/functions/tick.mcfunction b/datapacks/map_surgame/data/surgame/functions/tick.mcfunction new file mode 100644 index 00000000..542bfcf5 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/tick.mcfunction @@ -0,0 +1,10 @@ + +tag @a[nbt={Dimension:"minecraft:the_nether"},gamemode=!creative,team=play.sur] add sur.needtp +tag @a[nbt={Dimension:"minecraft:the_nether"},gamemode=!creative,team=play.sur.zom] add sur.needtp +tag @a[nbt={Dimension:"minecraft:the_end"},gamemode=!creative,team=play.sur] add sur.needtp +tag @a[nbt={Dimension:"minecraft:the_end"},gamemode=!creative,team=play.sur.zom] add sur.needtp +tellraw @a[tag=sur.needtp] ["\n\u00a7c 进入地狱是禁止的事情!\n"] +execute as @a[tag=sur.needtp] in airworld run tp @s @e[limit=1,sort=random,tag=sur.tp,type=marker] +tag @a remove sur.needtp + +function compasstrack:tick \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/trystart.mcfunction b/datapacks/map_surgame/data/surgame/functions/trystart.mcfunction new file mode 100644 index 00000000..e8b676f3 --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/trystart.mcfunction @@ -0,0 +1,11 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.sur,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score sur.state state matches 1 run function surgame:spec +execute if score sur.state state matches 2 run function surgame:joinlist +execute if score sur.state state matches 3 run function surgame:spec + +execute unless score sur.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score sur.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score sur.state state matches 1.. if score wait.player tick matches 2.. run function surgame:start \ No newline at end of file diff --git a/datapacks/map_surgame/data/surgame/functions/zomstart.mcfunction b/datapacks/map_surgame/data/surgame/functions/zomstart.mcfunction new file mode 100644 index 00000000..a10d132d --- /dev/null +++ b/datapacks/map_surgame/data/surgame/functions/zomstart.mcfunction @@ -0,0 +1,12 @@ +tp @s @e[limit=1,sort=random,tag=sur.tp,type=marker] +tellraw @s ["\n\u00a7e你获得了更多物资。\n"] +gamemode survival @s +give @s stone_sword 1 +give @s stone_pickaxe 1 +give @s stone_axe 1 +give @s stone_shovel 1 +give @s zombie_spawn_egg 2 +give @s skeleton_spawn_egg 2 +execute unless score sur.state state matches 1.. run scoreboard players set @s hub 1 +execute unless score sur.state state matches 1.. run tellraw @s ["\n\u00a7c游戏出错。你已返回大厅。\n"] +item replace entity @s armor.head with minecraft:zombie_head{Enchantments:[{id:"binding_curse",lvl:1}],AttributeModifiers:[{AttributeName:"generic.armor",Name:"noName",Amount:20d,Operation:0,UUID:[I;1041,1467,7334,9500],Slot:head},{AttributeName:"generic.armor_toughness",Name:"noName",Amount:4d,Operation:0,UUID:[I;2169,7724,3478,3358],Slot:head}]} \ No newline at end of file diff --git a/datapacks/map_surgame/note.txt b/datapacks/map_surgame/note.txt new file mode 100644 index 00000000..6b04396b --- /dev/null +++ b/datapacks/map_surgame/note.txt @@ -0,0 +1 @@ +/clone -104 -64 1 0 -64 -142 -103 -64 28 \ No newline at end of file diff --git a/datapacks/map_surgame/pack.mcmeta b/datapacks/map_surgame/pack.mcmeta new file mode 100644 index 00000000..7cd83481 --- /dev/null +++ b/datapacks/map_surgame/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks - 生存游戏" + } +} \ No newline at end of file diff --git a/datapacks/map_woolwars/data/woolwar/functions/died.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/died.mcfunction new file mode 100644 index 00000000..db0cdb36 --- /dev/null +++ b/datapacks/map_woolwars/data/woolwar/functions/died.mcfunction @@ -0,0 +1,5 @@ +# execute if score sur.zommode state matches 1 run +execute if score sur.zommode state matches 1 as @s[tag=!sur.killedbyzom] run function surgame:out +execute if score sur.zommode state matches 1 as @s[tag=sur.killedbyzom] run function surgame:joinzom +execute if score sur.zommode state matches 0 run function surgame:out +# execute if score sur.zommode state matches 0 run tellraw @s ["\n\u00a7c你淘汰了。\n"] \ No newline at end of file diff --git a/datapacks/map_woolwars/data/woolwar/functions/join.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/join.mcfunction new file mode 100644 index 00000000..74f633d3 --- /dev/null +++ b/datapacks/map_woolwars/data/woolwar/functions/join.mcfunction @@ -0,0 +1,17 @@ +execute in minecraft:airworld run tp @s -40 182 -116 0 0 +execute as @s at @s run playsound entity.player.levelup player @s +xp set @s 0 levels +xp set @s 0 points +title @s title ["\u00a76Wool Wars"] +title @s subtitle ["\u00a77PVP 小游戏"] +tellraw @a [{"selector":"@s"},"\u00a7a 加入了\u00a76Wool Wars\u00a7a队列。"] +team join wait.sur +gamemode adventure @s[gamemode=survival] +bossbar set surgame:time players @a[team=wait.sur] +clear @s +effect clear @s +execute if score sur.state state matches 1 run function surgame:spec +execute if score sur.state state matches 2 run function surgame:joinlist +execute if score sur.state state matches 3 run function surgame:spec +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator \ No newline at end of file diff --git a/datapacks/map_woolwars/data/woolwar/functions/second.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/second.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_woolwars/data/woolwar/functions/spec.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/spec.mcfunction new file mode 100644 index 00000000..e477f923 --- /dev/null +++ b/datapacks/map_woolwars/data/woolwar/functions/spec.mcfunction @@ -0,0 +1,3 @@ +# team join play.sur @s +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始了!\n\u00a7c请等待下一局游戏,或者使用\u00a76/trigger hub\u00a7c返回大厅。"] \ No newline at end of file diff --git a/datapacks/map_woolwars/data/woolwar/functions/start.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/start.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_woolwars/data/woolwar/functions/tick.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/tick.mcfunction new file mode 100644 index 00000000..e69de29b diff --git a/datapacks/map_woolwars/data/woolwar/functions/trystart.mcfunction b/datapacks/map_woolwars/data/woolwar/functions/trystart.mcfunction new file mode 100644 index 00000000..e8b676f3 --- /dev/null +++ b/datapacks/map_woolwars/data/woolwar/functions/trystart.mcfunction @@ -0,0 +1,11 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.sur,gamemode=adventure] run scoreboard players add wait.player tick 1 + +execute if score sur.state state matches 1 run function surgame:spec +execute if score sur.state state matches 2 run function surgame:joinlist +execute if score sur.state state matches 3 run function surgame:spec + +execute unless score sur.state state matches 1.. if score wait.player tick matches ..1 run tellraw @s ["\u00a7c人数不够!请等待至少2人!"] +execute unless score sur.state state matches 1.. if score wait.player tick matches ..1 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score sur.state state matches 1.. if score wait.player tick matches 2.. run function surgame:start \ No newline at end of file diff --git a/datapacks/map_woolwars/pack.mcmeta b/datapacks/map_woolwars/pack.mcmeta new file mode 100644 index 00000000..7b654ed1 --- /dev/null +++ b/datapacks/map_woolwars/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks - WoolWars" + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/airworld.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/airworld.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/airworld.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/bedwars_backup.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/bedwars_backup.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/bedwars_backup.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/boatworld2.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/boatworld2.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/boatworld2.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/dropperworld.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/dropperworld.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/dropperworld.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/golfworld.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/golfworld.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/golfworld.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/hungerworld.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/hungerworld.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/hungerworld.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/killerworld.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/killerworld.json new file mode 100644 index 00000000..682af5f7 --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/killerworld.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"the_void", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/lobby.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/lobby.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/lobby.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/data/minecraft/dimension/parkourworld.json b/datapacks/mulitiworld_datapack/data/minecraft/dimension/parkourworld.json new file mode 100644 index 00000000..90659e2c --- /dev/null +++ b/datapacks/mulitiworld_datapack/data/minecraft/dimension/parkourworld.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "flat", + "settings": { + "layers":[ + { + "block": "minecraft:air", + "height": 1 + } + ], + "biome":"plains", + "lakes":false, + "features": false, + "structure_overrides": [] + } + } +} \ No newline at end of file diff --git a/datapacks/mulitiworld_datapack/pack.mcmeta b/datapacks/mulitiworld_datapack/pack.mcmeta new file mode 100644 index 00000000..a6bb3177 --- /dev/null +++ b/datapacks/mulitiworld_datapack/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks - 其他维度修改" + } +} \ No newline at end of file diff --git a/datapacks/tag_pack_1_20_2/data/minecraft/tags/blocks/bwplace.json b/datapacks/tag_pack_1_20_2/data/minecraft/tags/blocks/bwplace.json new file mode 100644 index 00000000..fee15e18 --- /dev/null +++ b/datapacks/tag_pack_1_20_2/data/minecraft/tags/blocks/bwplace.json @@ -0,0 +1,83 @@ +{ + "replace": false, + "values": [ + "minecraft:copper_block", + "minecraft:copper_ore", + "minecraft:chain", + "minecraft:snow_block", + "minecraft:grass_block", + "minecraft:dirt", + "minecraft:snow", + "minecraft:mycelium", + "minecraft:fire", + "minecraft:powder_snow", + "minecraft:red_sand", + "minecraft:sand", + "minecraft:gravel", + "minecraft:rooted_dirt", + "minecraft:podzol", + "minecraft:coarse_dirt", + "minecraft:soul_sand", + "minecraft:dirt_path", + "minecraft:farmland", + "minecraft:soul_soil", + "minecraft:stone", + "minecraft:cobblestone", + "#minecraft:logs", + "#minecraft:leaves", + "#minecraft:doors", + "#minecraft:dirt", + "andesite", + "#minecraft:planks", + "#minecraft:rails", + "#minecraft:stairs", + "minecraft:ladder", + "minecraft:glass_pane", + "minecraft:torch", + "minecraft:bookshelf", + "#minecraft:fences", + "#minecraft:fence_gates", + "#minecraft:trapdoors", + "minecraft:white_terracotta", + "#minecraft:walls", + "#minecraft:stone_bricks", + "chiseled_stone_bricks", + "polished_andesite", + "#minecraft:logs", + "#minecraft:planks", + "minecraft:dirt", + "#minecraft:base_stone_overworld", + "#minecraft:coral_plants", + "#minecraft:replaceable", + "minecraft:tall_grass", + "#minecraft:beacon_base_blocks", + "#minecraft:leaves", + "#minecraft:bedblocks", + "#minecraft:flowers", + "#minecraft:beds", + "#minecraft:bwstones", + "#minecraft:concrete", + "#minecraft:slabs", + "#minecraft:wool_carpets", + "#minecraft:stairs", + "#minecraft:snowmineable", + "minecraft:brown_mushroom_block", + "minecraft:red_mushroom_block", + "#minecraft:terracottas", + "minecraft:diamond_block", + "minecraft:gold_block", + "minecraft:emerald_block", + "minecraft:iron_block", + "minecraft:lapis_block", + "minecraft:redstone_block", + "glass", + "smooth_stone", + "smooth_stone_slab", + "stone_slab", + "cobblestone_slab", + "mossy_cobblestone", + "polished_blackstone", + "glowstone", + "sea_lantern" + ] +} \ No newline at end of file diff --git a/datapacks/tag_pack_1_20_2/pack.mcmeta b/datapacks/tag_pack_1_20_2/pack.mcmeta new file mode 100644 index 00000000..faa8ea58 --- /dev/null +++ b/datapacks/tag_pack_1_20_2/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 18, + "description": "Map's Datapacks TAGS 1.20.2" + } +} \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/functions/tnt/lootblock.mcfunction b/datapacks/tntboom/data/cmdtnt/functions/tnt/lootblock.mcfunction new file mode 100644 index 00000000..591446ee --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/functions/tnt/lootblock.mcfunction @@ -0,0 +1,7 @@ +execute if block ~ ~ ~ #cmdtnt:bw_tnt_3 run loot spawn ~ ~ ~ mine ~ ~ ~ +execute if block ~ ~ ~ #cmdtnt:bw_tnt_0_8 run loot spawn ~ ~ ~ mine ~ ~ ~ +execute if block ~ ~ ~ #cmdtnt:bw_tnt_9 run loot spawn ~ ~ ~ mine ~ ~ ~ +execute if block ~ ~ ~ #cmdtnt:bw_tnt_9 run setblock ~ ~ ~ air +execute if block ~ ~ ~ #cmdtnt:bw_tnt_0_8 run setblock ~ ~ ~ air +execute if block ~ ~ ~ #cmdtnt:bw_tnt_3 run setblock ~ ~ ~ air +kill @s \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/functions/tnt/roundandshoot_x.mcfunction b/datapacks/tntboom/data/cmdtnt/functions/tnt/roundandshoot_x.mcfunction new file mode 100644 index 00000000..6f25a447 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/functions/tnt/roundandshoot_x.mcfunction @@ -0,0 +1,5 @@ +scoreboard players add tnt.round.x board 1 +scoreboard players set tnt.round.y board 0 +function cmdtnt:tnt/roundandshoot_y +execute at @s run tp @s ~ ~ ~ ~30 ~ +execute if score tnt.round.x board matches ..12 run function cmdtnt:tnt/roundandshoot_x \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/functions/tnt/roundandshoot_y.mcfunction b/datapacks/tntboom/data/cmdtnt/functions/tnt/roundandshoot_y.mcfunction new file mode 100644 index 00000000..7e2af423 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/functions/tnt/roundandshoot_y.mcfunction @@ -0,0 +1,9 @@ +scoreboard players add tnt.round.y board 1 +summon marker ~ ~ ~ {Tags:["cmd.tnt","cmd.tnt.new"]} +execute as @s at @s run tp @e[tag=cmd.tnt.new] @s +scoreboard players set tnt.round.go board 69 +execute as @e[tag=cmd.tnt.new] at @s run function cmdtnt:tnt/tntgo +execute at @s run tp @s ~ ~ ~ ~ ~15 +kill @e[tag=cmd.tnt.new] +execute if score tnt.round.y board matches 12.. at @s run tp @s ~ ~ ~ ~ -90 +execute if score tnt.round.y board matches ..12 run function cmdtnt:tnt/roundandshoot_y \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/functions/tnt/tntgo.mcfunction b/datapacks/tntboom/data/cmdtnt/functions/tnt/tntgo.mcfunction new file mode 100644 index 00000000..64c5fb35 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/functions/tnt/tntgo.mcfunction @@ -0,0 +1,19 @@ +# tellraw @a [{"score":{"objective": "board","name": "tnt.round.go"}}] +scoreboard players remove tnt.round.go board 10 +# execute as @s at @s run particle dust 1 1 1 1 ~ ~ ~ 0 0 0 1 1 +# say 1 +execute if block ~ ~ ~ #cmdtnt:tnt_9 run scoreboard players remove tnt.round.go board 30 +# execute if block ~ ~ ~ #cmdtnt:tnt_9 unless entity @e[limit=1,sort=nearest,distance=0..0.4,tag=cmd.tnt.boom] run summon marker ~ ~ ~ {Tags:["cmd.tnt","cmd.tnt.boom"]} +# execute if block ~ ~ ~ #cmdtnt:tnt_9 run setblock ~ ~ ~ air + +execute if block ~ ~ ~ #cmdtnt:tnt_3 run scoreboard players remove tnt.round.go board 10 +execute unless entity @e[limit=1,sort=nearest,distance=0..0.4,tag=cmd.tnt.boom] run summon marker ~ ~ ~ {Tags:["cmd.tnt","cmd.tnt.boom"]} +# execute if block ~ ~ ~ #cmdtnt:tnt_3 run setblock ~ ~ ~ air + +execute if block ~ ~ ~ #cmdtnt:tnt_0_8 run scoreboard players remove tnt.round.go board 3 +# execute if block ~ ~ ~ #cmdtnt:tnt_0_8 unless entity @e[limit=1,sort=nearest,distance=0..0.4,tag=cmd.tnt.boom] run summon marker ~ ~ ~ {Tags:["cmd.tnt","cmd.tnt.boom"]} +# execute if block ~ ~ ~ #cmdtnt:tnt_0_8 run setblock ~ ~ ~ air + + +execute as @s at @s run tp @s ^ ^ ^0.5 +execute if score tnt.round.go board matches 1.. at @s run function cmdtnt:tnt/tntgo \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/functions/tntpick.mcfunction b/datapacks/tntboom/data/cmdtnt/functions/tntpick.mcfunction new file mode 100644 index 00000000..21d0f7de --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/functions/tntpick.mcfunction @@ -0,0 +1,21 @@ +## TNT 基本信息 +# 威力:默认 4 +# 爆炸可以破坏周围的方块。 +# 爆炸破坏方块的基本方式是从爆炸中心向周围发射出1352条向外延伸的射线,并清除射线上的方块。 +# 这里以P表示爆炸威力,R表示爆炸抗性,n表示射线采样衰减的段数。下文同。 +# 假设围绕爆炸中心存在一个立方体,立方体外表面划分为16×16×16的网格。则爆炸中心到网格上每个交点都会形成一条射线,总计1352条射线。 +# 每条射线都有一个初始强度:I0 = (1.0±0.3)×P。 +# 射线沿自身方向每前进0.3格(一段),强度衰减0.225:In+1 = In-0.3×0.75 = In-0.225; +# 穿过非空气方块时,强度值进一步衰减:In+1 = In-[0.225+(R+0.3)×0.3]。 +# 任何衰减分段采样点上未能使射线强度衰减于0的方块都会被破坏。 +# 爆炸对方块的效果只考虑方块的爆炸抗性,即使方块的形状或性质允许实体通过,如水、台阶和蜘蛛网。 +# 最大爆炸半径:6.9(默认) +summon marker ~ ~ ~ {Tags:["cmd.tnt","cmd.tnt.spawn"]} +scoreboard players set tnt.round.x board 0 +execute as @e[tag=cmd.tnt.spawn] at @s run tp @s ~ ~ ~ 0 -90 +execute as @e[tag=cmd.tnt.spawn] run function cmdtnt:tnt/roundandshoot_x +execute run playsound entity.generic.explode block @a ~ ~ ~ 6 0.7 0 +particle minecraft:explosion ~ ~ ~ 1 1 1 1 10 normal +execute as @e[tag=cmd.tnt.boom] at @s run kill @e[type=item,distance=0..1.2] +execute as @e[tag=cmd.tnt.boom] at @s run function cmdtnt:tnt/lootblock +kill @e[tag=cmd.tnt] \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/functions/tntpick2.mcfunction b/datapacks/tntboom/data/cmdtnt/functions/tntpick2.mcfunction new file mode 100644 index 00000000..9f164d97 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/functions/tntpick2.mcfunction @@ -0,0 +1,24 @@ + + +## TNT 基本信息 +# 威力:默认 4 +# 爆炸可以破坏周围的方块。 +# 爆炸破坏方块的基本方式是从爆炸中心向周围发射出1352条向外延伸的射线,并清除射线上的方块。 +# 这里以P表示爆炸威力,R表示爆炸抗性,n表示射线采样衰减的段数。下文同。 +# 假设围绕爆炸中心存在一个立方体,立方体外表面划分为16×16×16的网格。则爆炸中心到网格上每个交点都会形成一条射线,总计1352条射线。 +# 每条射线都有一个初始强度:I0 = (1.0±0.3)×P。 +# 射线沿自身方向每前进0.3格(一段),强度衰减0.225:In+1 = In-0.3×0.75 = In-0.225; +# 穿过非空气方块时,强度值进一步衰减:In+1 = In-[0.225+(R+0.3)×0.3]。 +# 任何衰减分段采样点上未能使射线强度衰减于0的方块都会被破坏。 +# 爆炸对方块的效果只考虑方块的爆炸抗性,即使方块的形状或性质允许实体通过,如水、台阶和蜘蛛网。 +# 最大爆炸半径:6.9(默认) +summon marker ~ ~ ~ {Tags:["cmd.tnt","cmd.tnt.spawn"]} +scoreboard players set tnt.round.x board 0 +summon creeper ~ ~ ~ {DeathLootTable:"",Tags:["cmd.tnt.boom"],fuse:0,CustomName:'["\\u00a7c\\u00a7lTNT SHEEP"]',CustomNameVisible:1b,Invulnerable:1b,Silent:1b,PersistenceRequired:1b,Attributes:[{Base:1d,Name:"generic.max_health"},{Base:1d,Name:"generic.knockback_resistance"},{Base:0d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.follow_range"},{Base:0d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"},{Base:1d,Name:"generic.armor"},{Base:1d,Name:"generic.armor_toughness"}],ignited:true,ExplosionRadius:4b} +execute as @e[tag=cmd.tnt.spawn] at @s run tp @s ~ ~ ~ 0 -90 +execute as @e[tag=cmd.tnt.spawn] run function cmdtnt:tnt/roundandshoot_x +execute run playsound entity.generic.explode block @a ~ ~ ~ 6 0.7 0 +particle minecraft:explosion ~ ~ ~ 1 1 1 1 10 normal +execute as @e[tag=cmd.tnt.boom] at @s run kill @e[type=item,distance=0..1.2] +execute as @e[tag=cmd.tnt.boom] at @s run function cmdtnt:tnt/lootblock +kill @e[tag=cmd.tnt] \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_0_8.json b/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_0_8.json new file mode 100644 index 00000000..c2aa92ad --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_0_8.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values":[ + "#wool" + ] +} \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_3.json b/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_3.json new file mode 100644 index 00000000..2edfa2a0 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_3.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values":[ + "dark_oak_planks", + "ladder" + ] +} \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_9.json b/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_9.json new file mode 100644 index 00000000..5aca6fd2 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/tags/blocks/bw_tnt_9.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values":[ + "end_stone" + ] +} \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_0_8.json b/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_0_8.json new file mode 100644 index 00000000..15c8f8d8 --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_0_8.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#wool" + ] +} \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_3.json b/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_3.json new file mode 100644 index 00000000..8637dd9a --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_3.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "dark_oak_planks", + "ladder" + ] +} \ No newline at end of file diff --git a/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_9.json b/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_9.json new file mode 100644 index 00000000..6c32585b --- /dev/null +++ b/datapacks/tntboom/data/cmdtnt/tags/blocks/tnt_9.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "end_stone" + ] +} \ No newline at end of file diff --git a/datapacks/tntboom/pack.mcmeta b/datapacks/tntboom/pack.mcmeta new file mode 100644 index 00000000..ee9905fd --- /dev/null +++ b/datapacks/tntboom/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapack - TNT爆炸模拟" + } +} \ No newline at end of file diff --git a/datapacks/viaversion_changer/data/via/functions/use1_18.mcfunction b/datapacks/viaversion_changer/data/via/functions/use1_18.mcfunction new file mode 100644 index 00000000..54b85ed5 --- /dev/null +++ b/datapacks/viaversion_changer/data/via/functions/use1_18.mcfunction @@ -0,0 +1,4 @@ +# tellraw @a ["\u00a7e兼容性切换中! [1.8 -> 1.18]"] +# datapack disable "file/viaversion_support_1_8" +# datapack enable "file/viaversion_support_1_18" +tellraw @s ["\u00a7a无法切换兼容性。此功能已被弃用。"] \ No newline at end of file diff --git a/datapacks/viaversion_changer/data/via/functions/use1_8.mcfunction b/datapacks/viaversion_changer/data/via/functions/use1_8.mcfunction new file mode 100644 index 00000000..5d56aaff --- /dev/null +++ b/datapacks/viaversion_changer/data/via/functions/use1_8.mcfunction @@ -0,0 +1 @@ +tellraw @s ["\u00a7a无法切换兼容性。此功能已被弃用。"] diff --git a/datapacks/viaversion_changer/pack.mcmeta b/datapacks/viaversion_changer/pack.mcmeta new file mode 100644 index 00000000..0e0791c7 --- /dev/null +++ b/datapacks/viaversion_changer/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks - ViaVersion 修复切换模块" + } +} \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/armor.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/armor.mcfunction new file mode 100644 index 00000000..fa3814a2 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/armor.mcfunction @@ -0,0 +1,23 @@ +give @a[tag=bwneeds,gamemode=!spectator,tag=bw.play] minecraft:wooden_sword{bw:1,Unbreakable:1b,HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} 1 +tag @a remove bwneeds +give @a[tag=bw.shears,gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:shears"}]}] shears{Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} + +give @a[scores={bw.pickaxe=1..1},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:wooden_pickaxe"}]}] wooden_pickaxe{Enchantments:[{id:"minecraft:efficiency",lvl:1s}],Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} +give @a[scores={bw.axe=1..1},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:wooden_axe"}]}] wooden_axe{AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:1d,Operation:0,UUID:[I;7777,8425,9963,3879]}],Enchantments:[{id:"minecraft:efficiency",lvl:1s}],Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} + +give @a[scores={bw.pickaxe=2..2},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:iron_pickaxe"}]}] iron_pickaxe{Enchantments:[{id:"minecraft:efficiency",lvl:1s}],Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} +give @a[scores={bw.axe=2..2},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:iron_axe"}]}] iron_axe{AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:2d,Operation:0,UUID:[I;7777,8425,9963,3879]}],Enchantments:[{id:"minecraft:efficiency",lvl:1s}],Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} + +give @a[scores={bw.pickaxe=3..3},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:diamond_pickaxe"}]}] diamond_pickaxe{Enchantments:[{id:"minecraft:efficiency",lvl:1s}],Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} +give @a[scores={bw.axe=3..3},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:diamond_axe"}]}] diamond_axe{AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"noName",Amount:3d,Operation:0,UUID:[I;7777,8425,9963,3879]}],Enchantments:[{id:"minecraft:efficiency",lvl:1s}],Unbreakable:1b,bw:1,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} + +clear @a[scores={bw.pickaxe=..2},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:diamond_pickaxe"}]}] diamond_pickaxe +clear @a[scores={bw.axe=..2},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:diamond_pickaxe"}]}] diamond_axe + +clear @a[scores={bw.pickaxe=..1},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:iron_pickaxe"}]}] iron_pickaxe +clear @a[scores={bw.axe=..1},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:iron_pickaxe"}]}] iron_axe + +clear @a[scores={bw.pickaxe=..0},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:wooden_pickaxe"}]}] wooden_pickaxe +clear @a[scores={bw.axe=..0},gamemode=!spectator,tag=bw.play,nbt=!{Inventory:[{id:"minecraft:wooden_pickaxe"}]}] wooden_axe + +clear @a[tag=!bw.shears,gamemode=!spectator,tag=bw.play,nbt={Inventory:[{id:"minecraft:shears"}]}] shears \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/dmspan.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/dmspan.mcfunction new file mode 100644 index 00000000..6d233381 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/dmspan.mcfunction @@ -0,0 +1 @@ +execute if score temp board matches ..7 run summon item ~ ~ ~ {Item:{id:"minecraft:diamond",Count:1b,tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/editnbt.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/editnbt.mcfunction new file mode 100644 index 00000000..750388bf --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/editnbt.mcfunction @@ -0,0 +1 @@ +execute if score bw.state state matches 1.. as @a[tag=bw.play] at @s as @e[distance=0..5,type=item,tag=!flaged] run data merge entity @s {Item:{tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/emspan.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/emspan.mcfunction new file mode 100644 index 00000000..4ed7bb9d --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/emspan.mcfunction @@ -0,0 +1 @@ +execute if score temp board matches ..5 run summon item ~ ~ ~ {Item:{id:"minecraft:emerald",Count:1b,tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/getitem.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/getitem.mcfunction new file mode 100644 index 00000000..8f5aed37 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/getitem.mcfunction @@ -0,0 +1,4 @@ +execute if score @s bw.tmp.ir matches 1.. run give @s iron_ingot{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} 1 +execute if score @s bw.tmp.dm matches 1.. run give @s diamond{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} 1 +execute if score @s bw.tmp.gd matches 1.. run give @s gold_ingot{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} 1 +execute if score @s bw.tmp.em matches 1.. run give @s emerald{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/gogive.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/gogive.mcfunction new file mode 100644 index 00000000..61cf2799 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/gogive.mcfunction @@ -0,0 +1,2 @@ +# execute if score temp board matches ..15 run summon item ~ ~-0.5 ~ {Item:{id:"minecraft:gold_ingot",Count:1b,tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} +give @a[tag=bw.play,gamemode=!spectator,distance=0..2] gold_ingot{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/gospan.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/gospan.mcfunction new file mode 100644 index 00000000..3d74c8c5 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/gospan.mcfunction @@ -0,0 +1 @@ +execute if score temp board matches ..15 run summon item ~ ~-0.5 ~ {Item:{id:"minecraft:gold_ingot",Count:1b,tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/irgive.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/irgive.mcfunction new file mode 100644 index 00000000..b1e13e6a --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/irgive.mcfunction @@ -0,0 +1,2 @@ +# execute if score temp board matches ..11 run summon item ~ ~-0.5 ~ {Item:{id:"minecraft:iron_ingot",Count:1b,tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} +give @a[tag=bw.play,gamemode=!spectator,distance=0..2] iron_ingot{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]} \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/irspan.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/irspan.mcfunction new file mode 100644 index 00000000..f307d0f8 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/bw/irspan.mcfunction @@ -0,0 +1 @@ +execute if score temp board matches ..63 run summon item ~ ~-0.5 ~ {Item:{id:"minecraft:iron_ingot",Count:1b,tag:{HideFlags:63,CanDestroy:["#minecraft:bedblocks"],CanPlaceOn:["#minecraft:bwplace"]}}} diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/duel/thing.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/duel/thing.mcfunction new file mode 100644 index 00000000..202c471c --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/duel/thing.mcfunction @@ -0,0 +1,13 @@ +item replace entity @s container.0 with iron_sword{duel:1,HideFlags:63,Unbreakable:1b,CanDestroy:["#minecraft:terracottas"]} +item replace entity @s container.1 with diamond_pickaxe{duel:1,HideFlags:63,Unbreakable:1b,CanDestroy:["#minecraft:terracottas"]} +item replace entity @s[team=play.duel.yellow] container.2 with yellow_terracotta{Enchantments:[{id:"efficiency",lvl:2s}],duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.yellow] container.3 with yellow_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.yellow] container.4 with yellow_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.yellow] container.5 with yellow_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.blue] container.2 with blue_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.blue] container.3 with blue_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.blue] container.4 with blue_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s[team=play.duel.blue] container.5 with blue_terracotta{duel:1,Unbreakable:1b,HideFlags:63,CanPlaceOn:["glass","oak_wood","yellow_wool","light_blue_wool","#minecraft:terracottas","#minecraft:concrete"],CanDestroy:["#minecraft:terracottas"]} 64 +item replace entity @s container.6 with bow{duel:1,Unbreakable:1b,CanDestroy:["#minecraft:terracottas"]} +item replace entity @s container.7 with arrow{duel:1,Unbreakable:1b,CanDestroy:["#minecraft:terracottas"]} 4 +item replace entity @s container.8 with golden_apple{duel:1,Unbreakable:1b,CanDestroy:["#minecraft:terracottas"]} 3 diff --git a/datapacks/we_do_not_support_via_1_8/data/fix/functions/snow/start.mcfunction b/datapacks/we_do_not_support_via_1_8/data/fix/functions/snow/start.mcfunction new file mode 100644 index 00000000..9e85a1e4 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/fix/functions/snow/start.mcfunction @@ -0,0 +1,3 @@ +execute unless score snow.tntrun state matches 1..1 run give @a[team=play.snow,gamemode=adventure] minecraft:diamond_pickaxe{snow:1,Unbreakable:1b,display:{Name:'["§fGolden Pickaxe"]',Lore:['["§aIIIIIIIIIIIIIIIIIIII§7IIIIIIIIIIII"]']},HideFlags:63,Enchantments:[{id:"minecraft:efficiency",lvl:15s}],CanDestroy:["#minecraft:snowmineable"]} 1 +execute unless score snow.tntrun state matches 1..1 run give @a[team=play.snow,gamemode=adventure] minecraft:diamond_axe{snow:1,Unbreakable:1b,display:{Name:'["§fGolden Axe"]',Lore:['["§aIIIIIIIIIIIIIIIIIIII§7IIIIIIIIIIII"]']},HideFlags:63,Enchantments:[{id:"minecraft:efficiency",lvl:15s}],CanDestroy:["#minecraft:snowmineable"]} 1 +execute unless score snow.tntrun state matches 1..1 run give @a[team=play.snow,gamemode=adventure] minecraft:diamond_shovel{snow:1,Unbreakable:1b,display:{Name:'["§fGolden Shovel"]',Lore:['["§aIIIIIIIIIIIIIIIIIIII§7IIIIIIIIIIII"]']},HideFlags:63,Enchantments:[{id:"minecraft:efficiency",lvl:15s}],CanDestroy:["#minecraft:snowmineable"]} 1 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buy9.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buy9.mcfunction new file mode 100644 index 00000000..1713ffaa --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buy9.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +execute if score @s bw.tmp.gd matches 3.. run clear @s gold_ingot 3 +execute unless score @s bw.tmp.gd matches 3.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 3.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 3.. run tellraw @s ["\u00a7a你购买了\u00a76Golden Apple * 1"] +execute if score @s bw.tmp.gd matches 3.. run give @s golden_apple{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf10.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf10.mcfunction new file mode 100644 index 00000000..2940d40f --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf10.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-10 +tellraw @s[scores={bw.armor=1..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.armor=1..}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.armor=..0}] bw.tmp.ir matches 40.. run clear @s iron_ingot 40 +execute unless score @s[scores={bw.armor=..0}] bw.tmp.ir matches 40.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.armor=..0}] bw.tmp.ir matches 40.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.armor=..0}] bw.tmp.ir matches 40.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Chainmail Armor"] +execute if score @s[scores={bw.armor=..0}] bw.tmp.ir matches 40.. run scoreboard players set @s bw.armor 1 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf11.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf11.mcfunction new file mode 100644 index 00000000..6dd4f443 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf11.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-11 +tellraw @s[scores={bw.armor=2..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.armor=2..}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.armor=..1}] bw.tmp.gd matches 12.. run clear @s gold_ingot 12 +execute unless score @s[scores={bw.armor=..1}] bw.tmp.gd matches 12.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.armor=..1}] bw.tmp.gd matches 12.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.armor=..1}] bw.tmp.gd matches 12.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Iron Armor"] +execute if score @s[scores={bw.armor=..1}] bw.tmp.gd matches 12.. run scoreboard players set @s bw.armor 2 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf12.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf12.mcfunction new file mode 100644 index 00000000..1291fe97 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf12.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-12 +tellraw @s[scores={bw.armor=3..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.armor=3..}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.armor=..2}] bw.tmp.em matches 6.. run clear @s emerald 6 +execute unless score @s[scores={bw.armor=..2}] bw.tmp.em matches 6.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.armor=..2}] bw.tmp.em matches 6.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.armor=..2}] bw.tmp.em matches 6.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Emerald Armor"] +execute if score @s[scores={bw.armor=..2}] bw.tmp.em matches 6.. run scoreboard players set @s bw.armor 3 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf15.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf15.mcfunction new file mode 100644 index 00000000..a6cdc6f2 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf15.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-15 +tellraw @s[scores={bw.pickaxe=1..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.pickaxe=1..}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.pickaxe=..0}] bw.tmp.ir matches 10.. run clear @s iron_ingot 10 +execute unless score @s[scores={bw.pickaxe=..0}] bw.tmp.ir matches 10.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.pickaxe=..0}] bw.tmp.ir matches 10.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.pickaxe=..0}] bw.tmp.ir matches 10.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Pickaxe (I)"] +execute if score @s[scores={bw.pickaxe=..0}] bw.tmp.ir matches 10.. run scoreboard players set @s bw.pickaxe 1 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf16.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf16.mcfunction new file mode 100644 index 00000000..05f4650b --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf16.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-16 +tellraw @s[scores={bw.axe=1..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.axe=1..}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.axe=..0}] bw.tmp.ir matches 10.. run clear @s iron_ingot 10 +execute unless score @s[scores={bw.axe=..0}] bw.tmp.ir matches 10.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.axe=..0}] bw.tmp.ir matches 10.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.axe=..0}] bw.tmp.ir matches 10.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Axe (I)"] +execute if score @s[scores={bw.axe=..0}] bw.tmp.ir matches 10.. run scoreboard players set @s bw.axe 1 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf17.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf17.mcfunction new file mode 100644 index 00000000..a776bd0b --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf17.mcfunction @@ -0,0 +1,14 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-17 +tellraw @s[scores={bw.pickaxe=2..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.pickaxe=2..}] ~ ~ ~ 1 0 1 +tellraw @s[scores={bw.pickaxe=..0}] ["\u00a7c你需要先购买上一级镐子!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.pickaxe=..0}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.pickaxe=1..1}] bw.tmp.ir matches 20.. run clear @s iron_ingot 20 +execute unless score @s[scores={bw.pickaxe=1..1}] bw.tmp.ir matches 20.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.pickaxe=1..1}] bw.tmp.ir matches 20.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.pickaxe=1..1}] bw.tmp.ir matches 20.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Pickaxe (II) (死亡降级)"] +execute if score @s[scores={bw.pickaxe=1..1}] bw.tmp.ir matches 20.. run scoreboard players set @s bw.pickaxe 2 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf18.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf18.mcfunction new file mode 100644 index 00000000..2a7982bd --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf18.mcfunction @@ -0,0 +1,14 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-18 +tellraw @s[scores={bw.axe=2..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.axe=2..}] ~ ~ ~ 1 0 1 +tellraw @s[scores={bw.axe=..0}] ["\u00a7c你需要先购买上一级斧子!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.axe=..0}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.axe=1..1}] bw.tmp.ir matches 20.. run clear @s iron_ingot 20 +execute unless score @s[scores={bw.axe=1..1}] bw.tmp.ir matches 20.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.axe=1..1}] bw.tmp.ir matches 20.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.axe=1..1}] bw.tmp.ir matches 20.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Axe (II) (死亡降级)"] +execute if score @s[scores={bw.axe=1..1}] bw.tmp.ir matches 20.. run scoreboard players set @s bw.axe 2 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf19.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf19.mcfunction new file mode 100644 index 00000000..765d1016 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf19.mcfunction @@ -0,0 +1,14 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-19 +tellraw @s[scores={bw.pickaxe=3..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.pickaxe=3..}] ~ ~ ~ 1 0 1 +tellraw @s[scores={bw.pickaxe=..1}] ["\u00a7c你需要先购买上一级镐子!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.pickaxe=..1}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.pickaxe=2..2}] bw.tmp.gd matches 6.. run clear @s gold_ingot 6 +execute unless score @s[scores={bw.pickaxe=2..2}] bw.tmp.gd matches 6.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.pickaxe=2..2}] bw.tmp.gd matches 6.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.pickaxe=2..2}] bw.tmp.gd matches 6.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Pickaxe (III) (死亡降级)"] +execute if score @s[scores={bw.pickaxe=2..2}] bw.tmp.gd matches 6.. run scoreboard players set @s bw.pickaxe 3 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf2.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf2.mcfunction new file mode 100644 index 00000000..5db811fa --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf2.mcfunction @@ -0,0 +1,13 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-2 +execute if score @s bw.tmp.ir matches 4.. run clear @s iron_ingot 4 +execute unless score @s bw.tmp.ir matches 4.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.ir matches 4.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.ir matches 4.. run tellraw @s ["\u00a7a你购买了\u00a76羊毛 * 16"] +execute if score @s bw.tmp.ir matches 4.. run give @s[team=bw.blue] blue_wool{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 16 +execute if score @s bw.tmp.ir matches 4.. run give @s[team=bw.yellow] yellow_wool{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 16 +execute if score @s bw.tmp.ir matches 4.. run give @s[team=bw.green] lime_wool{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 16 +execute if score @s bw.tmp.ir matches 4.. run give @s[team=bw.red] red_wool{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 16 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf20.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf20.mcfunction new file mode 100644 index 00000000..0cc93dd6 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf20.mcfunction @@ -0,0 +1,14 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-20 +tellraw @s[scores={bw.axe=3..}] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.axe=3..}] ~ ~ ~ 1 0 1 +tellraw @s[scores={bw.axe=..1}] ["\u00a7c你需要先购买上一级斧!"] +playsound minecraft:entity.enderman.teleport player @s[scores={bw.axe=..1}] ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.axe=2..2}] bw.tmp.gd matches 6.. run clear @s gold_ingot 6 +execute unless score @s[scores={bw.axe=2..2}] bw.tmp.gd matches 6.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[scores={bw.axe=2..2}] bw.tmp.gd matches 6.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[scores={bw.axe=2..2}] bw.tmp.gd matches 6.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Axe (III) (死亡降级)"] +execute if score @s[scores={bw.axe=2..2}] bw.tmp.gd matches 6.. run scoreboard players set @s bw.axe 3 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf21.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf21.mcfunction new file mode 100644 index 00000000..980f8317 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf21.mcfunction @@ -0,0 +1,11 @@ + +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-21 +execute if score @s bw.tmp.gd matches 8.. run clear @s gold_ingot 8 +execute unless score @s bw.tmp.gd matches 8.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 8.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 8.. run tellraw @s ["\u00a7a你购买了\u00a76Water Bucket * 1"] +execute if score @s bw.tmp.gd matches 8.. run give @s water_bucket{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf22.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf22.mcfunction new file mode 100644 index 00000000..b5ed7d86 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf22.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-22 +execute if score @s bw.tmp.gd matches 8.. run clear @s gold_ingot 8 +execute unless score @s bw.tmp.gd matches 8.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 8.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 8.. run tellraw @s ["\u00a7a你购买了\u00a76击退棍 * 1"] +execute if score @s bw.tmp.gd matches 8.. run give @s stick{display:{Name:'"\\u00a7f击退棍"'},Enchantments:[{id:"knockback",lvl:1}],HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf23.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf23.mcfunction new file mode 100644 index 00000000..c94f8b5e --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf23.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-23 +execute if score @s bw.tmp.em matches 1.. run clear @s emerald 1 +execute unless score @s bw.tmp.em matches 1.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 1.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 1.. run tellraw @s ["\u00a7a你购买了\u00a76Bridge Egg * 1"] +execute if score @s bw.tmp.em matches 1.. run give @s egg{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf24.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf24.mcfunction new file mode 100644 index 00000000..6a5e5681 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf24.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-24 +execute if score @s bw.tmp.gd matches 1.. run clear @s gold_ingot 1 +execute unless score @s bw.tmp.gd matches 1.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 1.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 1.. run tellraw @s ["\u00a7a你购买了\u00a76Arrow * 4"] +execute if score @s bw.tmp.gd matches 1.. run give @s arrow{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 4 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf25.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf25.mcfunction new file mode 100644 index 00000000..8a26b8d0 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf25.mcfunction @@ -0,0 +1,11 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-25 +execute if score @s bw.tmp.ir matches 10.. run clear @s iron_ingot 10 +execute unless score @s bw.tmp.ir matches 10.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.ir matches 10.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.ir matches 10.. run tellraw @s ["\u00a7a你购买了\u00a76Stone Sword * 1"] +clear @s wooden_sword +execute if score @s bw.tmp.ir matches 10.. run give @s stone_sword{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf26.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf26.mcfunction new file mode 100644 index 00000000..33c3eeb0 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf26.mcfunction @@ -0,0 +1,11 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-26 +execute if score @s bw.tmp.gd matches 7.. run clear @s gold_ingot 7 +execute unless score @s bw.tmp.gd matches 7.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 7.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 7.. run tellraw @s ["\u00a7a你购买了\u00a76Iron Sword * 1"] +execute if score @s bw.tmp.gd matches 7.. run give @s iron_sword{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 +clear @s wooden_sword diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf27.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf27.mcfunction new file mode 100644 index 00000000..d7467bcf --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf27.mcfunction @@ -0,0 +1,11 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-27 +execute if score @s bw.tmp.em matches 3.. run clear @s emerald 3 +execute unless score @s bw.tmp.em matches 3.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 3.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 3.. run tellraw @s ["\u00a7a你购买了\u00a76Diamond Sword ([W]) * 1"] +execute if score @s bw.tmp.em matches 3.. run give @s diamond_sword{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 +clear @s wooden_sword diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf3.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf3.mcfunction new file mode 100644 index 00000000..a9d9133b --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf3.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-3 +execute if score @s bw.tmp.ir matches 24.. run clear @s iron_ingot 24 +execute unless score @s bw.tmp.ir matches 24.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.ir matches 24.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.ir matches 24.. run tellraw @s ["\u00a7a你购买了\u00a76End Stone * 12"] +execute if score @s bw.tmp.ir matches 24.. run give @s end_stone{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 12 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf30.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf30.mcfunction new file mode 100644 index 00000000..b2565a5e --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf30.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-30 +execute if score @s bw.tmp.gd matches 12.. run clear @s gold_ingot 12 +execute unless score @s bw.tmp.gd matches 12.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 12.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 12.. run tellraw @s ["\u00a7a你购买了\u00a76Normal Bow"] +execute if score @s bw.tmp.gd matches 12.. run give @s bow{Unbreakable:1b,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf31.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf31.mcfunction new file mode 100644 index 00000000..0d11d81d --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf31.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-31 +execute if score @s bw.tmp.em matches 3.. run clear @s emerald 3 +execute unless score @s bw.tmp.em matches 3.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 3.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 3.. run tellraw @s ["\u00a7a你购买了\u00a76Better Bow * 1"] +execute if score @s bw.tmp.em matches 3.. run give @s bow{Enchantments:[{id:"minecraft:power",lvl:1s},{id:"minecraft:punch",lvl:1s}],Unbreakable:1b,HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf32.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf32.mcfunction new file mode 100644 index 00000000..e084e844 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf32.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +execute if score @s bw.tmp.em matches 2.. run clear @s emerald 2 +execute unless score @s bw.tmp.em matches 2.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 2.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 2.. run tellraw @s ["\u00a7a你购买了\u00a76Inv Potion * 1"] +execute if score @s bw.tmp.em matches 2.. run give @s minecraft:potion{custom_potion_effects:[{id:"invisibility",duration:600}],CustomPotionColor:2424628,display:{Name:'"隐身药水"'}} + +#/give @p \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf33.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf33.mcfunction new file mode 100644 index 00000000..e2e136a5 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf33.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 + +execute if score @s bw.tmp.em matches 2.. run clear @s emerald 2 +execute unless score @s bw.tmp.em matches 2.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 2.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 2.. run tellraw @s ["\u00a7a你购买了\u00a76Speed Jump Potion * 1"] +execute if score @s bw.tmp.em matches 2.. run give @s minecraft:potion{custom_potion_effects:[{id:"speed",amplifier:1,duration:1200},{id:"jump_boost",amplifier:3,duration:1200}],CustomPotionColor:63205,display:{Name:'"雷碧"'}} diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf34.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf34.mcfunction new file mode 100644 index 00000000..c1cde69a --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf34.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +#-34 +execute if score @s bw.tmp.em matches 4.. run clear @s emerald 4 +execute unless score @s bw.tmp.em matches 4.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 4.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 4.. run tellraw @s ["\u00a7a你购买了\u00a76End Pearl * 1"] +execute if score @s bw.tmp.em matches 4.. run give @s ender_pearl{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 1 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf4.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf4.mcfunction new file mode 100644 index 00000000..337785d4 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf4.mcfunction @@ -0,0 +1,12 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-4 +tellraw @s[tag=bw.shears] ["\u00a7c你已经购买过这个东西了!"] +playsound minecraft:entity.enderman.teleport player @s[tag=bw.shears] ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.shears] bw.tmp.ir matches 20.. run clear @s iron_ingot 20 +execute unless score @s[tag=!bw.shears] bw.tmp.ir matches 20.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s[tag=!bw.shears] bw.tmp.ir matches 20.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s[tag=!bw.shears] bw.tmp.ir matches 20.. run tellraw @s ["\u00a7a你购买了\u00a76永久的Shears"] +execute if score @s[tag=!bw.shears] bw.tmp.ir matches 20.. run tag @s add bw.shears \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf5.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf5.mcfunction new file mode 100644 index 00000000..d84a0542 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf5.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-5 +execute if score @s bw.tmp.ir matches 4.. run clear @s iron_ingot 4 +execute unless score @s bw.tmp.ir matches 4.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.ir matches 4.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.ir matches 4.. run tellraw @s ["\u00a7a你购买了\u00a76Ladder * 16"] +execute if score @s bw.tmp.ir matches 4.. run give @s ladder{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 16 \ No newline at end of file diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf6.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf6.mcfunction new file mode 100644 index 00000000..eef84287 --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf6.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-6 +execute if score @s bw.tmp.gd matches 4.. run clear @s gold_ingot 4 +execute unless score @s bw.tmp.gd matches 4.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.gd matches 4.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.gd matches 4.. run tellraw @s ["\u00a7a你购买了\u00a76Planks * 16"] +execute if score @s bw.tmp.gd matches 4.. run give @s dark_oak_planks{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 16 diff --git a/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf7.mcfunction b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf7.mcfunction new file mode 100644 index 00000000..90d1655d --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/data/minecraft/functions/bedwars/shop/buyf7.mcfunction @@ -0,0 +1,10 @@ +execute as @s at @s store result score @s bw.tmp.ir run clear @s iron_ingot 0 +execute as @s at @s store result score @s bw.tmp.gd run clear @s gold_ingot 0 +execute as @s at @s store result score @s bw.tmp.dm run clear @s diamond 0 +execute as @s at @s store result score @s bw.tmp.em run clear @s emerald 0 +## Buy.-7 +execute if score @s bw.tmp.em matches 4.. run clear @s emerald 4 +execute unless score @s bw.tmp.em matches 4.. run tellraw @s ["\u00a7c你的资源不够买这个东西!"] +execute unless score @s bw.tmp.em matches 4.. run playsound minecraft:entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute if score @s bw.tmp.em matches 4.. run tellraw @s ["\u00a7a你购买了\u00a76Obsidian * 4"] +execute if score @s bw.tmp.em matches 4.. run give @s obsidian{HideFlags:63,CanPlaceOn:["#minecraft:bwplace"],CanDestroy:["#minecraft:bedblocks"]} 4 diff --git a/datapacks/we_do_not_support_via_1_8/pack.mcmeta b/datapacks/we_do_not_support_via_1_8/pack.mcmeta new file mode 100644 index 00000000..71c4a4bf --- /dev/null +++ b/datapacks/we_do_not_support_via_1_8/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks - 不再为低版本 viaversion 提供支持" + } +} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/advancements/caidan.json b/datapacks/zombiepve/data/minecraft/advancements/caidan.json new file mode 100644 index 00000000..eacf9603 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/advancements/caidan.json @@ -0,0 +1,29 @@ +{ + "display": { + "title": [ + "彩蛋" + ], + "description": [ + "找到地图中的彩蛋们" + ], + "icon": { + "item": "minecraft:egg" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": false, + "hidden": false, + "background": "minecraft:textures/block/bamboo_block.png" + }, + "criteria": { + "a": { + "trigger": "minecraft:tick" + } + }, + "requirements": [ + [ + "a" + ] + ], + "rewards": {} +} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/advancements/zombieever/caidan.json b/datapacks/zombiepve/data/minecraft/advancements/zombieever/caidan.json new file mode 100644 index 00000000..37435fa3 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/advancements/zombieever/caidan.json @@ -0,0 +1,29 @@ +{ + "display": { + "title": [ + "装饰物就别在意啦~" + ], + "description": [ + "这只是一个装饰物而已...\nPVE中的彩蛋!" + ], + "icon": { + "item": "minecraft:zombie_head" + }, + "frame": "goal", + "show_toast": true, + "announce_to_chat": true, + "hidden": true + }, + "parent": "minecraft:caidan", + "criteria": { + "a": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + [ + "a" + ] + ], + "rewards": {} +} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/advancements/zombieever/wtf.json b/datapacks/zombiepve/data/minecraft/advancements/zombieever/wtf.json new file mode 100644 index 00000000..af177d45 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/advancements/zombieever/wtf.json @@ -0,0 +1,29 @@ +{ + "display": { + "title": [ + "探险者" + ], + "description": [ + "\u00a7f在地牢中进行奇怪的探索\nPVE中的彩蛋!" + ], + "icon": { + "item": "minecraft:diamond_sword" + }, + "frame": "goal", + "show_toast": true, + "announce_to_chat": true, + "hidden": true + }, + "parent": "minecraft:caidan", + "criteria": { + "a": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + [ + "a" + ] + ], + "rewards": {} +} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/addcoin.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/addcoin.mcfunction new file mode 100644 index 00000000..34aa9fa2 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/addcoin.mcfunction @@ -0,0 +1,6 @@ +execute store result score gun.coin.tmp board as @s at @s run data get entity @s SelectedItem.tag.coin +item replace entity @s weapon.mainhand with air +tellraw @s ["\u00a76+ ",{"score":{"name": "gun.coin.tmp","objective": "board"},"color": "gold"}," \u00a76Coins (金币袋子)"] +scoreboard players operation @s zombie.coin += gun.coin.tmp board +# playsound entity.allay.item_given player @s ~ ~ ~ 1 1 1 +playsound minecraft:entity.player.levelup player @s ~ ~ ~ 1 0 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/damagetocoin.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/damagetocoin.mcfunction new file mode 100644 index 00000000..9fac9b7a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/damagetocoin.mcfunction @@ -0,0 +1,2 @@ +scoreboard players operation @s zombie.coin += @s zombie.hurt +tellraw @s ["\u00a76+",{"score":{"name": "@s","objective": "zombie.hurt"},"color":"gold"},"\u00a76 Coins"] \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/died.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/died.mcfunction new file mode 100644 index 00000000..e5f3dab0 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/died.mcfunction @@ -0,0 +1,14 @@ +execute if score zombie.mode board matches 1 run tellraw @s ["\u00a7c很抱歉,你死了。"] +execute if score zombie.mode board matches 2 run tellraw @s ["\u00a7c很抱歉,你死了。\n\u00a7e如果还有玩家存活,你将在当前进度完成后复活。"] +execute if score zombie.mode board matches 3 run tellraw @s ["\u00a7c很抱歉,你死了。\n\u00a7c由于模式设置,您已无法复活。"] +title @s title ["\u00a7c你死了"] +execute if score zombie.mode board matches 1 run title @s subtitle ["\u00a7f您已复活"] +execute if score zombie.mode board matches 2 run title @s subtitle ["\u00a7e如果还有玩家存活,你将在当前进度完成后复活"] +execute if score zombie.mode board matches 3 run title @s subtitle ["\u00a7d由于模式设置,您已无法复活"] + +scoreboard players set tmp.count tick 0 +execute as @a[team=play.zombie,gamemode=adventure] run scoreboard players add tmp.count tick 1 +execute if score zombie.mode board matches 2.. run title @a[team=play.zombie] actionbar [{"selector":"@s"}," \u00a7c死了,剩余玩家数量:",{"score":{"name": "tmp.count","objective": "tick"},"color":"gold"}] +tp @s 630 40 -78 90 0 +execute if score zombie.mode board matches 1 run function zombieever/fuhuo +execute if score zombie.mode board matches 2.. run gamemode spectator @s \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/closeall.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/closeall.mcfunction new file mode 100644 index 00000000..d0e88df5 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/closeall.mcfunction @@ -0,0 +1,49 @@ +# ### Door + +# fill 373 22 -48 371 25 -48 minecraft:barrier +# fill 374 22 -49 370 25 -49 minecraft:iron_bars + +# ## In +# # Left +# fill 369 21 -128 371 24 -128 minecraft:barrier +# fill 371 22 -127 369 23 -127 minecraft:iron_bars +# # Right +# fill 331 21 -128 329 24 -128 minecraft:barrier +# fill 329 22 -127 331 23 -127 iron_bars +# # Medium +# fill 353 22 -134 347 26 -134 minecraft:iron_bars keep + +# tag @e[tag=zombie.spawn.now] remove zombie.spawn.now +# tag @e[tag=zombie.spawn.main] add zombie.spawn.now +forceload add 597 -111 714 1 +execute as @e[tag=pve.event.block.fruit] at @s run setblock ~ ~ ~ minecraft:sweet_berry_bush[age=1] +execute as @e[tag=pve.event.block.fruit,limit=8,sort=random] at @s run setblock ~ ~ ~ minecraft:sweet_berry_bush[age=0] +kill @e[tag=pve.title] +forceload add 595 -41 495 -150 +summon marker 630 9 -78 {Tags:["pve.title"],CustomName:'""'} +fill 594 3 -58 594 5 -60 minecraft:iron_bars +fill 637 13 -46 637 11 -47 minecraft:air +fill 637 13 -46 639 11 -46 minecraft:iron_bars +data merge block 597 11 1 {Items:[]} +# /give @s minecraft:tripwire_hook{display:{Name:'"\\u00a7a钥匙"',Lore:['"\\u00a7e用于打开大门的钥匙"']},lock:1} +data merge block 597 11 1 {Items:[{id:"minecraft:tripwire_hook",Count:1b,tag:{display:{Name:'"\\u00a7a钥匙"',Lore:['"\\u00a7e用于打开大门的钥匙"']},lock:1},Slot:13}]} +execute as @e[tag=pve.house.chest] at @s run data merge block ~ ~ ~ {Items:[],Lock:"ss114514",CustomName:'"\\u00a7r箱子"'} +fill 535 -51 -124 535 -49 -121 minecraft:iron_bars +fill 579 -9 -119 578 -10 -119 minecraft:air +fill 567 -9 -120 567 -10 -121 minecraft:iron_bars +fill 535 -38 -123 535 -40 -125 minecraft:cracked_deepslate_bricks +fill 504 -41 -117 503 -43 -117 minecraft:cracked_deepslate_bricks +setblock 496 -43 -104 air +setblock 497 -43 -104 air +setblock 513 -43 -112 minecraft:air +fill 527 -41 -102 527 -43 -100 minecraft:iron_bars +setblock 513 -43 -112 minecraft:chest{Items:[{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{hp:50,gun:"pao",damage:300,bullet:380,cdtime:10,distance:40,display:{Name:'"\\u00a7e\\u00a7kaaa\\u00a7a 高级魔法棒 \\u00a7e\\u00a7kaaa"',Lore:['"\\u00a7b可使用次数:\\u00a7e380"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e30.0 HP"','"\\u00a7b距离:\\u00a7e40 \\u00a7bblocks"','"\\u00a7b消耗能量:\\u00a7e50"']},CustomModelData:9},Slot:13},{id:"minecraft:experience_bottle",Count:64b,Slot:1}]} +setblock 496 -43 -104 minecraft:chest[type=left]{Items:[]} +setblock 497 -43 -104 minecraft:chest[type=right]{Items:[{id:"minecraft:tnt",Count:1b,Slot:0,tag:{display:{Name:'"\\u00a7c\\u00a7lTNT"',Lore:['"\\u00a7e用于破坏地牢中的某一个墙壁"']},lock:3,flag:1}},{id:"minecraft:tnt",Count:1b,Slot:1,tag:{display:{Name:'"\\u00a7c\\u00a7lTNT"',Lore:['"\\u00a7e用于破坏地牢中的某一个墙壁"']},lock:3,flag:2}}]} +kill @e[type=villager,tag=pve.npc] +kill @e[type=villager,tag=pve.npc.pre] +summon minecraft:villager 630 10 -94 {CustomName:'["\\u00a7e亚奇洛贝 \\u00a7a[NPC]\\u00a77 - 右键互动"]',Invulnerable:1b,NoAI:1b,Silent:1b,PersistenceRequired:1b,VillagerData:{profession:"minecraft:librarian",type:"minecraft:swamp"},Offers:{Recipes:[]},Tags:["pve.npc","pve.npc.yaqiluobei"],CustomNameVisible:1b} + +setblock 681 6 -21 minecraft:barrier +forceload remove 595 -41 495 -150 +forceload remove 597 -111 714 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open2.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open2.mcfunction new file mode 100644 index 00000000..91d3592a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open2.mcfunction @@ -0,0 +1,7 @@ +# ## In +# # Left + +# kill @e[type=item,x=584,y=-6,z=-90,distance=..10] +# tellraw @a[team=play.zombie] ["\n \u00a77\u00a7obong.......... 貌似又有什么东西炸开了?\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave.mcfunction new file mode 100644 index 00000000..1a1c6d01 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave.mcfunction @@ -0,0 +1,13 @@ +## In +# Left +fill 594 3 -58 594 5 -60 minecraft:air destroy +kill @e[type=item,x=594,y=3,z=-58,distance=..10] + +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇大门被打开了...\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 +playsound minecraft:block.chest.open player @a[team=play.zombie] ~ ~ ~ 1 0.5 1 + +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7b进入地牢"'} +bossbar set zombie:zombiecount name ["\u00a7b任务:",{"selector":"@e[tag=pve.title,type=marker,limit=1]","color":"yellow"}] + diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_floor.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_floor.mcfunction new file mode 100644 index 00000000..b8e49758 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_floor.mcfunction @@ -0,0 +1,7 @@ +fill 535 -38 -123 535 -40 -125 minecraft:air +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇墙壁被破坏了...\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 +playsound minecraft:entity.generic.explode player @a[team=play.zombie] ~ ~ ~ 1 1 1 + +function zombieever/tasks/boss \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_loot_in.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_loot_in.mcfunction new file mode 100644 index 00000000..d19a6257 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_loot_in.mcfunction @@ -0,0 +1,13 @@ + +## In +# Left +fill 567 -9 -120 567 -10 -121 minecraft:air replace iron_bars +# kill @e[type=item,x=594,y=3,z=-58,distance=..10] + +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇大门被打开了... 然后,一扇大门关上了...\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 +playsound minecraft:block.chest.open player @a[team=play.zombie] ~ ~ ~ 1 0.5 1 + +fill 579 -9 -119 578 -10 -119 minecraft:iron_bars +function zombieever/rounds/stronghold \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_loot_out.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_loot_out.mcfunction new file mode 100644 index 00000000..29524eaf --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_loot_out.mcfunction @@ -0,0 +1,14 @@ + +## In +# Left +fill 535 -51 -124 535 -49 -121 minecraft:air replace iron_bars +# kill @e[type=item,x=594,y=3,z=-58,distance=..10] + +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇大门被打开了...\n\u00a77\u00a7o同时,前往外界的道路也打开了...\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 +playsound minecraft:block.chest.open player @a[team=play.zombie] ~ ~ ~ 1 0.5 1 + +fill 579 -9 -119 578 -10 -119 minecraft:air + +schedule function zombieever/rounds/lava 10s \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_wall.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_wall.mcfunction new file mode 100644 index 00000000..084dfe01 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_wall.mcfunction @@ -0,0 +1,7 @@ +fill 504 -41 -117 503 -43 -117 air +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇墙壁被破坏了...\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 +playsound minecraft:entity.generic.explode player @a[team=play.zombie] ~ ~ ~ 1 1 1 + +function zombieever/talks/stronghold_boss/1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_wall_boss.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_wall_boss.mcfunction new file mode 100644 index 00000000..6ba03b2e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_cave_wall_boss.mcfunction @@ -0,0 +1,8 @@ +# fill 504 -41 -117 503 -43 -117 air +fill 527 -41 -102 527 -43 -100 minecraft:air +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇门被打开了...\n"] + +# playsound entity.firework_rocket.twinkle player @a[team=play.zombie] ~ ~ ~ 1 1 1 +playsound minecraft:entity.generic.explode player @a[team=play.zombie] ~ ~ ~ 1 1 1 + +scoreboard players set zombie.round board 27 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_house.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_house.mcfunction new file mode 100644 index 00000000..43270cf2 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/open_house.mcfunction @@ -0,0 +1,12 @@ +fill 637 13 -46 639 11 -46 minecraft:air replace iron_bars +fill 637 13 -46 637 11 -47 minecraft:iron_bars + +tellraw @a[team=play.zombie] ["\n \u00a77\u00a7o一扇大门打开了...\n"] + +playsound minecraft:block.chest.open player @a[team=play.zombie] ~ ~ ~ 1 0.5 1 + +# function zombieever/nextround +scoreboard players set zombie.round board 16 +tp @e[tag=pve.npc.yaqiluobei,limit=1] 597 4 -61 -57 -8 +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7b前往地牢"'} +bossbar set zombie:zombiecount name ["\u00a7b任务:",{"selector":"@e[tag=pve.title,type=marker,limit=1]","color":"yellow"}] diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/stronghold_tpup.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/stronghold_tpup.mcfunction new file mode 100644 index 00000000..3e335b1a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/stronghold_tpup.mcfunction @@ -0,0 +1,6 @@ +tp @a[team=play.zombie,gamemode=adventure] 519 -42 -116 -90 0 +effect give @a[team=play.zombie,gamemode=adventure] darkness 10 25 true +effect give @a[team=play.zombie,gamemode=adventure] blindness 10 25 true +effect give @a[team=play.zombie,gamemode=adventure] slowness 10 2 true +tellraw @a[team=play.zombie] ["\u00a7a你:\u00a7f怎么回事?突然眼前一黑... 这好像是迷宫?赶快找到出口出去!这里的空气不太舒服!"] +scoreboard players set zombie.round board 25 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_opencave.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_opencave.mcfunction new file mode 100644 index 00000000..2a40117d --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_opencave.mcfunction @@ -0,0 +1,8 @@ +execute as @s[nbt={SelectedItem:{tag:{lock:2}}}] run tag @s add ok +execute if entity @s[tag=ok] run function zombieever/door/open_cave +execute if entity @s[tag=ok] run item replace entity @s weapon.mainhand with air +execute unless entity @s[tag=ok] if block 594 5 -60 iron_bars run title @s actionbar ["\u00a7c需要地牢钥匙"] +execute unless entity @s[tag=ok] unless block 594 5 -60 iron_bars run title @s actionbar ["\u00a7c门已经被打开"] +execute unless entity @s[tag=ok] run playsound block.chest.locked player @s ~ ~ ~ 2 1 1 + +tag @s remove ok \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openhouse.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openhouse.mcfunction new file mode 100644 index 00000000..11950b81 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openhouse.mcfunction @@ -0,0 +1,11 @@ + +execute as @s[nbt={SelectedItem:{tag:{lock:1}}}] run tag @s add ok +execute if entity @e[tag=pve.zombie] run tag @s remove ok +execute if entity @s[tag=ok] run function zombieever/door/open_house +execute if entity @s[tag=ok] run item replace entity @s weapon.mainhand with air +execute unless entity @s[tag=ok] if block 639 11 -46 iron_bars run title @s actionbar ["\u00a7c需要大门钥匙"] +execute unless entity @s[tag=ok] unless block 639 11 -46 iron_bars run title @s actionbar ["\u00a7c门已经被打开"] +execute unless entity @s[tag=ok] run playsound block.chest.locked player @s ~ ~ ~ 2 1 1 + +execute if entity @e[tag=pve.zombie] run title @s actionbar ["\u00a7c僵尸没有被消灭完"] +tag @s remove ok \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openstronghold.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openstronghold.mcfunction new file mode 100644 index 00000000..9f8a61cd --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openstronghold.mcfunction @@ -0,0 +1,10 @@ + +execute as @s[nbt={SelectedItem:{tag:{lock:3}}}] run tag @s add ok +execute if entity @e[tag=pve.zombie] run tag @s remove ok +execute if entity @s[tag=ok] run function zombieever/door/open_cave_floor +execute if entity @s[tag=ok] run item replace entity @s weapon.mainhand with air +execute unless entity @s[tag=ok] run title @s actionbar ["\u00a7c需要TNT"] +execute unless entity @s[tag=ok] run playsound block.chest.locked player @s ~ ~ ~ 2 1 1 + +execute if entity @e[tag=pve.zombie] run title @s actionbar ["\u00a7c僵尸没有被消灭完"] +tag @s remove ok \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openstronghold_wall.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openstronghold_wall.mcfunction new file mode 100644 index 00000000..79400946 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/door/try_openstronghold_wall.mcfunction @@ -0,0 +1,12 @@ + +execute as @s[nbt={SelectedItem:{tag:{lock:3}}}] run tag @s add ok +execute if block 503 -43 -117 air run tag @s remove ok +execute if entity @e[tag=pve.zombie] run tag @s remove ok +execute if entity @s[tag=ok] run function zombieever/door/open_cave_wall +execute if entity @s[tag=ok] run item replace entity @s weapon.mainhand with air +execute unless entity @s[tag=ok] unless block 503 -43 -117 air run title @s actionbar ["\u00a7c需要TNT"] +execute unless entity @s[tag=ok] if block 503 -43 -117 air run title @s actionbar ["\u00a7c已经被爆破"] +execute unless entity @s[tag=ok] run playsound block.chest.locked player @s ~ ~ ~ 2 1 1 + +execute if entity @e[tag=pve.zombie] run title @s actionbar ["\u00a7c僵尸没有被消灭完"] +tag @s remove ok \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/fuhuo.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/fuhuo.mcfunction new file mode 100644 index 00000000..6150f088 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/fuhuo.mcfunction @@ -0,0 +1,12 @@ +tellraw @s ["\u00a7a你复活了。"] +execute if score zombie.round board matches ..13 run tp @s 630 10 -78 90 0 +execute if score zombie.round board matches 14 run tp @s 682 15 -19 90 0 +execute if score zombie.round board matches 15..17 run tp @s 630 10 -78 90 0 +execute if score zombie.round board matches 18..24 run tp @s 558 -12 -136 0 0 +execute if score zombie.round board matches 25 run tp @s 519 -42 -116 -90 0 +execute if score zombie.round board matches 26..27 run tp @s 499 -43 -98 -90 0 +# execute if score zombie.round board matches 27 run +execute if score zombie.round board matches 28.. run tp @s 630 10 -78 90 0 +gamemode adventure @s +xp set @s 0 levels +xp set @s 0 points \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/fuhuo_next.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/fuhuo_next.mcfunction new file mode 100644 index 00000000..e966e5e3 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/fuhuo_next.mcfunction @@ -0,0 +1,4 @@ +execute if score zombie.mode board matches ..2 as @a[team=play.zombie,gamemode=spectator,tag=!GOABLE.SPEC] at @s run function zombieever/fuhuo + +xp set @s 0 levels +xp set @s 0 points \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/guninfo.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/guninfo.mcfunction new file mode 100644 index 00000000..9b94c41b --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/guninfo.mcfunction @@ -0,0 +1,16 @@ +execute if data entity @s SelectedItem.tag.gun run tag @s add tmp.usinggun +execute if data entity @s {SelectedItem:{tag:{gun:-10}}} run tag @s remove tmp.usinggun +execute if data entity @s {SelectedItem:{tag:{gun:-10}}} run tag @s add tmp.coindisplay +# xp set @s 0 points +execute as @s[tag=tmp.coindisplay] run execute store result score gun.tmp board as @s at @s run data get entity @s SelectedItem.tag.coin +execute as @s[tag=tmp.coindisplay] run execute if score gun.tmp board matches 1.. run title @s actionbar [{"translate":"\u00a76☼ \u00a7e[%s\u00a7e] \u00a7e内含金钱: \u00a7a%s\u00a7b Coins \u00a76☼","with":[{"nbt":"SelectedItem.tag.display.Name","interpret":true,"entity":"@s"},{"score":{"name": "gun.tmp","objective": "board"},"color": "green"}]}] +execute as @s[tag=tmp.usinggun] run execute store result score gun.tmp board as @s at @s run data get entity @s SelectedItem.tag.bullet +execute as @s[tag=tmp.usinggun] if score @s cooldowntime matches 1.. run execute if score gun.tmp board matches 1.. run title @s actionbar [{"translate":"\u00a76☼ \u00a7e[%s\u00a7e] \u00a7e使用次数剩余: \u00a7a%s \u00a7b冷却时间: %s\u00a7ct\u00a76 ☼","with":[{"nbt":"SelectedItem.tag.display.Name","interpret":true,"entity":"@s"},{"score":{"name": "gun.tmp","objective": "board"},"color": "green"},{"score":{"name": "@s","objective": "cooldowntime"},"color": "red"}]}] +execute as @s[tag=tmp.usinggun] unless score @s cooldowntime matches 1.. run execute if score gun.tmp board matches 1.. run title @s actionbar [{"translate":"\u00a76☼ \u00a7e[%s\u00a7e] \u00a7e使用次数剩余: \u00a7a%s\u00a7e 消耗能量值: \u00a76%s \u00a7d⚝ %s\u00a76 ☼","with":[{"nbt":"SelectedItem.tag.display.Name","interpret":true,"entity":"@s"},{"score":{"name": "gun.tmp","objective": "board"},"color": "green"},{"nbt":"SelectedItem.tag.hp","interpret":true,"entity":"@s","color":"gold"},{"nbt":"SelectedItem.tag.display.Lore[2]","interpret":true,"entity":"@s"}]}] +execute as @s[tag=tmp.usinggun] run execute unless score gun.tmp board matches 1.. run title @s actionbar [{"translate":"\u00a7c☼ \u00a7e[%s\u00a7e] \u00a7c物品已被损坏 \u00a7c ☼","with":[{"nbt":"SelectedItem.tag.display.Name","interpret":true,"entity":"@s"}]}] + +# "\u00a7c\u00a7l冷却中: ",{"score":{"objective": "cooldowntime","name": "@s"},"color":"yellow"},"\u00a7et" +# execute as @s[tag=tmp.usinggun] run scoreboard players operation @s bw.tmp.em = gun.tmp board +# scoreboard players reset @s bw.tmp.em +tag @s remove tmp.usinggun +tag @s remove tmp.coindisplay diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/guntest.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/guntest.mcfunction new file mode 100644 index 00000000..49cdef90 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/guntest.mcfunction @@ -0,0 +1,4 @@ +execute store result score tmp board run data get entity @s SelectedItem.tag.hp +execute if score @s level >= tmp board run tag @s add success +execute as @s[tag=success] run scoreboard players operation @s bw.tmp.em = tmp board +execute as @s[tag=success] run function zombieever/removelevel/add \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/join.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/join.mcfunction new file mode 100644 index 00000000..3a379242 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/join.mcfunction @@ -0,0 +1,26 @@ +title @s title [{"text":"Zombie Day","color":"dark_green","bold": true}] +title @s subtitle ["\u00a7bPre-release \u00a7ev0.3"] +team join wait.zombie @s +tellraw @a[team=!wait.zombie] ["\u00a7a\u00a7l[MESSAGE] ",{"selector":"@s"},"\u00a77 已加入 ",{"text":"Zombie Day","color":"dark_green","bold": true}," \u00a77!"] +scoreboard players set wait.player tick 0 +execute as @a[team=wait.zombie,gamemode=adventure] run scoreboard players add wait.player tick 1 +tellraw @s ["\n\u00a7a Welcome to ",{"text":"Zombie Day","color":"dark_green","bold": true},"\n"] +tellraw @s ["\n\u00a7a ",{"text":"Zombie Day","color":"dark_green","bold": true},"\n\n \u00a7b版本:\u00a7ePre-release v0.3\n"] +tellraw @a[team=wait.zombie] ["\u00a76 > ",{"selector":"@s"},"\u00a72 已加入。 \u00a7b(",{"score":{"objective": "tick","name": "wait.player"},"color": "yellow"}," \u00a7ePeople\u00a7b)"] +# tp @s -202 16 353 -90 0 +playsound entity.player.levelup player @s 630 10 -78 1 1 1 +clear @s +effect clear @s +xp set @s 0 levels +xp set @s 0 points +spawnpoint @s 630 10 -78 + +# Zombies Tag: pve.zombie +tp @s 351 75 21 90 0 + +scoreboard players reset @s zombie.coin +tellraw @s[tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @s[tag=GOABLE.SPEC] at @s run gamemode spectator +execute as @s[tag=GOABLE.SPEC] at @s run team join play.zombie @s + +tellraw @s ["\n\u00a76 您可以在\u00a7b\u00a7l菜单 - 选项 - 声音 - 地图音乐\n \u00a7e(如果未加载材质包显示为“\u00a7b\u00a7l语音\u00a7e”)\n \u00a76调整背景音乐声音大小。\n"] \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/modify.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/modify.mcfunction new file mode 100644 index 00000000..b0089573 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/modify.mcfunction @@ -0,0 +1,10 @@ +playsound ui.button.click player @s +execute unless score zombie.state state matches 1.. run scoreboard players add zombie.type board 1 +execute if score zombie.state state matches 1.. run tellraw @s ["\u00a7c游戏已经开始,当前无法修改。"] +execute if score zombie.type board matches 5.. run scoreboard players set zombie.type board 1 +execute if score zombie.type board matches 3.. run scoreboard players set zombie.type board 1 +execute if score zombie.type board matches ..1 run data modify block 347 76 22 front_text.messages[1] set value '"\\u00a7a[简单难度]"' +# execute if score chest.type board matches 2 run data modify block 347 76 22 front_text.messages[(2-1)] set value '"\\u00a7b\\u00a7l[逃离神庙]"'} +execute if score zombie.type board matches 2 run data modify block 347 76 22 front_text.messages[1] set value '"\\u00a7c[困难难度]"' + +# execute if score chest.type board matches 4 run data modify block 347 76 22 front_text.messages[(2-1)] set value '"\\u00a7d\\u00a7l[五子棋]"'} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/modify_mode.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/modify_mode.mcfunction new file mode 100644 index 00000000..9346ad74 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/modify_mode.mcfunction @@ -0,0 +1,12 @@ +playsound ui.button.click player @s +execute unless score zombie.state state matches 1.. run scoreboard players add zombie.mode board 1 +execute if score zombie.state state matches 1.. run tellraw @s ["\u00a7c游戏已经开始,当前无法修改。"] +execute if score zombie.mode board matches 4.. run scoreboard players set zombie.mode board 1 +execute if score zombie.mode board matches ..1 run data modify block 347 76 21 front_text.messages[1] set value '"\\u00a7d[剧情模式]"' +execute if score zombie.mode board matches ..1 run data modify block 347 76 21 front_text.messages[2] set value '"\\u00a7e无限复活"' +# execute if score chest.type board matches 2 run data modify block 347 76 22 front_text.messages[(2-1)] set value '"\\u00a7b\\u00a7l[逃离神庙]"'} +execute if score zombie.mode board matches 2 run data modify block 347 76 21 front_text.messages[1] set value '"\\u00a7a[普通模式]"' +execute if score zombie.mode board matches 2 run data modify block 347 76 21 front_text.messages[2] set value '"\\u00a7e在每一个进度完成后复活"' +execute if score zombie.mode board matches 3 run data modify block 347 76 21 front_text.messages[1] set value '"\\u00a7c[高手模式]"' +execute if score zombie.mode board matches 3 run data modify block 347 76 21 front_text.messages[2] set value '"\\u00a7e您无法复活"' +# execute if score chest.type board matches 4 run data modify block 347 76 22 front_text.messages[(2-1)] set value '"\\u00a7d\\u00a7l[五子棋]"'} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround.mcfunction new file mode 100644 index 00000000..9aa7fd88 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround.mcfunction @@ -0,0 +1,31 @@ +scoreboard players add zombie.round board 1 +scoreboard players reset * zombie.villager.click +tellraw @a[team=play.zombie] ["\u00a7e进度推进 \u00a7b[Process ",{"score":{"name": "zombie.round","objective": "board"},"color":"green"},"\u00a7b]"] +# Total +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +execute if score zombie.round board matches 12 if entity @e[tag=pve.zombie,tag=pve.root] run function zombieever/rounds/11 +execute if score zombie.round board matches 12 unless entity @e[tag=pve.zombie,tag=pve.root] run function zombieever/talks/crazyrabbit/win + +## 下一把开始(开始检测) +# scoreboard players set zombie.state state 1 +execute if score zombie.round board matches 6..9 run tellraw @a[team=play.zombie] ["\n\u00a7a下一波将在10s后来临。\n"] +execute if score zombie.round board matches 5 run scoreboard players set zombie.round board 4 +execute if score zombie.round board matches 6 run schedule function zombieever/rounds/6 10s +execute if score zombie.round board matches 7 run schedule function zombieever/rounds/7 10s +execute if score zombie.round board matches 8 run schedule function zombieever/rounds/8 10s +execute if score zombie.round board matches 9 run schedule function zombieever/rounds/9 10s +execute if score zombie.round board matches 10 run schedule function zombieever/talks/rescue_village/win 5s +execute if score zombie.round board matches 14 run function zombieever/tasks/find_keys_final +execute if score zombie.round board matches 18..22 run tellraw @a[team=play.zombie] ["\n\u00a7a下一波将在10s后来临。\n"] +execute if score zombie.round board matches 18..22 run schedule function zombieever/rounds/stronghold 10s +execute if score zombie.round board matches 23 run function zombieever/door/open_cave_loot_out +execute if score zombie.round board matches 24 run function zombieever/rounds/lava +execute if score zombie.round board matches 25 run function zombieever/door/stronghold_tpup +execute if score zombie.round board matches 27 if entity @e[tag=pve.zombie,tag=pve.root] run function zombieever/rounds/strongholdboss_xb +# execute if score zombie.round board matches 28 if entity @e[tag=pve.zombie,tag=pve.root] run function zombieever/rounds/strongholdboss_xb +execute if score zombie.round board matches 27 run function zombieever/door/open_cave_wall_boss + +## 结束 +# execute if score zombie.round board matches 23.. as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} +# execute if score zombie.round board matches 23.. run function zombieever/over/win +execute if score zombie.round board matches 29.. run function zombieever/over/win diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround_old.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround_old.mcfunction new file mode 100644 index 00000000..a768a995 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround_old.mcfunction @@ -0,0 +1,152 @@ +scoreboard players add zombie.round board 1 +tellraw @a[team=play.zombie] ["\n \u00a7a现在是第 ",{"score":{"name": "zombie.round","objective": "board"},"color":"yellow"},"\u00a7e 轮\u00a7a。\n"] + +## 召唤僵尸 +# 困难模式: if score zombie.type board matches 2 +# 1 Normal - zombie + +execute if score zombie.round board matches 2 run tellraw @a[team=play.zombie] ["\n\u00a7a神様:\u00a7f干得不错,再接再厉!\n"] + +execute if score zombie.round board matches 1..4 if score zombie.type board matches 2 as @e[tag=zombie.spawn.1,limit=5,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 1..4 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.1,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 1..4 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.1,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.round board matches 2..4 as @e[tag=zombie.spawn.1,limit=3,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 2..4 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.1,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 2..4 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.1,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.round board matches 3..4 as @e[tag=zombie.spawn.1,limit=3,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 3..4 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.1,limit=1,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 3..4 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.1,limit=1,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +# 2 Normal - 小白 +execute if score zombie.round board matches 6 if score zombie.type board matches 2 run tellraw @a[team=play.zombie] ["\u00a7c骷髅:\u00a7f不要以为只有你们有枪!我们也有!"] +execute if score zombie.round board matches 6 if score zombie.type board matches 2 as @e[tag=zombie.spawn.2,limit=2,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:4d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{CustomModelData:9}}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 5..6 if score zombie.type board matches 2 as @e[tag=zombie.spawn.2,limit=5,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:4d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 5..6 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:4d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 5..6 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.round board matches 5..6 as @e[tag=zombie.spawn.2,limit=3,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandItems:[{id:"minecraft:bow",Count:1b},{}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 5..6 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandItems:[{id:"minecraft:bow",Count:1b},{}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 5..6 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandItems:[{id:"minecraft:bow",Count:1b},{}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.round board matches 6 as @e[tag=zombie.spawn.2,limit=3,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.round board matches 5..6 as @e[tag=zombie.spawn.2,limit=3,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 5..6 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 5..6 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +execute if score zombie.round board matches 6 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon iron_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 6 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.2,limit=1,sort=random] at @s run summon iron_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}]} + +# 3 Special - 溺尸 +execute if score zombie.round board matches 7 run tellraw @a[team=play.zombie] ["\n\u00a7b你:\u00a7f这次他们想玩什么花招?欸... 在\u00a7e\u00a7l村子中心的水里面\u00a7f有什么?!\n"] +execute if score zombie.round board matches 7..8 as @e[tag=zombie.spawn.3,limit=5,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 7..8 as @a[team=play.zombie,gamemode=adventure] at @s as @e[tag=zombie.spawn.3,limit=1,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 7..8 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.3,limit=1,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} +# + +execute if score zombie.round board matches 9..10 as @e[tag=zombie.spawn.3,limit=5,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 9..10 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.3,limit=1,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 9..10 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.3,limit=1,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.round board matches 10 as @e[tag=zombie.spawn.3,limit=1,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie","pve.gunfree"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:4d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"},{Base:3d,Name:"generic.max_health"}],Health:3,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{CustomModelData:9}}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +# 4 Special - 袭击(掠夺者) +execute if score zombie.round board matches 6 as @e[tag=zombie.spawn.4,limit=3,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:turtle_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 11 run tellraw @a[team=play.zombie] ["\n\u00a7d村民:\u00a7f这次又是什么鬼?!袭击者小队?!快逃啊!\n"] +execute if score zombie.round board matches 12 run tellraw @a[team=play.zombie] ["\n\u00a7d村民:\u00a7f不是吧?还有一次?!\n"] +# execute if score zombie.type board matches 1 if score zombie.round board matches 11..12 as @e[tag=zombie.spawn.4,limit=1,sort=random] at @s run summon evoker ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:air",Count:1b},{}]} +execute if score zombie.type board matches 1 if score zombie.round board matches 11..12 as @e[tag=zombie.spawn.4,limit=4,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute if score zombie.type board matches 1 if score zombie.round board matches 11..12 as @e[tag=zombie.spawn.4,limit=4,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.type board matches 1 if score zombie.round board matches 12 as @e[tag=zombie.spawn.4,limit=1,sort=random] at @s run summon ravager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:air",Count:1b},{}]} + +execute if score zombie.type board matches 2 if score zombie.round board matches 11..12 as @e[tag=zombie.spawn.4,limit=1,sort=random] at @s run summon evoker ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:air",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 11..12 as @e[tag=zombie.spawn.4,limit=2,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 11..12 as @e[tag=zombie.spawn.4,limit=2,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 12 as @e[tag=zombie.spawn.4,limit=1,sort=random] at @s run summon ravager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:air",Count:1b},{}]} + +# 5 Special - 幻翼 +execute if score zombie.round board matches 13 run tellraw @a[team=play.zombie] ["\n\u00a7a村民:\u00a7f欸... \u00a7b\u00a7l天上的\u00a7f是啥?!\n"] + +execute if score zombie.round board matches 13 as @e[tag=zombie.spawn.5,limit=5,sort=random] at @s run summon phantom ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 13 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.5,limit=5,sort=random] at @s run summon phantom ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +# Special - 杀手兔 +execute if score zombie.round board matches 14 run tellraw @a[team=play.zombie] ["\n\u00a7a村民:\u00a7f连兔子都发疯了!\n"] +execute if score zombie.round board matches 14 if score zombie.type board matches 2 as @e[tag=zombie.spawn.4,limit=3,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +execute if score zombie.round board matches 14 as @e[tag=zombie.spawn.4,limit=1,sort=random] at @s run summon rabbit ~ ~ ~ {RabbitType:99,Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Health:5,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.max_health"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 14 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.4,limit=1,sort=random] at @s run summon rabbit ~ ~ ~ {RabbitType:99,Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Health:5,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.max_health"},{Base:1d,Name:"generic.attack_speed"}]} + +# 6 Special - Underground - Open: +execute if score zombie.round board matches 15 run tellraw @a[team=play.zombie] ["\n\u00a7c敌人:\u00a7f此山是我开,此树是我栽。要想过此路,留下你命来!\n"] +execute if score zombie.round board matches 15 if score zombie.type board matches 2 as @e[tag=zombie.spawn.6,limit=5,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.6,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 as @e[tag=zombie.spawn.6,limit=3,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.6,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +execute if score zombie.round board matches 15 as @e[tag=zombie.spawn.6,limit=3,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.6,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.6,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +execute if score zombie.round board matches 15 as @e[tag=zombie.spawn.6,limit=3,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.6,limit=1,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 15 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.6,limit=1,sort=random] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +# 7 Special - Underground - 僵尸猪人 +execute if score zombie.round board matches 16 as @e[tag=zombie.spawn.7,limit=10,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +execute if score zombie.round board matches 16 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.7,limit=1,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{CustomModelData:9}}]} +execute if score zombie.round board matches 16 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.7,limit=1,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{CustomModelData:9}}]} + + +# 8 Special - Underground - 烈焰人 +execute if score zombie.round board matches 17 run tellraw @a[team=play.zombie] ["\n\u00a7c烈焰人:\u00a7f哦不!猪灵桑!我要为你们复仇!\n"] +execute if score zombie.round board matches 17..18 as @e[tag=zombie.spawn.8,limit=7,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 17..18 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.8,limit=1,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 17..18 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.8,limit=2,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +# 9 Special - Underground - 恶魂 +execute if score zombie.round board matches 19 run tellraw @a[team=play.zombie] ["\n\u00a7c恶魂:\u00a7f连烈焰人兄都打不过,看来只好我出马了!\n"] +execute if score zombie.round board matches 19..21 as @e[tag=zombie.spawn.9,limit=1,sort=random] at @s run summon ghast ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:30d,Name:"generic.max_health"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:30} +execute if score zombie.round board matches 20 as @e[tag=zombie.spawn.9,limit=3,sort=random] at @s run summon ghast ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:20d,Name:"generic.max_health"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:20} +execute if score zombie.round board matches 20 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.9,limit=1,sort=random] at @s run summon ghast ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"},{Base:20d,Name:"generic.max_health"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:20} +execute if score zombie.round board matches 20 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.9,limit=2,sort=random] at @s run summon ghast ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"},{Base:20d,Name:"generic.max_health"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:20} +execute if score zombie.round board matches 20 run tellraw @a[team=play.zombie] ["\n\u00a7c恶魂:\u00a7f既然一个人打不过,那就一起上!\n"] + + +# 10 Normal - Underground - 恶魂 + 烈焰人 + 僵尸猪人 + 小白 + 僵尸 +execute if score zombie.round board matches 21 run tellraw @a[team=play.zombie] ["\n\u00a7c敌人:\u00a7f既然我们打不过,那就多来点人!优势在我!\n"] +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.9,limit=2,sort=random] at @s run summon ghast ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:30d,Name:"generic.max_health"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:30} +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.8,limit=8,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 21..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.8,limit=1,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 21..22 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.8,limit=2,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 21..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.10,limit=1,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 21..22 if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=zombie.spawn.10,limit=1,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon creeper ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +#summon minecraft:marker ~ ~ ~ {Tags:["zombie.spawn","zombie.spawn.10"]} +execute if score zombie.type board matches 2 if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.6d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.6d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=6,sort=random] at @s run summon phantom ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.6d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_sword",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=4,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.6d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_axe",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=4,sort=random] at @s run summon evoker ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.6d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:diamond_axe",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.10,limit=4,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.6d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"}],HandDropChances:[0.0f,0.0f],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} + +# 11 Special - Boss +# @e[tag=zombie.spawn.boss] +execute if score zombie.type board matches 1 if score zombie.round board matches 22 as @e[tag=zombie.spawn.boss] at @s run summon wither ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],HandDropChances:[0.0f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],Health:1000,Attributes:[{Base:0.5d,Name:"generic.movement_speed"},{Base:1000d,Name:"generic.max_health"}],DeathLootTable:"minecraft:empty",CustomName:'"\\u00a7a\\u00a7l神様 \\u00a76\\u00a7lKamisama \\u00a76| \\u00a7b\\u00a7lThe God"'} +execute if score zombie.type board matches 2 if score zombie.round board matches 22 as @e[tag=zombie.spawn.boss] at @s run summon wither ~ ~ ~ {Tags:["pve.zombie","pve.gunzombie"],HandDropChances:[0.0f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],Health:2000,Attributes:[{Base:0.5d,Name:"generic.movement_speed"},{Base:1000d,Name:"generic.max_health"}],DeathLootTable:"minecraft:empty",CustomName:'"\\u00a7a\\u00a7l神様 \\u00a76\\u00a7lKamisama \\u00a76| \\u00a7b\\u00a7lThe God"'} + +# Total +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} + +## 下一把开始(开始检测) +scoreboard players set zombie.state state 1 + +## 结束 +# execute if score zombie.round board matches 23.. as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} +execute if score zombie.round board matches 23.. run function zombieever/over/win \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround_old2.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround_old2.mcfunction new file mode 100644 index 00000000..52cba0ca --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/nextround_old2.mcfunction @@ -0,0 +1,120 @@ +scoreboard players add zombie.round board 1 +tellraw @a[team=play.zombie] ["\n \u00a7a这是第 ",{"score":{"name": "zombie.round","objective": "board"},"color":"yellow"},"\u00a7e 轮\u00a7a进攻。\n\u00a7b 僵尸现在已经生成!\n"] +scoreboard players set zombie.state state 1 +## voice +execute if score zombie.round board matches 1 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 1 run playsound minecraft:music.overworld.grove voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 3 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 3 run playsound minecraft:music.overworld.snowy_slopes voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 5 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 5 run playsound minecraft:music.game voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 7 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 7 run playsound minecraft:music.overworld.jungle_and_forest voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 9 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 9 run playsound minecraft:music.overworld.deep_dark voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 11 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 11 run playsound minecraft:music_disc.13 voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 13 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 13 run playsound minecraft:music_disc.11 voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 15 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 15 run playsound minecraft:music_disc.pigstep voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 17 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 17 run playsound minecraft:music_disc.mall voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 19 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 19 run playsound minecraft:music_disc.blocks voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 21 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 21 run playsound minecraft:music_disc.stal voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 23 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 23 run playsound minecraft:music_disc.otherside voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +execute if score zombie.round board matches 25 run stopsound @a[team=play.zombie] voice +execute if score zombie.round board matches 25 run playsound minecraft:music_disc.cat voice @a[team=play.zombie] ~ ~ ~ 50 2 0.4 + +## Tips +execute if score zombie.round board matches 1 run tellraw @a[team=play.zombie] ["\n\u00a7e 提示:\n\u00a7a 散布在地图里的商店(牌子),右键即可交互,购买更好的装备!\n"] +execute if score zombie.round board matches 5 run tellraw @a[team=play.zombie] ["\n\u00a7e 提示:\n\u00a7a 在\u00a7c食堂\u00a7a内,可以购买回血用品,补充村民和自己的生命值!\n"] +execute if score zombie.round board matches 5 run tellraw @a[team=play.zombie] ["\n\u00a7a 提示:本轮为休息时间。\n\n\u00a76+1000 Coins (奖励)"] +execute if score zombie.round board matches 10 run tellraw @a[team=play.zombie] ["\n\u00a7a 提示:本轮只会生成雪傀儡与铁傀儡。\n"] +execute if score zombie.round board matches 12..15 run tellraw @a[team=play.zombie] ["\n\u00a7a 提示:从本轮只会生成苦力怕。\n"] +execute if score zombie.round board matches 18 run tellraw @a[team=play.zombie] ["\n\u00a7b 特殊事件:本局只会生成杀手兔。\n"] +execute if score zombie.round board matches 19 run tellraw @a[team=play.zombie] ["\n\u00a7b 特殊事件:本局只会生成僵尸猪人。\n"] +execute if score zombie.round board matches 25 run tellraw @a[team=play.zombie] ["\n\u00a7c\u00a7l BOSS 来临\n"] +execute if score zombie.round board matches 20 run tellraw @a[team=play.zombie] ["\n\u00a7a 提示:本轮只会生成凋灵骷髅与普通骷髅。\n"] +execute if score zombie.round board matches 23 run tellraw @a[team=play.zombie] ["\n \u00a7c僵尸强化!\n"] + + +## Zombies +execute if score zombie.round board matches 1 as @e[tag=zombie.spawn.now,sort=random,limit=5] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 2..2 as @e[tag=zombie.spawn.now,sort=random,limit=5] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 3..4 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 3..4 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 5 run function zombieever/door/open1 + +execute as @a[team=play.zombie] run execute if score zombie.round board matches 5 as @e[tag=zombie.spawn.now,sort=random,limit=1] at @s run summon pig ~ ~ ~ {Tags:["pve.zombie","pve.coin"],DeathLootTable:"",PersistenceRequired:1b,Health:100f,Attributes:[{Base:300d,Name:"generic.max_health"}]} +execute as @a[team=play.zombie] if score zombie.round board matches 5 run scoreboard players add @s zombie.coin 1000 +# execute if score zombie.round board matches 5 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon slime ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Size:0} +execute if score zombie.round board matches 6..9 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,HandItems:[{id:"minecraft:bow",Count:1b},{}],Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 7..9 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon llama ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} +execute if score zombie.round board matches 6..9 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.33d,Name:"generic.movement_speed"},{Base:3.3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 10..11 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon snow_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:7d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 10..11 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon iron_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:7d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 12..15 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon creeper ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 13..15 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon creeper ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 14..15 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon creeper ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +# execute if score zombie.round board matches 13..15 as @e[tag=zombie.spawn.now,sort=random,limit=9] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} +execute if score zombie.round board matches 16..17 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.23d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 16..17 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 16..17 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon creeper ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.33d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 16..17 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon spider ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 18 as @e[tag=zombie.spawn.now,sort=random,limit=5] at @s run summon rabbit ~ ~ ~ {RabbitType:99,Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Health:2,Attributes:[{Base:0.5d,Name:"generic.movement_speed"},{Base:2d,Name:"generic.max_health"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 19..19 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 20 run function zombieever/door/open2 +execute if score zombie.round board matches 20 as @e[tag=zombie.spawn.now,sort=random,limit=9] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,HandItems:[{},{id:"minecraft:bow",Count:1b}],Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 20 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} + +# execute if score zombie.round board matches 1..2 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} +# execute if score zombie.round board matches 3.. as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} + +scoreboard players set zombie.count tick 0 +execute as @e[tag=pve.zombie] run scoreboard players add zombie.count tick 1 +execute store result bossbar zombie:zombiecount max run scoreboard players get zombie.count tick + +execute if score zombie.round board matches 21..22 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:3.5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 23..24 as @e[tag=zombie.spawn.now,sort=random,limit=1] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"},{Base:0.5d,Name:"generic.movement_speed"},{Base:4d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}]} +execute if score zombie.round board matches 23..24 as @e[tag=zombie.spawn.now,sort=random,limit=3] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:30f,HandItems:[{id:"minecraft:bow",Count:1b},{}]} +execute if score zombie.round board matches 23..24 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"},{Base:0.4d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:30f} +execute if score zombie.round board matches 25 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"},{Base:0.4d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:30f} + + +execute as @a[team=play.zombie] run execute if score zombie.round board matches 25 as @e[tag=zombie.spawn.now,sort=random,limit=1] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:60f,HandItems:[{id:"minecraft:diamond_axe",Count:1b},{}]} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 25 as @e[tag=zombie.spawn.now,sort=random,limit=5] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:60f,HandItems:[{id:"minecraft:diamond_axe",Count:1b},{}]} +execute if score zombie.round board matches 25 as @e[tag=zombie.spawn.now,sort=random,limit=1] at @s run summon ravager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:60f} +execute if score zombie.round board matches 25 as @e[tag=zombie.spawn.now,sort=random,limit=5] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:30f,HandItems:[{id:"minecraft:bow",Count:1b},{}]} +execute if score zombie.round board matches 25 as @e[tag=zombie.boss,sort=random,limit=1] at @s run summon wither ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:90d,Name:"generic.max_health"},{Base:0.5d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:90f} +execute if score zombie.round board matches 25 as @e[type=wither,tag=pve.zombie] at @s run summon firework_rocket ~ ~2 ~ {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} + +execute if score zombie.round board matches 26 run tellraw @a[team=play.zombie] ["\n\u00a7c\u00a7l BOSS 来临\n"] +execute if score zombie.round board matches 26 as @e[tag=zombie.spawn.now,sort=random,limit=4] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"},{Base:0.5d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],Health:30f} +execute if score zombie.round board matches 26 as @e[tag=zombie.boss,sort=random,limit=2] at @s run summon wither ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:50d,Name:"generic.max_health"}],Health:50f} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 26 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:60f,HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute as @a[team=play.zombie] run execute if score zombie.round board matches 26 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:60f,HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute if score zombie.round board matches 26 as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon ravager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"}],Health:60f} +execute if score zombie.round board matches 26 as @e[type=wither,tag=pve.zombie] at @s run summon firework_rocket ~ ~2 ~ {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} +# zombie.boss + +execute if score zombie.round board matches 25..26 as @e[tag=zombie.spawn.now,sort=random,limit=10] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b,Attributes:[{Base:30d,Name:"generic.max_health"},{Base:0.55d,Name:"generic.movement_speed"},{Base:6d,Name:"generic.attack_damage"},{Base:2d,Name:"generic.attack_speed"}]} + +## 结束 +# execute if score zombie.round board matches 23.. as @e[tag=zombie.spawn.now,sort=random,limit=2] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"",PersistenceRequired:1b} +execute if score zombie.round board matches 27.. run function zombieever/over/win \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/o_f_tick.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/o_f_tick.mcfunction new file mode 100644 index 00000000..cb839787 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/o_f_tick.mcfunction @@ -0,0 +1,2 @@ +# execute if score zombie.state state matches 1 if score zombie.round board matches 10.. as @e[tag=pve.zombie,tag=pve.gunzombie] at @s run function gun/zombiegun/shoot +execute if score zombie.state state matches 1 as @e[tag=pve.zombie] at @s unless data entity @s {CustomNameVisible:1b} run function zombieever/zombie/displayhealth diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/over/all.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/all.mcfunction new file mode 100644 index 00000000..c4985736 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/all.mcfunction @@ -0,0 +1,25 @@ +schedule function zombieever/over/back 5s +tellraw @a ["\u00a72\u00a7lZombie Day >>> \u00a76游戏结束!游戏进度:",{"score":{"objective": "board","name": "zombie.round"},"color":"yellow"}] +scoreboard players set zombie.state state 5 +schedule clear zombieever/nextround +bossbar set zombie:zombiecount name ["\u00a7c游戏结束!"] +scoreboard players reset * zombie.coin +schedule clear minecraft:zombieever/nextround +schedule clear #minecraft:zom_talks + +forceload add 656 -41 596 -112 +forceload add 585 -67 495 -154 +forceload add 597 -111 714 1 +scoreboard players set zombie.round board 0 +kill @e[type=villager,tag=pve.npc] + +kill @e[tag=pve.root] +kill @e[tag=pve.zombie] +kill @e[type=item,x=653,y=29,z=-51,distance=0..80] +kill @e[type=item,x=536,y=-24,z=-107,distance=0..80] +kill @e[type=experience_orb,x=628,y=39,z=-82,distance=0..60] +kill @e[type=experience_orb,x=536,y=-24,z=-107,distance=0..80] + +forceload remove 597 -111 714 1 +forceload remove 656 -41 596 -112 +forceload remove 585 -67 495 -154 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/over/back.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/back.mcfunction new file mode 100644 index 00000000..749aa39d --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/back.mcfunction @@ -0,0 +1,5 @@ +gamemode adventure @a[gamemode=spectator,team=play.zombie] +execute as @a[team=play.zombie,gamemode=adventure] run function zombieever/join +scoreboard players set zombie.state state 0 +schedule clear zombieever/nextround +schedule clear #minecraft:zom_talks diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/over/lose_player.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/lose_player.mcfunction new file mode 100644 index 00000000..4ea7f4e9 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/lose_player.mcfunction @@ -0,0 +1,5 @@ +gamemode spectator @a[team=play.zombie,gamemode=adventure] +title @a[team=play.zombie] title ["\u00a7cYou lost!"] +title @a[team=play.zombie] subtitle ["\u00a7e所有玩家已经阵亡。"] +function zombieever/over/all +tellraw @a[team=play.zombie] ["\n\u00a72\u00a7l \u00a76游戏结束!持续轮数:",{"score":{"objective": "board","name": "zombie.round"},"color":"yellow"},"\n"] diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/over/lose_villager.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/lose_villager.mcfunction new file mode 100644 index 00000000..e51d472e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/lose_villager.mcfunction @@ -0,0 +1,5 @@ +gamemode spectator @a[team=play.zombie,gamemode=adventure] +title @a[team=play.zombie] title ["\u00a7cYou lost!"] +title @a[team=play.zombie] subtitle ["\u00a7b召唤师非正常死亡"] +function zombieever/over/all +tellraw @a[team=play.zombie] ["\n\u00a72\u00a7l \u00a76游戏结束!持续轮数:",{"score":{"objective": "board","name": "zombie.round"},"color":"yellow"},"\n"] diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/over/win.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/win.mcfunction new file mode 100644 index 00000000..66f0cefc --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/over/win.mcfunction @@ -0,0 +1,15 @@ +tellraw @a[team=play.zombie] ["\n\u00a7a 你获胜了!\n"] +title @a[team=play.zombie] title ["\u00a76你获胜了!"] +title @a[team=play.zombie] subtitle ["\u00a7aGood Game!"] +gamemode spectator @a[team=play.zombie,gamemode=adventure] +function zombieever/over/all +tellraw @a[team=play.zombie] ["\n\u00a72\u00a7l \u00a76游戏结束!\u00a7a冒险者们获胜!\n"] +summon firework_rocket 533 -53 -117 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} + +summon firework_rocket 533 -53 -121 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} + +summon firework_rocket 533 -53 -113 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} + +summon firework_rocket 348 -53 -125 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} + +summon firework_rocket 348 -53 -109 {LifeTime:20,FireworksItem:{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320],FadeColors:[I;1973019,11743532,3887386,5320730,2437522,8073150,2651799,11250603,4408131,14188952,4312372,14602026,6719955,12801229,15435844,15790320]}],Flight:1}}}} diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rejoin.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rejoin.mcfunction new file mode 100644 index 00000000..84d49b71 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rejoin.mcfunction @@ -0,0 +1,6 @@ +scoreboard players reset @s leave +execute as @s at @s run tellraw @a[tag=play.zombie] [{"selector":"@s"},"\u00a77 重新加入了游戏。"] +tellraw @s ["\n\u00a77 本次游戏仍然有效,您已加入游戏!\n \u00a77您可以使用 \u00a76/trigger hub\u00a77返回大厅\n"] +team join play.zombie +gamemode spectator @s +tp @s 630 40 -78 90 0 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/1.mcfunction new file mode 100644 index 00000000..45ef17f0 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/1.mcfunction @@ -0,0 +1,6 @@ +scoreboard players remove @s bw.tmp.em 1 +xp add @s -1 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 1.. run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/10.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/10.mcfunction new file mode 100644 index 00000000..f1762555 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/10.mcfunction @@ -0,0 +1,8 @@ +scoreboard players remove @s bw.tmp.em 10 +xp add @s -10 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 10.. run function minecraft:zombieever/removelevel/10 +execute if score @s bw.tmp.em matches 5..9 run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/100.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/100.mcfunction new file mode 100644 index 00000000..e2a16a6f --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/100.mcfunction @@ -0,0 +1,12 @@ +scoreboard players remove @s bw.tmp.em 100 +xp add @s -100 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 100.. run function minecraft:zombieever/removelevel/100 +execute if score @s bw.tmp.em matches 75..99 run function minecraft:zombieever/removelevel/75 +execute if score @s bw.tmp.em matches 50..74 run function minecraft:zombieever/removelevel/50 +execute if score @s bw.tmp.em matches 25..49 run function minecraft:zombieever/removelevel/25 +execute if score @s bw.tmp.em matches 10.. run function minecraft:zombieever/removelevel/10 +execute if score @s bw.tmp.em matches 5..9 run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/25.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/25.mcfunction new file mode 100644 index 00000000..3f334511 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/25.mcfunction @@ -0,0 +1,9 @@ +scoreboard players remove @s bw.tmp.em 25 +xp add @s -25 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 25.. run function minecraft:zombieever/removelevel/25 +execute if score @s bw.tmp.em matches 10..24 run function minecraft:zombieever/removelevel/10 +execute if score @s bw.tmp.em matches 5..9 run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/5.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/5.mcfunction new file mode 100644 index 00000000..1f0cec85 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/5.mcfunction @@ -0,0 +1,7 @@ +scoreboard players remove @s bw.tmp.em 5 +xp add @s -5 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 5.. run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/50.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/50.mcfunction new file mode 100644 index 00000000..e162c3fe --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/50.mcfunction @@ -0,0 +1,10 @@ +scoreboard players remove @s bw.tmp.em 50 +xp add @s -50 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 50.. run function minecraft:zombieever/removelevel/50 +execute if score @s bw.tmp.em matches 25..49 run function minecraft:zombieever/removelevel/25 +execute if score @s bw.tmp.em matches 10.. run function minecraft:zombieever/removelevel/10 +execute if score @s bw.tmp.em matches 5..9 run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/75.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/75.mcfunction new file mode 100644 index 00000000..50a7d7e7 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/75.mcfunction @@ -0,0 +1,11 @@ +scoreboard players remove @s bw.tmp.em 75 +xp add @s -75 levels +# xp set @s 1 points + +execute if score @s bw.tmp.em matches 75.. run function minecraft:zombieever/removelevel/75 +execute if score @s bw.tmp.em matches 50..74 run function minecraft:zombieever/removelevel/50 +execute if score @s bw.tmp.em matches 25..49 run function minecraft:zombieever/removelevel/25 +execute if score @s bw.tmp.em matches 10.. run function minecraft:zombieever/removelevel/10 +execute if score @s bw.tmp.em matches 5..9 run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +execute if score @s bw.tmp.em matches ..0 run scoreboard players reset @s bw.tmp.em \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/add.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/add.mcfunction new file mode 100644 index 00000000..35e66004 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/removelevel/add.mcfunction @@ -0,0 +1,12 @@ +# xp add @s 1 levels +# xp add @s -1 levels +# +execute if score @s bw.tmp.em matches 100.. run function minecraft:zombieever/removelevel/100 +execute if score @s bw.tmp.em matches 75..99 run function minecraft:zombieever/removelevel/75 +execute if score @s bw.tmp.em matches 50..74 run function minecraft:zombieever/removelevel/50 +execute if score @s bw.tmp.em matches 25..49 run function minecraft:zombieever/removelevel/25 +execute if score @s bw.tmp.em matches 10.. run function minecraft:zombieever/removelevel/10 +execute if score @s bw.tmp.em matches 5..9 run function minecraft:zombieever/removelevel/5 +execute if score @s bw.tmp.em matches 1..4 run function minecraft:zombieever/removelevel/1 +scoreboard players reset @s bw.tmp.em +stopsound @s * minecraft:entity.player.levelup \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/11.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/11.mcfunction new file mode 100644 index 00000000..acce75c5 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/11.mcfunction @@ -0,0 +1,6 @@ +scoreboard players set zombie.round board 11 + +execute as @e[tag=pve.spawn.rabbit,limit=2,sort=random] at @s run summon rabbit ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",RabbitType:99,Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:3d,Name:"generic.attack_speed"},{Base:3d,Name:"generic.max_health"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],Health:3} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.rabbit,limit=1,sort=random] at @s run summon rabbit ~ ~ ~ {RabbitType:99,Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"},{Base:3d,Name:"generic.max_health"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],Health:3} +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/13.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/13.mcfunction new file mode 100644 index 00000000..b34d4f2e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/13.mcfunction @@ -0,0 +1,6 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.findkey"]} +execute as @e[tag=pve.spawn.findkey,limit=10,sort=random] at @s run summon drowned ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:trident",Count:1b},{}]} +execute as @e[tag=pve.spawn.findkey,limit=2,sort=random] at @s run summon guardian ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 2 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/14.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/14.mcfunction new file mode 100644 index 00000000..b077ad9a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/14.mcfunction @@ -0,0 +1,11 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.house"]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.house,sort=random,limit=10] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.house,sort=random,limit=10] at @s run summon zombie_villager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.house,limit=2,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.type board matches 2 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.house,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.45d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:bow"},{}]} +execute if score zombie.type board matches 1 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.house,limit=1,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} + +scoreboard players set zombie.state state 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/3.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/3.mcfunction new file mode 100644 index 00000000..57c87983 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/3.mcfunction @@ -0,0 +1,8 @@ +#summon marker ~ ~ ~ {Tags:["pve.spawn.3","pve.spawn","pve"]} + +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.3,limit=5,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.3,limit=5,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.3,limit=2,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +# Total +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/5.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/5.mcfunction new file mode 100644 index 00000000..20ccb3d5 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/5.mcfunction @@ -0,0 +1,7 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.village"]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.village,limit=7,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.village,limit=5,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=1,sort=random] at @s run summon zombified_piglin ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/6.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/6.mcfunction new file mode 100644 index 00000000..4c4b153c --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/6.mcfunction @@ -0,0 +1,7 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.village"]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.village,limit=8,sort=random] at @s run summon zombie_villager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.village,limit=8,sort=random] at @s run summon zombie_villager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/7.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/7.mcfunction new file mode 100644 index 00000000..ccb51666 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/7.mcfunction @@ -0,0 +1,10 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.village"]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.village,limit=3,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.village,limit=3,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=2,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=1,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:wooden_axe",Count:1b},{}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=1,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/8.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/8.mcfunction new file mode 100644 index 00000000..3ed8812f --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/8.mcfunction @@ -0,0 +1,11 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.village"]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.village,limit=3,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.village,limit=3,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=2,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=1,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:wooden_axe",Count:1b},{}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=2,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village,limit=2,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/9.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/9.mcfunction new file mode 100644 index 00000000..83404983 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/9.mcfunction @@ -0,0 +1,7 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.village.iron"]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.village.iron,limit=2,sort=random] at @s run summon iron_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1.4d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.village.iron,limit=2,sort=random] at @s run summon iron_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.village.iron,limit=1,sort=random] at @s run summon iron_golem ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.2d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +scoreboard players set zombie.state state 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/boss.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/boss.mcfunction new file mode 100644 index 00000000..30d1a583 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/boss.mcfunction @@ -0,0 +1,7 @@ +# 544 -20 -128 +tellraw @a[team=play.zombie] ["\n\u00a7c 魔王降临...\n"] +scoreboard players set zombie.round board 28 + +execute if score zombie.type board matches 1 run summon wither 544 -20 -128 {Tags:["pve.zombie"],Health:1000,Attributes:[{Base:0.5d,Name:"generic.movement_speed"},{Base:1000d,Name:"generic.max_health"}],DeathLootTable:"minecraft:empty",CustomName:'"\\u00a7c\\u00a7l魔王"'} +execute if score zombie.type board matches 2 run summon wither 544 -20 -128 {Tags:["pve.zombie"],Health:2000,Attributes:[{Base:0.5d,Name:"generic.movement_speed"},{Base:2000d,Name:"generic.max_health"}],DeathLootTable:"minecraft:empty",CustomName:'"\\u00a7c\\u00a7l魔王"'} +function minecraft:zombieever/rounds/boss_xb diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/boss_xb.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/boss_xb.mcfunction new file mode 100644 index 00000000..692c0c10 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/boss_xb.mcfunction @@ -0,0 +1,15 @@ +# 544 -20 -128 +#summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.boss"]} +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.type board matches 1 as @e[tag=pve.spawn.boss,limit=1,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_sword",Count:1b},{}]} +execute as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:bow",Count:1b},{}]} +execute as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon wither_skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_sword",Count:1b},{}]} +execute as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon illusioner ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:bow",Count:1b},{}]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.boss,limit=2,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:bow",Count:1b},{}]} + +scoreboard players set zombie.state state 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/lava.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/lava.mcfunction new file mode 100644 index 00000000..39ad00ac --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/lava.mcfunction @@ -0,0 +1,11 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.lava"]} +execute if score zombie.round board matches 23..24 as @e[tag=pve.spawn.lava,limit=5,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.round board matches 23 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.lava,limit=2,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.round board matches 24 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.lava,limit=3,sort=random] at @s run summon blaze ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.4d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +# execute if score zombie.round board matches 18..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=2,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +# execute if score zombie.round board matches 18..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=2,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} + +scoreboard players set zombie.state state 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/stronghold.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/stronghold.mcfunction new file mode 100644 index 00000000..8ec603b2 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/stronghold.mcfunction @@ -0,0 +1,22 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.stronghold"]} + +execute if score zombie.round board matches 21..22 as @e[tag=pve.spawn.stronghold,limit=3,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.round board matches 21..22 as @e[tag=pve.spawn.stronghold,limit=3,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute if score zombie.type board matches 2 if score zombie.round board matches 18..22 as @e[tag=pve.spawn.stronghold,limit=8,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.35d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 if score zombie.round board matches 18..22 as @e[tag=pve.spawn.stronghold,limit=5,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 19..22 as @e[tag=pve.spawn.stronghold,limit=5,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:bow",Count:1b},{}]} +execute if score zombie.round board matches 19..22 as @e[tag=pve.spawn.stronghold,limit=2,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + + +execute if score zombie.round board matches 21..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=1,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.round board matches 21..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=1,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} +execute if score zombie.round board matches 20..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=2,sort=random] at @s run summon witch ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} + +execute if score zombie.type board matches 2 if score zombie.round board matches 18..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=2,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.type board matches 1 if score zombie.round board matches 18..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=1,sort=random] at @s run summon zombie ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}]} +execute if score zombie.round board matches 19..22 as @a[team=play.zombie,gamemode=adventure] as @e[tag=pve.spawn.stronghold,limit=2,sort=random] at @s run summon skeleton ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.3d,Name:"generic.movement_speed"},{Base:5d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:bow",Count:1b},{}]} + + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} + +scoreboard players set zombie.state state 1 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/strongholdboss.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/strongholdboss.mcfunction new file mode 100644 index 00000000..10df8884 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/strongholdboss.mcfunction @@ -0,0 +1,3 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.stongholdboss"]} +summon minecraft:illusioner 516 -43 -101 {HandItems:[{id:"minecraft:crossbow",Count:1b},{id:"minecraft:bow",Count:1b}],Tags:["pve.zombie","pve.root"],DeathLootTable:"minecraft:empty",Attributes:[{Base:30d,Name:"generic.max_health"}],Health:30} +function minecraft:zombieever/rounds/strongholdboss_xb diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/strongholdboss_xb.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/strongholdboss_xb.mcfunction new file mode 100644 index 00000000..eb73757e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/rounds/strongholdboss_xb.mcfunction @@ -0,0 +1,9 @@ +# summon marker ~ ~ ~ {Tags:["pve","pve.spawn","pve.spawn.stongholdboss"]} +execute as @e[tag=pve.spawn.stongholdboss,limit=2,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute as @e[tag=pve.spawn.stongholdboss,limit=2,sort=random] at @s run summon vindicator ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:iron_axe",Count:1b},{}]} +execute if score zombie.type board matches 2 as @e[tag=pve.spawn.stongholdboss,limit=1,sort=random] at @s run summon pillager ~ ~ ~ {Tags:["pve.zombie"],DeathLootTable:"minecraft:empty",Attributes:[{Base:0.25d,Name:"generic.movement_speed"},{Base:3d,Name:"generic.attack_damage"},{Base:1d,Name:"generic.attack_speed"}],ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",Count:1b,tag:{Unbreakable:1b}}],HandItems:[{id:"minecraft:crossbow",Count:1b},{}]} + +execute as @e[tag=pve.zombie] run data merge entity @s {PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f]} + +scoreboard players set zombie.state state 1 +scoreboard players set zombie.round board 26 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/second.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/second.mcfunction new file mode 100644 index 00000000..b591ee8c --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/second.mcfunction @@ -0,0 +1,29 @@ +spawnpoint @a[team=play.zombie] 671 -18 -51 +execute as @e[tag=zombie.villagers] at @s run function zombieever/villagers/displayhealth +execute as @e[tag=zombie.villager] at @s run kill @e[type=zombie_villager,distance=0..1] +execute as @e[type=item,nbt={Item:{tag:{coin:1b}}}] at @s run data merge entity @s {CustomName:'"\\u00a7e\\u00a7lZombie Coin"',CustomNameVisible:1b} + +tag @e[type=slime] add pve.zombie +tag @e[type=magma_cube] add pve.zombie +scoreboard players set zombie.count tick 0 +execute as @e[tag=pve.zombie,tag=!pve.root] run scoreboard players add zombie.count tick 1 +execute store result bossbar zombie:zombiecount value run scoreboard players get zombie.count tick +execute if score zombie.state state matches 1 run bossbar set zombie:zombiecount name ["\u00a7b任务 \u00a7a[",{"selector":"@e[tag=pve.title,type=marker,limit=1]","color":"yellow"},"\u00a7a] \u00a7e剩余僵尸数量:",{"score":{"name": "zombie.count","objective": "tick"},"color":"red"}] +execute if score zombie.state state matches 1 if score zombie.count tick matches ..0 run function zombieever/thisroundover +execute if score zombie.count tick matches ..6 run effect give @e[tag=pve.zombie] glowing 2 1 true + +# Display Info for player. +# execute as @a[team=play.zombie,gamemode=adventure] at @s run kill @e[type=experience_orb,distance=0..4] +kill @e[type=minecraft:trident,nbt={inGround:1b}] +# Player +scoreboard players set tmp.count tick 0 +execute as @a[team=play.zombie,gamemode=adventure] run scoreboard players add tmp.count tick 1 +# execute store result bossbar zombie:zombiecount value run scoreboard players get zombie.count tick +execute if score zombie.state state matches 1..2 if score tmp.count tick matches ..0 run function zombieever/over/lose_player +# execute if score zombie.state state matches 1 as @e[tag=pve.zombie,tag=pve.gunzombie] at @s run function gun/zombiegun/shoot + +# execute store result bossbar zombie:zombiecount value run scoreboard players get zombie.count tick +# execute if score zombie.type board matches 1 if score zombie.state state matches 1 if score tmp.count tick matches ..0 run function zombieever/over/lose_villager +kill @e[type=vex] + +execute if score zombie.round board matches 28 run function zombieever/tasks/detect/boss \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/arrowgun.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/arrowgun.mcfunction new file mode 100644 index 00000000..171b6c06 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/arrowgun.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 4000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 4000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{gun:5,bullet:400,cdtime:10,display:{Name:'"\\u00a76箭枪"',Lore:['"\\u00a7b子弹数量:\\u00a7e400"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e4.0 HP"']},CustomModelData:10} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/bettergun.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/bettergun.mcfunction new file mode 100644 index 00000000..1d6f5e70 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/bettergun.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 14000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 14000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:30,gun:"pao",damage:300,bullet:380,cdtime:10,distance:80,display:{Name:'"\\u00a7b李他娘的意大利魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e380"','"\\u00a7bCD: \\u00a7e80tick"','"\\u00a7b伤害:\\u00a7e30.0 HP"','"\\u00a7b距离:\\u00a7e80 \\u00a7bblocks"','"\\u00a7b消耗能量:\\u00a7e30"']},CustomModelData:9,speed:4} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamond_axe.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamond_axe.mcfunction new file mode 100644 index 00000000..14803c41 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamond_axe.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 4000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 4000 +execute as @s[tag=buy.pass] run give @s diamond_axe 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamond_sword.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamond_sword.mcfunction new file mode 100644 index 00000000..091ac316 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamond_sword.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 4000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 4000 +execute as @s[tag=buy.pass] run give @s diamond_sword 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamondarmor.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamondarmor.mcfunction new file mode 100644 index 00000000..7a51b9c2 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/diamondarmor.mcfunction @@ -0,0 +1,11 @@ +execute if score @s zombie.coin matches 6000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 6000 +execute as @s[tag=buy.pass] run give @s diamond_helmet{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run give @s diamond_chestplate{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run give @s diamond_leggings{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run give @s diamond_boots{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/enchan_book.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/enchan_book.mcfunction new file mode 100644 index 00000000..b8decdc0 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/enchan_book.mcfunction @@ -0,0 +1,9 @@ + +execute if score @s zombie.coin matches 7000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 7000 +execute as @s[tag=buy.pass] run give @s paper{display:{Lore:['{"italic":false,"color":"white","extra":[{"text":""},{"text":"提升玩家能量回复速度"}],"text":""}','{"italic":false,"color":"white","extra":[{"text":""},{"color":"yellow","text":"速度*2"}],"text":""}','"\\u00a7b放在背包即可生效"'],Name:'{"italic":false,"extra":[{"text":""},{"color":"#7CFE9D","text":"增益效果"}],"text":""}'},hpdouble:true,Enchantments:[{id:"efficiency",lvl:1}]} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/fallgun.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/fallgun.mcfunction new file mode 100644 index 00000000..4548534e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/fallgun.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 5000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 5000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:3,gun:3,bullet:1000,cdtime:3,display:{Name:'"\\u00a7b反重力魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e1000"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b消耗能量:\\u00a7e3"']},CustomModelData:8,speed:2} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/faster.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/faster.mcfunction new file mode 100644 index 00000000..fcb26a29 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/faster.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:1,gun:1,bullet:1000,cdtime:3,display:{Name:'"\\u00a7d莱福魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e1000"','"\\u00a7bCD: \\u00a7e6tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b消耗能量:\\u00a7e1"']},CustomModelData:9,speed:3} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/fireballgun.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/fireballgun.mcfunction new file mode 100644 index 00000000..97f7edde --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/fireballgun.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 5000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 5000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:10,gun:4,bullet:100,cdtime:3,display:{Name:'"\\u00a7c火焰弹魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e100"','"\\u00a7bCD: \\u00a7e30tick"','"\\u00a7b伤害:\\u00a77未知"','"\\u00a7b技能: \\u00a7a召唤火球"','"\\u00a7c注意:此枪可能会伤害玩家"','"\\u00a7b消耗能量:\\u00a7e10"']},CustomModelData:11} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/firegun.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/firegun.mcfunction new file mode 100644 index 00000000..2b31f924 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/firegun.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 5000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 5000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:1,gun:2,bullet:800,cdtime:1,display:{Name:'"\\u00a7c火属性魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e800"','"\\u00a7bCD: \\u00a7e3tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b消耗能量:\\u00a7e1"']},CustomModelData:7,speed:2} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/goldenapple.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/goldenapple.mcfunction new file mode 100644 index 00000000..f94dee58 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/goldenapple.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 500.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run give @s golden_apple 1 +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 500 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/health.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/health.mcfunction new file mode 100644 index 00000000..038342b1 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/health.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run give @p minecraft:splash_potion{custom_potion_effects:[{id:"instant_health",duration:20,amplifier:1,show_particles:1}],CustomPotionColor:16711680,display:{Name:'"\\u00a7c生命回复药水"'}} +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1000 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/huishou.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/huishou.mcfunction new file mode 100644 index 00000000..5ea74098 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/huishou.mcfunction @@ -0,0 +1,28 @@ +scoreboard players set tmp board 0 +playsound entity.enderman.teleport player @s ~ ~ ~ 1 1 0.5 +execute store result score tmp board run clear @s bucket 1 +execute if score tmp board matches 1.. run scoreboard players add @s zombie.coin 250 +execute if score tmp board matches 1.. run tellraw @s ["\u00a7a回收牛奶桶 * 1\n\u00a76+250 Coins"] +execute if data entity @s SelectedItem.tag.gun run tag @s add tmp.usinggun +execute if data entity @s {SelectedItem:{id:"minecraft:enchanted_book"}} run tag @s add gun.getenchanbook +# xp set @s 0 points +execute as @s[tag=tmp.usinggun] run execute store result score gun.tmp board as @s at @s run data get entity @s SelectedItem.tag.bullet +execute as @s[tag=tmp.usinggun] if score gun.tmp board matches 1.. run tag @s add gun.nohuishou +execute as @s[tag=tmp.usinggun] unless score gun.tmp board matches 1.. run tag @s add gun.huishou +execute as @s[tag=gun.huishou] run item replace entity @s weapon.mainhand with air +execute as @s[tag=gun.huishou] run scoreboard players add @s zombie.coin 500 +execute as @s[tag=gun.huishou] run tellraw @s ["\u00a7a回收魔法棒/枪械 * 1\n\u00a76+500 Coins"] +execute as @s[tag=gun.huishou] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=gun.nohuishou] run tellraw @s ["\u00a7c\u00a76[",{"nbt":"SelectedItem.tag.display.Name","interpret":true,"entity":"@s"},"\u00a76] \u00a7c不能被回收,因为他还没有被损坏。"] +execute unless score tmp board matches 1.. run tellraw @s[tag=!tmp.usinggun] ["\u00a7c它不能被回收,因为它不是枪械、魔法棒、桶或者附魔书。"] + +execute as @s[tag=gun.getenchanbook] run item replace entity @s weapon.mainhand with air +execute as @s[tag=gun.getenchanbook] run scoreboard players add @s zombie.coin 100 +execute as @s[tag=gun.getenchanbook] run tellraw @s ["\u00a7a回收附魔书 * 1\n\u00a76+100 Coins"] +execute as @s[tag=gun.getenchanbook] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 + + +tag @s remove gun.nohuishou +tag @s remove gun.huishou +tag @s remove tmp.usinggun +tag @s remove gun.getenchanbook \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/iron_axe.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/iron_axe.mcfunction new file mode 100644 index 00000000..edbe76aa --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/iron_axe.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1000 +execute as @s[tag=buy.pass] run give @s iron_axe 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/iron_sword.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/iron_sword.mcfunction new file mode 100644 index 00000000..243f2ede --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/iron_sword.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1000 +execute as @s[tag=buy.pass] run give @s iron_sword 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/ironarmor.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/ironarmor.mcfunction new file mode 100644 index 00000000..a71eb2ac --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/ironarmor.mcfunction @@ -0,0 +1,11 @@ +execute if score @s zombie.coin matches 3000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 3000 +execute as @s[tag=buy.pass] run give @s iron_helmet{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run give @s iron_chestplate{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run give @s iron_leggings{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run give @s iron_boots{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/level.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/level.mcfunction new file mode 100644 index 00000000..1db61132 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/level.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1000 +execute as @s[tag=buy.pass] run give @s experience_bottle 128 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/milk.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/milk.mcfunction new file mode 100644 index 00000000..557d65cd --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/milk.mcfunction @@ -0,0 +1,11 @@ +scoreboard players set tmp board 0 +execute store result score tmp board run clear @s bucket 1 +execute if score tmp board matches 1.. run scoreboard players add @s zombie.coin 250 +execute if score @s zombie.coin matches 500.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run give @s milk_bucket 1 +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 500 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/netherite_sword.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/netherite_sword.mcfunction new file mode 100644 index 00000000..992eaf4b --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/netherite_sword.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 6000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 6000 +execute as @s[tag=buy.pass] run give @s netherite_sword 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/onepao.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/onepao.mcfunction new file mode 100644 index 00000000..d54cd551 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/onepao.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 10000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 10000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:30,gun:"pao",damage:500,bullet:50,cdtime:20,distance:80,display:{Name:'"\\u00a7a\\u00a7l电磁炮"',Lore:['"\\u00a7b可使用次数:\\u00a7e50"','"\\u00a7bCD: \\u00a7e80tick"','"\\u00a7b伤害:\\u00a7e50.0 HP"','"\\u00a7b距离:\\u00a7e80 \\u00a7bblocks"','"\\u00a7b消耗能量:\\u00a7e30"']},CustomModelData:9,speed:6} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/onet_coin.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/onet_coin.mcfunction new file mode 100644 index 00000000..44e01c57 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/onet_coin.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1100.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1100 +execute as @s[tag=buy.pass] run give @s carrot_on_a_stick{display:{Name:'"\\u00a7e一小袋金币 \\u00a77- 右键使用"'},coin:1000,CustomModelData:21,gun:-10} 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/sheild.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/sheild.mcfunction new file mode 100644 index 00000000..cfb838a8 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/sheild.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 1000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 1000 +execute as @s[tag=buy.pass] run give @s shield{Unbreakable:1b} 1 +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/shooter.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/shooter.mcfunction new file mode 100644 index 00000000..c7b251de --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/shooter.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 800.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 800 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{hp:2,gun:1,bullet:200,cdtime:10,display:{Name:'"\\u00a7a基础魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e200"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b消耗能量:\\u00a7e2"']},CustomModelData:9,speed:1} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/spitgun.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/spitgun.mcfunction new file mode 100644 index 00000000..ee68bd47 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/spitgun.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 4000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 4000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{gun:6,bullet:10,cdtime:10,display:{Name:'"\\u00a7dAOE魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e10"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e10\\u00a7b/zombie"','"\\u00a7b技能: \\u00a7aAOE 范围伤害 (10 Blocks)"']},CustomModelData:12} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/xiandan.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/xiandan.mcfunction new file mode 100644 index 00000000..d47e005c --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/shop/xiandan.mcfunction @@ -0,0 +1,8 @@ +execute if score @s zombie.coin matches 6000.. run tag @s add buy.pass +execute as @s[tag=buy.pass] run scoreboard players remove @s zombie.coin 6000 +execute as @s[tag=buy.pass] run give @s minecraft:carrot_on_a_stick{gun:7,bullet:400,cdtime:20,distance:30,display:{Name:'"\\u00a7b霰弹枪"',Lore:['"\\u00a7b子弹数量:\\u00a7e400"','"\\u00a7bCD: \\u00a7e80tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b距离:\\u00a7e30 \\u00a7bblocks"']},CustomModelData:8,speed:3} +execute as @s[tag=buy.pass] run playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1 1 +execute as @s[tag=!buy.pass] run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute as @s[tag=!buy.pass] run tellraw @s ["\u00a7c购买失败!金币不够。"] +execute as @s[tag=buy.pass] run tellraw @s ["\u00a7a购买成功!"] +tag @s remove buy.pass \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/spec.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/spec.mcfunction new file mode 100644 index 00000000..6776f2d0 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/spec.mcfunction @@ -0,0 +1,16 @@ +gamemode spectator @s +tellraw @s ["\u00a7c很抱歉,游戏已经开始!您将在下局游戏加入!"] +tp @s 630 40 -78 90 0 +scoreboard players set @s zombie.coin 100 +tellraw @s ["\u00a76+300 Coins (加入游戏)"] +team join play.zombie +give @s wooden_sword{Unbreakable:1b} +give @s wooden_axe{Unbreakable:1b} +item replace entity @s armor.head with leather_helmet{Unbreakable:1b} +item replace entity @s armor.chest with leather_chestplate{Unbreakable:1b} +item replace entity @s armor.legs with leather_leggings{Unbreakable:1b} +item replace entity @s armor.feet with leather_boots{Unbreakable:1b} +give @s minecraft:carrot_on_a_stick{hp:2,gun:1,bullet:300,cdtime:10,display:{Name:'"\\u00a7a基础魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e300"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b消耗能量:\\u00a7e2"']},CustomModelData:9} +scoreboard players operation @a[team=play.zombie] globle.game = zombie globle.game +xp set @s 0 levels +xp set @s 0 points diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/start.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/start.mcfunction new file mode 100644 index 00000000..137a4808 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/start.mcfunction @@ -0,0 +1,44 @@ +# forceload add 393 30 304 -160 +forceload add 656 -41 596 -112 +forceload add 585 -67 495 -154 + +# 难度:zombie.type board 0简单 1困难 + +tp @a[team=wait.zombie,gamemode=adventure] 630 10 -78 -180 0 +scoreboard players set zombie.state state 2 +tellraw @a[team=wait.zombie] ["\u00a72\u00a7lZombie Day \u00a7e游戏开始!"] +execute if score zombie.type board matches 2 run tellraw @a[team=wait.zombie] ["\u00a7b模式:\u00a7c困难模式"] +execute if score zombie.type board matches 2 run title @a[team=wait.zombie] subtitle ["\u00a7b模式:\u00a7c困难"] +execute if score zombie.type board matches 1 run tellraw @a[team=wait.zombie] ["\u00a7b模式:\u00a7a简单模式"] +execute if score zombie.type board matches 1 run title @a[team=wait.zombie] subtitle ["\u00a7b模式:\u00a7a简单"] +title @a[team=wait.zombie] title ["\u00a72Zombie Day"] +scoreboard players reset * zombie.coin +playsound entity.firework_rocket.twinkle player @a[team=wait.zombie] ~ ~ ~ 1 1 1 + +xp set @a[team=wait.zombie] 0 points +xp set @a[team=wait.zombie] 0 levels + + +scoreboard players set @a[team=wait.zombie] zombie.coin 100 + +team join play.zombie @a[team=wait.zombie] +scoreboard players set zombie.round board 0 +function zombieever/door/closeall +kill @e[type=villager,tag=zombie.villagers] +kill @e[type=!player,tag=pve.zombie] +execute if score zombie.type board matches 1 as @e[tag=zombie.villager] at @s run summon villager ~ ~ ~ {Tags:["zombie.villagers"],NoAI:1b,PersistenceRequired:1b,Glowing:1b,VillagerData:{profession:"minecraft:none",type:"minecraft:snow"},Offers:{Recipes:[]},Rotation:[0.0f,0.0f],Health:20f,Attributes:[{Base:20d,Name:"generic.max_health"}],CustomNameVisible:1b,Team:"play.zombie"} + +tellraw @a[team=play.zombie] ["\n\u00a7a 欢迎游玩 \u00a72\u00a7lZombie Day\u00a7a!\n \u00a7b目前此游戏处于测试阶段,如发现 BUG 请及时反馈!\n\u00a7a 第一波僵尸将会在 \u00a7e15秒 \u00a7a后来临!\n"] + +scoreboard players set zombie.state state 2 +function zombieever/talks/pre/1 +kill @e[type=item,x=628,y=39,z=-82,distance=0..60] +kill @e[type=item,x=536,y=-24,z=-107,distance=0..80] +kill @e[type=experience_orb,x=628,y=39,z=-82,distance=0..60] +kill @e[type=experience_orb,x=536,y=-24,z=-107,distance=0..80] +tellraw @a[team=play.zombie,tag=GOABLE.SPEC] ["\n\u00a77 你已开启\u00a7b全局旁观者模式\u00a77。\n \u00a77由于你进入游戏后会变为旁观模式,请使用 \u00a76/trigger hub\u00a77 返回大厅。\n ",{"text":"\u00a7a\u00a7l点击此处,或者使用 \u00a76\u00a7l/trigger spec set 3 \u00a7a\u00a7l退出全局旁观者模式","bold":true,"clickEvent": {"action": "run_command","value": "/trigger spec set 3"},"hoverEvent": {"action": "show_text","contents": "\u00a7c点击此处退出全局旁观者模式"}},"\n"] +execute as @a[team=play.zombie,tag=GOABLE.SPEC] at @s run gamemode spectator + +scoreboard players add globle globle.game 1 +scoreboard players operation zombie globle.game = globle globle.game +scoreboard players operation @a[team=play.zombie] globle.game = zombie globle.game \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/crazyrabbit/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/crazyrabbit/1.mcfunction new file mode 100644 index 00000000..694d66b6 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/crazyrabbit/1.mcfunction @@ -0,0 +1,5 @@ +#pve.event.block.fruit +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f与亚奇洛贝"] +scoreboard players set zombie.round board 10 +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f接下来派发下一个任务。湖边的兔子发疯了,你们能解决这个问题吗?听说是一个长得像鱿鱼的魔术师干的,不解决魔术师问题是解决不了的。"] +schedule function zombieever/tasks/crazy_rabbit 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/crazyrabbit/win.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/crazyrabbit/win.mcfunction new file mode 100644 index 00000000..aee1c8b8 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/crazyrabbit/win.mcfunction @@ -0,0 +1,6 @@ +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f与\u00a7e亚奇洛贝"] +scoreboard players set zombie.round board 12 +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f恭喜你们完成任务。\n"] +tellraw @a[team=play.zombie] ["\u00a76+ 1000 \u00a76Coins (任务完成)"] +scoreboard players add @a[team=play.zombie] zombie.coin 1000 +schedule function zombieever/talks/findkey/1 6s \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/1.mcfunction new file mode 100644 index 00000000..9fe4d66e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/1.mcfunction @@ -0,0 +1,5 @@ +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f与亚奇洛贝"] +scoreboard players set zombie.round board 12 +scoreboard players set zombie.state state 2 +tellraw @a[team=play.zombie] ["\u00a7a你:\u00a7f对了,我看到墙上有有关于地牢的任务。你知道怎么进入地牢吗?"] +schedule function minecraft:zombieever/talks/findkey/2 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/2.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/2.mcfunction new file mode 100644 index 00000000..1280b710 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/2.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f嗯... 以前,地牢一直都是由\u00a7e村长冈里丝戴布先生\u00a7f在管理。"] +schedule function minecraft:zombieever/talks/findkey/3 2s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/3.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/3.mcfunction new file mode 100644 index 00000000..5ba0daf4 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/3.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f但如今村长已经去世,房屋已经荒废掉了。不过,他应该并没有把钥匙转交给别人,你去他屋子里找找看看吧。"] +schedule function minecraft:zombieever/talks/findkey/4 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/4.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/4.mcfunction new file mode 100644 index 00000000..70ed1740 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/4.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a7a你:\u00a7f但是,他屋子已经被锁上了啊!"] +schedule function minecraft:zombieever/talks/findkey/5 3s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/5.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/5.mcfunction new file mode 100644 index 00000000..4be9f107 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/findkey/5.mcfunction @@ -0,0 +1,4 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f其实还有一条通道。偷偷告诉你们,上次我去看的时候,他家的水井有个洞,一直忘了修。据说,\u00a7e水井里的水和湖里的水是联通的\u00a7f..."] +schedule function minecraft:zombieever/tasks/find_keys 3s append +scoreboard players set zombie.state state 1 +setblock 681 6 -21 minecraft:structure_void diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/1.mcfunction new file mode 100644 index 00000000..b6fb5405 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/1.mcfunction @@ -0,0 +1,5 @@ +#pve.event.block.fruit +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f与亚奇洛贝"] +scoreboard players set zombie.round board 2 +tellraw @a[team=play.zombie] ["\u00a7a你:\u00a7f您好,我想要注册冒险者。"] +schedule function minecraft:zombieever/talks/getfruit/2 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/2.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/2.mcfunction new file mode 100644 index 00000000..689a7f5b --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/2.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f好,请您在此处填写您的信息:\n\n名字:_________________\n年龄:______ 职业:______\n"] +schedule function minecraft:zombieever/talks/getfruit/3 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/3.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/3.mcfunction new file mode 100644 index 00000000..92bb6cc7 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/3.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f好,接下来为您派发第一个任务。\n"] +schedule function minecraft:zombieever/talks/getfruit/done 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/done.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/done.mcfunction new file mode 100644 index 00000000..00c33765 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/getfruit/done.mcfunction @@ -0,0 +1,3 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f最近果园附近有很多怪物出没,导致果实没了收成。请你们去击败它们,并顺便采摘果实。\n"] +function zombieever/tasks/getfruit +# scoreboard players set zombie.round board 2 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/1.mcfunction new file mode 100644 index 00000000..e100703c --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/1.mcfunction @@ -0,0 +1,10 @@ +summon minecraft:villager 630 10 -82 {CustomName:'["\\u00a74蜜斯莱哈雅 \\u00a7d[召唤师]"]',Invulnerable:1b,NoAI:1b,Silent:1b,PersistenceRequired:1b,VillagerData:{profession:"minecraft:librarian",type:"minecraft:desert"},Offers:{Recipes:[]},Tags:["pve.npc.pre","pve.zombie"],CustomNameVisible:1b,Attributes:[{Name:"generic.max_health",Base:100}],Health:100} +bossbar set zombie:zombiecount name ["\u00a7a前言:\u00a7f背景"] +tellraw @a[team=play.zombie] ["\u00a7d群众:\u00a7f欢迎勇者们的到来!"] +effect give @a[team=play.zombie] blindness 4 25 true +effect give @a[team=play.zombie] slowness 4 25 true +effect give @a[team=play.zombie] jump_boost 4 128 true +effect give @a[team=play.zombie] invisibility 4 25 true +schedule function minecraft:zombieever/talks/pre/2 4s append +scoreboard players set zombie.round board 0 +scoreboard players reset * zombie.villager.click \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/2.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/2.mcfunction new file mode 100644 index 00000000..93e2e1bb --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/2.mcfunction @@ -0,0 +1,3 @@ +tellraw @a[team=play.zombie] ["\u00a74蜜斯莱哈雅:\u00a7f勇者大人们,你们被召唤到这个世界了。"] +schedule function minecraft:zombieever/talks/pre/3 4s append +scoreboard players set zombie.round board 0 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/3.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/3.mcfunction new file mode 100644 index 00000000..880fe1b8 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/3.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a74蜜斯莱哈雅:\u00a7f时隔100年,魔王又一次降临。我们需要你们的帮助!"] +schedule function minecraft:zombieever/talks/pre/4 2s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/4.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/4.mcfunction new file mode 100644 index 00000000..95fe9899 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/4.mcfunction @@ -0,0 +1,12 @@ + +tellraw @a[team=play.zombie] ["\u00a74蜜斯莱哈雅:\u00a7f虽然这么说有点冒昧,请勇者们击败魔王!"] +tellraw @a[team=play.zombie] ["\u00a76+100 Coins (来自蜜斯莱哈雅)\n\u00a76+1 木剑 (来自蜜斯莱哈雅)\n\u00a76+1 木斧 (来自蜜斯莱哈雅)\n\u00a76+1 手枪 (来自蜜斯莱哈雅)\n\u00a76+1 皮革装备 (来自蜜斯莱哈雅)"] + +give @a[team=play.zombie] wooden_sword{Unbreakable:1b} +give @a[team=play.zombie] wooden_axe{Unbreakable:1b} +give @a[team=play.zombie] minecraft:carrot_on_a_stick{hp:2,gun:1,bullet:300,cdtime:10,display:{Name:'"\\u00a7a基础魔法棒"',Lore:['"\\u00a7b可使用次数:\\u00a7e300"','"\\u00a7bCD: \\u00a7e10tick"','"\\u00a7b伤害:\\u00a7e3.0 HP"','"\\u00a7b消耗能量:\\u00a7e2"']},CustomModelData:9} +item replace entity @a[team=play.zombie] armor.head with leather_helmet{Unbreakable:1b} +item replace entity @a[team=play.zombie] armor.chest with leather_chestplate{Unbreakable:1b} +item replace entity @a[team=play.zombie] armor.legs with leather_leggings{Unbreakable:1b} +item replace entity @a[team=play.zombie] armor.feet with leather_boots{Unbreakable:1b} +schedule function minecraft:zombieever/talks/pre/5 6s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/5.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/5.mcfunction new file mode 100644 index 00000000..6e9a008a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/5.mcfunction @@ -0,0 +1,4 @@ +execute unless entity @e[tag=pve.npc.pre] run function zombieever/talks/pre/sbdied +execute unless entity @e[tag=pve.npc.pre] run return 0 +tellraw @a[team=play.zombie] ["\u00a74蜜斯莱哈雅:\u00a7f祝你们顺利。"] +schedule function minecraft:zombieever/talks/pre/done 3s append diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/done.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/done.mcfunction new file mode 100644 index 00000000..aae6ab7d --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/done.mcfunction @@ -0,0 +1,12 @@ +execute unless entity @e[tag=pve.npc.pre] run function zombieever/talks/pre/sbdied +execute unless entity @e[tag=pve.npc.pre] run return 0 +tellraw @a[team=play.zombie] ["\u00a74蜜斯莱哈雅:\u00a7f在这个世界上,你们队伍里只要有一人活着,你们都可以完好地复活。\u00a7f你们可以去\u00a7d冒险者中心\u00a7f注册冒险者,详情可以找\u00a7e亚奇洛贝\u00a7f问问。\n"] + +kill @e[type=villager,tag=pve.npc.pre] +effect clear @a[team=play.zombie] blindness +effect clear @a[team=play.zombie] slowness +effect clear @a[team=play.zombie] jump_boost +effect clear @a[team=play.zombie] invisibility +bossbar set zombie:zombiecount name ["\u00a7a寻找:\u00a7e亚奇洛贝"] +scoreboard players reset * zombie.villager.click +scoreboard players set zombie.round board 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/sbdied.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/sbdied.mcfunction new file mode 100644 index 00000000..1af6baad --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/pre/sbdied.mcfunction @@ -0,0 +1,3 @@ +tellraw @a[team=play.zombie] ["\u00a7a群众:\u00a7f召唤师死了!快把勇者们杀掉!"] +# tellraw @a[team=play.zombie] ["\u00a7a群众:\u00a7f召唤师死了!快把勇者们杀掉!"] +function zombieever/over/lose_villager \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/rescue_village/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/rescue_village/1.mcfunction new file mode 100644 index 00000000..4bae9b6f --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/rescue_village/1.mcfunction @@ -0,0 +1,4 @@ +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f与\u00a7e亚奇洛贝"] +scoreboard players set zombie.round board 5 +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f新任务来啦!请前往\u00a7bMystery Village\u00a7f将变异的村民们都杀掉。\n"] +schedule function minecraft:zombieever/tasks/rescue_village 4s append diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/rescue_village/win.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/rescue_village/win.mcfunction new file mode 100644 index 00000000..163574b3 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/rescue_village/win.mcfunction @@ -0,0 +1,6 @@ +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f与\u00a7e亚奇洛贝"] +scoreboard players set zombie.round board 5 +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f恭喜你们完成任务。\n"] +tellraw @a[team=play.zombie] ["\u00a76+ 3000 \u00a76Coins (任务完成)"] +schedule function zombieever/talks/crazyrabbit/1 5s +scoreboard players add @a[team=play.zombie] zombie.coin 3000 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/stronghold_boss/1.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/stronghold_boss/1.mcfunction new file mode 100644 index 00000000..d840f5bf --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/stronghold_boss/1.mcfunction @@ -0,0 +1,5 @@ +scoreboard players set zombie.round board 26 +bossbar set zombie:zombiecount name ["\u00a7a对话:\u00a7f地牢BOSS 幻术师"] +tellraw @a[team=play.zombie] ["\u00a7b幻术师:\u00a7f已经好多年没有冒险者到我这里来了。"] +schedule function minecraft:zombieever/talks/stronghold_boss/2 4s append +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7c地牢BOSS战"'} diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/stronghold_boss/2.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/stronghold_boss/2.mcfunction new file mode 100644 index 00000000..a47f688a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/stronghold_boss/2.mcfunction @@ -0,0 +1,4 @@ + +tellraw @a[team=play.zombie] ["\u00a7b幻术师:\u00a7f来,小伙子们,一起陪他们玩玩!"] +scoreboard players set zombie.round board 26 +schedule function minecraft:zombieever/rounds/strongholdboss 4s append \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/trigger.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/trigger.mcfunction new file mode 100644 index 00000000..b8ceaeba --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/talks/trigger.mcfunction @@ -0,0 +1,6 @@ +execute if score zombie.round board matches 1 as @a[team=play.zombie,gamemode=adventure,scores={zombie.villager.click=1..},x=630,y=10,z=-91,distance=0..10] at @s run function zombieever/talks/getfruit/1 +execute if score zombie.round board matches 3 as @a[team=play.zombie,gamemode=adventure,scores={zombie.villager.click=1..},x=630,y=10,z=-91,distance=0..10] at @s run tellraw @s ["\u00a7c还没有将僵尸清理完。"] +execute if score zombie.round board matches 4 as @a[team=play.zombie,gamemode=adventure,scores={zombie.villager.click=1..},x=630,y=10,z=-91,distance=0..10] at @s run function zombieever/tasks/detect/fruit + + +scoreboard players reset @a[team=play.zombie] zombie.villager.click \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/boss.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/boss.mcfunction new file mode 100644 index 00000000..f43b32d2 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/boss.mcfunction @@ -0,0 +1,3 @@ +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7c魔王战争"'} +tellraw @a[team=play.zombie] ["\n\u00a7e 魔王即将降临...\n"] +schedule function zombieever/rounds/boss 60s \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/crazy_rabbit.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/crazy_rabbit.mcfunction new file mode 100644 index 00000000..d93e9e4a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/crazy_rabbit.mcfunction @@ -0,0 +1,8 @@ +tellraw @a[team=play.zombie] ["\n\u00a7b收到任务 \u00a7a",{"color":"yellow","text":"[发疯的兔子]","hoverEvent": {"action": "show_text","contents": [{"text":"\u00a7f寻找使兔子发疯的魔物,并击败它。\n\n\u00a77温馨提示:如果未找到魔术师,将无法解决此问题。\n当你找不到的时候,看看水里面?"}]}},"\u00a7a\n"] +scoreboard players set zombie.round board 11 +function zombieever/rounds/11 +scoreboard players set zombie.state state 1 +# At least 16 +summon minecraft:glow_squid 679 0 -83 {Tags:["pve.root","pve.zombie"],PersistenceRequired:1b,ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandDropChances:[0.0f,0.0f],CustomName:'"\\u00a7e兔子发疯罪魁祸首"',CustomNameVisible:1b,DeathLootTable:"minecraft:empty",active_effects:[{id:"glowing",duration:999999}],Attributes:[{Base:1.0d,Name:"generic.movement_speed"},{Base:30d,Name:"generic.max_health"}],Health:30} +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7a发疯的兔子"'} +execute if score tmp board matches 18.. run playsound entity.player.levelup player @s ~ ~ ~ 2 0 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/boss.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/boss.mcfunction new file mode 100644 index 00000000..0984601f --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/boss.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set zombie.count tick 0 +execute as @e[tag=pve.zombie,tag=!pve.root] run scoreboard players add zombie.count tick 1 +execute store result bossbar zombie:zombiecount value run scoreboard players get zombie.count tick +execute if entity @e[tag=pve.zombie,type=wither] if score zombie.count tick matches ..7 run function zombieever/rounds/boss_xb \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/findkey.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/findkey.mcfunction new file mode 100644 index 00000000..a00dd629 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/findkey.mcfunction @@ -0,0 +1,5 @@ +scoreboard players set tmp board 0 +execute as @a[team=play.zombie,gamemode=adventure] at @s if block ~ ~ ~ minecraft:structure_void run scoreboard players set tmp board 1 +execute as @a[team=play.zombie,gamemode=adventure] at @s if block ~ ~-1 ~ minecraft:green_terracotta run scoreboard players set tmp board 1 +execute as @a[team=play.zombie,gamemode=adventure] at @s if block ~ ~-2 ~ minecraft:green_terracotta run scoreboard players set tmp board 1 +execute if score tmp board matches 1 run function zombieever/tasks/find_keys_final \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/fruit.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/fruit.mcfunction new file mode 100644 index 00000000..e3389fce --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/fruit.mcfunction @@ -0,0 +1,12 @@ +scoreboard players set tmp board 0 +tag @s add sell +execute store result score tmp board run clear @a[team=play.zombie] sweet_berries 0 +execute if score tmp board matches 18.. run clear @a[team=play.zombie] sweet_berries +execute if score tmp board matches 18.. run tellraw @a[team=play.zombie] ["\n\u00a7a任务完成!\n\n\u00a7e亚奇洛贝:\u00a7f这是报酬,每人 \u00a7e1000 C\u00a7f。"] +execute if score tmp board matches 18.. as @a[team=play.zombie,gamemode=adventure] at @s run give @s carrot_on_a_stick{display:{Name:'"\\u00a7e一小袋金币 \\u00a77- 右键使用"'},coin:1000,CustomModelData:21,gun:-10} 1 +execute if score tmp board matches 18.. run playsound entity.player.levelup player @s ~ ~ ~ 2 1.5 1 +execute if score tmp board matches 18.. run function zombieever/talks/rescue_village/1 +# execute if score tmp board matches 18.. run / +execute if score tmp board matches ..17 run tellraw @s ["\n\u00a7c无法提交任务:采摘的果实不够。\n"] +execute if score tmp board matches ..17 run playsound entity.enderman.teleport player @s ~ ~ ~ 2 0 1 +tag @s remove sell diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/npc.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/npc.mcfunction new file mode 100644 index 00000000..86105f3d --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/npc.mcfunction @@ -0,0 +1 @@ +execute if entity @a[team=play.zombie,x=597,y=4,z=-59,distance=..10] run function zombieever/tasks/tryenterstronghold \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/stronghold_open.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/stronghold_open.mcfunction new file mode 100644 index 00000000..943e9abf --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/detect/stronghold_open.mcfunction @@ -0,0 +1,5 @@ +scoreboard players set tmp board 0 +execute as @a[team=play.zombie,gamemode=adventure] at @s run scoreboard players add tmp board 1 +scoreboard players set tmp2 board 0 +execute as @a[x=568,y=-11,z=-121,dx=9,dy=3,dz=1,team=play.zombie,gamemode=adventure] at @s run scoreboard players add tmp2 board 1 +execute if score tmp2 board >= tmp board run function zombieever/tasks/enterstronghold \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/enterstronghold.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/enterstronghold.mcfunction new file mode 100644 index 00000000..c3e47650 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/enterstronghold.mcfunction @@ -0,0 +1,5 @@ +function zombieever/door/open_cave_loot_in +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7c地牢探险"'} +scoreboard players set zombie.round board 18 +# tellraw @a[team=play.zombie] ["\u00a7a感谢各位的游玩!目前版本PVE暂时只做到这里,敬请期待更新!"] +# function zombieever/over/win \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/find_keys.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/find_keys.mcfunction new file mode 100644 index 00000000..6cfb78b4 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/find_keys.mcfunction @@ -0,0 +1,31 @@ +# 冈里丝戴布 +# 瑞斯梅基米 +# 瑞达布利斯 +# 希里蕾恩眼 +# 帕由瑞露温 +# 克娜登莱鲁 +# 木德雷卡拉 +# 玛克克夫达 +# 里奥克娜莱 +# 蜜斯莱哈雅 +# 托尔巴登利 +# 那尔玛沃温 +# 兹丽贝恩纳 +# 卡维露雅尔 +# 康尔尔萨妮 +# 泽克爱罗提 + +forceload add 597 -45 714 1 +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f听说,冈里丝戴布先生很喜欢\u00a7e把贵重物品藏在自己的\u00a7d樱花树花园\u00a7e当中\u00a7f。"] +tellraw @a[team=play.zombie] ["\n\u00a7b收到任务 \u00a7a",{"color":"green","text":"[寻找钥匙]","hoverEvent": {"action": "show_text","contents": [{"text":"\u00a7f寻找打开要塞的钥匙,并顺便打开冈里丝戴布的宅门。\n\n\u00a77温馨提示:存放东西的箱子并不会上锁。"}]}},"\u00a7a\n"] +execute as @e[tag=pve.house.chest] at @s run data merge block ~ ~ ~ {Items:[],Lock:"娃娃的wer114514",CustomName:'"\\u00a7r箱子"'} +execute as @e[tag=pve.house.chest,limit=1,sort=random] at @s run data merge block ~ ~ ~ {Items:[{id:"minecraft:tripwire_hook",Count:1b,tag:{display:{Name:'"\\u00a7e地牢钥匙"',Lore:['"\\u00a77用于打开地牢的钥匙"']},lock:2},Slot:13}],Lock:"",CustomName:'"\\u00a77貌似另外一个钥匙藏在樱花花园的角落里?"'} +data merge block 597 11 1 {Items:[{id:"minecraft:tripwire_hook",Count:1b,tag:{display:{Name:'"\\u00a7a大门钥匙"',Lore:['"\\u00a77用于打开大门的钥匙"']},lock:1},Slot:13}]} +forceload remove 597 -45 714 1 +# 召唤僵尸 +scoreboard players set zombie.round board 13 +function zombieever/rounds/13 +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a76寻找钥匙"'} + +scoreboard players set zombie.state state 1 +execute if score tmp board matches 18.. run playsound entity.player.levelup player @s ~ ~ ~ 2 0 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/find_keys_final.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/find_keys_final.mcfunction new file mode 100644 index 00000000..d35973ba --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/find_keys_final.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set zombie.round board 14 +kill @e[tag=pve.zombie] +function zombieever/rounds/14 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/getfruit.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/getfruit.mcfunction new file mode 100644 index 00000000..0dc47109 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/getfruit.mcfunction @@ -0,0 +1,9 @@ +execute as @e[tag=pve.event.block.fruit,limit=8,sort=random] at @s run setblock ~ ~ ~ minecraft:sweet_berry_bush[age=3] +execute as @e[tag=pve.event.block.fruit,limit=3,sort=random] at @s run setblock ~ ~ ~ minecraft:sweet_berry_bush[age=2] +tellraw @a[team=play.zombie] ["\n\u00a7b收到任务 \u00a7a",{"color":"green","text":"[收获果实]","hoverEvent": {"action": "show_text","contents": [{"text":"\u00a7f寻找魔物,并击败它们。\n然后顺便收获超过18个甜浆果。\n\n\u00a77温馨提示:提交时请让一个玩家提交。"}]}},"\u00a7a\n"] +function zombieever/rounds/3 +scoreboard players set zombie.round board 3 +scoreboard players set zombie.state state 1 +# At least 16 +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7a收集甜浆果"'} +execute if score tmp board matches 18.. run playsound entity.player.levelup player @s ~ ~ ~ 2 0 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/rescue_village.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/rescue_village.mcfunction new file mode 100644 index 00000000..34554873 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/rescue_village.mcfunction @@ -0,0 +1,7 @@ +tellraw @a[team=play.zombie] ["\n\u00a7b收到任务 \u00a7a",{"color":"green","text":"[拯救村民]","hoverEvent": {"action": "show_text","contents": [{"text":"\u00a7f寻找村庄中魔物,并击败它们。\n\n\u00a77温馨提示:攻击由5波僵尸组成。"}]}},"\u00a7a\n"] +scoreboard players set zombie.round board 5 +function zombieever/rounds/5 +scoreboard players set zombie.state state 1 +# At least 16 +data merge entity @e[tag=pve.title,limit=1] {CustomName:'"\\u00a7d拯救村庄"'} +execute if score tmp board matches 18.. run playsound entity.player.levelup player @s ~ ~ ~ 2 0 1 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/tryenterstronghold.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/tryenterstronghold.mcfunction new file mode 100644 index 00000000..9400f512 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tasks/tryenterstronghold.mcfunction @@ -0,0 +1,2 @@ +tellraw @a[team=play.zombie] ["\u00a7e亚奇洛贝:\u00a7f各位,注意哦,一旦进入地牢短时间内就没办法出来了,请各位做好准备。"] +scoreboard players set zombie.round board 17 \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/test/display.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/test/display.mcfunction new file mode 100644 index 00000000..fa43727b --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/test/display.mcfunction @@ -0,0 +1,11 @@ +execute as @e[tag=zombie.spawn.main] at @s run particle dust 0.118 1 0.192 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.1] at @s run particle dust 0.961 0.749 0.165 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.2] at @s run particle dust 0.373 0.91 0.945 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.3] at @s run particle dust 0.278 0.4 0.408 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.4] at @s run particle dust 0.875 0.106 0.106 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.5] at @s run particle dust 0.545 0.059 0.384 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.6] at @s run particle dust 1 0.933 0 1 ~ ~ ~ 0 0 0 1 30 +execute as @e[tag=zombie.spawn.7] at @s run particle dust 0.655 0.655 0.655 1 ~ ~ ~ 0 0 0 1 30 + +# +execute as @e[tag=zombie.boss] at @s run particle dust 0.945 0.373 0.373 1 ~ ~ ~ 0 0 0 1 30 diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/test/hack.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/test/hack.mcfunction new file mode 100644 index 00000000..f81c529a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/test/hack.mcfunction @@ -0,0 +1,11 @@ +# execute as @e[tag=zombie.villager] at @s run summon villager ~ ~ ~ {Tags:["zombie.villagers"],NoAI:1b,PersistenceRequired:1b,Glowing:1b,VillagerData:{profession:"minecraft:none",type:"minecraft:snow"},Career:1,CareerLevel:26,Offers:{Recipes:[]},Rotation:[0.0f,0.0f],Health:20f,Attributes:[{Base:20d,Name:"generic.max_health"}],CustomNameVisible:1b,Team:"play.zombie"} + +# /give @s minecraft:carrot_on_a_stick{gun:1,bullet:1000,cdtime:30} +# 自定义枪械: +# /give @s minecraft:carrot_on_a_stick{gun:"custom",damage:30,bullet:1000,cdtime:30,distance:20} +give @s minecraft:carrot_on_a_stick{gun:2,bullet:1000,cdtime:0} +give @s minecraft:carrot_on_a_stick{gun:3,bullet:1000,cdtime:0} +give @s minecraft:carrot_on_a_stick{gun:"custom",damage:70,bullet:1000,cdtime:4,distance:40,speed:5} +give @s minecraft:carrot_on_a_stick{gun:4,bullet:1000,cdtime:4} +give @s minecraft:carrot_on_a_stick{gun:5,bullet:1000,cdtime:4} +give @s minecraft:carrot_on_a_stick{gun:6,bullet:1000,cdtime:4} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/test/pointer.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/test/pointer.mcfunction new file mode 100644 index 00000000..9141bc26 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/test/pointer.mcfunction @@ -0,0 +1,9 @@ +give @s minecraft:villager_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["zombie.spawn.main","zombie.spawn"]},display:{Name:'"\\u00a7a出生点"'}} 1 +give @s minecraft:wolf_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["zombie.spawn.1","zombie.spawn"]},display:{Name:'"\\u00a76主楼"'}} 1 +give @s minecraft:cat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["zombie.spawn.2","zombie.spawn"]},display:{Name:'"\\u00a7b室外"'}} 1 + +give @s minecraft:pig_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["zombie.villager"]},display:{Name:'"\\u00a73村民 Spam"'}} 1 +give @s minecraft:enderman_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["zombie.boss"]},display:{Name:'"\\u00a7cBoss Spam"'}} 1 + + +# kill @e[tag=zombie.spawn] \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/thisroundover.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/thisroundover.mcfunction new file mode 100644 index 00000000..82a5e3da --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/thisroundover.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set zombie.state state 2 +function zombieever/fuhuo_next +function zombieever/nextround +bossbar set zombie:zombiecount name ["\u00a7b任务:",{"selector":"@e[tag=pve.title,type=marker,limit=1]","color":"yellow"}] \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/tick.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/tick.mcfunction new file mode 100644 index 00000000..61817f9e --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/tick.mcfunction @@ -0,0 +1,13 @@ +execute as @a[scores={zombie.hurt=1..},team=play.zombie] run function zombieever/damagetocoin +execute as @a[team=play.zombie,x=670,y=-19,z=-52,dx=2,dy=2,dz=2,gamemode=adventure] run function zombieever/died +execute as @e[tag=pve.zombie] at @s as @s[y=40,dy=10] run tp @s ~ ~-1 ~ + +#zombie.villager.click +function zombieever/talks/trigger +execute if score zombie.round board matches 13 run function zombieever/tasks/detect/findkey +execute if score zombie.round board matches 16 run function zombieever/tasks/detect/npc +execute if score zombie.round board matches 17 run function zombieever/tasks/detect/stronghold_open + +xp add @a[team=play.zombie,level=..200,gamemode=adventure] 1 points +execute as @a[team=play.zombie,level=..200,gamemode=adventure] run xp add @s[nbt={Inventory:[{id:"minecraft:paper",tag:{hpdouble:true}}]}] 5 points +execute as @a[team=play.zombie,level=30..200,gamemode=adventure] run xp add @s[nbt={Inventory:[{id:"minecraft:paper",tag:{hpdouble:true}}]}] 5 points \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/trystart.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/trystart.mcfunction new file mode 100644 index 00000000..ae888cfd --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/trystart.mcfunction @@ -0,0 +1,8 @@ +playsound ui.button.click player @s +scoreboard players set wait.player tick 0 +execute as @a[team=wait.zombie,gamemode=adventure] run scoreboard players add wait.player tick 1 +scoreboard players add zombie.state state 0 +execute if score zombie.state state matches 1.. run function minecraft:zombieever/spec +execute unless score zombie.state state matches 1.. if score wait.player tick matches ..0 run tellraw @s ["\u00a7c人数不够!请等待至少1人!"] +execute unless score zombie.state state matches 1.. if score wait.player tick matches ..0 run playsound entity.enderman.teleport player @s ~ ~ ~ 1 0 1 +execute unless score zombie.state state matches 1.. if score wait.player tick matches 1.. run function minecraft:zombieever/start diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/villagers/displayhealth.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/villagers/displayhealth.mcfunction new file mode 100644 index 00000000..488d398a --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/villagers/displayhealth.mcfunction @@ -0,0 +1,4 @@ +execute store result score vi.tm.health board run data get entity @s Health 1 +data modify block 348 23 -157 front_text.messages[0] set value '["\\u00a7a剩余血量: ",{"score":{"objective":"board","name":"vi.tm.health"},"color":"red"},"\\u00a7c♥"]' +# ["\\u00a7a剩余血量: ",{"score":{"objective":"board","name":"vi.tm.health"},"color":"red"},"\\u00a7c♥"] +data modify entity @s CustomName set from block 348 23 -157 front_text.messages[0] \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/functions/zombieever/zombie/displayhealth.mcfunction b/datapacks/zombiepve/data/minecraft/functions/zombieever/zombie/displayhealth.mcfunction new file mode 100644 index 00000000..a1258b22 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/functions/zombieever/zombie/displayhealth.mcfunction @@ -0,0 +1,6 @@ +execute store result score vi.tm.health board run data get entity @s Health 1 +execute as @s[tag=!pve.coin] run data modify block 612 10 -89 front_text.messages[0] set value '["\\u00a72\\u00a7lZombies \\u00a77| ",{"score":{"objective":"board","name":"vi.tm.health"},"color":"red"},"\\u00a7c♥"]' +execute as @s[tag=pve.coin] run data modify block 612 10 -89 front_text.messages[0] set value '["\\u00a7e\\u00a7l刷金币 \\u00a77| ",{"score":{"objective":"board","name":"vi.tm.health"},"color":"red"},"\\u00a7c♥"]' +# ["\\u00a7a剩余血量: ",{"score":{"objective":"board","name":"vi.tm.health"},"color":"red"},"\\u00a7c♥"] +data modify entity @s CustomName set from block 612 10 -89 front_text.messages[0] +execute as @s[tag=pve.coin] run data merge entity @s {CustomNameVisible:1b} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/item_modifiers/usegun.json b/datapacks/zombiepve/data/minecraft/item_modifiers/usegun.json new file mode 100644 index 00000000..954db9fa --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/item_modifiers/usegun.json @@ -0,0 +1,16 @@ +[ + { + "function": "copy_nbt", + "source": { + "type": "storage", + "source": "gun:tmp" + }, + "ops": [ + { + "source": "count", + "target": "bullet", + "op": "replace" + } + ] + } +] \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/loot_tables/coin_loot.json b/datapacks/zombiepve/data/minecraft/loot_tables/coin_loot.json new file mode 100644 index 00000000..c265fbd5 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/loot_tables/coin_loot.json @@ -0,0 +1,39 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 1 + }, + "bonus_rolls": { + "min": 0, + "max": 0 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:sunflower", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{display:{Name:'\"§e§lZombie Coin\"',Lore:['\"§7丧尸之日货币\"']},coin:1b,Unbreakable:1b,HideFlags:63,ench:[{id:114s,lvl:1s}]}" + }, + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 6 + } + }, + { + "function": "minecraft:looting_enchant", + "limit": 0, + "count": 5 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/loot_tables/random_enchant.json b/datapacks/zombiepve/data/minecraft/loot_tables/random_enchant.json new file mode 100644 index 00000000..06743945 --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/loot_tables/random_enchant.json @@ -0,0 +1,19 @@ +{ + "pools": [ + { + "rolls": 1, + "bonus_rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/datapacks/zombiepve/data/minecraft/tags/functions/zom_talks.json b/datapacks/zombiepve/data/minecraft/tags/functions/zom_talks.json new file mode 100644 index 00000000..e69ce3ce --- /dev/null +++ b/datapacks/zombiepve/data/minecraft/tags/functions/zom_talks.json @@ -0,0 +1,52 @@ +{ + "values": [ + "minecraft:zombieever/talks/pre/1", + "minecraft:zombieever/talks/pre/2", + "minecraft:zombieever/talks/pre/3", + "minecraft:zombieever/talks/pre/4", + "minecraft:zombieever/talks/pre/5", + "minecraft:zombieever/talks/getfruit/1", + "minecraft:zombieever/talks/getfruit/2", + "minecraft:zombieever/talks/getfruit/3", + "minecraft:zombieever/talks/getfruit/done", + "minecraft:zombieever/talks/pre/done", + "minecraft:zombieever/nextround", + "minecraft:zombieever/nextround_old", + "minecraft:zombieever/tasks/find_keys", + "minecraft:zombieever/nextround_old2", + "minecraft:zombieever/tasks/boss", + "minecraft:zombieever/tasks/crazy_rabbit", + "minecraft:zombieever/tasks/enterstronghold", + "minecraft:zombieever/tasks/find_keys", + "minecraft:zombieever/tasks/find_keys_final", + "minecraft:zombieever/tasks/getfruit", + "minecraft:zombieever/tasks/rescue_village", + "minecraft:zombieever/tasks/tryenterstronghold", + "minecraft:zombieever/talks/crazyrabbit/1", + "minecraft:zombieever/talks/crazyrabbit/win", + "minecraft:zombieever/talks/findkey/1", + "minecraft:zombieever/talks/findkey/2", + "minecraft:zombieever/talks/findkey/3", + "minecraft:zombieever/talks/findkey/4", + "minecraft:zombieever/talks/findkey/5", + "minecraft:zombieever/talks/rescue_village/1", + "minecraft:zombieever/talks/rescue_village/win", + "minecraft:zombieever/talks/stronghold_boss/1", + "minecraft:zombieever/talks/stronghold_boss/2", + "minecraft:zombieever/rounds/3", + "minecraft:zombieever/rounds/5", + "minecraft:zombieever/rounds/6", + "minecraft:zombieever/rounds/7", + "minecraft:zombieever/rounds/8", + "minecraft:zombieever/rounds/9", + "minecraft:zombieever/rounds/11", + "minecraft:zombieever/rounds/14", + "minecraft:zombieever/rounds/13", + "minecraft:zombieever/rounds/boss", + "minecraft:zombieever/rounds/boss_xb", + "minecraft:zombieever/rounds/lava", + "minecraft:zombieever/rounds/stronghold", + "minecraft:zombieever/rounds/strongholdboss", + "minecraft:zombieever/rounds/strongholdboss_xb" + ] +} diff --git a/datapacks/zombiepve/pack.mcmeta b/datapacks/zombiepve/pack.mcmeta new file mode 100644 index 00000000..024af82d --- /dev/null +++ b/datapacks/zombiepve/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Map's Datapacks - PVE §a[Language: 简体中文]" + } +} \ No newline at end of file diff --git a/dimensions/minecraft/airworld/data/chunks.dat b/dimensions/minecraft/airworld/data/chunks.dat new file mode 100644 index 00000000..8b8d65ff Binary files /dev/null and b/dimensions/minecraft/airworld/data/chunks.dat differ diff --git a/dimensions/minecraft/airworld/data/raids.dat b/dimensions/minecraft/airworld/data/raids.dat new file mode 100644 index 00000000..5c378c00 Binary files /dev/null and b/dimensions/minecraft/airworld/data/raids.dat differ diff --git a/dimensions/minecraft/airworld/entities/r.-1.-1.mca b/dimensions/minecraft/airworld/entities/r.-1.-1.mca new file mode 100644 index 00000000..48975ac3 Binary files /dev/null and b/dimensions/minecraft/airworld/entities/r.-1.-1.mca differ diff --git a/dimensions/minecraft/airworld/entities/r.-1.0.mca b/dimensions/minecraft/airworld/entities/r.-1.0.mca new file mode 100644 index 00000000..7de1dd31 Binary files /dev/null and b/dimensions/minecraft/airworld/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/airworld/entities/r.0.-1.mca b/dimensions/minecraft/airworld/entities/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/entities/r.0.0.mca b/dimensions/minecraft/airworld/entities/r.0.0.mca new file mode 100644 index 00000000..b4914b29 Binary files /dev/null and b/dimensions/minecraft/airworld/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/airworld/entities/r.0.1.mca b/dimensions/minecraft/airworld/entities/r.0.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/entities/r.1.-1.mca b/dimensions/minecraft/airworld/entities/r.1.-1.mca new file mode 100644 index 00000000..789a4459 Binary files /dev/null and b/dimensions/minecraft/airworld/entities/r.1.-1.mca differ diff --git a/dimensions/minecraft/airworld/entities/r.1.0.mca b/dimensions/minecraft/airworld/entities/r.1.0.mca new file mode 100644 index 00000000..316ea1e5 Binary files /dev/null and b/dimensions/minecraft/airworld/entities/r.1.0.mca differ diff --git a/dimensions/minecraft/airworld/entities/r.1.1.mca b/dimensions/minecraft/airworld/entities/r.1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/entities/r.2.-1.mca b/dimensions/minecraft/airworld/entities/r.2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/entities/r.2.0.mca b/dimensions/minecraft/airworld/entities/r.2.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.-1.-1.mca b/dimensions/minecraft/airworld/poi/r.-1.-1.mca new file mode 100644 index 00000000..a22d8f19 Binary files /dev/null and b/dimensions/minecraft/airworld/poi/r.-1.-1.mca differ diff --git a/dimensions/minecraft/airworld/poi/r.-1.-2.mca b/dimensions/minecraft/airworld/poi/r.-1.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.-1.0.mca b/dimensions/minecraft/airworld/poi/r.-1.0.mca new file mode 100644 index 00000000..d9f1fc5a Binary files /dev/null and b/dimensions/minecraft/airworld/poi/r.-1.0.mca differ diff --git a/dimensions/minecraft/airworld/poi/r.-1.1.mca b/dimensions/minecraft/airworld/poi/r.-1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.0.-1.mca b/dimensions/minecraft/airworld/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.0.-2.mca b/dimensions/minecraft/airworld/poi/r.0.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.0.0.mca b/dimensions/minecraft/airworld/poi/r.0.0.mca new file mode 100644 index 00000000..b06c1e5d Binary files /dev/null and b/dimensions/minecraft/airworld/poi/r.0.0.mca differ diff --git a/dimensions/minecraft/airworld/poi/r.0.1.mca b/dimensions/minecraft/airworld/poi/r.0.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.1.-1.mca b/dimensions/minecraft/airworld/poi/r.1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.1.0.mca b/dimensions/minecraft/airworld/poi/r.1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.1.1.mca b/dimensions/minecraft/airworld/poi/r.1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.2.-1.mca b/dimensions/minecraft/airworld/poi/r.2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.2.0.mca b/dimensions/minecraft/airworld/poi/r.2.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/poi/r.2.1.mca b/dimensions/minecraft/airworld/poi/r.2.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/airworld/region/r.-1.-1.mca b/dimensions/minecraft/airworld/region/r.-1.-1.mca new file mode 100644 index 00000000..5334b6be Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.-1.-2.mca b/dimensions/minecraft/airworld/region/r.-1.-2.mca new file mode 100644 index 00000000..6df8a433 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.-1.-2.mca differ diff --git a/dimensions/minecraft/airworld/region/r.-1.0.mca b/dimensions/minecraft/airworld/region/r.-1.0.mca new file mode 100644 index 00000000..58cf2610 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/airworld/region/r.-1.1.mca b/dimensions/minecraft/airworld/region/r.-1.1.mca new file mode 100644 index 00000000..7ecaf72e Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.-1.1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.0.-1.mca b/dimensions/minecraft/airworld/region/r.0.-1.mca new file mode 100644 index 00000000..0ccc404d Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.0.-2.mca b/dimensions/minecraft/airworld/region/r.0.-2.mca new file mode 100644 index 00000000..ee88d5d6 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.0.-2.mca differ diff --git a/dimensions/minecraft/airworld/region/r.0.0.mca b/dimensions/minecraft/airworld/region/r.0.0.mca new file mode 100644 index 00000000..abc621b1 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.0.0.mca differ diff --git a/dimensions/minecraft/airworld/region/r.0.1.mca b/dimensions/minecraft/airworld/region/r.0.1.mca new file mode 100644 index 00000000..d2e8c099 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.0.1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.1.-1.mca b/dimensions/minecraft/airworld/region/r.1.-1.mca new file mode 100644 index 00000000..620186a0 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.1.-1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.1.0.mca b/dimensions/minecraft/airworld/region/r.1.0.mca new file mode 100644 index 00000000..de47e831 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.1.0.mca differ diff --git a/dimensions/minecraft/airworld/region/r.1.1.mca b/dimensions/minecraft/airworld/region/r.1.1.mca new file mode 100644 index 00000000..b805e5ac Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.1.1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.2.-1.mca b/dimensions/minecraft/airworld/region/r.2.-1.mca new file mode 100644 index 00000000..39b6d1ea Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.2.-1.mca differ diff --git a/dimensions/minecraft/airworld/region/r.2.0.mca b/dimensions/minecraft/airworld/region/r.2.0.mca new file mode 100644 index 00000000..44d961e4 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.2.0.mca differ diff --git a/dimensions/minecraft/airworld/region/r.2.1.mca b/dimensions/minecraft/airworld/region/r.2.1.mca new file mode 100644 index 00000000..3f818c92 Binary files /dev/null and b/dimensions/minecraft/airworld/region/r.2.1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/data/chunks.dat b/dimensions/minecraft/bedwars_backup/data/chunks.dat new file mode 100644 index 00000000..8b8d65ff Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/data/chunks.dat differ diff --git a/dimensions/minecraft/bedwars_backup/data/raids.dat b/dimensions/minecraft/bedwars_backup/data/raids.dat new file mode 100644 index 00000000..4133f6e7 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/data/raids.dat differ diff --git a/dimensions/minecraft/bedwars_backup/entities/r.-1.-1.mca b/dimensions/minecraft/bedwars_backup/entities/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/entities/r.-1.-2.mca b/dimensions/minecraft/bedwars_backup/entities/r.-1.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/entities/r.-1.0.mca b/dimensions/minecraft/bedwars_backup/entities/r.-1.0.mca new file mode 100644 index 00000000..a6ab06c4 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/entities/r.-2.-1.mca b/dimensions/minecraft/bedwars_backup/entities/r.-2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/entities/r.-2.-2.mca b/dimensions/minecraft/bedwars_backup/entities/r.-2.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/entities/r.-2.0.mca b/dimensions/minecraft/bedwars_backup/entities/r.-2.0.mca new file mode 100644 index 00000000..1abf0fc6 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/entities/r.-2.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/entities/r.0.-1.mca b/dimensions/minecraft/bedwars_backup/entities/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/entities/r.0.0.mca b/dimensions/minecraft/bedwars_backup/entities/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-1.-1.mca b/dimensions/minecraft/bedwars_backup/poi/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-1.0.mca b/dimensions/minecraft/bedwars_backup/poi/r.-1.0.mca new file mode 100644 index 00000000..d90a73ae Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/poi/r.-1.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-1.1.mca b/dimensions/minecraft/bedwars_backup/poi/r.-1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-2.-1.mca b/dimensions/minecraft/bedwars_backup/poi/r.-2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-2.0.mca b/dimensions/minecraft/bedwars_backup/poi/r.-2.0.mca new file mode 100644 index 00000000..d2137a7e Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/poi/r.-2.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-2.1.mca b/dimensions/minecraft/bedwars_backup/poi/r.-2.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-3.-1.mca b/dimensions/minecraft/bedwars_backup/poi/r.-3.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-3.0.mca b/dimensions/minecraft/bedwars_backup/poi/r.-3.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.-3.1.mca b/dimensions/minecraft/bedwars_backup/poi/r.-3.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.0.-1.mca b/dimensions/minecraft/bedwars_backup/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/poi/r.0.0.mca b/dimensions/minecraft/bedwars_backup/poi/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/bedwars_backup/region/r.-1.-1.mca b/dimensions/minecraft/bedwars_backup/region/r.-1.-1.mca new file mode 100644 index 00000000..0f8e08da Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-1.-2.mca b/dimensions/minecraft/bedwars_backup/region/r.-1.-2.mca new file mode 100644 index 00000000..23b93312 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-1.-2.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-1.0.mca b/dimensions/minecraft/bedwars_backup/region/r.-1.0.mca new file mode 100644 index 00000000..1f6da11a Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-1.1.mca b/dimensions/minecraft/bedwars_backup/region/r.-1.1.mca new file mode 100644 index 00000000..ca4621b8 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-1.1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-2.-1.mca b/dimensions/minecraft/bedwars_backup/region/r.-2.-1.mca new file mode 100644 index 00000000..45ecdc3c Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-2.-1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-2.-2.mca b/dimensions/minecraft/bedwars_backup/region/r.-2.-2.mca new file mode 100644 index 00000000..37cbad8c Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-2.-2.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-2.0.mca b/dimensions/minecraft/bedwars_backup/region/r.-2.0.mca new file mode 100644 index 00000000..e75298a7 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-2.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-2.1.mca b/dimensions/minecraft/bedwars_backup/region/r.-2.1.mca new file mode 100644 index 00000000..c039c895 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-2.1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-3.-1.mca b/dimensions/minecraft/bedwars_backup/region/r.-3.-1.mca new file mode 100644 index 00000000..8e0715ba Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-3.-1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-3.0.mca b/dimensions/minecraft/bedwars_backup/region/r.-3.0.mca new file mode 100644 index 00000000..be5af42a Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-3.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.-3.1.mca b/dimensions/minecraft/bedwars_backup/region/r.-3.1.mca new file mode 100644 index 00000000..22720294 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.-3.1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.0.-1.mca b/dimensions/minecraft/bedwars_backup/region/r.0.-1.mca new file mode 100644 index 00000000..e4f66119 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.0.0.mca b/dimensions/minecraft/bedwars_backup/region/r.0.0.mca new file mode 100644 index 00000000..727c360b Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.0.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.0.1.mca b/dimensions/minecraft/bedwars_backup/region/r.0.1.mca new file mode 100644 index 00000000..e01d9b84 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.0.1.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.1.0.mca b/dimensions/minecraft/bedwars_backup/region/r.1.0.mca new file mode 100644 index 00000000..de2568c1 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.1.0.mca differ diff --git a/dimensions/minecraft/bedwars_backup/region/r.1.1.mca b/dimensions/minecraft/bedwars_backup/region/r.1.1.mca new file mode 100644 index 00000000..a99b92c3 Binary files /dev/null and b/dimensions/minecraft/bedwars_backup/region/r.1.1.mca differ diff --git a/dimensions/minecraft/boatworld2/data/chunks.dat b/dimensions/minecraft/boatworld2/data/chunks.dat new file mode 100644 index 00000000..52f2781d Binary files /dev/null and b/dimensions/minecraft/boatworld2/data/chunks.dat differ diff --git a/dimensions/minecraft/boatworld2/data/raids.dat b/dimensions/minecraft/boatworld2/data/raids.dat new file mode 100644 index 00000000..5097a15b Binary files /dev/null and b/dimensions/minecraft/boatworld2/data/raids.dat differ diff --git a/dimensions/minecraft/boatworld2/entities/r.-1.-1.mca b/dimensions/minecraft/boatworld2/entities/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/entities/r.-1.0.mca b/dimensions/minecraft/boatworld2/entities/r.-1.0.mca new file mode 100644 index 00000000..2795440d Binary files /dev/null and b/dimensions/minecraft/boatworld2/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/boatworld2/entities/r.0.-1.mca b/dimensions/minecraft/boatworld2/entities/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/entities/r.0.0.mca b/dimensions/minecraft/boatworld2/entities/r.0.0.mca new file mode 100644 index 00000000..a58dfab1 Binary files /dev/null and b/dimensions/minecraft/boatworld2/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/boatworld2/poi/r.-1.-1.mca b/dimensions/minecraft/boatworld2/poi/r.-1.-1.mca new file mode 100644 index 00000000..87f9ea92 Binary files /dev/null and b/dimensions/minecraft/boatworld2/poi/r.-1.-1.mca differ diff --git a/dimensions/minecraft/boatworld2/poi/r.-1.0.mca b/dimensions/minecraft/boatworld2/poi/r.-1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/poi/r.-1.1.mca b/dimensions/minecraft/boatworld2/poi/r.-1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/poi/r.0.-1.mca b/dimensions/minecraft/boatworld2/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/poi/r.0.0.mca b/dimensions/minecraft/boatworld2/poi/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/poi/r.0.1.mca b/dimensions/minecraft/boatworld2/poi/r.0.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/boatworld2/region/r.-1.-1.mca b/dimensions/minecraft/boatworld2/region/r.-1.-1.mca new file mode 100644 index 00000000..3de9b359 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.-1.0.mca b/dimensions/minecraft/boatworld2/region/r.-1.0.mca new file mode 100644 index 00000000..c81dd941 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.-1.1.mca b/dimensions/minecraft/boatworld2/region/r.-1.1.mca new file mode 100644 index 00000000..15852057 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.-1.1.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.0.-1.mca b/dimensions/minecraft/boatworld2/region/r.0.-1.mca new file mode 100644 index 00000000..02146a51 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.0.0.mca b/dimensions/minecraft/boatworld2/region/r.0.0.mca new file mode 100644 index 00000000..f7866800 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.0.0.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.0.1.mca b/dimensions/minecraft/boatworld2/region/r.0.1.mca new file mode 100644 index 00000000..eb12d824 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.0.1.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.1.-1.mca b/dimensions/minecraft/boatworld2/region/r.1.-1.mca new file mode 100644 index 00000000..c81aa7e5 Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.1.-1.mca differ diff --git a/dimensions/minecraft/boatworld2/region/r.1.0.mca b/dimensions/minecraft/boatworld2/region/r.1.0.mca new file mode 100644 index 00000000..e348f5ed Binary files /dev/null and b/dimensions/minecraft/boatworld2/region/r.1.0.mca differ diff --git a/dimensions/minecraft/dropperworld/data/raids.dat b/dimensions/minecraft/dropperworld/data/raids.dat new file mode 100644 index 00000000..49152aab Binary files /dev/null and b/dimensions/minecraft/dropperworld/data/raids.dat differ diff --git a/dimensions/minecraft/dropperworld/entities/r.-1.-1.mca b/dimensions/minecraft/dropperworld/entities/r.-1.-1.mca new file mode 100644 index 00000000..59ea6677 Binary files /dev/null and b/dimensions/minecraft/dropperworld/entities/r.-1.-1.mca differ diff --git a/dimensions/minecraft/dropperworld/entities/r.-1.0.mca b/dimensions/minecraft/dropperworld/entities/r.-1.0.mca new file mode 100644 index 00000000..570c350e Binary files /dev/null and b/dimensions/minecraft/dropperworld/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/dropperworld/entities/r.0.-1.mca b/dimensions/minecraft/dropperworld/entities/r.0.-1.mca new file mode 100644 index 00000000..06daa3c6 Binary files /dev/null and b/dimensions/minecraft/dropperworld/entities/r.0.-1.mca differ diff --git a/dimensions/minecraft/dropperworld/entities/r.0.0.mca b/dimensions/minecraft/dropperworld/entities/r.0.0.mca new file mode 100644 index 00000000..8f633183 Binary files /dev/null and b/dimensions/minecraft/dropperworld/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/dropperworld/poi/r.-1.-1.mca b/dimensions/minecraft/dropperworld/poi/r.-1.-1.mca new file mode 100644 index 00000000..feea57a9 Binary files /dev/null and b/dimensions/minecraft/dropperworld/poi/r.-1.-1.mca differ diff --git a/dimensions/minecraft/dropperworld/poi/r.-1.-2.mca b/dimensions/minecraft/dropperworld/poi/r.-1.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/poi/r.-1.0.mca b/dimensions/minecraft/dropperworld/poi/r.-1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/poi/r.0.-1.mca b/dimensions/minecraft/dropperworld/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/poi/r.0.-2.mca b/dimensions/minecraft/dropperworld/poi/r.0.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/poi/r.0.0.mca b/dimensions/minecraft/dropperworld/poi/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/poi/r.1.-1.mca b/dimensions/minecraft/dropperworld/poi/r.1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/poi/r.1.0.mca b/dimensions/minecraft/dropperworld/poi/r.1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/dropperworld/region/r.-1.-1.mca b/dimensions/minecraft/dropperworld/region/r.-1.-1.mca new file mode 100644 index 00000000..6a407c64 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.-1.-2.mca b/dimensions/minecraft/dropperworld/region/r.-1.-2.mca new file mode 100644 index 00000000..bace5cd6 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.-1.-2.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.-1.0.mca b/dimensions/minecraft/dropperworld/region/r.-1.0.mca new file mode 100644 index 00000000..d43e7077 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.0.-1.mca b/dimensions/minecraft/dropperworld/region/r.0.-1.mca new file mode 100644 index 00000000..af4adef9 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.0.-2.mca b/dimensions/minecraft/dropperworld/region/r.0.-2.mca new file mode 100644 index 00000000..2d5f2906 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.0.-2.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.0.0.mca b/dimensions/minecraft/dropperworld/region/r.0.0.mca new file mode 100644 index 00000000..72686086 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.0.0.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.1.-1.mca b/dimensions/minecraft/dropperworld/region/r.1.-1.mca new file mode 100644 index 00000000..7bac4a7e Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.1.-1.mca differ diff --git a/dimensions/minecraft/dropperworld/region/r.1.0.mca b/dimensions/minecraft/dropperworld/region/r.1.0.mca new file mode 100644 index 00000000..e5d55585 Binary files /dev/null and b/dimensions/minecraft/dropperworld/region/r.1.0.mca differ diff --git a/dimensions/minecraft/golfworld/data/chunks.dat b/dimensions/minecraft/golfworld/data/chunks.dat new file mode 100644 index 00000000..8b8d65ff Binary files /dev/null and b/dimensions/minecraft/golfworld/data/chunks.dat differ diff --git a/dimensions/minecraft/golfworld/data/raids.dat b/dimensions/minecraft/golfworld/data/raids.dat new file mode 100644 index 00000000..7aefcded Binary files /dev/null and b/dimensions/minecraft/golfworld/data/raids.dat differ diff --git a/dimensions/minecraft/golfworld/entities/r.-1.-1.mca b/dimensions/minecraft/golfworld/entities/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/entities/r.-1.0.mca b/dimensions/minecraft/golfworld/entities/r.-1.0.mca new file mode 100644 index 00000000..4fef033b Binary files /dev/null and b/dimensions/minecraft/golfworld/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/golfworld/entities/r.0.-1.mca b/dimensions/minecraft/golfworld/entities/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/entities/r.0.0.mca b/dimensions/minecraft/golfworld/entities/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.-1.-1.mca b/dimensions/minecraft/golfworld/poi/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.-1.0.mca b/dimensions/minecraft/golfworld/poi/r.-1.0.mca new file mode 100644 index 00000000..499b0f12 Binary files /dev/null and b/dimensions/minecraft/golfworld/poi/r.-1.0.mca differ diff --git a/dimensions/minecraft/golfworld/poi/r.-1.1.mca b/dimensions/minecraft/golfworld/poi/r.-1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.-2.-1.mca b/dimensions/minecraft/golfworld/poi/r.-2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.-2.0.mca b/dimensions/minecraft/golfworld/poi/r.-2.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.-2.1.mca b/dimensions/minecraft/golfworld/poi/r.-2.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.0.-1.mca b/dimensions/minecraft/golfworld/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.0.0.mca b/dimensions/minecraft/golfworld/poi/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/poi/r.0.1.mca b/dimensions/minecraft/golfworld/poi/r.0.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/golfworld/region/r.-1.-1.mca b/dimensions/minecraft/golfworld/region/r.-1.-1.mca new file mode 100644 index 00000000..adab80b1 Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.-1.0.mca b/dimensions/minecraft/golfworld/region/r.-1.0.mca new file mode 100644 index 00000000..6fbef408 Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.-1.1.mca b/dimensions/minecraft/golfworld/region/r.-1.1.mca new file mode 100644 index 00000000..3d90d1b4 Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.-1.1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.-2.-1.mca b/dimensions/minecraft/golfworld/region/r.-2.-1.mca new file mode 100644 index 00000000..fc2d208c Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.-2.-1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.-2.0.mca b/dimensions/minecraft/golfworld/region/r.-2.0.mca new file mode 100644 index 00000000..705fc572 Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.-2.0.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.-2.1.mca b/dimensions/minecraft/golfworld/region/r.-2.1.mca new file mode 100644 index 00000000..28c0f5ae Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.-2.1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.0.-1.mca b/dimensions/minecraft/golfworld/region/r.0.-1.mca new file mode 100644 index 00000000..a56d2efd Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.0.0.mca b/dimensions/minecraft/golfworld/region/r.0.0.mca new file mode 100644 index 00000000..76a1f04c Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.0.0.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.0.1.mca b/dimensions/minecraft/golfworld/region/r.0.1.mca new file mode 100644 index 00000000..09e40ecf Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.0.1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.1.-1.mca b/dimensions/minecraft/golfworld/region/r.1.-1.mca new file mode 100644 index 00000000..662f7632 Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.1.-1.mca differ diff --git a/dimensions/minecraft/golfworld/region/r.1.0.mca b/dimensions/minecraft/golfworld/region/r.1.0.mca new file mode 100644 index 00000000..c62a9560 Binary files /dev/null and b/dimensions/minecraft/golfworld/region/r.1.0.mca differ diff --git a/dimensions/minecraft/hungerworld/data/chunks.dat b/dimensions/minecraft/hungerworld/data/chunks.dat new file mode 100644 index 00000000..f06b7e41 Binary files /dev/null and b/dimensions/minecraft/hungerworld/data/chunks.dat differ diff --git a/dimensions/minecraft/hungerworld/data/raids.dat b/dimensions/minecraft/hungerworld/data/raids.dat new file mode 100644 index 00000000..8dd7f406 Binary files /dev/null and b/dimensions/minecraft/hungerworld/data/raids.dat differ diff --git a/dimensions/minecraft/hungerworld/entities/r.-1.-1.mca b/dimensions/minecraft/hungerworld/entities/r.-1.-1.mca new file mode 100644 index 00000000..dc9fb5ba Binary files /dev/null and b/dimensions/minecraft/hungerworld/entities/r.-1.-1.mca differ diff --git a/dimensions/minecraft/hungerworld/entities/r.-1.0.mca b/dimensions/minecraft/hungerworld/entities/r.-1.0.mca new file mode 100644 index 00000000..ea5f3223 Binary files /dev/null and b/dimensions/minecraft/hungerworld/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/hungerworld/entities/r.0.-1.mca b/dimensions/minecraft/hungerworld/entities/r.0.-1.mca new file mode 100644 index 00000000..42e3ffd6 Binary files /dev/null and b/dimensions/minecraft/hungerworld/entities/r.0.-1.mca differ diff --git a/dimensions/minecraft/hungerworld/entities/r.0.0.mca b/dimensions/minecraft/hungerworld/entities/r.0.0.mca new file mode 100644 index 00000000..107834a4 Binary files /dev/null and b/dimensions/minecraft/hungerworld/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/hungerworld/poi/r.-1.-1.mca b/dimensions/minecraft/hungerworld/poi/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.-1.0.mca b/dimensions/minecraft/hungerworld/poi/r.-1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.-1.1.mca b/dimensions/minecraft/hungerworld/poi/r.-1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.0.-1.mca b/dimensions/minecraft/hungerworld/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.0.0.mca b/dimensions/minecraft/hungerworld/poi/r.0.0.mca new file mode 100644 index 00000000..2359d0a4 Binary files /dev/null and b/dimensions/minecraft/hungerworld/poi/r.0.0.mca differ diff --git a/dimensions/minecraft/hungerworld/poi/r.0.1.mca b/dimensions/minecraft/hungerworld/poi/r.0.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.1.-1.mca b/dimensions/minecraft/hungerworld/poi/r.1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.1.0.mca b/dimensions/minecraft/hungerworld/poi/r.1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/poi/r.1.1.mca b/dimensions/minecraft/hungerworld/poi/r.1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/hungerworld/region/r.-1.-1.mca b/dimensions/minecraft/hungerworld/region/r.-1.-1.mca new file mode 100644 index 00000000..9ee7d301 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.-1.0.mca b/dimensions/minecraft/hungerworld/region/r.-1.0.mca new file mode 100644 index 00000000..0235f126 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.-1.1.mca b/dimensions/minecraft/hungerworld/region/r.-1.1.mca new file mode 100644 index 00000000..44a26178 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.-1.1.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.0.-1.mca b/dimensions/minecraft/hungerworld/region/r.0.-1.mca new file mode 100644 index 00000000..b265e286 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.0.0.mca b/dimensions/minecraft/hungerworld/region/r.0.0.mca new file mode 100644 index 00000000..2072090f Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.0.0.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.0.1.mca b/dimensions/minecraft/hungerworld/region/r.0.1.mca new file mode 100644 index 00000000..42ef73e6 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.0.1.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.1.-1.mca b/dimensions/minecraft/hungerworld/region/r.1.-1.mca new file mode 100644 index 00000000..802e64c3 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.1.-1.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.1.0.mca b/dimensions/minecraft/hungerworld/region/r.1.0.mca new file mode 100644 index 00000000..37323c20 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.1.0.mca differ diff --git a/dimensions/minecraft/hungerworld/region/r.1.1.mca b/dimensions/minecraft/hungerworld/region/r.1.1.mca new file mode 100644 index 00000000..8c93aa34 Binary files /dev/null and b/dimensions/minecraft/hungerworld/region/r.1.1.mca differ diff --git a/dimensions/minecraft/killerworld/data/raids.dat b/dimensions/minecraft/killerworld/data/raids.dat new file mode 100644 index 00000000..5329838e Binary files /dev/null and b/dimensions/minecraft/killerworld/data/raids.dat differ diff --git a/dimensions/minecraft/killerworld/entities/r.-1.-1.mca b/dimensions/minecraft/killerworld/entities/r.-1.-1.mca new file mode 100644 index 00000000..cb1ba2ce Binary files /dev/null and b/dimensions/minecraft/killerworld/entities/r.-1.-1.mca differ diff --git a/dimensions/minecraft/killerworld/entities/r.-1.0.mca b/dimensions/minecraft/killerworld/entities/r.-1.0.mca new file mode 100644 index 00000000..f348bf2b Binary files /dev/null and b/dimensions/minecraft/killerworld/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/killerworld/entities/r.0.-1.mca b/dimensions/minecraft/killerworld/entities/r.0.-1.mca new file mode 100644 index 00000000..1d40e715 Binary files /dev/null and b/dimensions/minecraft/killerworld/entities/r.0.-1.mca differ diff --git a/dimensions/minecraft/killerworld/entities/r.0.0.mca b/dimensions/minecraft/killerworld/entities/r.0.0.mca new file mode 100644 index 00000000..f1dc20b3 Binary files /dev/null and b/dimensions/minecraft/killerworld/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/killerworld/poi/r.-1.-1.mca b/dimensions/minecraft/killerworld/poi/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/killerworld/poi/r.-1.0.mca b/dimensions/minecraft/killerworld/poi/r.-1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/killerworld/poi/r.0.-1.mca b/dimensions/minecraft/killerworld/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/killerworld/poi/r.0.0.mca b/dimensions/minecraft/killerworld/poi/r.0.0.mca new file mode 100644 index 00000000..7cdefc40 Binary files /dev/null and b/dimensions/minecraft/killerworld/poi/r.0.0.mca differ diff --git a/dimensions/minecraft/killerworld/region/r.-1.-1.mca b/dimensions/minecraft/killerworld/region/r.-1.-1.mca new file mode 100644 index 00000000..56d0c602 Binary files /dev/null and b/dimensions/minecraft/killerworld/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/killerworld/region/r.-1.0.mca b/dimensions/minecraft/killerworld/region/r.-1.0.mca new file mode 100644 index 00000000..06055b6f Binary files /dev/null and b/dimensions/minecraft/killerworld/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/killerworld/region/r.0.-1.mca b/dimensions/minecraft/killerworld/region/r.0.-1.mca new file mode 100644 index 00000000..e9577f4f Binary files /dev/null and b/dimensions/minecraft/killerworld/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/killerworld/region/r.0.0.mca b/dimensions/minecraft/killerworld/region/r.0.0.mca new file mode 100644 index 00000000..cbd56f11 Binary files /dev/null and b/dimensions/minecraft/killerworld/region/r.0.0.mca differ diff --git a/dimensions/minecraft/lobby/data/raids.dat b/dimensions/minecraft/lobby/data/raids.dat new file mode 100644 index 00000000..39b62afc Binary files /dev/null and b/dimensions/minecraft/lobby/data/raids.dat differ diff --git a/dimensions/minecraft/lobby/entities/r.-1.-1.mca b/dimensions/minecraft/lobby/entities/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/lobby/entities/r.-1.0.mca b/dimensions/minecraft/lobby/entities/r.-1.0.mca new file mode 100644 index 00000000..a5d6f9f2 Binary files /dev/null and b/dimensions/minecraft/lobby/entities/r.-1.0.mca differ diff --git a/dimensions/minecraft/lobby/entities/r.0.-1.mca b/dimensions/minecraft/lobby/entities/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/lobby/entities/r.0.0.mca b/dimensions/minecraft/lobby/entities/r.0.0.mca new file mode 100644 index 00000000..eb2e1dd8 Binary files /dev/null and b/dimensions/minecraft/lobby/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/lobby/poi/r.-1.-1.mca b/dimensions/minecraft/lobby/poi/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/lobby/poi/r.-1.0.mca b/dimensions/minecraft/lobby/poi/r.-1.0.mca new file mode 100644 index 00000000..dde7b70a Binary files /dev/null and b/dimensions/minecraft/lobby/poi/r.-1.0.mca differ diff --git a/dimensions/minecraft/lobby/poi/r.0.-1.mca b/dimensions/minecraft/lobby/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/lobby/poi/r.0.0.mca b/dimensions/minecraft/lobby/poi/r.0.0.mca new file mode 100644 index 00000000..4d440fe9 Binary files /dev/null and b/dimensions/minecraft/lobby/poi/r.0.0.mca differ diff --git a/dimensions/minecraft/lobby/region/r.-1.-1.mca b/dimensions/minecraft/lobby/region/r.-1.-1.mca new file mode 100644 index 00000000..5bb7324f Binary files /dev/null and b/dimensions/minecraft/lobby/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/lobby/region/r.-1.0.mca b/dimensions/minecraft/lobby/region/r.-1.0.mca new file mode 100644 index 00000000..6d3d8db9 Binary files /dev/null and b/dimensions/minecraft/lobby/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/lobby/region/r.0.-1.mca b/dimensions/minecraft/lobby/region/r.0.-1.mca new file mode 100644 index 00000000..4b575de3 Binary files /dev/null and b/dimensions/minecraft/lobby/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/lobby/region/r.0.0.mca b/dimensions/minecraft/lobby/region/r.0.0.mca new file mode 100644 index 00000000..93247d08 Binary files /dev/null and b/dimensions/minecraft/lobby/region/r.0.0.mca differ diff --git a/dimensions/minecraft/parkourworld/data/raids.dat b/dimensions/minecraft/parkourworld/data/raids.dat new file mode 100644 index 00000000..ad818fe4 Binary files /dev/null and b/dimensions/minecraft/parkourworld/data/raids.dat differ diff --git a/dimensions/minecraft/parkourworld/entities/r.-1.-1.mca b/dimensions/minecraft/parkourworld/entities/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/parkourworld/entities/r.-1.0.mca b/dimensions/minecraft/parkourworld/entities/r.-1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/parkourworld/entities/r.0.-1.mca b/dimensions/minecraft/parkourworld/entities/r.0.-1.mca new file mode 100644 index 00000000..5192a93a Binary files /dev/null and b/dimensions/minecraft/parkourworld/entities/r.0.-1.mca differ diff --git a/dimensions/minecraft/parkourworld/entities/r.0.0.mca b/dimensions/minecraft/parkourworld/entities/r.0.0.mca new file mode 100644 index 00000000..ce854836 Binary files /dev/null and b/dimensions/minecraft/parkourworld/entities/r.0.0.mca differ diff --git a/dimensions/minecraft/parkourworld/poi/r.-1.-1.mca b/dimensions/minecraft/parkourworld/poi/r.-1.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/parkourworld/poi/r.-1.0.mca b/dimensions/minecraft/parkourworld/poi/r.-1.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/parkourworld/poi/r.0.-1.mca b/dimensions/minecraft/parkourworld/poi/r.0.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/parkourworld/poi/r.0.0.mca b/dimensions/minecraft/parkourworld/poi/r.0.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/dimensions/minecraft/parkourworld/region/r.-1.-1.mca b/dimensions/minecraft/parkourworld/region/r.-1.-1.mca new file mode 100644 index 00000000..7e3b61a0 Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.-1.-1.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.-1.0.mca b/dimensions/minecraft/parkourworld/region/r.-1.0.mca new file mode 100644 index 00000000..cbd776fb Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.-1.0.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.-1.1.mca b/dimensions/minecraft/parkourworld/region/r.-1.1.mca new file mode 100644 index 00000000..e41d78cb Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.-1.1.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.0.-1.mca b/dimensions/minecraft/parkourworld/region/r.0.-1.mca new file mode 100644 index 00000000..0c734634 Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.0.-1.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.0.0.mca b/dimensions/minecraft/parkourworld/region/r.0.0.mca new file mode 100644 index 00000000..19701d98 Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.0.0.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.0.1.mca b/dimensions/minecraft/parkourworld/region/r.0.1.mca new file mode 100644 index 00000000..39bab6b9 Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.0.1.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.1.-1.mca b/dimensions/minecraft/parkourworld/region/r.1.-1.mca new file mode 100644 index 00000000..0b385773 Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.1.-1.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.1.0.mca b/dimensions/minecraft/parkourworld/region/r.1.0.mca new file mode 100644 index 00000000..af3115f0 Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.1.0.mca differ diff --git a/dimensions/minecraft/parkourworld/region/r.1.1.mca b/dimensions/minecraft/parkourworld/region/r.1.1.mca new file mode 100644 index 00000000..d2cc488a Binary files /dev/null and b/dimensions/minecraft/parkourworld/region/r.1.1.mca differ diff --git a/entities/r.-1.-1.mca b/entities/r.-1.-1.mca new file mode 100644 index 00000000..eeb15ac8 Binary files /dev/null and b/entities/r.-1.-1.mca differ diff --git a/entities/r.-1.-2.mca b/entities/r.-1.-2.mca new file mode 100644 index 00000000..d31b9980 Binary files /dev/null and b/entities/r.-1.-2.mca differ diff --git a/entities/r.-1.0.mca b/entities/r.-1.0.mca new file mode 100644 index 00000000..4915f9a6 Binary files /dev/null and b/entities/r.-1.0.mca differ diff --git a/entities/r.-1.1.mca b/entities/r.-1.1.mca new file mode 100644 index 00000000..e1fc40e0 Binary files /dev/null and b/entities/r.-1.1.mca differ diff --git a/entities/r.-2.-1.mca b/entities/r.-2.-1.mca new file mode 100644 index 00000000..af7118d4 Binary files /dev/null and b/entities/r.-2.-1.mca differ diff --git a/entities/r.-2.0.mca b/entities/r.-2.0.mca new file mode 100644 index 00000000..3d5a3fce Binary files /dev/null and b/entities/r.-2.0.mca differ diff --git a/entities/r.-2.1.mca b/entities/r.-2.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/entities/r.0.-1.mca b/entities/r.0.-1.mca new file mode 100644 index 00000000..75a12259 Binary files /dev/null and b/entities/r.0.-1.mca differ diff --git a/entities/r.0.-2.mca b/entities/r.0.-2.mca new file mode 100644 index 00000000..6c291eca Binary files /dev/null and b/entities/r.0.-2.mca differ diff --git a/entities/r.0.0.mca b/entities/r.0.0.mca new file mode 100644 index 00000000..a18d25eb Binary files /dev/null and b/entities/r.0.0.mca differ diff --git a/entities/r.0.1.mca b/entities/r.0.1.mca new file mode 100644 index 00000000..00b5a9eb Binary files /dev/null and b/entities/r.0.1.mca differ diff --git a/entities/r.1.-1.mca b/entities/r.1.-1.mca new file mode 100644 index 00000000..aef29d48 Binary files /dev/null and b/entities/r.1.-1.mca differ diff --git a/entities/r.1.-2.mca b/entities/r.1.-2.mca new file mode 100644 index 00000000..986479b9 Binary files /dev/null and b/entities/r.1.-2.mca differ diff --git a/entities/r.1.0.mca b/entities/r.1.0.mca new file mode 100644 index 00000000..3fc8f1c0 Binary files /dev/null and b/entities/r.1.0.mca differ diff --git a/entities/r.1.1.mca b/entities/r.1.1.mca new file mode 100644 index 00000000..2b6ce3ab Binary files /dev/null and b/entities/r.1.1.mca differ diff --git a/entities/r.2.-1.mca b/entities/r.2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/entities/r.2.0.mca b/entities/r.2.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/icon.png b/icon.png new file mode 100644 index 00000000..b21736d1 Binary files /dev/null and b/icon.png differ diff --git a/icon_old.png b/icon_old.png new file mode 100644 index 00000000..bd9adca6 Binary files /dev/null and b/icon_old.png differ diff --git a/level.dat b/level.dat new file mode 100644 index 00000000..69e0d951 Binary files /dev/null and b/level.dat differ diff --git a/mcversion.txt b/mcversion.txt new file mode 100644 index 00000000..1b9335f1 --- /dev/null +++ b/mcversion.txt @@ -0,0 +1 @@ +1.20.4 \ No newline at end of file diff --git a/poi/r.-1.-1.mca b/poi/r.-1.-1.mca new file mode 100644 index 00000000..9231db07 Binary files /dev/null and b/poi/r.-1.-1.mca differ diff --git a/poi/r.-1.-2.mca b/poi/r.-1.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-1.0.mca b/poi/r.-1.0.mca new file mode 100644 index 00000000..d20b5240 Binary files /dev/null and b/poi/r.-1.0.mca differ diff --git a/poi/r.-1.1.mca b/poi/r.-1.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-2.-1.mca b/poi/r.-2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-2.-2.mca b/poi/r.-2.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-2.0.mca b/poi/r.-2.0.mca new file mode 100644 index 00000000..45f40e24 Binary files /dev/null and b/poi/r.-2.0.mca differ diff --git a/poi/r.-2.1.mca b/poi/r.-2.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-3.-1.mca b/poi/r.-3.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-3.0.mca b/poi/r.-3.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-3.1.mca b/poi/r.-3.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-7.-4.mca b/poi/r.-7.-4.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.-7.-5.mca b/poi/r.-7.-5.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.0.-1.mca b/poi/r.0.-1.mca new file mode 100644 index 00000000..2472f901 Binary files /dev/null and b/poi/r.0.-1.mca differ diff --git a/poi/r.0.-2.mca b/poi/r.0.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.0.0.mca b/poi/r.0.0.mca new file mode 100644 index 00000000..00e3a23b Binary files /dev/null and b/poi/r.0.0.mca differ diff --git a/poi/r.0.1.mca b/poi/r.0.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.0.2.mca b/poi/r.0.2.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.1.-1.mca b/poi/r.1.-1.mca new file mode 100644 index 00000000..af6c8925 Binary files /dev/null and b/poi/r.1.-1.mca differ diff --git a/poi/r.1.-2.mca b/poi/r.1.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.1.0.mca b/poi/r.1.0.mca new file mode 100644 index 00000000..edc0fb73 Binary files /dev/null and b/poi/r.1.0.mca differ diff --git a/poi/r.1.1.mca b/poi/r.1.1.mca new file mode 100644 index 00000000..941df68a Binary files /dev/null and b/poi/r.1.1.mca differ diff --git a/poi/r.1.2.mca b/poi/r.1.2.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.2.-1.mca b/poi/r.2.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.2.0.mca b/poi/r.2.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.2.1.mca b/poi/r.2.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/poi/r.2.2.mca b/poi/r.2.2.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-1.-1.mca b/region/r.-1.-1.mca new file mode 100644 index 00000000..c06f8944 Binary files /dev/null and b/region/r.-1.-1.mca differ diff --git a/region/r.-1.-2.mca b/region/r.-1.-2.mca new file mode 100644 index 00000000..18a85b42 Binary files /dev/null and b/region/r.-1.-2.mca differ diff --git a/region/r.-1.-3.mca b/region/r.-1.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-1.0.mca b/region/r.-1.0.mca new file mode 100644 index 00000000..36832185 Binary files /dev/null and b/region/r.-1.0.mca differ diff --git a/region/r.-1.1.mca b/region/r.-1.1.mca new file mode 100644 index 00000000..7ae84cd1 Binary files /dev/null and b/region/r.-1.1.mca differ diff --git a/region/r.-2.-1.mca b/region/r.-2.-1.mca new file mode 100644 index 00000000..f35340d0 Binary files /dev/null and b/region/r.-2.-1.mca differ diff --git a/region/r.-2.-2.mca b/region/r.-2.-2.mca new file mode 100644 index 00000000..cc929d69 Binary files /dev/null and b/region/r.-2.-2.mca differ diff --git a/region/r.-2.-3.mca b/region/r.-2.-3.mca new file mode 100644 index 00000000..6d17cf9d Binary files /dev/null and b/region/r.-2.-3.mca differ diff --git a/region/r.-2.0.mca b/region/r.-2.0.mca new file mode 100644 index 00000000..4efac5c8 Binary files /dev/null and b/region/r.-2.0.mca differ diff --git a/region/r.-2.1.mca b/region/r.-2.1.mca new file mode 100644 index 00000000..1521453d Binary files /dev/null and b/region/r.-2.1.mca differ diff --git a/region/r.-3.-1.mca b/region/r.-3.-1.mca new file mode 100644 index 00000000..23c072cb Binary files /dev/null and b/region/r.-3.-1.mca differ diff --git a/region/r.-3.-2.mca b/region/r.-3.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-3.-3.mca b/region/r.-3.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-3.0.mca b/region/r.-3.0.mca new file mode 100644 index 00000000..1b84dfcd Binary files /dev/null and b/region/r.-3.0.mca differ diff --git a/region/r.-3.1.mca b/region/r.-3.1.mca new file mode 100644 index 00000000..fced2a9d Binary files /dev/null and b/region/r.-3.1.mca differ diff --git a/region/r.-4.-1.mca b/region/r.-4.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-4.-2.mca b/region/r.-4.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-4.-3.mca b/region/r.-4.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-4.0.mca b/region/r.-4.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-4.1.mca b/region/r.-4.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-5.-1.mca b/region/r.-5.-1.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-5.-2.mca b/region/r.-5.-2.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-5.-3.mca b/region/r.-5.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-5.0.mca b/region/r.-5.0.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-5.1.mca b/region/r.-5.1.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.-7.-4.mca b/region/r.-7.-4.mca new file mode 100644 index 00000000..a2c9389f Binary files /dev/null and b/region/r.-7.-4.mca differ diff --git a/region/r.-7.-5.mca b/region/r.-7.-5.mca new file mode 100644 index 00000000..a8ed914e Binary files /dev/null and b/region/r.-7.-5.mca differ diff --git a/region/r.-8.-4.mca b/region/r.-8.-4.mca new file mode 100644 index 00000000..047d5984 Binary files /dev/null and b/region/r.-8.-4.mca differ diff --git a/region/r.-8.-5.mca b/region/r.-8.-5.mca new file mode 100644 index 00000000..f3c14d0c Binary files /dev/null and b/region/r.-8.-5.mca differ diff --git a/region/r.0.-1.mca b/region/r.0.-1.mca new file mode 100644 index 00000000..17c17c79 Binary files /dev/null and b/region/r.0.-1.mca differ diff --git a/region/r.0.-2.mca b/region/r.0.-2.mca new file mode 100644 index 00000000..ba840937 Binary files /dev/null and b/region/r.0.-2.mca differ diff --git a/region/r.0.-3.mca b/region/r.0.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.0.0.mca b/region/r.0.0.mca new file mode 100644 index 00000000..40c8dada Binary files /dev/null and b/region/r.0.0.mca differ diff --git a/region/r.0.1.mca b/region/r.0.1.mca new file mode 100644 index 00000000..221bdee3 Binary files /dev/null and b/region/r.0.1.mca differ diff --git a/region/r.0.2.mca b/region/r.0.2.mca new file mode 100644 index 00000000..699bad81 Binary files /dev/null and b/region/r.0.2.mca differ diff --git a/region/r.1.-1.mca b/region/r.1.-1.mca new file mode 100644 index 00000000..bddd6e92 Binary files /dev/null and b/region/r.1.-1.mca differ diff --git a/region/r.1.-2.mca b/region/r.1.-2.mca new file mode 100644 index 00000000..d056bd4b Binary files /dev/null and b/region/r.1.-2.mca differ diff --git a/region/r.1.-3.mca b/region/r.1.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.1.0.mca b/region/r.1.0.mca new file mode 100644 index 00000000..9a172ff8 Binary files /dev/null and b/region/r.1.0.mca differ diff --git a/region/r.1.1.mca b/region/r.1.1.mca new file mode 100644 index 00000000..2c9e3c2e Binary files /dev/null and b/region/r.1.1.mca differ diff --git a/region/r.1.2.mca b/region/r.1.2.mca new file mode 100644 index 00000000..6af01206 Binary files /dev/null and b/region/r.1.2.mca differ diff --git a/region/r.2.-1.mca b/region/r.2.-1.mca new file mode 100644 index 00000000..bce33fd6 Binary files /dev/null and b/region/r.2.-1.mca differ diff --git a/region/r.2.-2.mca b/region/r.2.-2.mca new file mode 100644 index 00000000..5d036c53 Binary files /dev/null and b/region/r.2.-2.mca differ diff --git a/region/r.2.-3.mca b/region/r.2.-3.mca new file mode 100644 index 00000000..e69de29b diff --git a/region/r.2.0.mca b/region/r.2.0.mca new file mode 100644 index 00000000..26f62d23 Binary files /dev/null and b/region/r.2.0.mca differ diff --git a/region/r.2.1.mca b/region/r.2.1.mca new file mode 100644 index 00000000..ce29810d Binary files /dev/null and b/region/r.2.1.mca differ diff --git a/region/r.2.2.mca b/region/r.2.2.mca new file mode 100644 index 00000000..acd8b8d2 Binary files /dev/null and b/region/r.2.2.mca differ diff --git a/resourcepack/MiniGameRes.zip b/resourcepack/MiniGameRes.zip new file mode 100644 index 00000000..5e4d1111 Binary files /dev/null and b/resourcepack/MiniGameRes.zip differ diff --git a/todo.md b/todo.md new file mode 100644 index 00000000..5f323127 --- /dev/null +++ b/todo.md @@ -0,0 +1,44 @@ +# To-do Lists + +也许很久都完成不了哈哈 + +# 烫手的山芋 +新地图大一点 + +# 无尽狼夜 + +1. 加载数据包后,随机选两名玩家为狼人 +2. 狼人可在tab列表中看到本局的所有狼人(在tab列表名字为红色) +3. 狼人在落日后获得一把锋利10无法破坏钻石剑,剑不可放入容器或者丢弃。日出后收回铁剑 +4. 所有玩家如果击杀了一名非狼人玩家,也会死亡 +5. 所有玩家被实体或者玩家击杀死亡后,复活后会被切换为旁观者模式,且发言无法被看见 +6. 狼人铁剑击杀人后,收回物品在bossbar上显示冷却60秒 +7. 最后一名活着的/最后一名死亡的玩家胜利,以title显示 + +# 空战 + +## 战利品表 +残月sama + +## 建筑地图协助 +Late_Tea + +# 老虎机 + +# 棋类游戏 + +**制作优先级:Low** + +# Golf + +**制作优先级:Low** + +咕咕咕~ + +看情况 + +# Food Party + +**制作优先级:Low** + +制作东西、烹饪 \ No newline at end of file diff --git a/zip.ps1 b/zip.ps1 new file mode 100644 index 00000000..9b00fe23 --- /dev/null +++ b/zip.ps1 @@ -0,0 +1,64 @@ +$version=Get-Date -Format 'yyyy.MM.dd (hh:mm:ss)' +$versionZ=Get-Date -Format 'yyyy.MM.dd' +$versionD=Get-Date -Format 'yyyy.MM.dd.hh.mm.ss' +$version_=Get-Date -Format 'yyyy_MM_dd' +# $version_D=Get-Date -Format 'yyyy.MM.dd.hh.mm.ss' +$Path = 'mcversion.txt' +$mcversion = Get-Content -Path $Path + +function Out-FileUtf8NoBom { + + [CmdletBinding()] + param( + [Parameter(Mandatory, Position=0)] [string] $LiteralPath, + [switch] $Append, + [switch] $NoClobber, + [AllowNull()] [int] $Width, + [Parameter(ValueFromPipeline)] $InputObject + ) + + #requires -version 3 + + # Make sure that the .NET framework sees the same working dir. as PS + # and resolve the input path to a full path. + [System.IO.Directory]::SetCurrentDirectory($PWD) # Caveat: .NET Core doesn't support [Environment]::CurrentDirectory + $LiteralPath = [IO.Path]::GetFullPath($LiteralPath) + + # If -NoClobber was specified, throw an exception if the target file already + # exists. + if ($NoClobber -and (Test-Path $LiteralPath)) { + Throw [IO.IOException]"The file '$LiteralPath' already exists." + } + + # Create a StreamWriter object. + # Note that we take advantage of the fact that the StreamWriter class by default: + # - uses UTF-8 encoding + # - without a BOM. + $sw = New-Object IO.StreamWriter $LiteralPath, $Append + + $htOutStringArgs = @{} + if ($Width) { + $htOutStringArgs += @{ Width = $Width } + } + + # Note: By not using begin / process / end blocks, we're effectively running + # in the end block, which means that all pipeline input has already + # been collected in automatic variable $Input. + # We must use this approach, because using | Out-String individually + # in each iteration of a process block would format each input object + # with an indvidual header. + try { + $Input | Out-String -Stream @htOutStringArgs | % { $sw.WriteLine($_) } + } finally { + $sw.Dispose() + } + +} + +Add-Content -Path $env:GITHUB_ENV -Value "version=${version}" +Add-Content -Path $env:GITHUB_ENV -Value "versionD=${versionD}" +Add-Content -Path $env:GITHUB_ENV -Value "versionDetail=[Minecraft ${mcversion}] ${version}" + +echo "Compressing the file..." +New-Item "../build" -ItemType Directory +Compress-Archive -Path "." -DestinationPath "../build/(MC${mcversion})MiniGames_${version_}.zip" \ No newline at end of file