指令/reload

指令/reload

reload

需要的權限等級

2

限制條件

啟用作弊[僅基岩版]不在指令方塊上執行[僅基岩版]

在Java版中重新載入資料包,在基岩版中重新載入行為包中的函數和腳本。

目次

1 用法

2 語法

3 參數

4 結果

5 輸出

6 歷史

7 你知道嗎

8 參考

9 導覽

用法[編輯 | 編輯原始碼]

如果資料包或行為包含有無效資料(例如錯誤的配方格式),更改將不會應用,遊戲會使用先前的資料。[需要測試基岩版]

在Java版中,資料包的damage_type、​dimension、​dimension_type、​enchantment、​jukebox_song、​trim_material、​trim_pattern和​worldgen等實驗性註冊項的資料必須依賴於世界載入。[1][2][3][4][5]這些註冊項不能使用/reload指令重新載入,只能在重新進入世界時載入。

語法[編輯 | 編輯原始碼]

Java版

reload

基岩版

reload [all: reload_all]

參數[編輯 | 編輯原始碼]

BE:all: reload_all:enum

必須為all,使玩家退出並重新加入世界,同時重載所有行為包和資源包。

結果[編輯 | 編輯原始碼]

指令觸發條件Java版基岩版

任意參數未正確指定 N/A 無法解析

不符合以上所有條件執行成功

輸出[編輯 | 編輯原始碼]

指令版本條件成功次數/execute store success .../execute store result ...

任意Java版執行成功110

歷史[編輯 | 編輯原始碼]

Java版1.1217w18a加入了/reload指令。1.14.4pre4現在執行/reload僅需要2級及以上的權限。1.1620w22a現在如果資料包內含有無效資料(例如錯誤的配方格式),更改將不會應用。基岩版1.8.01.8.0.8加入了/reload。1.20.601.20.60.20為基岩版編輯器模式下執行的/reload指令加入了all可選參數,可對整個編輯器進行完整的熱重載。1.21.301.21.30.22加入了all: reload_all參數。

你知道嗎[編輯 | 編輯原始碼]

使用/datapack disable和/datapack enable指令也能夠重新載入資料包。

參考[編輯 | 編輯原始碼]

↑ MC-187938 — 錯誤狀態為「無效」。

↑ MC-260446 — 錯誤狀態為「無效」。

↑ MC-260452 — 錯誤狀態為「無效」。

↑ MC-272540 — 錯誤狀態為「有意為之」。

↑ MC-273807 — 錯誤狀態為「無效」。

導覽[編輯 | 編輯原始碼]

編指令

目前可用

clear

clone

damage

deop

difficulty

effect

enchant

execute

experience

xp

fill

function

gamemode

gamerule

give

help

kick

kill

list

locate

loot

me

op

particle

place

playsound

recipe

reload

ride

say

schedule

scoreboard

setblock

setworldspawn

spawnpoint

spreadplayers

stop

stopsound

summon

tag

msg

tell

w

tellraw

time

title

teleport

tp

transfer

weather

whitelist

僅Java版

advancement

attribute

ban

ban-ip

banlist

bossbar

data

datapack

debug

defaultgamemode

dialog

fillbiome

forceload

item

jfr

pardon

pardon-ip

perf

publish

random

return

rotate

save-all

save-off

save-on

seed

setidletimeout

spectate

team

teammsg

tm

test

tick

trigger

version

warden_spawn_tracker

waypoint

worldborder

僅基岩版

aimassist

allowlist

changesetting

clearrealmevents

controlscheme

gametips

project

reloadconfig

save

sendshowstoreoffer

僅教育版

classroommode

code

getchunkdata

getchunks

geteduclientinfo

geteduserverinfo

getspawnpoint

globalpause

takepicture

基岩版和教育版

?

ability

agent

camera

camerashake

clearspawnpoint

codebuilder_actorinfo

daylock

alwaysday

dedicatedwsserver

dialogue

enableencryption

event

fog

gametest

gettopsolidblock

hud

immutableworld

inputpermission

listd

mobevent

music

permission

ops

playanimation

querytarget

replaceitem

script

scriptevent

setmaxplayers

structure

testforblocks

testforblock

testfor

tickingarea

titleraw

toggledownfall

worldbuilder

wsserver

connect

已移除

placefeature

僅Java版

?

achievement

banip

blockdata

broadcast

entitydata

home

iron

locatebiome

replaceitem

setspawn

solid

stats

toggledownfall

testfor

testforblock

testforblocks

unban

wood

僅基岩版

clearfixedinv

mixer

resupply

set_movement_authority

setfixedinvslot

setfixedinvslots

simulationtype

volumearea

僅教育版

collect

dropall

move

position

tpagent

transfer

turn

基岩版和教育版

attack

createagent

destroy

detect

detectredstone

drop

executeasother

executeasself

getitemcount

getitemdetail

getitemspace

inspectdata

inspect

place

till

transferserver

相关推荐

只用线线不用扣子的毛线编织扣子
office365人工客服电话

只用线线不用扣子的毛线编织扣子

🗓️ 07-27 👁️ 2995
“仚屳屲冚”竟然是一个成语,它是什么意思呢?
office365人工客服电话

“仚屳屲冚”竟然是一个成语,它是什么意思呢?

🗓️ 07-15 👁️ 5685
2014世界杯夺冠赔率:巴西领先,阿根廷德国并列第二
谁有365比分链接

2014世界杯夺冠赔率:巴西领先,阿根廷德国并列第二

🗓️ 07-07 👁️ 5293

友情链接