LeavesMC / Leaves

Fork of Paper aimed at repairing broken vanilla properties.
https://leavesmc.org
Other
425 stars 44 forks source link

容器内堆叠的盒子不正确显示其数量 #356

Closed SunshineZX1949 closed 1 week ago

SunshineZX1949 commented 1 month ago

服务端版本 LeavesMC Version

Leaves version 1.21.1-67-master@6c5cc79

预期的行为 Expected behavior

容器内堆叠的盒子会正确显示盒子数量(如8)

观测到的实际行为 Observed/Actual behavior

无数字显示,仅显示此处有盒子

复现步骤 Steps/models to reproduce

准备工作: image 操作流程: 1 image 2 image 3. image 4 image

插件与数据包列表。 Plugin and Datapack List.

Server Plugins (0): [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)] [13:10:19 信息]: There are no more data packs available

更多详细信息。 The more information.

No response

s-yh-china commented 1 month ago

暂无解决方案,只能通过安装客户端mod解决问题,因为这里显示是客户端控制的

Lumine1909 commented 1 month ago

不如发给客户端一个假的改max stack amount的包( 似乎可以插件实现(

s-yh-china commented 1 month ago

你说的有道理,看起来是一种解决方案

SunshineZX1949 commented 1 month ago

什么鬼,之前能用现在不行了((((

Lumine1909 commented 1 month ago

你说的有道理,看起来是一种解决方案

什么时候翻新一下bytebuf api () 现在没有 writeItemList 只能用nms手动写qwq

SunshineZX1949 commented 2 weeks ago

唯一一个不仅是bug还积压了1个月的issue

Lumine1909 commented 2 weeks ago

唯一一个不仅是bug还积压了1个月的issue

我知道你很急但你先别急 如果你真的很急可以自己pr修了 思路和代码都已经有了 https://github.com/Lumine1909/LeavesAddons/commit/b4ae47d4e5b8f1b54321430feecca38baeda7faa

MC-XiaoHei commented 1 week ago

修好了,而且一并修好了无mod容器内堆叠盒子的功能