Class PiglinEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<MobEntity>
net.minecraft.client.render.entity.LivingEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>
net.minecraft.client.render.entity.MobEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>
net.minecraft.client.render.entity.BipedEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>
net.minecraft.client.render.entity.PiglinEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<MobEntity,
PiglinEntityModel<MobEntity>>
@Environment(CLIENT)
public class PiglinEntityRenderer
extends BipedEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/PiglinEntityRenderer
intermediary net/minecraft/class_4842
official gko
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final Map
<EntityType<?>, Identifier> Fields inherited from class net.minecraft.client.render.entity.MobEntityRenderer
LEASH_PIECE_COUNT
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius
-
Constructor Summary
ConstructorDescriptionPiglinEntityRenderer
(EntityRendererFactory.Context ctx, EntityModelLayer mainLayer, EntityModelLayer innerArmorLayer, EntityModelLayer outerArmorLayer, boolean zombie) -
Method Summary
Modifier and TypeMethodDescriptionprivate static PiglinEntityModel
<MobEntity> getPiglinModel
(EntityModelLoader modelLoader, EntityModelLayer layer, boolean zombie) getTexture
(MobEntity mobEntity) protected boolean
Returns if this entity is shaking.Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
getShadowRadius, hasLabel, render, shouldRender
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, scale, setupTransforms, shouldFlipUpsideDown
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector named TEXTURES
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;TEXTURES:Ljava/util/Map;
intermediary field_25793
Lnet/minecraft/class_4842;field_25793:Ljava/util/Map;
official a
Lgko;a:Ljava/util/Map;
-
HORIZONTAL_SCALE
private static final float HORIZONTAL_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_SCALE
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;HORIZONTAL_SCALE:F
intermediary field_32942
Lnet/minecraft/class_4842;field_32942:F
official i
Lgko;i:F
-
-
Constructor Details
-
PiglinEntityRenderer
public PiglinEntityRenderer(EntityRendererFactory.Context ctx, EntityModelLayer mainLayer, EntityModelLayer innerArmorLayer, EntityModelLayer outerArmorLayer, boolean zombie) - 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;Z)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;Z)V
official <init>
Lgko;<init>(Lgiy$a;Lfwz;Lfwz;Lfwz;Z)V
-
-
Method Details
-
getPiglinModel
private static PiglinEntityModel<MobEntity> getPiglinModel(EntityModelLoader modelLoader, EntityModelLayer layer, boolean zombie) - Mappings:
Namespace Name Mixin selector named getPiglinModel
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;getPiglinModel(Lnet/minecraft/client/render/entity/model/EntityModelLoader;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Z)Lnet/minecraft/client/render/entity/model/PiglinEntityModel;
intermediary method_24875
Lnet/minecraft/class_4842;method_24875(Lnet/minecraft/class_5599;Lnet/minecraft/class_5601;Z)Lnet/minecraft/class_4840;
official a
Lgko;a(Lfwx;Lfwz;Z)Lfvf;
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<MobEntity,
PiglinEntityModel<MobEntity>> - Specified by:
getTexture
in classEntityRenderer<MobEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;getTexture(Lnet/minecraft/entity/mob/MobEntity;)Lnet/minecraft/util/Identifier;
intermediary method_3982
Lnet/minecraft/class_4842;method_3982(Lnet/minecraft/class_1308;)Lnet/minecraft/class_2960;
official c
Lgko;c(Lbts;)Lalf;
-
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<MobEntity,
PiglinEntityModel<MobEntity>> - Returns:
- if this entity is shaking
- Mappings:
Namespace Name Mixin selector named isShaking
Lnet/minecraft/client/render/entity/PiglinEntityRenderer;isShaking(Lnet/minecraft/entity/mob/MobEntity;)Z
intermediary method_25451
Lnet/minecraft/class_4842;method_25451(Lnet/minecraft/class_1308;)Z
official d
Lgko;d(Lbts;)Z
-