mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2026-04-19 15:35:48 +00:00
把 v2 的转指令功能复制粘贴了上来,稍后再优化,我的灵码还是没有好
This commit is contained in:
@@ -71,7 +71,7 @@ def to_zip_pack_in_score(
|
||||
"w",
|
||||
encoding="utf-8",
|
||||
) as f:
|
||||
f.write("\n".join([single_cmd.cmd for single_cmd in cmdlist[i]]))
|
||||
f.write("\n".join([single_cmd.mcfunction_command_string for single_cmd in cmdlist[i]]))
|
||||
index_file.writelines(
|
||||
(
|
||||
"scoreboard players add @a[score_{0}_min=1] {0} 1\n".format(
|
||||
@@ -97,7 +97,7 @@ def to_zip_pack_in_score(
|
||||
f.writelines(
|
||||
"\n".join(
|
||||
[
|
||||
single_cmd.cmd
|
||||
single_cmd.mcfunction_command_string
|
||||
for single_cmd in midi_cvt.form_java_progress_bar(
|
||||
maxscore, scoreboard_name, progressbar_style
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user