Class WindChargeRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<AbstractWindCharge>
net.minecraft.client.renderer.entity.WindChargeRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float
private final WindChargeModel
private static final ResourceLocation
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(AbstractWindCharge entity) Returns the location of an entity's texture.void
render
(AbstractWindCharge entity, float entityYaw, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) protected float
xOffset
(float tickCount) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
MIN_CAMERA_DISTANCE_SQUARED
private static final float MIN_CAMERA_DISTANCE_SQUARED -
TEXTURE_LOCATION
-
model
-
-
Constructor Details
-
WindChargeRenderer
-
-
Method Details
-
render
public void render(AbstractWindCharge entity, float entityYaw, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) - Overrides:
render
in classEntityRenderer<AbstractWindCharge>
-
xOffset
protected float xOffset(float tickCount) -
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<AbstractWindCharge>
-