YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.RenderBlocks Class Reference

Public Member Functions

 RenderBlocks (IBlockAccess par1IBlockAccess)
 
 RenderBlocks ()
 
void setOverrideBlockTexture (Icon par1Icon)
 
void clearOverrideBlockTexture ()
 
boolean hasOverrideBlockTexture ()
 
void setRenderBounds (double par1, double par3, double par5, double par7, double par9, double par11)
 
void setRenderBoundsFromBlock (Block par1Block)
 
void overrideBlockBounds (double par1, double par3, double par5, double par7, double par9, double par11)
 
void unlockBlockBounds ()
 
void renderBlockUsingTexture (Block par1Block, int par2, int par3, int par4, Icon par5Icon)
 
void renderBlockAllFaces (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockByRenderType (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockEndPortalFrame (BlockEndPortalFrame par1BlockEndPortalFrame, int par2, int par3, int par4)
 
boolean renderBlockBed (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockBrewingStand (BlockBrewingStand par1BlockBrewingStand, int par2, int par3, int par4)
 
boolean renderBlockCauldron (BlockCauldron par1BlockCauldron, int par2, int par3, int par4)
 
boolean renderBlockFlowerpot (BlockFlowerPot par1BlockFlowerPot, int par2, int par3, int par4)
 
boolean renderBlockAnvil (BlockAnvil par1BlockAnvil, int par2, int par3, int par4)
 
boolean renderBlockAnvilMetadata (BlockAnvil par1BlockAnvil, int par2, int par3, int par4, int par5)
 
boolean renderBlockAnvilOrient (BlockAnvil par1BlockAnvil, int par2, int par3, int par4, int par5, boolean par6)
 
float renderBlockAnvilRotate (BlockAnvil par1BlockAnvil, int par2, int par3, int par4, int par5, float par6, float par7, float par8, float par9, boolean par10, boolean par11, int par12)
 
boolean renderBlockTorch (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockRepeater (BlockRedstoneRepeater par1BlockRedstoneRepeater, int par2, int par3, int par4)
 
boolean renderBlockComparator (BlockComparator par1BlockComparator, int par2, int par3, int par4)
 
boolean renderBlockRedstoneLogic (BlockRedstoneLogic par1BlockRedstoneLogic, int par2, int par3, int par4)
 
void renderBlockRedstoneLogicMetadata (BlockRedstoneLogic par1BlockRedstoneLogic, int par2, int par3, int par4, int par5)
 
void renderPistonBaseAllFaces (Block par1Block, int par2, int par3, int par4)
 
boolean renderPistonBase (Block par1Block, int par2, int par3, int par4, boolean par5)
 
void renderPistonRodUD (double par1, double par3, double par5, double par7, double par9, double par11, float par13, double par14)
 
void renderPistonRodSN (double par1, double par3, double par5, double par7, double par9, double par11, float par13, double par14)
 
void renderPistonRodEW (double par1, double par3, double par5, double par7, double par9, double par11, float par13, double par14)
 
void renderPistonExtensionAllFaces (Block par1Block, int par2, int par3, int par4, boolean par5)
 
boolean renderPistonExtension (Block par1Block, int par2, int par3, int par4, boolean par5)
 
boolean renderBlockLever (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockTripWireSource (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockTripWire (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockFire (BlockFire par1BlockFire, int par2, int par3, int par4)
 
boolean renderBlockRedstoneWire (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockMinecartTrack (BlockRailBase par1BlockRailBase, int par2, int par3, int par4)
 
boolean renderBlockLadder (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockVine (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockPane (BlockPane par1BlockPane, int par2, int par3, int par4)
 
boolean renderCrossedSquares (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockStem (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockCrops (Block par1Block, int par2, int par3, int par4)
 
void renderTorchAtAngle (Block par1Block, double par2, double par4, double par6, double par8, double par10, int par12)
 
void drawCrossedSquares (Block par1Block, int par2, double par3, double par5, double par7, float par9)
 
void renderBlockStemSmall (Block par1Block, int par2, double par3, double par5, double par7, double par9)
 
boolean renderBlockLilyPad (Block par1Block, int par2, int par3, int par4)
 
void renderBlockStemBig (BlockStem par1BlockStem, int par2, int par3, double par4, double par6, double par8, double par10)
 
void renderBlockCropsImpl (Block par1Block, int par2, double par3, double par5, double par7)
 
boolean renderBlockFluids (Block par1Block, int par2, int par3, int par4)
 
float getFluidHeight (int par1, int par2, int par3, Material par4Material)
 
void renderBlockSandFalling (Block par1Block, World par2World, int par3, int par4, int par5, int par6)
 
boolean renderStandardBlock (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockLog (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockQuartz (Block par1Block, int par2, int par3, int par4)
 
boolean renderStandardBlockWithAmbientOcclusion (Block par1Block, int par2, int par3, int par4, float par5, float par6, float par7)
 
boolean func_102027_b (Block par1Block, int par2, int par3, int par4, float par5, float par6, float par7)
 
int getAoBrightness (int par1, int par2, int par3, int par4)
 
int mixAoBrightness (int par1, int par2, int par3, int par4, double par5, double par7, double par9, double par11)
 
boolean renderStandardBlockWithColorMultiplier (Block par1Block, int par2, int par3, int par4, float par5, float par6, float par7)
 
boolean renderBlockCocoa (BlockCocoa par1BlockCocoa, int par2, int par3, int par4)
 
boolean renderBlockBeacon (BlockBeacon par1BlockBeacon, int par2, int par3, int par4)
 
boolean renderBlockCactus (Block par1Block, int par2, int par3, int par4)
 
boolean renderBlockCactusImpl (Block par1Block, int par2, int par3, int par4, float par5, float par6, float par7)
 
boolean renderBlockFence (BlockFence par1BlockFence, int par2, int par3, int par4)
 
boolean renderBlockWall (BlockWall par1BlockWall, int par2, int par3, int par4)
 
boolean renderBlockDragonEgg (BlockDragonEgg par1BlockDragonEgg, int par2, int par3, int par4)
 
boolean renderBlockFenceGate (BlockFenceGate par1BlockFenceGate, int par2, int par3, int par4)
 
boolean renderBlockHopper (BlockHopper par1BlockHopper, int par2, int par3, int par4)
 
boolean renderBlockHopperMetadata (BlockHopper par1BlockHopper, int par2, int par3, int par4, int par5, boolean par6)
 
boolean renderBlockStairs (BlockStairs par1BlockStairs, int par2, int par3, int par4)
 
boolean renderBlockDoor (Block par1Block, int par2, int par3, int par4)
 
void renderFaceYNeg (Block par1Block, double par2, double par4, double par6, Icon par8Icon)
 
void renderFaceYPos (Block par1Block, double par2, double par4, double par6, Icon par8Icon)
 
void renderFaceZNeg (Block par1Block, double par2, double par4, double par6, Icon par8Icon)
 
void renderFaceZPos (Block par1Block, double par2, double par4, double par6, Icon par8Icon)
 
void renderFaceXNeg (Block par1Block, double par2, double par4, double par6, Icon par8Icon)
 
void renderFaceXPos (Block par1Block, double par2, double par4, double par6, Icon par8Icon)
 
void renderBlockAsItem (Block par1Block, int par2, float par3)
 
Icon getBlockIcon (Block par1Block, IBlockAccess par2IBlockAccess, int par3, int par4, int par5, int par6)
 
Icon getBlockIconFromSideAndMetadata (Block par1Block, int par2, int par3)
 
Icon getBlockIconFromSide (Block par1Block, int par2)
 
Icon getBlockIcon (Block par1Block)
 
Icon getIconSafe (Icon par1Icon)
 

Static Public Member Functions

static boolean renderItemIn3d (int par0)
 

Public Attributes

IBlockAccess blockAccess
 
Icon overrideBlockTexture = null
 
boolean flipTexture = false
 
boolean renderAllFaces = false
 
boolean useInventoryTint = true
 
double renderMinX
 
double renderMaxX
 
double renderMinY
 
double renderMaxY
 
double renderMinZ
 
double renderMaxZ
 
boolean lockBlockBounds = false
 
boolean partialRenderBounds = false
 
final Minecraft minecraftRB
 
int uvRotateEast = 0
 
int uvRotateWest = 0
 
int uvRotateSouth = 0
 
int uvRotateNorth = 0
 
int uvRotateTop = 0
 
int uvRotateBottom = 0
 
boolean enableAO
 
float aoLightValueScratchXYZNNN
 
float aoLightValueScratchXYNN
 
float aoLightValueScratchXYZNNP
 
float aoLightValueScratchYZNN
 
float aoLightValueScratchYZNP
 
float aoLightValueScratchXYZPNN
 
float aoLightValueScratchXYPN
 
float aoLightValueScratchXYZPNP
 
float aoLightValueScratchXYZNPN
 
float aoLightValueScratchXYNP
 
float aoLightValueScratchXYZNPP
 
float aoLightValueScratchYZPN
 
float aoLightValueScratchXYZPPN
 
float aoLightValueScratchXYPP
 
float aoLightValueScratchYZPP
 
float aoLightValueScratchXYZPPP
 
float aoLightValueScratchXZNN
 
float aoLightValueScratchXZPN
 
float aoLightValueScratchXZNP
 
float aoLightValueScratchXZPP
 
int aoBrightnessXYZNNN
 
int aoBrightnessXYNN
 
int aoBrightnessXYZNNP
 
int aoBrightnessYZNN
 
int aoBrightnessYZNP
 
int aoBrightnessXYZPNN
 
int aoBrightnessXYPN
 
int aoBrightnessXYZPNP
 
int aoBrightnessXYZNPN
 
int aoBrightnessXYNP
 
int aoBrightnessXYZNPP
 
int aoBrightnessYZPN
 
int aoBrightnessXYZPPN
 
int aoBrightnessXYPP
 
int aoBrightnessYZPP
 
int aoBrightnessXYZPPP
 
int aoBrightnessXZNN
 
int aoBrightnessXZPN
 
int aoBrightnessXZNP
 
int aoBrightnessXZPP
 
int brightnessTopLeft
 
int brightnessBottomLeft
 
int brightnessBottomRight
 
int brightnessTopRight
 
float colorRedTopLeft
 
float colorRedBottomLeft
 
float colorRedBottomRight
 
float colorRedTopRight
 
float colorGreenTopLeft
 
float colorGreenBottomLeft
 
float colorGreenBottomRight
 
float colorGreenTopRight
 
float colorBlueTopLeft
 
float colorBlueBottomLeft
 
float colorBlueBottomRight
 
float colorBlueTopRight
 

Static Public Attributes

static boolean fancyGrass = true
 

Constructor & Destructor Documentation

net.minecraft.client.renderer.RenderBlocks.RenderBlocks ( IBlockAccess  par1IBlockAccess)
net.minecraft.client.renderer.RenderBlocks.RenderBlocks ( )

Member Function Documentation

void net.minecraft.client.renderer.RenderBlocks.clearOverrideBlockTexture ( )

Clear override block texture

void net.minecraft.client.renderer.RenderBlocks.drawCrossedSquares ( Block  par1Block,
int  par2,
double  par3,
double  par5,
double  par7,
float  par9 
)

Utility function to draw crossed swuares

boolean net.minecraft.client.renderer.RenderBlocks.func_102027_b ( Block  par1Block,
int  par2,
int  par3,
int  par4,
float  par5,
float  par6,
float  par7 
)
int net.minecraft.client.renderer.RenderBlocks.getAoBrightness ( int  par1,
int  par2,
int  par3,
int  par4 
)

Get ambient occlusion brightness

Icon net.minecraft.client.renderer.RenderBlocks.getBlockIcon ( Block  par1Block,
IBlockAccess  par2IBlockAccess,
int  par3,
int  par4,
int  par5,
int  par6 
)
Icon net.minecraft.client.renderer.RenderBlocks.getBlockIcon ( Block  par1Block)
Icon net.minecraft.client.renderer.RenderBlocks.getBlockIconFromSide ( Block  par1Block,
int  par2 
)
Icon net.minecraft.client.renderer.RenderBlocks.getBlockIconFromSideAndMetadata ( Block  par1Block,
int  par2,
int  par3 
)
float net.minecraft.client.renderer.RenderBlocks.getFluidHeight ( int  par1,
int  par2,
int  par3,
Material  par4Material 
)

Get fluid height

Icon net.minecraft.client.renderer.RenderBlocks.getIconSafe ( Icon  par1Icon)
boolean net.minecraft.client.renderer.RenderBlocks.hasOverrideBlockTexture ( )
int net.minecraft.client.renderer.RenderBlocks.mixAoBrightness ( int  par1,
int  par2,
int  par3,
int  par4,
double  par5,
double  par7,
double  par9,
double  par11 
)
void net.minecraft.client.renderer.RenderBlocks.overrideBlockBounds ( double  par1,
double  par3,
double  par5,
double  par7,
double  par9,
double  par11 
)

Like setRenderBounds, but locks the values so that RenderBlocks won't change them. If you use this, you must call unlockBlockBounds after you finish rendering!

void net.minecraft.client.renderer.RenderBlocks.renderBlockAllFaces ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Render all faces of a block

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockAnvil ( BlockAnvil  par1BlockAnvil,
int  par2,
int  par3,
int  par4 
)

Renders anvil

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockAnvilMetadata ( BlockAnvil  par1BlockAnvil,
int  par2,
int  par3,
int  par4,
int  par5 
)

Renders anvil block with metadata

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockAnvilOrient ( BlockAnvil  par1BlockAnvil,
int  par2,
int  par3,
int  par4,
int  par5,
boolean  par6 
)

Renders anvil block with orientation

float net.minecraft.client.renderer.RenderBlocks.renderBlockAnvilRotate ( BlockAnvil  par1BlockAnvil,
int  par2,
int  par3,
int  par4,
int  par5,
float  par6,
float  par7,
float  par8,
float  par9,
boolean  par10,
boolean  par11,
int  par12 
)

Renders anvil block with rotation

void net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem ( Block  par1Block,
int  par2,
float  par3 
)

Is called to render the image of a block on an inventory, as a held item, or as a an item on the ground

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockBeacon ( BlockBeacon  par1BlockBeacon,
int  par2,
int  par3,
int  par4 
)

Renders beacon block

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockBed ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

render a bed at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockBrewingStand ( BlockBrewingStand  par1BlockBrewingStand,
int  par2,
int  par3,
int  par4 
)

Render BlockBrewingStand

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders the block at the given coordinates using the block's rendering type

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockCactus ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a cactus block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockCactusImpl ( Block  par1Block,
int  par2,
int  par3,
int  par4,
float  par5,
float  par6,
float  par7 
)

Render block cactus implementation

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockCauldron ( BlockCauldron  par1BlockCauldron,
int  par2,
int  par3,
int  par4 
)

Render block cauldron

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockCocoa ( BlockCocoa  par1BlockCocoa,
int  par2,
int  par3,
int  par4 
)

Renders a Cocoa block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockComparator ( BlockComparator  par1BlockComparator,
int  par2,
int  par3,
int  par4 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockCrops ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Render block crops

void net.minecraft.client.renderer.RenderBlocks.renderBlockCropsImpl ( Block  par1Block,
int  par2,
double  par3,
double  par5,
double  par7 
)

Render block crops implementation

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockDoor ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a door block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockDragonEgg ( BlockDragonEgg  par1BlockDragonEgg,
int  par2,
int  par3,
int  par4 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockEndPortalFrame ( BlockEndPortalFrame  par1BlockEndPortalFrame,
int  par2,
int  par3,
int  par4 
)

Render BlockEndPortalFrame

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockFence ( BlockFence  par1BlockFence,
int  par2,
int  par3,
int  par4 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockFenceGate ( BlockFenceGate  par1BlockFenceGate,
int  par2,
int  par3,
int  par4 
)

Render block fence gate

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockFire ( BlockFire  par1BlockFire,
int  par2,
int  par3,
int  par4 
)

Renders a fire block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockFlowerpot ( BlockFlowerPot  par1BlockFlowerPot,
int  par2,
int  par3,
int  par4 
)

Renders flower pot

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockFluids ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a block based on the BlockFluids class at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockHopper ( BlockHopper  par1BlockHopper,
int  par2,
int  par3,
int  par4 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockHopperMetadata ( BlockHopper  par1BlockHopper,
int  par2,
int  par3,
int  par4,
int  par5,
boolean  par6 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockLadder ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a ladder block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockLever ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a lever block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockLilyPad ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Render BlockLilyPad

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockLog ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a log block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockMinecartTrack ( BlockRailBase  par1BlockRailBase,
int  par2,
int  par3,
int  par4 
)

Renders a minecart track block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockPane ( BlockPane  par1BlockPane,
int  par2,
int  par3,
int  par4 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockQuartz ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockRedstoneLogic ( BlockRedstoneLogic  par1BlockRedstoneLogic,
int  par2,
int  par3,
int  par4 
)
void net.minecraft.client.renderer.RenderBlocks.renderBlockRedstoneLogicMetadata ( BlockRedstoneLogic  par1BlockRedstoneLogic,
int  par2,
int  par3,
int  par4,
int  par5 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderBlockRedstoneWire ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a redstone wire block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockRepeater ( BlockRedstoneRepeater  par1BlockRedstoneRepeater,
int  par2,
int  par3,
int  par4 
)

render a redstone repeater at the given coordinates

void net.minecraft.client.renderer.RenderBlocks.renderBlockSandFalling ( Block  par1Block,
World  par2World,
int  par3,
int  par4,
int  par5,
int  par6 
)

Renders a falling sand block

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockStairs ( BlockStairs  par1BlockStairs,
int  par2,
int  par3,
int  par4 
)

Renders a stair block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockStem ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Render block stem

void net.minecraft.client.renderer.RenderBlocks.renderBlockStemBig ( BlockStem  par1BlockStem,
int  par2,
int  par3,
double  par4,
double  par6,
double  par8,
double  par10 
)

Render block stem big

void net.minecraft.client.renderer.RenderBlocks.renderBlockStemSmall ( Block  par1Block,
int  par2,
double  par3,
double  par5,
double  par7,
double  par9 
)

Render block stem small

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockTorch ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a torch block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockTripWire ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a trip wire block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockTripWireSource ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a trip wire source block at the given coordinates

void net.minecraft.client.renderer.RenderBlocks.renderBlockUsingTexture ( Block  par1Block,
int  par2,
int  par3,
int  par4,
Icon  par5Icon 
)

Renders a block using the given texture instead of the block's own default texture

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockVine ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Render block vine

boolean net.minecraft.client.renderer.RenderBlocks.renderBlockWall ( BlockWall  par1BlockWall,
int  par2,
int  par3,
int  par4 
)

Renders wall block

boolean net.minecraft.client.renderer.RenderBlocks.renderCrossedSquares ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders any block requiring croseed squares such as reeds, flowers, and mushrooms

void net.minecraft.client.renderer.RenderBlocks.renderFaceXNeg ( Block  par1Block,
double  par2,
double  par4,
double  par6,
Icon  par8Icon 
)

Renders the given texture to the west (x-negative) face of the block. Args: block, x, y, z, texture

void net.minecraft.client.renderer.RenderBlocks.renderFaceXPos ( Block  par1Block,
double  par2,
double  par4,
double  par6,
Icon  par8Icon 
)

Renders the given texture to the east (x-positive) face of the block. Args: block, x, y, z, texture

void net.minecraft.client.renderer.RenderBlocks.renderFaceYNeg ( Block  par1Block,
double  par2,
double  par4,
double  par6,
Icon  par8Icon 
)

Renders the given texture to the bottom face of the block. Args: block, x, y, z, texture

void net.minecraft.client.renderer.RenderBlocks.renderFaceYPos ( Block  par1Block,
double  par2,
double  par4,
double  par6,
Icon  par8Icon 
)

Renders the given texture to the top face of the block. Args: block, x, y, z, texture

void net.minecraft.client.renderer.RenderBlocks.renderFaceZNeg ( Block  par1Block,
double  par2,
double  par4,
double  par6,
Icon  par8Icon 
)

Renders the given texture to the north (z-negative) face of the block. Args: block, x, y, z, texture

void net.minecraft.client.renderer.RenderBlocks.renderFaceZPos ( Block  par1Block,
double  par2,
double  par4,
double  par6,
Icon  par8Icon 
)

Renders the given texture to the south (z-positive) face of the block. Args: block, x, y, z, texture

static boolean net.minecraft.client.renderer.RenderBlocks.renderItemIn3d ( int  par0)
static

Checks to see if the item's render type indicates that it should be rendered as a regular block or not.

boolean net.minecraft.client.renderer.RenderBlocks.renderPistonBase ( Block  par1Block,
int  par2,
int  par3,
int  par4,
boolean  par5 
)

renders a block as a piston base

void net.minecraft.client.renderer.RenderBlocks.renderPistonBaseAllFaces ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Render all faces of the piston base

boolean net.minecraft.client.renderer.RenderBlocks.renderPistonExtension ( Block  par1Block,
int  par2,
int  par3,
int  par4,
boolean  par5 
)

renders the pushing part of a piston

void net.minecraft.client.renderer.RenderBlocks.renderPistonExtensionAllFaces ( Block  par1Block,
int  par2,
int  par3,
int  par4,
boolean  par5 
)

Render all faces of the piston extension

void net.minecraft.client.renderer.RenderBlocks.renderPistonRodEW ( double  par1,
double  par3,
double  par5,
double  par7,
double  par9,
double  par11,
float  par13,
double  par14 
)

Render piston rod east/west

void net.minecraft.client.renderer.RenderBlocks.renderPistonRodSN ( double  par1,
double  par3,
double  par5,
double  par7,
double  par9,
double  par11,
float  par13,
double  par14 
)

Render piston rod south/north

void net.minecraft.client.renderer.RenderBlocks.renderPistonRodUD ( double  par1,
double  par3,
double  par5,
double  par7,
double  par9,
double  par11,
float  par13,
double  par14 
)

Render piston rod up/down

boolean net.minecraft.client.renderer.RenderBlocks.renderStandardBlock ( Block  par1Block,
int  par2,
int  par3,
int  par4 
)

Renders a standard cube block at the given coordinates

boolean net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithAmbientOcclusion ( Block  par1Block,
int  par2,
int  par3,
int  par4,
float  par5,
float  par6,
float  par7 
)
boolean net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithColorMultiplier ( Block  par1Block,
int  par2,
int  par3,
int  par4,
float  par5,
float  par6,
float  par7 
)

Renders a standard cube block at the given coordinates, with a given color ratio. Args: block, x, y, z, r, g, b

void net.minecraft.client.renderer.RenderBlocks.renderTorchAtAngle ( Block  par1Block,
double  par2,
double  par4,
double  par6,
double  par8,
double  par10,
int  par12 
)

Renders a torch at the given coordinates, with the base slanting at the given delta

void net.minecraft.client.renderer.RenderBlocks.setOverrideBlockTexture ( Icon  par1Icon)

Sets overrideBlockTexture

void net.minecraft.client.renderer.RenderBlocks.setRenderBounds ( double  par1,
double  par3,
double  par5,
double  par7,
double  par9,
double  par11 
)

Sets the bounding box for the block to draw in, e.g. 0.25-0.75 on all axes for a half-size, centered block.

void net.minecraft.client.renderer.RenderBlocks.setRenderBoundsFromBlock ( Block  par1Block)

Like setRenderBounds, but automatically pulling the bounds from the given Block.

void net.minecraft.client.renderer.RenderBlocks.unlockBlockBounds ( )

Unlocks the visual bounding box so that RenderBlocks can change it again.

Member Data Documentation

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYNN

Ambient occlusion brightness XYNN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYNP

Ambient occlusion brightness XYNP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYPN

Ambient occlusion brightness XYPN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYPP

Ambient occlusion brightness XYPP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZNNN

Ambient occlusion brightness XYZNNN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZNNP

Ambient occlusion brightness XYZNNP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZNPN

Ambient occlusion brightness XYZNPN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZNPP

Ambient occlusion brightness XYZNPP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZPNN

Ambient occlusion brightness XYZPNN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZPNP

Ambient occlusion brightness XYZPNP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZPPN

Ambient occlusion brightness XYZPPN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXYZPPP

Ambient occlusion brightness XYZPPP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXZNN

Ambient occlusion brightness XZNN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXZNP

Ambient occlusion brightness XZNP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXZPN

Ambient occlusion brightness XZPN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessXZPP

Ambient occlusion brightness XZPP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessYZNN

Ambient occlusion brightness YZNN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessYZNP

Ambient occlusion brightness YZNP

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessYZPN

Ambient occlusion brightness YZPN

int net.minecraft.client.renderer.RenderBlocks.aoBrightnessYZPP

Ambient occlusion brightness YZPP

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYNN

Used as a scratch variable for ambient occlusion between the bottom face and the north face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYNP

Used as a scratch variable for ambient occlusion between the top face and the north face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYPN

Used as a scratch variable for ambient occlusion between the bottom face and the south face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYPP

Used as a scratch variable for ambient occlusion between the top face and the south face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZNNN

Used as a scratch variable for ambient occlusion on the north/bottom/east corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZNNP

Used as a scratch variable for ambient occlusion on the north/bottom/west corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZNPN

Used as a scratch variable for ambient occlusion on the north/top/east corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZNPP

Used as a scratch variable for ambient occlusion on the north/top/west corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZPNN

Used as a scratch variable for ambient occlusion on the south/bottom/east corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZPNP

Used as a scratch variable for ambient occlusion on the south/bottom/west corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZPPN

Used as a scratch variable for ambient occlusion on the south/top/east corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXYZPPP

Used as a scratch variable for ambient occlusion on the south/top/west corner.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXZNN

Used as a scratch variable for ambient occlusion between the north face and the east face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXZNP

Used as a scratch variable for ambient occlusion between the north face and the west face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXZPN

Used as a scratch variable for ambient occlusion between the south face and the east face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchXZPP

Used as a scratch variable for ambient occlusion between the south face and the west face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchYZNN

Used as a scratch variable for ambient occlusion between the bottom face and the east face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchYZNP

Used as a scratch variable for ambient occlusion between the bottom face and the west face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchYZPN

Used as a scratch variable for ambient occlusion between the top face and the east face.

float net.minecraft.client.renderer.RenderBlocks.aoLightValueScratchYZPP

Used as a scratch variable for ambient occlusion between the top face and the west face.

IBlockAccess net.minecraft.client.renderer.RenderBlocks.blockAccess

The IBlockAccess used by this instance of RenderBlocks

int net.minecraft.client.renderer.RenderBlocks.brightnessBottomLeft

Brightness bottom left

int net.minecraft.client.renderer.RenderBlocks.brightnessBottomRight

Brightness bottom right

int net.minecraft.client.renderer.RenderBlocks.brightnessTopLeft

Brightness top left

int net.minecraft.client.renderer.RenderBlocks.brightnessTopRight

Brightness top right

float net.minecraft.client.renderer.RenderBlocks.colorBlueBottomLeft

Blue color value for the bottom left corner

float net.minecraft.client.renderer.RenderBlocks.colorBlueBottomRight

Blue color value for the bottom right corner

float net.minecraft.client.renderer.RenderBlocks.colorBlueTopLeft

Blue color value for the top left corner

float net.minecraft.client.renderer.RenderBlocks.colorBlueTopRight

Blue color value for the top right corner

float net.minecraft.client.renderer.RenderBlocks.colorGreenBottomLeft

Green color value for the bottom left corner

float net.minecraft.client.renderer.RenderBlocks.colorGreenBottomRight

Green color value for the bottom right corner

float net.minecraft.client.renderer.RenderBlocks.colorGreenTopLeft

Green color value for the top left corner

float net.minecraft.client.renderer.RenderBlocks.colorGreenTopRight

Green color value for the top right corner

float net.minecraft.client.renderer.RenderBlocks.colorRedBottomLeft

Red color value for the bottom left corner

float net.minecraft.client.renderer.RenderBlocks.colorRedBottomRight

Red color value for the bottom right corner

float net.minecraft.client.renderer.RenderBlocks.colorRedTopLeft

Red color value for the top left corner

float net.minecraft.client.renderer.RenderBlocks.colorRedTopRight

Red color value for the top right corner

boolean net.minecraft.client.renderer.RenderBlocks.enableAO

Whether ambient occlusion is enabled or not

boolean net.minecraft.client.renderer.RenderBlocks.fancyGrass = true
static

Fancy grass side matching biome

boolean net.minecraft.client.renderer.RenderBlocks.flipTexture = false

Set to true if the texture should be flipped horizontally during render*Face

boolean net.minecraft.client.renderer.RenderBlocks.lockBlockBounds = false

Set by overrideBlockBounds, to keep this class from changing the visual bounding box.

final Minecraft net.minecraft.client.renderer.RenderBlocks.minecraftRB
Icon net.minecraft.client.renderer.RenderBlocks.overrideBlockTexture = null

If set to >=0, all block faces will be rendered using this texture index

boolean net.minecraft.client.renderer.RenderBlocks.partialRenderBounds = false
boolean net.minecraft.client.renderer.RenderBlocks.renderAllFaces = false

If true, renders all faces on all blocks rather than using the logic in Block.shouldSideBeRendered. Unused.

double net.minecraft.client.renderer.RenderBlocks.renderMaxX

The maximum X value for rendering (default 1.0).

double net.minecraft.client.renderer.RenderBlocks.renderMaxY

The maximum Y value for rendering (default 1.0).

double net.minecraft.client.renderer.RenderBlocks.renderMaxZ

The maximum Z value for rendering (default 1.0).

double net.minecraft.client.renderer.RenderBlocks.renderMinX

The minimum X value for rendering (default 0.0).

double net.minecraft.client.renderer.RenderBlocks.renderMinY

The minimum Y value for rendering (default 0.0).

double net.minecraft.client.renderer.RenderBlocks.renderMinZ

The minimum Z value for rendering (default 0.0).

boolean net.minecraft.client.renderer.RenderBlocks.useInventoryTint = true
int net.minecraft.client.renderer.RenderBlocks.uvRotateBottom = 0
int net.minecraft.client.renderer.RenderBlocks.uvRotateEast = 0
int net.minecraft.client.renderer.RenderBlocks.uvRotateNorth = 0
int net.minecraft.client.renderer.RenderBlocks.uvRotateSouth = 0
int net.minecraft.client.renderer.RenderBlocks.uvRotateTop = 0
int net.minecraft.client.renderer.RenderBlocks.uvRotateWest = 0

The documentation for this class was generated from the following file: