|
任意骑乘模组 (Ride Any Entity)Github |相关wiki |源站链接支持: modloader这个模组允许您在游戏中骑乘任何生物,而无需鞍具。可能与其他模组中的生物兼容!
因为这个模组允许您在没有鞍具的情况下骑乘任何生物,所以必须进行某些编辑。
此模组在客户端和服务器端编辑了 Entity、EntityCow、EntityPig、EntitySheep、EntitySquid 和 EntityWolf。
该模组所做的全部工作就是在“互动”功能中添加了 \'entityPlayer1.mountEntity(this);\'。
java
public boolean interact(EntityPlayer entityPlayer1) {
entityPlayer1.mountEntity(this);
return false;
}
因为 Cow、Pig、Sheep、Squid 和 Wolf 覆盖了这个函数,所以我不得不在它们每个的函数中都添加 \'entityPlayer1.mountEntity(this);\'。
对 Pig 类的编辑仅是使 Pig 可以在有或没有鞍具的情况下骑乘。
不需要 Modloader,但我必须选择一个 API。
[video]https://www.youtube-nocookie.com/embed/LrXK9a1YndI[/video]
截图:
来自Modrinth所有游戏版本b1.7.3所有类型modloaderRide Any Entity ServerRide Any Entity Server+Patches.zip下载1.0#ReleaseInitial ReleaseServer Side展开版本: 1.0支持游戏: b1.7.3类型: modloaderRelease下载次数: 105Ride Any Entity ClientRide Any Entity Client+Patches.zip下载1.0#ReleaseInitial Release展开版本: 1.0支持游戏: b1.7.3类型: modloaderRelease下载次数: 53全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
任意骑乘模组 |
楼主
2025-8-10 19:08:11
回复(0)
收起回复
|