亚像素垫子对齐
恢复 Minecraft 快照 26.3-snapshot-3 中自由高度的垫子放置功能。
在 Minecraft 快照 26.3-snapshot-3 首次加入垫子时,玩家发现可以在锅、漏斗和堆肥桶内部将垫子放置在任意高度——而不仅仅是固定的吸附位置。这种“亚像素”放置很快成为建造者在细节工作中和红石玩家在紧凑型装置中的最爱。
快照 26.3-snapshot-4 对此进行了修复(追踪编号为 MC-309695),通过将锅、漏斗和堆肥桶内的垫子放置限制严格对齐至其碰撞形状。
本模组撤销了该限制——将亚像素垫子放置功能重新带回锅、漏斗和堆肥桶,其行为与快照 26.3-snapshot-3 完全一致。
受影响的方块
锅(所有填充状态:空、水、岩浆、粉末雪)
漏斗
堆肥桶
技术细节
这是一个纯粹的数据修复——无代码注入,无 mixins。它通过覆盖 Mojang 自己的 minecraft:cushion_uses_collision_shape 方块标签(该标签于快照 26.3-snapshot-4 中引入,专门用于限制此行为)为空,从而恢复基于原始交互形状的放置射线检测。
安装说明
单人游戏 / LAN 世界:仅客户端安装即可立即生效。
多人游戏(专用服务器):放置操作由服务端权威控制——此模组(或仅捆绑的数据包)需要安装在服务端。仅客户端安装不会影响真正的多人服务器。
要求
Minecraft 26.3-snapshot-4
Fabric Loader ≥0.19.3
Sub-Pixel Cushion Alignment
Restores 26.3-snapshot-3's free-height cushion placement.
When cushions were first added in Minecraft snapshot 26.3-snapshot-3, players discovered they could place cushions at any height inside cauldrons, hoppers, and composters — not just fixed snap positions. This "sub-pixel" placement quickly became a favorite among builders for detail work and among redstoners for compact contraptions.
Snapshot 26.3-snapshot-4 patched this out (tracked as MC-309695) by restricting cushion placement in these blocks to snap strictly to their collision shape.
This mod reverts that restriction — bringing sub-pixel cushion placement back to cauldrons, hoppers, and composters, exactly as it behaved in snapshot-3.
Affected blocks
Cauldron (all fill states: empty, water, lava, powder snow)
Hopper
Composter
Technical details
This is a pure data fix — no code injection, no mixins. It overrides Mojang's own minecraft:cushion_uses_collision_shape block tag (introduced in snapshot-4 specifically to gate this behavior) back to empty, restoring the original interaction-shape-based placement raycast.
Installation notes
Singleplayer / LAN worlds: install client-side, works immediately.
Multiplayer (dedicated servers): placement is server-authoritative — this mod (or just the bundled datapack) needs to be installed server-side. Client-only installs will not affect real multiplayer servers.
Requirements
Minecraft 26.3-snapshot-4
Fabric Loader ≥0.19.3
评论 0
登录后参与评分
还没有评论,来抢沙发吧