自1.13更新已过去很久,新execute指令的教学已有很多,只是复读前人的话毫无意义,所以我在讲解基础知识的同时会分享自己的经验,希望对阅读这篇专栏的指令爱好者有帮助。 在1.13版本问世后,execute迎来了一次重大更新,新的execute分为修饰,条件和存储三种子命令,每个子命令下方又细分了很多语法。 不过,不要被一大片语法唬...
builder)->{CommandFunctionManagercommandFunctionManager=((ServerCommandSource)context.getSource()).getServer().getCommandFunctionManager();CommandSource.suggestIdentifiers(commandFunctionManager.getFunctionTags(),builder,"#");returnCommandSource.suggestIdentifiers(commandFunctionManager.getAllFunctions(),builder);...
6.execute if [block / blocks / data / entity / predicate / score] 这个较复杂,放到第二期进行详细讲解。 用途:如果满足一定条件才执行后面的子指令 7.execute in [overworld / the_nether / the_end] 用途:改变指令对应的纬度 例如:/execute in minecraft:the_nether run tp @s ~ ~ ~ 传送自身至其...
We're working on a new, extended version of Minecraft's/executecommand. Starting with version 1.19.70, we're introducing the next step for the/executecommand, which moves the command in Minecraft: Bedrock Edition towards parity with Java edition. This move also adds new functionality for creato...
execute as @a[nbt={Inventory:[{Slot:0b,id:"minecraft:command_block",Count:1b}]}] run item replace entity @s inventory.0 with stone 1如果要实现在背包任何一格都替换,则需要36个命令方块指定每一格,常见操作是提示指定某一格子,或者指定某一容器的某一格,无法实现一条命令检测所有格子。本人Java ...
/give @p command_block 命令方块execute 你自己的名字~~~ tp 其他玩家的名字 ^^^7操纵玩家/give @s barrier屏障还有什么你知道的指令,在评论区留言🤩 凋影解说 移动版 打开大神APP阅读全文 我的世界 365.1w 动态 714.5w 小方块 进入圈子 2020/08/02 评论12 沉鱼鸣凤 2020/10/24 /kill 评论 1 ...
Time: 21-11-22 下午2:36 Description: mouseClicked event handler java.lang.RuntimeException: Mixin transformation of net.minecraft.class_446 failed at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:224) at net.fabricmc.loader.impl.launch....
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'bosses_of_mass_destruction'! at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(En...
Hello everyone! I want to make a Minecraft aventure-like modpack, but when I starting game it's insantly crashes. Here's a crash report: --- Minecraft Crash Report --- // Why did you do that? Time: 2/19/22, 11:31 PM Description: Initia...
Exec=sh -c "java -jar ~/.minecraft/Minecraft.jar" Solution 2: To create your .desktop file, include the following in your code: Exec=sh -c 'java -jar "$HOME"/.minecraft/Minecraft.jar' Sample 2: Exec=sh -c "u=%u; k=%k; c=%c;"' kd="$k"; [ -f "$kd" ] && kd=`dirn...