@Environment(value=CLIENT) public class GuardianEntityRenderer extends MobEntityRenderer<GuardianEntity,GuardianEntityModel>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
EXPLOSION_BEAM_TEXTURE |
private static RenderLayer |
LAYER |
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Modifier | Constructor and Description |
---|---|
|
GuardianEntityRenderer(EntityRenderDispatcher dispatcher) |
protected |
GuardianEntityRenderer(EntityRenderDispatcher dispatcher,
float float2) |
Modifier and Type | Method and Description |
---|---|
private Vec3d |
fromLerpedPosition(LivingEntity entity,
double yOffset,
float delta) |
Identifier |
getTexture(GuardianEntity guardianEntity) |
private static void |
method_23173(VertexConsumer vertexConsumer,
Matrix4f matrix4f,
Matrix3f matrix3f,
float float2,
float float3,
float float4,
int int2,
int int3,
int int4,
float float5,
float float6) |
void |
render(GuardianEntity guardianEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
boolean |
shouldRender(GuardianEntity guardianEntity,
Frustum frustum,
double double2,
double double3,
double double4) |
hasLabel, method_23186, method_23187
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
private static final Identifier EXPLOSION_BEAM_TEXTURE
private static final RenderLayer LAYER
public GuardianEntityRenderer(EntityRenderDispatcher dispatcher)
protected GuardianEntityRenderer(EntityRenderDispatcher dispatcher, float float2)
public boolean shouldRender(GuardianEntity guardianEntity, Frustum frustum, double double2, double double3, double double4)
shouldRender
in class MobEntityRenderer<GuardianEntity,GuardianEntityModel>
private Vec3d fromLerpedPosition(LivingEntity entity, double yOffset, float delta)
public void render(GuardianEntity guardianEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class MobEntityRenderer<GuardianEntity,GuardianEntityModel>
private static void method_23173(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, float float4, int int2, int int3, int int4, float float5, float float6)
public Identifier getTexture(GuardianEntity guardianEntity)
getTexture
in interface FeatureRendererContext<GuardianEntity,GuardianEntityModel>
getTexture
in class EntityRenderer<GuardianEntity>