这个非常小巧的模组禁用了大多数动物在水下被骑乘时掉落(对船只无效)。
常见问题:
问:我和动物仍然会淹死?
答:这是因为该模组并未移除溺水机制。
问:服务器也需要安装此模组吗?
答:是的。
问:我可以获取模组的源代码吗?
答:整个模组的代码量很小,但我花了一些时间才找到使其正常运行所需的部分,代码如下:
code
@Mixin(LivingEntity.class) public class MixinLivingEntity {
@Overwrite public boolean rideableUnderWater() {
return true;
}
}
问:为什么这对船只不起作用?
答:因为它确实不起作用。
问:这个模组很小,为什么不把它包含在某个更大的调整类模组中?
答:那需要创建更多的调整项,而我目前实际上没有其他小型调整的想法。
问:它是否与其他模组兼容?
答:也许吧,我只用它测试过 Dragon Mounts: Legacy,效果还不错。
问:它是否与其他模组不兼容?
答:很可能不会。
问:请将它移植到 [Mod loader] [version]
答:如果你真的需要,你可以自己动手,但如果很多人要求我,我会进行移植。(而且让 mixins 正常工作不到 5 分钟,所以我可能不会移植到 1.8)
问:我在模组中发现了一个 bug。
答:什么?
This very tiny mod disables underwater dismount on most animals (Doesn't work on boats.)
FAQ:
Q: The animals and I still drown?
A: That is because this mod doesn't remove drowning
Q: Does the server needs to have this mod?
A: Yes.
Q: Can I have the source for the mod?
A: The entire code for the mod is small but it took a bit of time to find what I needed for it to work, here it is:
code
@Mixin(LivingEntity.class) public class MixinLivingEntity {
@Overwrite public boolean rideableUnderWater() {
return true;
}
}
Q: Why does this not work with boats?
A: Because it doesn't.
Q: This mod is small, why not include it in some bigger tweaking mod?
A: That would require creating more tweaks and I don't actually have any other ideas for small tweak I would need yet.
Q: Does it integrate with other mods?
A: Maybe, I only tested it with Dragon Mounts: Legacy and it worked well enough.
Q: Is it incompatible with other mods?
A: Likely not.
Q: Please port it to [Mod loader] [version]
A: You can do it yourself if you really need to, however I will port it if a bunch of people ask me. (And it takes less than 5 minutes to get mixins working, so I am probably not porting it to 1.8)
Q: I found a bug in the mod.
A: The what now?
评论 0
登录后参与评分
还没有评论,来抢沙发吧