Class mod_Shelf

java.lang.Object
  extended by BaseMod
      extended by mod_Shelf

public class mod_Shelf
extends BaseMod


Field Summary
static float itemspace
           
static ra shelf
           
static int shelfModelID
           
static ra[] skins
           
static float width
           
 
Method Summary
 void RenderInvBlock(ca renderer, ra block, int metadata, int modelID)
          Renders a block in inventory.
 boolean RenderWorldBlock(ca renderer, tk world, int x, int y, int z, ra block, int modelID)
          Renders a block in the world.
 java.lang.String Version()
          Required override that informs users the version of this mod.
 
Methods inherited from class BaseMod
AddFuel, AddRenderer, DispenseEntity, GenerateNether, GenerateSurface, KeyboardEvent, ModsLoaded, OnTickInGame, OnTickInGUI, RegisterAnimation, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

skins

public static final ra[] skins

shelf

public static final ra shelf

shelfModelID

public static int shelfModelID

itemspace

public static final float itemspace
See Also:
Constant Field Values

width

public static final float width
See Also:
Constant Field Values
Method Detail

RenderInvBlock

public void RenderInvBlock(ca renderer,
                           ra block,
                           int metadata,
                           int modelID)
Description copied from class: BaseMod
Renders a block in inventory.

Overrides:
RenderInvBlock in class BaseMod
Parameters:
renderer - parent renderer. Methods and fields may be referenced from here.
block - reference to block to render.
metadata - of block. Damage on an item.
modelID - ID of block model to render.

RenderWorldBlock

public boolean RenderWorldBlock(ca renderer,
                                tk world,
                                int x,
                                int y,
                                int z,
                                ra block,
                                int modelID)
Description copied from class: BaseMod
Renders a block in the world.

Overrides:
RenderWorldBlock in class BaseMod
Parameters:
renderer - parent renderer. Methods and fields may be referenced from here.
world - to render block in.
x - XPos
y - YPos
z - ZPos
block - reference to block to render.
modelID - ID of block model to render.
Returns:
true if model was rendered.

Version

public java.lang.String Version()
Description copied from class: BaseMod
Required override that informs users the version of this mod. Used in console and error reports.

Specified by:
Version in class BaseMod
Returns:
Version string.