Class CapeHandler
java.lang.Object
com.stereowalker.unionlib.supporter.CapeHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandoesPlayerNeedCapeClient(net.minecraft.client.player.AbstractClientPlayer player) Does the player have a Custom cape?static voidqueuePlayerCapeReplacement(net.minecraft.client.player.AbstractClientPlayer player) Queue the replacement of a player's cape with the Combat cape.static booleanwillPlayerShowCape(net.minecraft.client.player.AbstractClientPlayer player) Does the player have a Custom cape?
-
Constructor Details
-
CapeHandler
public CapeHandler()
-
-
Method Details
-
queuePlayerCapeReplacement
public static void queuePlayerCapeReplacement(net.minecraft.client.player.AbstractClientPlayer player) Queue the replacement of a player's cape with the Combat cape.In at least 100 milliseconds, the player's cape will be replaced on the next iteration of the client's main loop.
- Parameters:
player- The player
-
doesPlayerNeedCapeClient
public static boolean doesPlayerNeedCapeClient(net.minecraft.client.player.AbstractClientPlayer 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
-
willPlayerShowCape
public static boolean willPlayerShowCape(net.minecraft.client.player.AbstractClientPlayer 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
-