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 floatprivate final WindChargeModelprivate static final ResourceLocationFields 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 pEntity) Returns the location of an entity's texture.voidrender(AbstractWindCharge pEntity, float pEntityYaw, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) protected floatxOffset(float pTickCount) 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 pEntity, float pEntityYaw, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) - Overrides:
renderin classEntityRenderer<AbstractWindCharge>
-
xOffset
protected float xOffset(float pTickCount) -
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocationin classEntityRenderer<AbstractWindCharge>
-