Uses of Enum Class
net.minecraft.client.resources.PlayerSkin.Model
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of PlayerSkin.Model in net.minecraft.client.renderer.entity
Modifier and TypeFieldDescriptionprivate static final Map<PlayerSkin.Model,
EntityRendererProvider<AbstractClientPlayer>> EntityRenderers.PLAYER_PROVIDERS
private Map<PlayerSkin.Model,
EntityRenderer<? extends Player>> EntityRenderDispatcher.playerRenderers
Modifier and TypeMethodDescriptionstatic Map<PlayerSkin.Model,
EntityRenderer<? extends Player>> EntityRenderers.createPlayerRenderers
(EntityRendererProvider.Context p_174052_) Map<PlayerSkin.Model,
EntityRenderer<? extends Player>> EntityRenderDispatcher.getSkinMap()
-
Uses of PlayerSkin.Model in net.minecraft.client.resources
Modifier and TypeFieldDescriptionprivate final PlayerSkin.Model
PlayerSkin.model
The field for themodel
record component.Modifier and TypeMethodDescriptionstatic PlayerSkin.Model
PlayerSkin.model()
Returns the value of themodel
record component.static PlayerSkin.Model
Returns the enum constant of this class with the specified name.static PlayerSkin.Model[]
PlayerSkin.Model.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate static PlayerSkin
DefaultPlayerSkin.create
(String p_298713_, PlayerSkin.Model p_297716_) ModifierConstructorDescriptionPlayerSkin
(ResourceLocation texture, String textureUrl, ResourceLocation capeTexture, ResourceLocation elytraTexture, PlayerSkin.Model model, boolean secure) Creates an instance of aPlayerSkin
record class. -
Uses of PlayerSkin.Model in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<PlayerSkin.Model,
EntityRenderer<? extends Player>> EntityRenderersEvent.AddLayers.skinMap
Modifier and TypeMethodDescriptionEntityRenderersEvent.AddLayers.getSkins()
Returns the set of player skin names which have a renderer.Modifier and TypeMethodDescription<R extends EntityRenderer<? extends Player>>
REntityRenderersEvent.AddLayers.getPlayerSkin
(PlayerSkin.Model skinName) Returns a player skin renderer for the given skin name.<R extends LivingEntityRenderer<? extends Player,
? extends EntityModel<? extends Player>>>
REntityRenderersEvent.AddLayers.getSkin
(PlayerSkin.Model skinName) Deprecated, for removal: This API element is subject to removal in a future version.Use getEntitySkin, return type down graded to EntityRenderer instead of LivingEntityRenderer