--- version-image-link: https://s21.ax1x.com/2025/08/20/pVB7nLq.jpg server-jar: https://piston-data.mojang.com/v1/objects/34b22c38c3e77b96b0b8cda26687f4b2c2a5fb72/server.jar translator: 最亮的信标 cats: ['1.21','1.21.9'] note: '感谢 EYicheng 同时翻译了本文,但由于编辑冲突未放置于新闻主页' --- ## 新特性 - 服务器现在拥有了游戏内的行为准则 ### 服务器行为准则 当连接到服务器时,现在会显示服务器行为准则屏幕。 - 游玩服务器必须接受服务器行为准则 - 会提供一个检查框,勾选后不会再显示行为准则 - 如果行为准则更改,它还会再次显示 #### 服务器设置 - 一个新的布尔字段 `enable-code-of-conduct` 添加进了 server.properties - 如果将其设为 `true` 将会使服务器在与 `server.properties` 所在文件夹中的名为 `codeofconduct` 子文件夹中寻找行为准则文件 - 在文件夹中的每一个文件名应符合 `.txt` 格式 - 上方的语言将会尝试匹配玩家的语言 - 如果不存在匹配玩家语言的文件,会使用 `en_us` 的行为准则 - 如果 `en_us` 也不存在,则会匹配任意文件 ## 更改 - 现在更新了主菜单的全景图,展示了村庄中的铜傀儡 ### 末地闪光 - 由闪光造成的音效现在有了更长的延迟 - "隐藏天空闪电效果" 无障碍设置被重命名为 "隐藏天空闪烁效果",启用的同时也会隐藏末地闪光 - 当闪光由设置禁用时,世界不会被闪光点亮,但是闪光源以及音效仍会显示与播放 ### 方块、物品以及实体的微调 - 当铜傀儡受到隐身药水效果时,它的眼睛现在会隐藏 - 铜傀儡碰撞箱微调 - 碰撞箱宽度现在为 0.6 格,以能够寻路通过门 - 碰撞箱高度现在为 1.01 格,以不会被某些方块卡住 ### 音效 - 铜傀儡以及铜箱子现在可以在 12 格外听到其发出的音效 - 分类音效现在被调整地更安静 ## 技术性更改 - 数据包版本现在为 84.0 - 资源包版本现在为 66.0 ## 数据包版本 84.0 - 在数据组件以及方块实体的玩家档案不再会自动解析 - 增加了 `fetchprofile` 命令以下载玩家档案 ### 方块状态 - 从展示架上移除了方块状态 `align_items_to_bottom` - 它被替换为在展示架方块实体上有着相同名称的布尔字段 - 在上个快照创建的有着这个属性的展示架将会重置为默认值(`false`) ### 命令 #### 增加了 `fetchprofile` - 增加了从 Minecraft 服务器上获取玩家档案内容的命令 - 因为这个操作可能需要一些时间,它在工作时为异步进行 - 当操作完成时结果会被打印,但是游戏会一直不间断地运行 - 在成功完成后,会显示以让用户复制的一条消息完全储存的 `minecraft:profile` 组件内容,或有着 `said` 组件的 `/give @s minecraft:player_head` - 因为命令执行不会立即产生结果,这个指令返回值恒为 1 语法: - `fetchprofile name ` - 返回由玩家名(大小写不敏感)解析的档案 - `fetchprofile id ` - 返回由 id 解析的档案 ### 数据组件 #### 更改了 `minecraft:profile` - 之前这个组件的内容会在档案被解析时永久的改变,例如在从 Minecraft 服务时 - 为了避免这个意料之外的更改的问题,现在解析值不再存储,并且档案内容会一直保持不被更改 - 这意味着这个组件现在有两个行为: - 静态: 当其存在 `properties` 字段时,或 `name` 和 `id` 均设置或均未设置时 - 在这个状态下,档案会直接渲染 - 如果 `properties` 字段缺省,会使用默认皮肤(由 `id` 决定,与离线模式相同) - 只意味着在组件创建时皮肤变为只读 - 这个选项适合装饰用途 - 动态: 当没有 `name` 或 `id` 时(但不是两个都没有) - 当包含这个档案的物品在客户端渲染时,档案将会被解析为最近期的值 - 这意味着这个物品将会一直渲染为目标玩家的当前皮肤 - 注:如果玩家在游戏运行时更改了皮肤,其更改不可见直到客户端重启 - 在解析时可能会造成延迟,在这时物品会渲染为默认皮肤 - 当存在时,物品名称将会替换档案名称 - 只有 `id` 的物品会展示默认名称 - 具有动态档案的物品会用提示栏与静态物品区分 - 物品堆叠基于精确的内容,所以即使动态组件与静态组件解析结果完全一样,它们也不会堆叠 - 在以前的地图上的未被新版本加载的玩家的头通常将会转为动态内容 ### 方块实体数据 #### 更改 `minecraft:skull` - `profile` 字段被更改以匹配 `minecraft:profile` 组件 - 这意味着其不可修改并只有在必要时才会解析 ### 文本组件 - 粗体与斜体样式在绘制精灵图时会被忽略 ## 资源包版本 66.0 - 从展示架上移除了方块状态 `align_items_to_bottom` ## 25W34A 修复的漏洞 - [MC-383](https://bugs.mojang.com/browse/MC-383) - In the world selection screen, world names/versions/timestamps can overflow the list to the right - [MC-36783](https://bugs.mojang.com/browse/MC-36783) - Item frames/Glow item frames don't change their hitbox if they contain a map - [MC-59413](https://bugs.mojang.com/browse/MC-59413) - Water and lava can drip from barriers - [MC-147784](https://bugs.mojang.com/browse/MC-147784) - Fletching table flashes crafting table's GUI for about a second upon right-clicking it in spectator mode - [MC-259673](https://bugs.mojang.com/browse/MC-259673) - Tab selection works differently in world creation and statistics screens - [MC-260591](https://bugs.mojang.com/browse/MC-260591) - 'execute on origin' and 'execute on owner' fail to find the targeted entity when it is in a separate dimension - [MC-260920](https://bugs.mojang.com/browse/MC-260920) - Statistics screen columns are not accessible through keyboard navigation - [MC-265290](https://bugs.mojang.com/browse/MC-265290) - Elements within the command block interface are not selected in order when using the TAB key - [MC-270190](https://bugs.mojang.com/browse/MC-270190) - Hovering over banner patterns in the loom UI does not display tooltips - [MC-270669](https://bugs.mojang.com/browse/MC-270669) - Incorrect argument order in translation key argument.block.property.novalue - [MC-272584](https://bugs.mojang.com/browse/MC-272584) - Fireballs redirected by explosions caused by player owned entities no longer carry player ownership - [MC-276931](https://bugs.mojang.com/browse/MC-276931) - Enchanted books have the wrong rarity - [MC-296789](https://bugs.mojang.com/browse/MC-296789) - The color of text within the test instance block interface is inconsistent with other similar interfaces - [MC-297496](https://bugs.mojang.com/browse/MC-297496) - Text inside the middle of the java realms information box completely disappears when selected - [MC-298605](https://bugs.mojang.com/browse/MC-298605) - When creating a Water World superflat world, the player spawns at the bottom of the sea - [MC-299067](https://bugs.mojang.com/browse/MC-299067) - Arrows can lose ownership on disconnection in multiplayer - [MC-299115](https://bugs.mojang.com/browse/MC-299115) - Arrows lose their owner tag when deflected while the owner is offline - [MC-300045](https://bugs.mojang.com/browse/MC-300045) - The hand animation plays when right-clicking copper golems - [MC-300046](https://bugs.mojang.com/browse/MC-300046) - The copper golem statue models in the inventory are partly cut off at the top - [MC-300048](https://bugs.mojang.com/browse/MC-300048) - Copper golem statue item entities are rendered too large - [MC-300066](https://bugs.mojang.com/browse/MC-300066) - The Ender Dragon Spawn Egg has the "Disabled in Peaceful" note despite being able to spawn in Peaceful mode - [MC-300082](https://bugs.mojang.com/browse/MC-300082) - Copper golems with the “NoAI” tag can adjust their rotation and spin - [MC-300083](https://bugs.mojang.com/browse/MC-300083) - Copper golems with the “Silent” tag can still produce some sounds - [MC-300085](https://bugs.mojang.com/browse/MC-300085) - Copper golem statues' poses are off-centered - [MC-300130](https://bugs.mojang.com/browse/MC-300130) - The "commands.summon.failed.peaceful" string doesn’t pluralize the word "Monster" - [MC-300134](https://bugs.mojang.com/browse/MC-300134) - Copper Golem Spawn Egg isn't alphabetized in the creative inventory - [MC-300213](https://bugs.mojang.com/browse/MC-300213) - Copper golems' hitbox is too large to fit through open single doors - [MC-300222](https://bugs.mojang.com/browse/MC-300222) - Upon exiting the gamemode switcher (F3+F4) or debug options menu (F3+F5) while viewing the credits, the player does not resume viewing the credits and instead remains in the end in a phantom state until they relog - [MC-300245](https://bugs.mojang.com/browse/MC-300245) - Any double chests variant doesnt play any sound when a copper golem interacts with the right part of the chest specifically - [MC-300249](https://bugs.mojang.com/browse/MC-300249) - Copper golem statue block outline is above the top of the block below - [MC-300365](https://bugs.mojang.com/browse/MC-300365) - Copper golems inconsistently activate trapped chests - [MC-300406](https://bugs.mojang.com/browse/MC-300406) - Updating open copper chests causes the chests to remain open - [MC-300441](https://bugs.mojang.com/browse/MC-300441) - Nether ambient sounds continue playing after leaving the Nether - [MC-300475](https://bugs.mojang.com/browse/MC-300475) - The Glowing outline now appears black on the fur model parts of invisible sheep - [MC-300480](https://bugs.mojang.com/browse/MC-300480) - Worn copper golem statues are incorrectly rotated - [MC-300695](https://bugs.mojang.com/browse/MC-300695) - The sprint toggle state is now reset when viewing any screen - [MC-300718](https://bugs.mojang.com/browse/MC-300718) - Player doesn't re-sneak automatically if they were sneaking before opening a GUI with Sneak Toggle set - [MC-300796](https://bugs.mojang.com/browse/MC-300796) - Harvesting from sweet berry bushes can drop more sweet berries than before - [MC-300804](https://bugs.mojang.com/browse/MC-300804) - The Glowing outline is now always white on invisible entities that aren't the player, unless the player is in the same team - [MC-300825](https://bugs.mojang.com/browse/MC-300825) - Entities with NaN motion cause clients to be kicked and softlocked - [MC-300839](https://bugs.mojang.com/browse/MC-300839) - Disc sounds can be heard in another dimension - [MC-300846](https://bugs.mojang.com/browse/MC-300846) - The /rotate command doubles the target entity's motion each time it is run - [MC-300856](https://bugs.mojang.com/browse/MC-300856) - I-beam cursor in book signing screen has wrong color - [MC-300888](https://bugs.mojang.com/browse/MC-300888) - pack.mcmeta no longer supports versions below 16 in the supported_formats field - [MC-300968](https://bugs.mojang.com/browse/MC-300968) - Flying state is not saved when reloading world - [MC-300970](https://bugs.mojang.com/browse/MC-300970) - Missing sound for event: minecraft:entity.copper_golem.shear - [MC-300972](https://bugs.mojang.com/browse/MC-300972) - End light flashes sound can be heard while looking at the credits - [MC-300975](https://bugs.mojang.com/browse/MC-300975) - Copper golems wear banners backwards - [MC-300983](https://bugs.mojang.com/browse/MC-300983) - The speed field in ExplosionParticleInfo codec is misspelled as "speec" - [MC-300995](https://bugs.mojang.com/browse/MC-300995) - Game crashes when changing the F3 menu during world disconnection - [MC-301004](https://bugs.mojang.com/browse/MC-301004) - Normal guardians are no longer able to enter boats - [MC-301030](https://bugs.mojang.com/browse/MC-301030) - Frosted ice now melts in the End - [MC-301032](https://bugs.mojang.com/browse/MC-301032) - Bees in the End now hide in their hive when it's raining in the Overworld