一个Java快照
你好!这是1.21.2版本的最新快照!它包含了一些备受期待的实验性功能调整,以及一些技术更改和优化。
祝你挖矿愉快!
实验性功能以下更改仅在启用相应实验时有效,可以通过激活相应的实验数据包或在创建世界时在实验屏幕上启用这些实验来实现。
这些实验在未启用时不会产生任何效果。你可以在这里找到有关功能切换的更多信息。
收纳袋(Bundles)
● 收纳袋工具提示现在可以显示3行内容,并且总是能展示至少8种物品类型。
● 开发者注释:物品在收纳袋中按四列填充,当一列满时,它会被上面的一列推下去。这意味着顶部的行可能会出现空隙。
在2020年的收纳袋实验中,物品是从顶部填充的,没有留下任何空隙。我们改变了这种行为,因为这意味着当添加新物品时,物品在收纳袋中会左右移动。这使得一些玩家很难跟踪物品的顺序,有些玩家甚至报告说物品在随机移动!
由于工具提示只有两行时,满的一行物品被推向收纳袋的下方,导致可见的物品减少了一半,这过于极端。我们添加了第三行,以使设计更好用,并允许玩家在收纳袋填充时能看到更多的物品。
矿车改进
● 请注意,此切换背后的实验性功能目前并未针对未来的任何版本。这只是一个我们尝试更改和收集反馈的地方。
● 我们很高兴听到你对这些更改的看法:请在反馈页面上分享你的反馈。
● 矿车不再在落在轨道上时强制居中对齐。
● 矿车在对角线角落对齐,且在被活塞推送后对齐。
● 这允许使用活塞按钮和类似的装置。
● 分配器再次允许堆叠矿车。
● 矿车现在更容易在相反的坡度上停下。
● 矿车不再在短时间的跌落或垂直下落时倾斜。
● 矿车现在在放置(或分配)到轨道时会立即以正确的旋转放置。
● 矿车也会以正确的旋转放置到坡道上。
● 矿车在上坡或下坡时不会穿过块,而是会碰撞。
红石实验
● 请注意,此切换背后的实验性功能目前并未针对未来的任何版本。这只是一个我们尝试更改和收集反馈的地方。
● 我们很高兴听到你对这些更改的看法:请在反馈页面上分享你的反馈。
● 开发者注释:过多的邻居更新影响了基于准连接性的装置的行为。我们计划在以后解决这些问题。
● 红石线路更新现在具有左侧优先的偏好。
● 这意味着如果线路上有分叉且两边的距离相同,则左侧将首先更新。
● 这消除了大部分随机行为。
● 剩下的边缘情况仍然是随机的,即线路从上方或下方获得电力而没有足够的上下文。
更改以下更改适用于游戏,无论是否启用了实验功能。
● 箭矢、三叉戟和钓鱼浮标等投射物在碰到世界边界时会弹跳。
● 使用更高渲染距离时,帧率得到改进。
● 旋转相机时性能影响显著减少。
● 配方书现在在按下“选择”键(空格或任意回车键)时会重复上一个选择的配方。
● 消耗后会转化为其他物品的物品在创造模式下不再进行转化。
● 例如,蜂蜜瓶在创造模式下消费后不再添加玻璃瓶到你的背包中。
技术更改● 数据包版本现为50
● 资源包版本现为36
数据包版本 50
● 更改的物品组件
● `minecraft:food`
● 食物组件已更改为数据容器,只保存物品在消耗时的食物属性。
● 该组件不再赋予物品可被消费的能力,这可以通过新的 `consumable` 组件实现。
● 格式:具有字段的对象
● `nutrition`: 消耗时应用的营养值
● `saturation`: 消耗时应用的饱和度
● `can_always_eat`: 是否可以在用户不饿时也能消费
● 新增的物品组件
● `minecraft:use_remainder`
● 如果存在,当物品的堆叠数量在使用后减少时,会用剩余物品替换该物品。
● 如果物品在使用后堆叠数量大于0,剩余物品将被添加到背包中。
● 如果在尝试将剩余物品添加到背包时背包已满,则剩余物品将被丢弃在地上。
● 格式:作为物品堆叠的单值,例如 `use_remainder={id:'minecraft:stick', count:1}`
● `minecraft:use_cooldown`
● 如果存在,当使用此物品时,它将对所有相同类型的物品应用冷却时间。
● 格式:具有字段的对象
● `seconds`: 正浮点数,表示冷却时间的秒数
● `cooldown_group`: 可选的命名空间ID,表示冷却组
● 如果存在,此物品将属于一个冷却组,并不再与其基本物品类型共享冷却时间。
● 相反,应用于此物品的冷却时间只与属于同一冷却组的其他物品共享。
● 例如 `use_cooldown={seconds:1.5, cooldown_group:"minecraft:custom_weapon"}`
● `minecraft:consumable`
● 如果存在,此物品在使用时可以被消费。
● 如果物品上也存在 `food`、`potion_contents`、`ominous_bottle_amplifier` 或 `suspicious_stew_contents`,消费此物品将应用这些组件的属性和效果。
● 格式:具有字段的对象
● `consume_seconds`: 非负浮点数,表示玩家消费此物品所需的秒数
● 默认值:1.6
● `animation`: 消耗此物品时使用的动画
● 默认值:eat
● 可接受值:none、eat、drink、block、bow、spear、crossbow、spyglass、toot_horn、brush
● `sound`: 音效事件,消费此物品时播放的声音
● 默认值:entity.generic.eat
● `has_consume_particles`: 布尔值,是否在消费此物品时发出消耗粒子
● 默认值:true
● `on_consume_effects`: 可选的副作用列表,消费此物品后发生的效果
● 目前有5种有效的消费效果
● `minecraft:apply_effects`
● `effects`: 一旦消费后应用的状态效果实例列表
● `probability`: 浮点数,应用上述效果的概率
● 默认值:1.0
● `minecraft:remove_effects`
● `effects`: 一旦消费后移除的状态效果,作为标签或ID列表
● `minecraft:clear_all_effects`
● 清除消费者的所有状态效果
● `minecraft:teleport_randomly`
● `diameter`: 正浮点数,消费者将被传送的直径范围
● 默认值:16.0
● `minecraft:play_sound`
● `sound`: 消耗后播放的声音事件
● 例如 `consumable={consume_seconds:3.0, animation:'eat', sound:'entity.generic.eat', has_consume_particles:true, on_consume_effects:[{type:'minecraft:clear_all_effects'}]}`
资源包版本 36
● 着色器与后处理效果
● 开发者注释:虽然资源包中可以进行覆盖,但覆盖核心着色器被视为不受支持且不是预期的资源包功能。这些着色器作为游戏内部实现的一部分存在,因此可能会随着游戏内部实现的演变而随时更改。我们理解覆盖核心着色器用于非常酷的资源包功能,其中许多缺乏支持的替代方案。我们希望将来能提供更好、更支持的替代方案。
● 着色器程序配置现在可以指定要应用到其链接着色器的预
处理器定义指令。
● 许多着色器实现通过利用这一点得以合并。
● 核心着色器和后处理着色器配置的格式已统一。
● `rendertype_entity_glint_direct` 着色器已被移除(由 `rendertype_entity_glint` 取代)。
● `rendertype_entity_translucent_cull` 着色器已被移除(由 `rendertype_item_entity_translucent_cull` 取代)。
● 着色器程序定义
● 后处理效果的程序定义(`assets/<namespace>/shaders/program/<name>.json`)已与核心着色器定义(`assets/<namespace>/shaders/core/<name>.json`)保持一致。
● `blend` 字段已被移除,因为没有用处。
● `attributes` 字段已被移除,`Position` 属性将始终绑定。
● 提供的 uniforms 已与核心着色器提供的合并。
● `Time` 已重命名为 `GameTime`。
● 程序定义中的顶点着色器和片段着色器引用(包括后处理效果)现在是命名空间的着色器ID。
● 顶点着色器 `<namespace>:<path>` 将解析为 `assets/<namespace>/shaders/<path>.vsh`。
● 片段着色器 `<namespace>:<path>` 将解析为 `assets/<namespace>/shaders/<path>.fsh`。
● 着色器源文件不再要求位于 `shaders/core` 子目录中,这仅用于组织。
● 向程序定义添加了 `defines` 字段(具有字段的对象)
● 允许将 GLSL 定义指令注入到着色器源中,可以在着色器值中引用。
● `values`(字符串到字符串的映射)
● 将作为 `#define <key> <value>` 注入到文件顶部。
● `flags`(字符串列表)
● 将作为 `#define <key>` 注入到文件顶部。
● 着色器导入
● `#moj_import` 指令现在支持具有绝对路径的命名空间导入。
● 例如,`#moj_import <minecraft:fog.glsl>` 将导入 `assets/minecraft/shaders/include/fog.glsl`。
● 相对导入不使用命名空间,行为与之前相同。
● 后处理效果定义
● 后处理效果配置已从 `assets/<namespace>/shaders/post` 目录移至 `assets/<namespace>/post_effect`。
● 这些效果使用的顶点和片段着色器已从 `assets/<namespace>/shaders/program` 移至 `assets/<namespace>/shaders/post`。
● `name` 已重命名为 `program`,现在是着色器程序配置的命名空间ID。
● `<namespace>:<path>` 将解析为 `assets/<namespace>/shaders/<path>.json`。
修复的错误● MC-73178 - 村民的 "CanPickUpLoot" 标签无法设置为零
● MC-144327 - 烈焰人的火棒底面纹理与顶面纹理相同
● MC-191431 - 玩家在切换到 "Fabulous!" 时,观众视角的头部不可见/在库存中不渲染
● MC-269376 - 微风从碰撞箱的中心发射风力
● MC-269715 - 当组件 food.eat_seconds 小于 0.05 时食物不会被吃掉
● MC-272643 - 使用 `using_converts_to` 的物品在重启世界后无法与原物品堆叠。
● MC-273629 - 使用 `effects_changed` 进度导致包错误(ConcurrentModificationException),如果是由牛奶触发的
● MC-275203 - 矿车总是朝东/西方向生成,并在放置到轨道上时略微向上移动
● MC-275209 - 不可能在水下将水放入水桶中
● MC-275210 - 矿车在对角线向上移动时可以穿过方块
● MC-275211 - 掉落物品的附魔光泽不可见
● MC-275213 - 在尝试将熔岩或粉末雪放入水下的水桶时,手部动画仍在播放
● MC-275218 - 在轨道上发生脱轨后重新上轨时,“矿车滚动”声音未播放
● MC-275219 - 在创意模式下,尝试在同一轨道上使用矿车时手部动画仍在播放
● MC-275221 - 24w33a 中婴儿北极熊模型混乱
● MC-275224 - 在轨道上使用的矿车物品出现不同步
● MC-275226 - 玩家和怪物在第三人称视角中持有的物品上的附魔光泽不可见
● MC-275229 - 矿车在气泡柱上表现异常
● MC-275230 - 在观众模式下打开库存时游戏崩溃
● MC-275232 - 开采疲劳动画出现得过近
● MC-275237 - 无法在铁砧上重命名书籍
● MC-275241 - 矿车在停止后会继续发出声音一段时间
● MC-275246 - 尝试从创造模式的库存中移动物品后崩溃
● MC-275248 - 火把的底面不再存在
● MC-275249 - “FOV Effects” 滑块错误地修改了望远镜的缩放值
● MC-275252 - 玩家在爬行时的头部角度现在很奇怪
● MC-275270 - 矿车在放置到未激活的坡道上时方向不正确
● MC-275271 - 尝试将物品移动到创造模式的热键栏插槽后崩溃
● MC-275273 - 婴儿蘑菇牛的模型比例错误
● MC-275277 - 试炼室的 encounter_4 陷阱经常无法击中玩家
● MC-275289 - 24w33a 中一些房间中仍有空箱子
● MC-275293 - 在生存模式中拾取不在热键栏但在背包中的方块时发生内部异常
● MC-275296 - 玩家手中的发光纹理不发光
● MC-275297 - 失败的选择器和虚拟玩家在 “score” 选择器中导致意外错误
● MC-275307 - 从观众模式切换时手部不显示
● MC-275310 - 无法在附魔台上附魔护甲
● MC-275319 - 24w33a 中末影水晶似乎比以前版本略小
● MC-275328 - 物品框中的物品上的附魔光泽不可见
● MC-275329 - 从24w33a开始,僵尸村民不再举起手臂攻击
● MC-275332 - 墙壁/天花板上的杠杆和按钮的旋转不会影响红石实验中线路的更新顺序
● MC-275343 - 被卡在世界边界中的投射物如果边界大小更改则可以漂浮在空中
● MC-275361 - 嬉皮士变种的婴儿僵尸攻击时手臂从身体上断开
● MC-275397 - 红石尘土更新不正常
● MC-275436 - 无法在附魔台上附魔书籍
● MC-275467 - 矿车在蜘蛛网或粉末雪中脱轨时可以将你发射到数十万块高度
● MC-275473 - 瘦版模型的手臂现在比躯干低0.5像素
● MC-275479 - 分配器不能在一块矿车距离的地方放置矿车到轨道上
● MC-275482 - 矿车不能像以前那样收集怪物
● MC-275486 - 可附魔数据组件不适用于只有通过数据包附魔的物品
● MC-275498 - 时钟、指南针和恢复指南针在物品框中不起作用
● MC-275554 - 在两个向下坡道之间的矿车会剧烈摇动且无法稳定
● MC-275566 - 尝试打开各种GUI时游戏崩溃,特别是使用Fabulous图形
● MC-275569 - 皮肤的外层在禁用时显示,直到你进入第三人称视角
获取快照快照版本适用于Minecraft:Java版。要安装快照,请打开Minecraft启动器并在“安装”选项卡中启用快照。
测试版本可能会损坏你的世界,因此请备份并/或在与主世界不同的文件夹中运行它们。
跨平台服务器 JAR:
报告错误:
提供反馈: