Wacko Beacons
这是什么?
这是一个概念验证,展示了 Minecraft 中的一个问题:允许玩家仅通过客户端操作,使用 1 级信标和再生 II 效果即可获得 2 级或更高级别的信标效果。
为什么你要做这个?
为什么不呢?
这到底是怎么实现的?
第一部分 - 再生 II
Minecraft 信标的运作方式有些奇怪:它包含两个独立的效果,即主效果和副效果。副效果可以与主效果相同,服务器端不会检查其是否为有效的主/副效果,而只检查其是否为有效的信标效果。当副效果与主效果相同时,你会获得 II 级效果,但即便如此,Mojang 仍确保服务器端存在 4 层效果。因此,这部分功能仅对信标的再生 II 效果有用。
我所做的只是在客户端将再生效果添加到主效果列表中,它就生效了!
第二部分:电光石火(续集)——节省钻石
事实证明,尽管会检查效果是否有效,但它并不会检查该效果是否与当前信标等级相匹配。因此,你可以用 9 组钻石而不是通常的 50 组钻石来获得力量 I 效果,这可是一大笔开销。
现在我只需要在客户端启用所有按钮,即使它们对应的等级不正确,这其实并不难!
Wacko Beacons
What is this?
This is a proof of concept that shows a problem with minecraft, allowing players to obtain beacon level 2+ effects with beacon level 1 and regeneration 2 entirely client side.
Why did you make it?
Why not?
How does this even work?
Part 1 - Regeneration II
Minecraft beacons work in a weird way: it has 2 seperate effects, primary and secondary. The secondary can be the same as the primary and isn't checked server side if its a valid primary/secondary and only checks if its a valid beacon effect. When it's the same as the primary, you get a level II effect, but even in that case mojang makes sure theres 4 layers on server side. So this part is only useful for Regeneration II on a beacon.
All I had to do was add regeneration to the list of primary spells on the client and it worked!
Part 2: Electric Boogaloo - Saving diamonds
Turns out despite checking for a valid effect, it still doesn't check if the effect is obtainable with the beacon level. So, you can get Strength I with 9 blocks of diamonds instead of the usual 50, quite the money save.
Now all I did was enable all the buttons on the client even if it's not the right level, not really that hard!
评论 0
登录后参与评分
还没有评论,来抢沙发吧