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 boolean Render3DItems
           
static boolean RotateItems
           
static pb shelf
           
static int ShelfID
           
static int shelfModelID
           
static pb[] skins
           
static float width
           
 
Constructor Summary
mod_Shelf()
           
 
Method Summary
 java.lang.String getVersion()
          Required override that informs users the version of this mod.
 void load()
          Required override.
 void renderInvBlock(vl renderer, pb block, int metadata, int modelID)
          Renders a block in inventory.
 boolean renderWorldBlock(vl renderer, ali world, int x, int y, int z, pb block, int modelID)
          Renders a block in the world.
 
Methods inherited from class BaseMod
addFuel, addRenderer, dispenseEntity, generateNether, generateSurface, getName, getPriorities, keyboardEvent, modsLoaded, onItemPickup, onTickInGame, onTickInGUI, receiveChatPacket, receiveCustomPacket, registerAnimation, serverConnect, serverDisconnect, takenFromCrafting, takenFromFurnace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

skins

public static final pb[] skins

shelf

public static pb 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

ShelfID

public static int ShelfID

Render3DItems

public static boolean Render3DItems

RotateItems

public static boolean RotateItems
Constructor Detail

mod_Shelf

public mod_Shelf()
Method Detail

renderInvBlock

public void renderInvBlock(vl renderer,
                           pb 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(vl renderer,
                                ali world,
                                int x,
                                int y,
                                int z,
                                pb 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.

getVersion

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

Specified by:
getVersion in class BaseMod
Returns:
Version version.

load

public void load()
Description copied from class: BaseMod
Required override. Put EVERYTHING that has any relation to minecraft in here that needs to be added to the game when loaded. This includes blocks and items.

Specified by:
load in class BaseMod