Class CosmeticHandler

java.lang.Object
com.stereowalker.unionlib.supporter.CosmeticHandler

public class CosmeticHandler extends Object
  • Constructor Details

    • CosmeticHandler

      public CosmeticHandler()
  • Method Details

    • doesPlayerNeedCosmetic

      public static boolean doesPlayerNeedCosmetic(net.minecraft.world.entity.player.Player player)
      Does the player have a Custom cape?

      Currently only returns true for Stereowalker, Dev, CodeHexIO and other Patrons

      Parameters:
      player - The player
      Returns:
      True if the player has a Custom cape
    • willPlayerShowCosmetic

      public static boolean willPlayerShowCosmetic(UUID player)
      Does the player have a Custom cape?

      Currently only returns true for Stereowalker, Dev, CodeHexIO and other Patrons

      Parameters:
      player - The player
      Returns:
      True if the player has a Custom cape
    • willPlayerShowCosmetic

      public static boolean willPlayerShowCosmetic(net.minecraft.world.entity.player.Player player)
      Does the player have a Custom cape?

      Currently only returns true for Stereowalker, Dev, CodeHexIO and other Patrons

      Parameters:
      player - The player
      Returns:
      True if the player has a Custom cape
    • getHat

      public static CosmeticSelection getHat(net.minecraft.world.entity.player.Player player)
      Does the player have a Custom cape?

      Currently only returns true for Stereowalker, Dev, CodeHexIO and other Patrons

      Parameters:
      player - The player
      Returns:
      True if the player has a Custom cape
    • getHat

      public static CosmeticSelection getHat(UUID player)
      Does the player have a Custom cape?

      Currently only returns true for Stereowalker, Dev, CodeHexIO and other Patrons

      Parameters:
      player - The player
      Returns:
      True if the player has a Custom cape