Class PufferfishEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
net.minecraft.client.render.entity.PufferfishEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<PufferfishEntity,EntityModel<PufferfishEntity>>
@Environment(CLIENT) public class PufferfishEntityRenderer extends MobEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
- Mappings:
Namespace Name official eny
intermediary net/minecraft/class_936
named net/minecraft/client/render/entity/PufferfishEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private EntityModel<PufferfishEntity>
largeModel
private EntityModel<PufferfishEntity>
mediumModel
private int
modelSize
private EntityModel<PufferfishEntity>
smallModel
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 PufferfishEntityRenderer(EntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description Identifier
getTexture(PufferfishEntity pufferfishEntity)
void
render(PufferfishEntity pufferfishEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
protected void
setupTransforms(PufferfishEntity pufferfishEntity, MatrixStack matrixStack, float float2, float float3, float float4)
Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
hasLabel, shouldRender
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale
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
Leny;a:Lwb;
intermediary field_4762
Lnet/minecraft/class_936;field_4762:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
modelSize
private int modelSize- Mappings:
Namespace Name Mixin selector official g
Leny;g:I
intermediary field_4765
Lnet/minecraft/class_936;field_4765:I
named modelSize
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;modelSize:I
-
smallModel
- Mappings:
Namespace Name Mixin selector official h
Leny;h:Lear;
intermediary field_4761
Lnet/minecraft/class_936;field_4761:Lnet/minecraft/class_583;
named smallModel
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;smallModel:Lnet/minecraft/client/render/entity/model/EntityModel;
-
mediumModel
- Mappings:
Namespace Name Mixin selector official i
Leny;i:Lear;
intermediary field_4764
Lnet/minecraft/class_936;field_4764:Lnet/minecraft/class_583;
named mediumModel
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;mediumModel:Lnet/minecraft/client/render/entity/model/EntityModel;
-
largeModel
- Mappings:
Namespace Name Mixin selector official j
Leny;j:Lear;
intermediary field_4763
Lnet/minecraft/class_936;field_4763:Lnet/minecraft/class_583;
named largeModel
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;largeModel:Lnet/minecraft/client/render/entity/model/EntityModel;
-
-
Constructor Details
-
PufferfishEntityRenderer
- 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<PufferfishEntity,EntityModel<PufferfishEntity>>
- Specified by:
getTexture
in classEntityRenderer<PufferfishEntity>
- Mappings:
Namespace Name Mixin selector official a
Leny;a(Lbca;)Lwb;
intermediary method_4096
Lnet/minecraft/class_936;method_4096(Lnet/minecraft/class_1454;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;getTexture(Lnet/minecraft/entity/passive/PufferfishEntity;)Lnet/minecraft/util/Identifier;
-
render
public void render(PufferfishEntity pufferfishEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)- Overrides:
render
in classMobEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
- Mappings:
Namespace Name Mixin selector official a
Leny;a(Lbca;FFLdlr;Lehq;I)V
intermediary method_4094
Lnet/minecraft/class_936;method_4094(Lnet/minecraft/class_1454;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named render
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;render(Lnet/minecraft/entity/passive/PufferfishEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
setupTransforms
protected void setupTransforms(PufferfishEntity pufferfishEntity, MatrixStack matrixStack, float float2, float float3, float float4)- Overrides:
setupTransforms
in classLivingEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
- Mappings:
Namespace Name Mixin selector official a
Leny;a(Lbca;Ldlr;FFF)V
intermediary method_4095
Lnet/minecraft/class_936;method_4095(Lnet/minecraft/class_1454;Lnet/minecraft/class_4587;FFF)V
named setupTransforms
Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;setupTransforms(Lnet/minecraft/entity/passive/PufferfishEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)V
-