public class PixelRenderPlayer
extends net.minecraft.client.renderer.entity.PlayerRenderer
Modifier and Type | Field and Description |
---|---|
boolean |
isAlex |
Constructor and Description |
---|
PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererManager renderManager)
Initializes the renderer.
|
PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererManager renderManager,
boolean useSmallArms)
Initializes the renderer.
|
Modifier and Type | Method and Description |
---|---|
void |
render(net.minecraft.client.entity.player.AbstractClientPlayerEntity player,
float entityYaw,
float partialTicks,
com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer bufferIn,
int packedLightIn) |
void |
setBattleModelVisibilities(net.minecraft.client.entity.player.AbstractClientPlayerEntity clientPlayer) |
void |
setModel(net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity> model) |
protected void |
setupRotations(net.minecraft.client.entity.player.AbstractClientPlayerEntity entityLiving,
com.mojang.blaze3d.matrix.MatrixStack matrix,
float p_77043_2_,
float rotationYaw,
float partialTicks) |
getRenderOffset, getTextureLocation, renderLeftHand, renderNameTag, renderRightHand, scale, setModelProperties
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, shouldShowName
public PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererManager renderManager)
renderManager
- The client render manager.public PixelRenderPlayer(net.minecraft.client.renderer.entity.EntityRendererManager renderManager, boolean useSmallArms)
renderManager
- The client render manager.useSmallArms
- Whether to render arms smaller.public void render(net.minecraft.client.entity.player.AbstractClientPlayerEntity player, float entityYaw, float partialTicks, com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class net.minecraft.client.renderer.entity.PlayerRenderer
public void setBattleModelVisibilities(net.minecraft.client.entity.player.AbstractClientPlayerEntity clientPlayer)
public void setModel(net.minecraft.client.renderer.entity.model.PlayerModel<net.minecraft.client.entity.player.AbstractClientPlayerEntity> model)
protected void setupRotations(net.minecraft.client.entity.player.AbstractClientPlayerEntity entityLiving, com.mojang.blaze3d.matrix.MatrixStack matrix, float p_77043_2_, float rotationYaw, float partialTicks)
setupRotations
in class net.minecraft.client.renderer.entity.PlayerRenderer