Class DisguiseHook

java.lang.Object
studio.magemonkey.fabled.hook.DisguiseHook

public class DisguiseHook extends Object
Handles calling functions from Lib's Disguise
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    disguiseMisc(org.bukkit.entity.LivingEntity target, String type, int data)
    Disguises the target as a miscellaneous thing
    static void
    disguiseMisc(org.bukkit.entity.LivingEntity target, String type, org.bukkit.Material mat)
    Disguises the target as a miscellaneous thing
    static void
    disguiseMob(org.bukkit.entity.LivingEntity target, String type, boolean adult)
    Disguises the target as a mob
    static void
    disguisePlayer(org.bukkit.entity.LivingEntity target, String player)
    Disguises the target as a player
    static me.libraryaddict.disguise.utilities.reflection.FakeBoundingBox
    getFakeBoundingBox(org.bukkit.entity.Entity entity)
     
    static void
    removeDisguise(org.bukkit.entity.LivingEntity target)
    Removes all disguises from the target

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DisguiseHook

      public DisguiseHook()
  • Method Details

    • disguiseMob

      public static void disguiseMob(org.bukkit.entity.LivingEntity target, String type, boolean adult)
      Disguises the target as a mob
      Parameters:
      target - target to disguise
      type - type of mob to disguise as
      adult - whether the mob is an adult
    • disguisePlayer

      public static void disguisePlayer(org.bukkit.entity.LivingEntity target, String player)
      Disguises the target as a player
      Parameters:
      target - target to disguise
      player - player to disguise as
    • disguiseMisc

      public static void disguiseMisc(org.bukkit.entity.LivingEntity target, String type, int data)
      Disguises the target as a miscellaneous thing
      Parameters:
      target - target to disguise
      type - disguise type
      data - disguise data value
    • disguiseMisc

      public static void disguiseMisc(org.bukkit.entity.LivingEntity target, String type, org.bukkit.Material mat)
      Disguises the target as a miscellaneous thing
      Parameters:
      target - target to disguise
      type - disguise type
      mat - disguise material value
    • removeDisguise

      public static void removeDisguise(org.bukkit.entity.LivingEntity target)
      Removes all disguises from the target
      Parameters:
      target - target to remove disguises from
    • getFakeBoundingBox

      public static me.libraryaddict.disguise.utilities.reflection.FakeBoundingBox getFakeBoundingBox(org.bukkit.entity.Entity entity)