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 fnt
intermediary net/minecraft/class_4798
named net/minecraft/client/render/entity/HoglinEntityRenderer
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptiongetTexture
(HoglinEntity hoglinEntity) protected boolean
isShaking
(HoglinEntity hoglinEntity) Returns if this entity is shaking.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, shouldFlipUpsideDown
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lfnt;a:Ladd;
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>
Lfnd;<init>(Lfne$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
Lfnt;a(Lbww;)Ladd;
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. Specifically, in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes.- Overrides:
isShaking
in classLivingEntityRenderer<HoglinEntity,
HoglinEntityModel<HoglinEntity>> - Returns:
- if this entity is shaking
- Mappings:
Namespace Name Mixin selector official b
Lfnt;b(Lbww;)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
-