Class RenderSlime
- java.lang.Object
-
- net.minecraft.client.renderer.entity.Render<T>
-
- net.minecraft.client.renderer.entity.RendererLivingEntity<T>
-
- net.minecraft.client.renderer.entity.RenderLiving<EntitySlime>
-
- net.minecraft.client.renderer.entity.RenderSlime
-
public class RenderSlime extends RenderLiving<EntitySlime>
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.renderer.entity.RendererLivingEntity
brightnessBuffer, layerRenderers, mainModel, renderOutlines
-
Fields inherited from class net.minecraft.client.renderer.entity.Render
renderManager, shadowOpaque, shadowSize
-
-
Constructor Summary
Constructors Constructor Description RenderSlime(RenderManager renderManagerIn, ModelBase modelBaseIn, float shadowSizeIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doRender(EntitySlime entityslime, double d0, double d1, double d2, float f, float f1)
+ Actually renders the given argument.protected ResourceLocation
getEntityTexture(EntitySlime var1)
+ Returns the location of an entity's texture.protected void
preRenderCallback(EntitySlime entityslime, float f)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered.-
Methods inherited from class net.minecraft.client.renderer.entity.RenderLiving
canRenderName, func_177105_a, renderLeash, shouldRender
-
Methods inherited from class net.minecraft.client.renderer.entity.RendererLivingEntity
addLayer, getColorMultiplier, getDeathMaxRotation, getMainModel, getSwingProgress, handleRotationFloat, interpolateRotation, removeLayer, renderLayers, renderLivingAt, renderModel, renderName, rotateCorpse, setBrightness, setDoRenderBrightness, setRenderOutlines, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColor
-
Methods inherited from class net.minecraft.client.renderer.entity.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, renderLivingLabel, renderOffsetAABB, renderOffsetLivingLabel
-
-
-
-
Constructor Detail
-
RenderSlime
public RenderSlime(RenderManager renderManagerIn, ModelBase modelBaseIn, float shadowSizeIn)
-
-
Method Detail
-
doRender
public void doRender(EntitySlime entityslime, double d0, double d1, double d2, float f, float f1)
+ Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic (Render) and this method has signature public void func_76986_a(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doe - Overrides:
doRender
in classRenderLiving<EntitySlime>
-
preRenderCallback
protected void preRenderCallback(EntitySlime entityslime, float f)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime- Overrides:
preRenderCallback
in classRendererLivingEntity<EntitySlime>
-
getEntityTexture
protected ResourceLocation getEntityTexture(EntitySlime var1)
+ Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexture
in classRender<EntitySlime>
-
-