Class SquidEntityRenderer<T extends SquidEntity>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,SquidEntityModel<T>>
net.minecraft.client.render.entity.MobEntityRenderer<T,SquidEntityModel<T>>
net.minecraft.client.render.entity.SquidEntityRenderer<T>
- All Implemented Interfaces:
FeatureRendererContext<T,
SquidEntityModel<T>>
- Direct Known Subclasses:
GlowSquidEntityRenderer
@Environment(CLIENT)
public class SquidEntityRenderer<T extends SquidEntity>
extends MobEntityRenderer<T,SquidEntityModel<T>>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/SquidEntityRenderer
intermediary net/minecraft/class_951
official glh
-
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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected float
getAnimationProgress
(T t, float float2) This value is passed to other methods when calculating angles for animation.getTexture
(T t) protected void
setupTransforms
(T t, MatrixStack matrixStack, float float2, float float3, float float4, float float5) 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, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, 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 named TEXTURE
Lnet/minecraft/client/render/entity/SquidEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_4791
Lnet/minecraft/class_951;field_4791:Lnet/minecraft/class_2960;
official a
Lglh;a:Lalf;
-
-
Constructor Details
-
SquidEntityRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/SquidEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/SquidEntityModel;)V
intermediary <init>
Lnet/minecraft/class_951;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_610;)V
official <init>
Lglh;<init>(Lgiz$a;Lfwe;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<T extends SquidEntity,
SquidEntityModel<T extends SquidEntity>> - Specified by:
getTexture
in classEntityRenderer<T extends SquidEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/SquidEntityRenderer;getTexture(Lnet/minecraft/entity/passive/SquidEntity;)Lnet/minecraft/util/Identifier;
intermediary method_4127
Lnet/minecraft/class_951;method_4127(Lnet/minecraft/class_1477;)Lnet/minecraft/class_2960;
official a
Lglh;a(Lcgg;)Lalf;
-
setupTransforms
protected void setupTransforms(T t, MatrixStack matrixStack, float float2, float float3, float float4, float float5) - Overrides:
setupTransforms
in classLivingEntityRenderer<T extends SquidEntity,
SquidEntityModel<T extends SquidEntity>> - Mappings:
Namespace Name Mixin selector named setupTransforms
Lnet/minecraft/client/render/entity/SquidEntityRenderer;setupTransforms(Lnet/minecraft/entity/passive/SquidEntity;Lnet/minecraft/client/util/math/MatrixStack;FFFF)V
intermediary method_4126
Lnet/minecraft/class_951;method_4126(Lnet/minecraft/class_1477;Lnet/minecraft/class_4587;FFFF)V
official a
Lglh;a(Lcgg;Lfaa;FFFF)V
-
getAnimationProgress
Description copied from class:LivingEntityRenderer
This value is passed to other methods when calculating angles for animation. It's typically just the sum of the entity's age (in ticks) and the passed in tickDelta.- Overrides:
getAnimationProgress
in classLivingEntityRenderer<T extends SquidEntity,
SquidEntityModel<T extends SquidEntity>> - Mappings:
Namespace Name Mixin selector named getAnimationProgress
Lnet/minecraft/client/render/entity/SquidEntityRenderer;getAnimationProgress(Lnet/minecraft/entity/passive/SquidEntity;F)F
intermediary method_4125
Lnet/minecraft/class_951;method_4125(Lnet/minecraft/class_1477;F)F
official a
Lglh;a(Lcgg;F)F
-