Class PiglinEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState>
net.minecraft.client.render.entity.LivingEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
net.minecraft.client.render.entity.MobEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
net.minecraft.client.render.entity.AgeableMobEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
net.minecraft.client.render.entity.BipedEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
net.minecraft.client.render.entity.PiglinEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<PiglinEntityRenderState,
PiglinEntityModel>
@Environment(CLIENT)
public class PiglinEntityRenderer
extends BipedEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/PiglinEntityRenderer
intermediary net/minecraft/class_4842
official gtf
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HeadFeatureRenderer.HeadTransformation
private static final Identifier
private static final Identifier
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, itemRenderer, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
ConstructorDescriptionPiglinEntityRenderer
(EntityRendererFactory.Context ctx, EntityModelLayer mainLayer, EntityModelLayer babyMainLayer, EntityModelLayer armorInnerLayer, EntityModelLayer armorOuterLayer, EntityModelLayer babyArmorInnerLayer, EntityModelLayer babyArmorOuterLayer) -
Method Summary
Modifier and TypeMethodDescriptiongetTexture
(PiglinEntityRenderState piglinEntityRenderState) protected boolean
isShaking
(PiglinEntityRenderState piglinEntityRenderState) Returns if this entity is shaking.void
updateRenderState
(AbstractPiglinEntity abstractPiglinEntity, PiglinEntityRenderState piglinEntityRenderState, float float2) Methods inherited from class net.minecraft.client.render.entity.BipedEntityRenderer
updateBipedRenderState
Methods inherited from class net.minecraft.client.render.entity.AgeableMobEntityRenderer
render
Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
getShadowRadius, hasLabel
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getBoundingBox, getMixColor, getModel, getOverlay, getRenderLayer, isVisible, method_3919, scale, setupTransforms, shouldFlipUpsideDown, shouldRenderFeatures
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBlockLight, getDisplayName, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent, shouldRender
-
Field Details
-
PIGLIN_TEXTURE
- Mappings:
Namespace Name Mixin selector named PIGLIN_TEXTURE
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;PIGLIN_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_53196
Lnet/minecraft/class_4842;field_53196:Lnet/minecraft/class_2960;
official b
Lgtf;b:Lalz;
-
PIGLIN_BRUTE_TEXTURE
- Mappings:
Namespace Name Mixin selector named PIGLIN_BRUTE_TEXTURE
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;PIGLIN_BRUTE_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_53197
Lnet/minecraft/class_4842;field_53197:Lnet/minecraft/class_2960;
official k
Lgtf;k:Lalz;
-
HEAD_TRANSFORMATION
- Mappings:
Namespace Name Mixin selector named HEAD_TRANSFORMATION
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;HEAD_TRANSFORMATION:Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;
intermediary field_53195
Lnet/minecraft/class_4842;field_53195:Lnet/minecraft/class_976$class_9994;
official a
Lgtf;a:Lgvi$a;
-
-
Constructor Details
-
PiglinEntityRenderer
public PiglinEntityRenderer(EntityRendererFactory.Context ctx, EntityModelLayer mainLayer, EntityModelLayer babyMainLayer, EntityModelLayer armorInnerLayer, EntityModelLayer armorOuterLayer, EntityModelLayer babyArmorInnerLayer, EntityModelLayer babyArmorOuterLayer) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;)V
intermediary <init>
Lnet/minecraft/class_4842;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;)V
official <init>
Lgtf;<init>(Lgrp$a;Lgel;Lgel;Lgel;Lgel;Lgel;Lgel;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in classLivingEntityRenderer<AbstractPiglinEntity,
PiglinEntityRenderState, PiglinEntityModel> - Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;getTexture(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;)Lnet/minecraft/util/Identifier;
intermediary method_3982
Lnet/minecraft/class_4842;method_3982(Lnet/minecraft/class_10054;)Lnet/minecraft/class_2960;
official a
Lgtf;a(Lgze;)Lalz;
-
createRenderState
- Specified by:
createRenderState
in classEntityRenderer<AbstractPiglinEntity,
PiglinEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderState
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;
intermediary method_62509
Lnet/minecraft/class_4842;method_62509()Lnet/minecraft/class_10054;
official b
Lgtf;b()Lgze;
-
updateRenderState
public void updateRenderState(AbstractPiglinEntity abstractPiglinEntity, PiglinEntityRenderState piglinEntityRenderState, float float2) - Overrides:
updateRenderState
in classBipedEntityRenderer<AbstractPiglinEntity,
PiglinEntityRenderState, PiglinEntityModel> - Mappings:
Namespace Name Mixin selector named updateRenderState
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;updateRenderState(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;F)V
intermediary method_62508
Lnet/minecraft/class_4842;method_62508(Lnet/minecraft/class_5418;Lnet/minecraft/class_10054;F)V
official a
Lgtf;a(Lcoj;Lgze;F)V
-
isShaking
Description copied from class:LivingEntityRenderer
Returns if this entity is shaking. Specifically, in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes.- Overrides:
isShaking
in classLivingEntityRenderer<AbstractPiglinEntity,
PiglinEntityRenderState, PiglinEntityModel> - Returns:
- if this entity is shaking
- Mappings:
Namespace Name Mixin selector named isShaking
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;isShaking(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;)Z
intermediary method_25451
Lnet/minecraft/class_4842;method_25451(Lnet/minecraft/class_10054;)Z
official b
Lgtf;b(Lgze;)Z
-