Class PixelRenderPlayer

java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingEntityRenderer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
net.minecraft.client.renderer.entity.player.PlayerRenderer
com.pixelmonmod.pixelmon.client.render.player.PixelRenderPlayer
All Implemented Interfaces:
net.minecraft.client.renderer.entity.RenderLayerParent<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>

public class PixelRenderPlayer extends net.minecraft.client.renderer.entity.player.PlayerRenderer
Exists purely for the reason that Mojang can't code. Created by clienthax on 2/3/2015.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
     

    Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer

    layers, model

    Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer

    entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
  • Constructor Summary

    Constructors
    Constructor
    Description
    PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager)
    Initializes the renderer.
    PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager, boolean useSmallArms)
    Initializes the renderer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(net.minecraft.client.player.AbstractClientPlayer player, float entityYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource bufferIn, int packedLightIn)
     
    void
    setBattleModelVisibilities(net.minecraft.client.player.AbstractClientPlayer clientPlayer)
     
    void
    setModel(net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer> model)
     
    protected void
    setupRotations(net.minecraft.client.player.AbstractClientPlayer entityLiving, com.mojang.blaze3d.vertex.PoseStack matrix, float p_77043_2_, float rotationYaw, float partialTicks)
     

    Methods inherited from class net.minecraft.client.renderer.entity.player.PlayerRenderer

    getRenderOffset, getTextureLocation, renderLeftHand, renderNameTag, renderRightHand, scale, setModelProperties

    Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer

    addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, shouldShowName

    Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer

    getBlockLightLevel, getFont, getPackedLightCoords, getSkyLightLevel, shouldRender

    Methods inherited from class java.lang.Object

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

    • isAlex

      public final boolean isAlex
  • Constructor Details

    • PixelRenderPlayer

      public PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager)
      Initializes the renderer.
      Parameters:
      renderManager - The client render manager.
    • PixelRenderPlayer

      public PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderManager, boolean useSmallArms)
      Initializes the renderer.
      Parameters:
      renderManager - The client render manager.
      useSmallArms - Whether to render arms smaller.
  • Method Details

    • render

      public void render(net.minecraft.client.player.AbstractClientPlayer player, float entityYaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource bufferIn, int packedLightIn)
      Overrides:
      render in class net.minecraft.client.renderer.entity.player.PlayerRenderer
    • setBattleModelVisibilities

      public void setBattleModelVisibilities(net.minecraft.client.player.AbstractClientPlayer clientPlayer)
    • setModel

      public void setModel(net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer> model)
    • setupRotations

      protected void setupRotations(net.minecraft.client.player.AbstractClientPlayer entityLiving, com.mojang.blaze3d.vertex.PoseStack matrix, float p_77043_2_, float rotationYaw, float partialTicks)
      Overrides:
      setupRotations in class net.minecraft.client.renderer.entity.player.PlayerRenderer