Class CosmeticHandler
java.lang.Object
com.stereowalker.unionlib.supporter.CosmeticHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCosmeticHandler.LERAccess<T extends net.minecraft.world.entity.LivingEntity, S extends net.minecraft.client.renderer.entity.state.LivingEntityRenderState, M extends net.minecraft.client.model.EntityModel<? super S>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandoesPlayerNeedCosmetic(net.minecraft.world.entity.player.Player player) Does the player have a Custom cape?static CosmeticSelectionDoes the player have a Custom cape?static CosmeticSelectiongetHat(net.minecraft.world.entity.player.Player player) Does the player have a Custom cape?static booleanwillPlayerShowCosmetic(UUID player) Does the player have a Custom cape?static booleanwillPlayerShowCosmetic(net.minecraft.world.entity.player.Player player) Does the player have a Custom cape?
-
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
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
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
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
-