注意:这是该数据包的一个非常早期的原型。目前不再包含“爆炸”效果,侧边的计分板也不再默认显示。
在过去的一年里,我在许多社区服务器上玩过带有飞机的模组,并且我一直注意到一个问题。
摧毁它们需要花费极其漫长的时间。尤其是来自插件的飞机。因此,我推出了:
可扳手拆卸的飞机!
使用 Create 模组的扳手,你现在可以直接用扳手拆卸你的飞机,而不是敲击 50+ 次!
工作原理:
非常简单,只需在手持扳手时按住潜行键,你的飞机就会变成物品形态!
那为什么不需要右键点击呢?
说实话,编写右键点击的逻辑会耗费大量时间。虽然理论上可行,但我必须使用交互实体(interaction entity),而这正是我最初的计划,直到你意识到无法通过交互实体进行交互。这意味着每次你潜行并手持扳手时,都无法与其他方块交互,从而破坏了 Create 扳手与其他方块的交互功能。
我也无法使用“胡萝卜钓竿检测”,因为扳手没有像胡萝卜钓竿那样的自定义右键点击分数。此外,我也不能将扳手设为“略微可食用”,因为这需要在未来的 Minecraft 版本中添加相关支持。
如果我找到了实现良好右键点击检测的方法,相信我,我会添加右键点击功能;但目前,不支持右键点击。
性能:
性能影响极小,不会造成任何卡顿。
感谢下载我的数据包!希望对你有所帮助!如果遇到任何问题,或希望适配某个插件模组,请在 CurseForge 上留言或在 Discord 上私信我 (@fj.7g)。
Note: This was an extremely early prototype of the pack. There is no "explosion" present anymore nor is the scoreboard on the side visible by default.
The last year, i've played on many community servers with planes, and i've always noticed something.
It takes Forever to break them. Especially planes from addons. So introducing:
Wrencheable Planes!
Using the create wrench, you can now wrench your plane instead of hitting it 50+ times!
How It Works:
It's quite simple, just sneak, while holding a wrench, and your plane will turn into item form!
But why don't you need to right click?
Right clicking would honestly take forever to code in. It is possible, but I would have to use an interaction entity, which I was planning to at first, until you realize you can't interact through an interaction entity. Meaning every time you're shifting and holding a wrench, you can't interact with any other blocks, breaking creates wrench fuctionality with ever other block.
I can't use carrot on a stick detection either because the wrench doesn't have any custom right click score unlike the carrot on a stick. I also can't make the wrench "slightly edible" since that was added in a future minecraft version.
If I figure out a way to have good right click detection trust me, i'll add right clicking, but for now, no right clicking.
Performance:
The performance impact is extremely minimal, there will be no lag.
Thanks for downloading my datapack! I hope it's useful to you! If you encounter any issues, or want an addon mod to work, make a comment on curseforge or DM me on discord (@fj.7g)
评论 0
登录后参与评分
还没有评论,来抢沙发吧