[Minecraft.net GUIDES] 如何在 Java 版内使用特性开关 - 识海漫谈 - Minecraft(我的世界)中文论坛 -.htm

[Minecraft.net | GUIDES] 如何在 Java 版内使用特性开关 - 识海漫谈 - Minecraft(我的世界)中文论坛 -

Minecraft(我的世界)中文论坛

 找回密码
 注册(register)

!header_login!

只需一步,立刻登录

查看: 190|回复: 0
打印 上一主题 下一主题

[官方文章] [Minecraft.net | GUIDES] 如何在 Java 版内使用特性开关

[复制链接]
Don_Trueno 当前离线
积分
7991
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2019-4-22
查看详细资料

来自:江苏

跳转到指定楼层
楼主
发表于 2023-9-11 22:58:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

您尚未登录,立即登录享受更好的浏览体验!

您需要 登录 才可以下载或查看,没有帐号?注册(register)

x
本帖最后由 Don_Trueno 于 2023-9-11 22:59 编辑


GUIDES
FEATURE TOGGLES IN JAVA EDITION
如何在 Java 版内使用特性开关



Feature Toggles will be available in Minecraft: Java Edition starting with the 22w42a snapshot . These toggles allow players to opt-in to experimental, and potentially unstable, features that may not be released for some time, but are ready for early community testing and feedback. We’re adding Feature Toggles to make sure you're getting new experimental features even earlier than before in our Java snapshots and releases.
22w42a 快照开始,你可以在 Java 版中使用特性开关。这些开关可以玩家调整部分游戏内容的开关,由于这部分游戏内容属于实验性质,存在潜在的不稳定性,所以有时它们无法作为正式版的一部分,但能够作为可选项以提供早期社区测试和反馈。我们为此追加了特性开关内容,让你能在我们推出 Java 版快照和正式版之前就能体验到全新的实验性特性。


WHAT IS A JAVA EDITION FEATURE TOGGLE?
在 Java 版中,特性开关有什么作用?

When enabled, a feature toggle can expose new items, mobs, or other gameplay features that are not otherwise present in normal gameplay.
当你启用一个特性开关后,一些不会出现在正常游戏流程里的全新物品、生物或其它游戏内容就会出现。


HOW DO I ENABLE FEATURE TOGGLES IN MY NEW WORLDS?
如何在创建新的世界时启用特性开关?

In Minecraft: Java Edition, feature toggles are enabled as part of a datapack.
在 Java 版,特性开关以数据包的一部分的形式启用。

The game will now include some built-in datapacks enabling experimental features together with relevant recipes, advancements, etc. Content creators can also use experimental features by modifying their packs to require specific features.
游戏现在会包括一些内置的数据包,使用这些数据包可以启用一些实验性特性,以及相关的配方、进度等。内容创作者们也可以对他们的数据包进行调整,让它们需要特定的特性,从而应用这些实验性特性。


CAN I ENABLE FEATURE TOGGLES IN MY EXISTING WORLDS?
可以在已有的世界中启用特性开关吗?

As these features are considered unstable and experimental, enabling feature toggles in existing worlds is not supported at this time.
这部分游戏内容属于实验性质,存在不稳定性,所以现不支持在已有的世界中启用特性开关。


HOW DO I KNOW IF MY WORLD HAS FEATURE TOGGLES ENABLED?
如何确认一个世界启用了特性开关?

You will see an “Experimental” qualifier in the world list when choosing a world to play.
若启用了特性开关,你会在世界列表里对应的世界前看到“实验性”的提示符。

What types of gameplay can be exposed by feature toggles?
哪些游戏内容会受特性开关影响?

  • Items: enabled items will appear in the Creative mode inventory; recipes and loot tables will be added to gameplay where appropriate; commands can reference enabled items
  • 物品:启用的物品将会在创造模式物品栏显示;与它们相关的配方或战利品表也会加入游戏;命令可以正确指代已启用的物品
  • Blocks: commands that summon blocks will recognize enabled block ids; block items will be available for enabled blocks
  • 方块:放置方块的命令可以正确识别这些方块的id;对应的物品将会在游戏内出现
  • Entities: commands that summon entities will recognize enabled entity ids; spawn eggs will be available in the Creative mode inventory for enabled entities
  • 实体:召唤实体的命令可以正确识别这些实体的id;对应的刷怪蛋将会在创造模式物品栏显示

