Class mod_Shelf
java.lang.Object
BaseMod
mod_Shelf
public class mod_Shelf
- extends BaseMod
Method Summary |
java.lang.String |
getVersion()
Required override that informs users the version of this mod. |
void |
load()
Required override. |
void |
RenderInvBlock(acr renderer,
yy block,
int metadata,
int modelID)
Renders a block in inventory. |
boolean |
RenderWorldBlock(acr renderer,
kq world,
int x,
int y,
int z,
yy 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, RegisterAnimation, TakenFromCrafting, TakenFromFurnace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
skins
public static final yy[] skins
shelf
public static yy 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
mod_Shelf
public mod_Shelf()
RenderInvBlock
public void RenderInvBlock(acr renderer,
yy 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(acr renderer,
kq world,
int x,
int y,
int z,
yy 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
- XPosy
- YPosz
- ZPosblock
- 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