Mojira是Mojang的官方漏洞追踪平台,地址:https://bugs.mojang.com/
今天我翻了一下,找到了最早的没解决的问题:[MC-4] Item drops sometimes appear at the wrong location - Jira (mojang.com)
提出时间:2012年10月24日!9年了还没解决!
问题:
复制代码
简单来讲,就是物品掉在了方块边上造成客户端和服务端计算错误。
大家可以去按漏洞描述里的方法尝试一下,从1.4老版本到1.17全都会复现。
复制代码最新版也是可以的。
1.16,1.15,1.14等等都可以复现。快照版本也不例外!


今天我翻了一下,找到了最早的没解决的问题:[MC-4] Item drops sometimes appear at the wrong location - Jira (mojang.com)
提出时间:2012年10月24日!9年了还没解决!
问题:
- When an item lands on the edge of a block, the client sometimes makes it fall over the edge while the server leaves it on the edge. This happens because the client thinks the drop can fall based on a slightly different location and attempts to predict the future incorrectly.
简单来讲,就是物品掉在了方块边上造成客户端和服务端计算错误。
大家可以去按漏洞描述里的方法尝试一下,从1.4老版本到1.17全都会复现。
- <div class="action-head" style="cursor: pointer; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; background-color: rgb(244, 245, 247);"><div class="action-details" style="line-height: 1.5;"><a class="user-hover user-avatar" rel="theemeraldsword85" id="commentauthor_1031964_verbose" href="https://bugs.mojang.com/secure/ViewProfile.jspa?name=theemeraldsword85" style="color: rgb(0, 101, 255); text-decoration: var(--aui-link-hover-decoration); cursor: pointer; background-repeat: no-repeat; background-position: left center; padding-top: 2px; padding-bottom: 2px; padding-left: 19px; position: relative; display: inline-block;"><span class="aui-avatar aui-avatar-xsmall" style="--aui-avatar-size:16px; box-sizing: border-box; display: inline-block; position: absolute; vertical-align: text-bottom; left: 0px; top: 2px;"><span class="aui-avatar-inner" style="display: flex; place-content: center; height: var(--aui-avatar-size); max-width: var(--aui-avatar-size); max-height: var(--aui-avatar-size); width: var(--aui-avatar-size); border-radius: 100%; overflow: hidden;"><img src="https://bugs.mojang.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER537648&avatarId=55049" alt="theemeraldsword85" style="margin: auto; border-width: 0px; border-style: initial; display: block; height: 15.9933px; width: 15.9933px;"></span></span>Matthew Ramirez</a> 添加了评论 - <span class="commentdate_1031964_verbose subText" style="font-size: 1em;">08/七月/21 10:38 上午</span></div></div><div class="action-body flooded" style="margin-top: 10px; overflow: auto hidden; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; background-color: rgb(244, 245, 247);"><p>Can confirm in 1.17.1. </p></div>
1.16,1.15,1.14等等都可以复现。快照版本也不例外!


掉到方块边缘会出什么错误
啊,我一直都以为这是个特性





whatfilmae 发表于 2021-7-30 14:10
掉到方块边缘会出什么错误
代码分析:
https://bugs.mojang.com/browse/M ... anel#comment-323263
https://bugs.mojang.com/browse/M ... anel#comment-325432
尸先peng 发表于 2021-7-30 14:11
啊,我一直都以为这是个特性
这是个bug,但是我以前也认为是特性
影响不大吧。。。
要用到碰撞侦测算法,最简单的就是实体设置中心坐标,生成位置计算中心坐标距不得小于实体斜对角线值之和。然鹅个人感觉没啥意义,不如先解释为啥挖下来的方块悬浮状态体积比放置状态小。
我一直以为这个就是正常玩意。。太多见了。。没想到是个特性
这不是特性么

不会有太大影响吧
这就是个特性习惯了就好
鱼宝放心飞 发表于 2021-7-31 08:14
你说的就是那个掉落物抽搐,反复上下横跳的特性吗
应该就是
啊 都是特性!