Class PigEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<PigEntity,PigEntityModel<PigEntity>>
net.minecraft.client.render.entity.PigEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<PigEntity,PigEntityModel<PigEntity>>
@Environment(CLIENT) public class PigEntityRenderer extends MobEntityRenderer<PigEntity,PigEntityModel<PigEntity>>
- Mappings:
Namespace Name official enu
intermediary net/minecraft/class_932
named net/minecraft/client/render/entity/PigEntityRenderer
-
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 PigEntityRenderer(EntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description Identifier
getTexture(PigEntity pigEntity)
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, isShaking, 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
Lenu;a:Lwb;
intermediary field_4755
Lnet/minecraft/class_932;field_4755:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/PigEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
PigEntityRenderer
- 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<PigEntity,PigEntityModel<PigEntity>>
- Specified by:
getTexture
in classEntityRenderer<PigEntity>
- Mappings:
Namespace Name Mixin selector official a
Lenu;a(Lbby;)Lwb;
intermediary method_4087
Lnet/minecraft/class_932;method_4087(Lnet/minecraft/class_1452;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/PigEntityRenderer;getTexture(Lnet/minecraft/entity/passive/PigEntity;)Lnet/minecraft/util/Identifier;
-