Class RenderOcelot
- java.lang.Object
-
- net.minecraft.client.renderer.entity.Render<T>
-
- net.minecraft.client.renderer.entity.RendererLivingEntity<T>
-
- net.minecraft.client.renderer.entity.RenderLiving<EntityOcelot>
-
- net.minecraft.client.renderer.entity.RenderOcelot
-
public class RenderOcelot extends RenderLiving<EntityOcelot>
+ 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 RenderOcelot(RenderManager renderManagerIn, ModelBase modelBaseIn, float shadowSizeIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceLocation
getEntityTexture(EntityOcelot entityocelot)
+ Returns the location of an entity's texture.protected void
preRenderCallback(EntityOcelot entityocelot, 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, doRender, 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
-
RenderOcelot
public RenderOcelot(RenderManager renderManagerIn, ModelBase modelBaseIn, float shadowSizeIn)
-
-
Method Detail
-
getEntityTexture
protected ResourceLocation getEntityTexture(EntityOcelot entityocelot)
+ Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexture
in classRender<EntityOcelot>
-
preRenderCallback
protected void preRenderCallback(EntityOcelot entityocelot, float f)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime- Overrides:
preRenderCallback
in classRendererLivingEntity<EntityOcelot>
-
-