Disabled items, blocks, and entities will not be available in commands, inventories, or other gameplay systems.
被禁用的物品、方块和实体则无法在命令、物品栏或任何其它游戏系统内出现。

For more technical information, please see the snapshot's changelog .
可查看这篇快照更新日志(22w42a)来获取更多技术性内容。


HOW DO FEATURE TOGGLES INTERACT WITH NORMAL SNAPSHOT FEATURES?
特性开关会与正常的快照内容兼容吗?

While we generally strive for worlds to be upgradeable from snapshot to snapshot, and eventually to major release versions, this is not true for worlds with feature toggles enabled.
虽然我们努力地让快照版本的世界可以兼容较新版本的快照,并能最终更新至正式版本,但启用了特性开关的世界做不到这一点。

A world created in a given snapshot with feature toggles enabled will have both the normal snapshot features, as well as the experimental features enabled by those toggles, but will not be upgradeable to future snapshots or releases.
启用了特性开关的快照世界会同时拥有正常的快照内容,以及由特性开关提供的实验性游戏内容,但这样的世界无法升级至后续的快照版本及正式版。


WHEN WILL FEATURES BEHIND FEATURE TOGGLES BE RELEASED?
特性开关提供的特性何时会被正式推出?

As these features are experimental, they may change drastically or be cut entirely from future releases.
正因为这部分特性都是实验性质的,它们可能会在未来的正式版中被大幅更改或移除。


HOW DO I ENABLE FEATURE TOGGLES IN A NEW SERVER WORLD?
如何在创建新的服务器世界时启用特性开关?

There are several new fields in server.properties that are used during world creation. If you are a server owner, please see the technical changelog for details on these fields.
我们在 server.properties 文件内添加了数个新字段,它们将会在创建世界时被应用。如果你是服务器所有者的话,请在更新日志(22w42a)中查阅有关这些字段的技术性细节。




氘氚人 译自官网 2022 年 10 月 14 日发布的 Feature Toggles in Java Edition;原作者 Staff】
【本文排版借助了:SPXX v2.4.14】

Powered by SPXX 2.4.14 with love
Converted at 2023-09-08 00:28 +0800


帖子永久链接: 

Minecraft中文论坛 - 论坛版权1、本主题所有言论和图片纯属会员个人意见,与本论坛立场无关
2、本站所有主题由该帖子作者发表,该帖子作者享有帖子相关版权
3、其他单位或个人使用、转载或引用本文时必须同时征得该帖子作者的同意
4、帖子作者须承担一切因本文发表而直接或间接导致的民事或刑事法律责任
5、本帖若有内容转载自其它媒体,不代表本站赞同其观点和对其真实性负责
6、若本帖涉及任何版权问题,请立即告知本站,本站将及时予以删除并致以最深的歉意
7、Minecraft(我的世界)中文论坛管理员和版主有权不事先通知发贴者而删除本文

您需要登录后才可以回帖 登录 | 注册(register)

本版积分规则

Archiver|小黑屋|Mcbbs.net ( 京ICP备15023768号-1 ) | 京公网安备 11010502037624号 | 手机版

GMT+8, 2023-12-7 18:39 , Processed in 0.037675 second(s), Total 13, Slave 12 queries, Release: Build.2023.11.27 0934, Gzip On, Redis On.

"Minecraft"以及"我的世界"为美国微软公司的商标 本站与微软公司没有从属关系

© 2010-2023 我的世界中文论坛 版权所有 本站内原创内容版权属于其原创作者,除作者或版规特别声明外未经许可不得转载