Description
GitHub:https://github.com/PraiseSuffering/epicnpc/releases
Script example:https://www.123pan.com/s/8BV7Vv-YgcYA.html
让CustomNpc支持EpicFight,通过添加一个patch,并修改渲染逻辑使得正确渲染CustomNpc模型(但一些模型有问题,比如铁傀儡末地龙),因为EpicFight中有一些方法使用了仅客户端类,但方法未添加仅客户端注解,无法使用CustomNpc脚本调用,通过一个类间接调用可以使用。
注意:并未给NPCEntity添加渲染,在CustomNPC的模型设置中选择其他的比如僵尸
支持时装工坊v2.0.4
Machine translation:
Make CustomNpc support EpicFight by adding a patch and changing the render logic to render the CustomNpc model correctly (but some models have issues, such as Iron Golem Dragon) because there are methods in EpicFight that use client-only classes but do not add client-only annotations to the methods). CustomNpc cannot be called using the CustomNPC script, it can be used indirectly through a class call.
Note: No rendering was added to NPCEntity, select something else in CustomNPC's model Settings such as zombies
Support fashion workshop v2.0.4
A simple script example:
var ResourceLocation=Java.type("net.minecraft.util.ResourceLocation");
var EditTool=Java.type("com.tkk.npcepicfight.api.EditTool").AVOID_ONLY_CLIENT;
function interact(e){
EditTool.playAnimations(e.npc.getMCEntity(),new ResourceLocation("epicfight:biped/skill/guard_longsword_hit_active1"),1)
}
https://www.bilibili.com/video/av1551257715
The abandoned, it is recommended to use https://legacy.curseforge.com/minecraft/mc-mods/epic-fight-script-extension


