Repository navigation
Conversation
Added validation checks for side parameter and implemented entity counting logic for left, right, up, and down directions.
Contributor
Author
|
气笑了提示忘记改了 |
Member
execute \
if score #lib_get_side_entities_side tmp matches 0 \
rotated as @s \
positioned ^ ^1024 ^ \
store result score @s entities_side \
if entity @e[distance=0..1024]我没看错的话,这段内容原样重复了4次? |
Member
|
哦并不是 4条都是 |
Member
|
其实也可以选择建一个文件夹,公共部分放一个宏函数 为什么没有宏函数的版本能用,这个仓库的构建系统会内联不涉及execute run function的宏函数调用,所以还真能兼容 不过如果你用到的语法本就不适用于1.20.1甚至更低版本,那也无所谓了 |
Contributor
Author
|
这样子可能不太好搞 |
Contributor
Author
|
那个计分板其实不是tmp |
bot0201
marked this pull request as draft
October 7, 2026 05:47
Contributor
Author
|
我先把tmp改回来 |
bot0201
marked this pull request as ready for review
October 7, 2026 07:57
Contributor
Author
|
如果真要再给这个文件重构一次就只是分出4个文件来 |
Contributor
Author
|
另外这个函数是算入执行实体自身的,需要使用 |
Member
|
我想问一下(并非质疑) |
Contributor
Author
|
基于视角偏移是我认为的基础功能
|
Contributor
Author
|
前后确实是没写 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
没啥好写的了bro