Download epicnpc — Minecraft Mods — MetaMods

epicnpc

Active

Downloads

0

Last update

2 years ago
Client
Libraries
Utils

EpicNPC - CustomNPC and EpicFight Compatibility

This mod provides integration between CustomNPC and EpicFight, allowing NPCs to utilize combat mechanics from EpicFight. Implementation is achieved through a special patch that adjusts the rendering system for proper display of CustomNPC models.

It's important to note that some models may work incorrectly - for example, iron golems and Ender Dragons. This is due to implementation specifics in EpicFight where certain methods use client-side classes without appropriate annotations.

For NPC functionality, it's necessary to select standard options in CustomNPC model settings, such as zombies, rather than special NPC entities. The mod is compatible with Fashion Workshop version 2.0.4.

Usage Example

Here's a simple script example for NPC animation:

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)
}

Demonstration of functionality is available in the video: https://www.bilibili.com/video/av1551257715

Note: This project is no longer maintained. It's recommended to use the alternative solution Epic Fight Script Extension.

Project members
Praise_suffering56135

Praise_suffering56135

Created: 4 Oct 2023

ID: 36880