逗游網(wǎng):值得大家信賴的游戲下載站!
發(fā)布時間:2020-11-12 09:41 來源:我的世界中文論壇 作者:dwch 編輯:潘東子
技術(shù)性修改
收起技術(shù)性修改
Removed /replaceitem command
移除了 /replaceitem 命令
Added /item command
添加了 /item 命令
Added item modifiers, which reuse loot table functions syntax to describe item modification in /item command
添加了物品修飾符,它重用了戰(zhàn)利品表函數(shù)表達(dá)式以描述 /item 命令中物品的修改
Data pack version is now 7
數(shù)據(jù)包版本現(xiàn)在是 7
Loot tables can now access scoreboard values by UUID
戰(zhàn)利品表現(xiàn)在可以通過 UUID 訪問計分板
Loot table values inside random number generators can now be nested
隨機(jī)數(shù)生成器內(nèi)的戰(zhàn)利品表值現(xiàn)在可以嵌套了
Default mode of structure blocks is now Load. Data is now hidden (but can be accessed by clicking mode button while holding alt key)
結(jié)構(gòu)方塊的默認(rèn)模式現(xiàn)在是加載。數(shù)據(jù)現(xiàn)在是隱藏的(但是按住 Alt 鍵按模式按鈕就能看到)
物品修飾符
The function part of loot tables can now be defined as separate data pack resource in item_modifiers directory.
Such files can contain a single function (i.e single JSON object) or an array of functions.
戰(zhàn)利品表中的函數(shù)部分現(xiàn)在可以作為獨(dú)立數(shù)據(jù)包資源定義出來,在 item_modifiers 目錄下。
這些文件可以包含單個函數(shù)(例如,單個 JSON 對象),或成組的多個函數(shù)。
命令
item
Modifies item or block inventory.
修改物品或方塊的物品欄。
This command has three forms:
該命令有三個形式:
/itemreplace[] - same as old replaceitem
/itemreplace[] - 和過去的 replaceitem 一樣
/itemmodify- modifies item (without copying).
/itemmodify- 修改物品(不復(fù)制)
/itemcopy[] - copies item for source to target(s), optionally applying modifier
/itemcopy[] - 從源到目標(biāo)復(fù)制物品,修飾符的應(yīng)用是可選的
Possible sources and targets:
可能的源和目標(biāo):
entity
block
For example,/item block ~ ~ ~ container.0 copy entity @s enderchest.0 will copy first item from player’s enderchest to first slot of container player is currently standing on.
例如,/item block ~ ~ ~ container.0 copy entity @s enderchest.0 會把玩家末影箱中的第一個物品復(fù)制到玩家現(xiàn)在站著的容器的第一個槽里。
戰(zhàn)利品表
新條件
value_check
Checks range of value.
檢查值的范圍。
Parameters:
參數(shù):
value - see “New value providers” section (currently combination of random generators and score)
value - 請參見“新的值提供器”一節(jié)(現(xiàn)在是隨機(jī)數(shù)產(chǎn)生器和 score 的結(jié)合)
range - min/max range
range - 最小/最大范圍
修改的條件
score
entity parameter has now been replaced with target .
It can either contain value from old entity field (like this) or be an score holder name in form {'name': '...'}.
entity 參數(shù)現(xiàn)在被 target 參數(shù)取代了。
它既可以包含之前 entity 字段的值(比如 this),也可以是 {'name': '...'} 形式的 score holder。
修改的函數(shù)
set_damage
This function now has add parameter. If true, change will be relative to current damage. If false, damage will be replaced with current value (default behavior)
該函數(shù)現(xiàn)在有 add 參數(shù)。若為 true,會以當(dāng)前傷害為基準(zhǔn)做相對修改。若為 false,會以當(dāng)前值覆蓋傷害(默認(rèn)的行為)
set_count
This function now has add parameter. If true, change will be relative to current item count. If false, item count will be replaced with current value (default behavior)
該函數(shù)現(xiàn)在有 add 參數(shù)。若為 true,會以當(dāng)前物品計數(shù)為基準(zhǔn)做相對修改。若為 false,會以當(dāng)前值覆蓋物品計數(shù)(默認(rèn)的行為)
copy_nbt
source parameter can now be set to {'storage':}, to access command storage.
source 參數(shù)現(xiàn)在可以設(shè)置為 {'storage':},以訪問命令空間。
新函數(shù)
set_enchantments
Modifies enchantments on item
修改物品的附魔
參數(shù)
enchantments - map of enchantment id to level value (can be score or random number)
enchantments - 附魔 id 到等級值的映射(可以是 score 或隨機(jī)數(shù))
add - if true, change will be relative to current level. If false, level will be replaced with current value (default behavior)
add - 若為 true,會以當(dāng)前附魔等級為基準(zhǔn)做相對修改。If false,會以當(dāng)前值覆蓋物品計數(shù)(默認(rèn)的行為)
新的值提供器
Note: value providers can be used in same places as random number generators.
注意:值提供器可以用在和隨機(jī)數(shù)發(fā)生器相同的地方
score
Returns scaled scoreboard value.
返回縮放后的計分板值。
參數(shù)
score - scoreboard name
score - 計分板名稱
target - same as target in score predicate
target - 與 score 謂詞中的 target 一致
scale - scaling factor (float)
scale - 縮放因子(浮點(diǎn)數(shù))
數(shù)據(jù)包
Changes to data packs for version 7:
數(shù)據(jù)包版本 7 的修改:
Removal of /replaceitem(replaced with /item replace)
移除了 /replaceitem(以 /item replace 加以替代)
score loot table condition:entity parameter has been replaced with target
score 戰(zhàn)利品表條件:entity 參數(shù)已被 target 加以替代
資源包
Changes to resource packs for version 7:
資源包版本 7 的修改:
Drowned texture mirroring has changed (see MC-174685)
溺尸的貼圖鏡像問題已被修正(參見 MC-174685)
slots for the game mode selector are now 26 pixels instead of 25
游戲模式選擇器的槽現(xiàn)在是 26 像素而不是 25 了
《罪惡都市》決定版數(shù)據(jù)在Steam后臺更新
《Apex英雄》日蝕戰(zhàn)斗通行證預(yù)告 全新傳說皮膚等
《霍格沃茨之遺》登上Steam愿望單排行榜榜首
《布蘭博:山丘之王》試玩Demo上線 2023年發(fā)售
《刀劍神域》“今日正式發(fā)售” 官方發(fā)布周年紀(jì)念禮盒
《七龍珠:破界斗士》公布賽季更新路線圖
《獵天使魔女3》通過NS模擬器 在PC上以4K/60幀運(yùn)行
《刺客信條:幻景》樂曲“Into the light”欣賞
《獵天使魔女3》首日更新 改進(jìn)防走光模式調(diào)整平衡
《生化危機(jī)8》云游戲版發(fā)售預(yù)告公布 今日登陸Switch