CustomModel

public class CustomModel implements CustomModelInterface

Types

Link copied to clipboard
public class ModelEntityEvents implements Listener
Link copied to clipboard
public enum ModelPlugin

Properties

Link copied to clipboard

Functions

Link copied to clipboard
public void addPassenger(CustomBossEntity passenger)
Link copied to clipboard
public static boolean customModelsEnabled()
Link copied to clipboard
public static CustomModel generateCustomModel(LivingEntity livingEntity, String modelName, String nametagName)
public static CustomModel generateCustomModel(LivingEntity livingEntity, String modelName, String nametagName, ModeledEntityLeftClickCallback leftClickCallback, ModeledEntityRightClickCallback rightClickCallback)
Link copied to clipboard
Link copied to clipboard
public Location getNametagBoneLocation()
Gets the location of the first nametag bone if one exists.
Link copied to clipboard
public boolean hasNametagBone()
Whether this model is capable of rendering a nametag at all.
Link copied to clipboard
public static void initialize()
Link copied to clipboard
public static boolean isUsingModels()
Link copied to clipboard
public void melee()
Link copied to clipboard
public static boolean modelExists(String modelName)
Link copied to clipboard
public void playAnimationByName(String animationName)
Link copied to clipboard
public static void reloadModels()
Link copied to clipboard
public static void runProjectileDamageBypass(Runnable damageCall)
Runs an EliteMobs-owned projectile damage event without letting FMM cancel and redirect it back through its OBB collision path.
Link copied to clipboard
public boolean setLookTarget(Location target)
Lets the model own body/head facing; null releases the previous target.
Link copied to clipboard
public void setName(String nametagName, boolean visible)
Link copied to clipboard
public void setNameVisible(boolean visible)
Link copied to clipboard
public boolean setNpcNameLines(List<String> lines, float scale, double gap)
Returns true only when this model provider takes ownership of the entire NPC nameplate.
Link copied to clipboard
public void setSyncMovement(boolean syncMovement)
Sets whether the model should sync movement with the base entity.
Link copied to clipboard
public void shoot()
Link copied to clipboard
public void switchPhase()