Class HoglinEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<HoglinEntity,HoglinEntityModel<HoglinEntity>>
net.minecraft.client.render.entity.HoglinEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<HoglinEntity,HoglinEntityModel<HoglinEntity>>
@Environment(CLIENT) public class HoglinEntityRenderer extends MobEntityRenderer<HoglinEntity,HoglinEntityModel<HoglinEntity>>
- Mappings:
Namespace Name official emw
intermediary net/minecraft/class_4798
named net/minecraft/client/render/entity/HoglinEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
TEXTURE
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Constructor Description HoglinEntityRenderer(EntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description Identifier
getTexture(HoglinEntity hoglinEntity)
protected boolean
isShaking(HoglinEntity hoglinEntity)
Returns if this entity is shaking in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes.Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
hasLabel, render, shouldRender
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, scale, setupTransforms
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, renderLabelIfPresent
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lemw;a:Lwb;
intermediary field_22244
Lnet/minecraft/class_4798;field_22244:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/HoglinEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
HoglinEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lemi;<init>(Lemj$a;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<HoglinEntity,HoglinEntityModel<HoglinEntity>>
- Specified by:
getTexture
in classEntityRenderer<HoglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lemw;a(Lbgb;)Lwb;
intermediary method_24472
Lnet/minecraft/class_4798;method_24472(Lnet/minecraft/class_4760;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/HoglinEntityRenderer;getTexture(Lnet/minecraft/entity/mob/HoglinEntity;)Lnet/minecraft/util/Identifier;
-
isShaking
Description copied from class:LivingEntityRenderer
Returns if this entity is shaking in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes. husk, or piglin are undergoing conversion.- Overrides:
isShaking
in classLivingEntityRenderer<HoglinEntity,HoglinEntityModel<HoglinEntity>>
- Mappings:
Namespace Name Mixin selector official b
Lemw;b(Lbgb;)Z
intermediary method_27038
Lnet/minecraft/class_4798;method_27038(Lnet/minecraft/class_4760;)Z
named isShaking
Lnet/minecraft/client/render/entity/HoglinEntityRenderer;isShaking(Lnet/minecraft/entity/mob/HoglinEntity;)Z
-