DisguiseAPI

public final class DisguiseAPI

Public entry point for the FMM disguise feature. Third-party plugins (EliteMobs, scripts, etc.) should call this class rather than DisguiseManager directly so internal refactors don't break them.

Functions

Link copied to clipboard
public static boolean disguise(Player player, String modelID)
Disguises player as the model with modelID.
Link copied to clipboard
public static Collection<Player> getDisguisedPlayers()
Link copied to clipboard
@Nullable()
public static @Nullable() String getDisguiseModelID(Player player)
Link copied to clipboard
public static boolean isDisguised(Player player)
Link copied to clipboard
public static boolean undisguise(Player player)
Undisguises player if currently disguised.