Class mod_Arrows

java.lang.Object
  extended by BaseMod
      extended by mod_Arrows

public class mod_Arrows
extends BaseMod


Field Summary
static fg egg
          Egg Arrows.
static fg exp
          Explosive Arrows.
static fg fir
          Fire Arrows.
static fg hombow
          Homing Bow.
static fg ice
          Ice Arrows.
 
Constructor Summary
mod_Arrows()
           
 
Method Summary
 void AddRenderer(java.util.Map<java.lang.Class<? extends pb>,be> renderers)
          Used to add entity renderers.
 boolean DispenseEntity(eb world, double x, double y, double z, float xVel, float zVel, hi item)
          Dispenses the entity associated with the selected item.
 void GenerateSurface(eb world, java.util.Random random, int chunkX, int chunkZ)
          Used for generating new blocks (veins) on the surface world.
 java.lang.String Version()
          Required override that informs users the version of this mod.
 
Methods inherited from class BaseMod
AddFuel, GenerateNether, KeyboardEvent, ModsLoaded, OnTickInGame, OnTickInGUI, RegisterAnimation, RenderInvBlock, RenderWorldBlock, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

egg

public static fg egg
Egg Arrows. ID = 387.


exp

public static fg exp
Explosive Arrows. ID = 384.


fir

public static fg fir
Fire Arrows. ID = 385.


hombow

public static fg hombow
Homing Bow. ID = 396.


ice

public static fg ice
Ice Arrows. ID = 386.

Constructor Detail

mod_Arrows

public mod_Arrows()
Method Detail

AddRenderer

public void AddRenderer(java.util.Map<java.lang.Class<? extends pb>,be> renderers)
Description copied from class: BaseMod
Used to add entity renderers.

Overrides:
AddRenderer in class BaseMod
Parameters:
renderers - HashMap of the renderers. key is an entity class, value is the renderer.
See Also:
ModLoader.AddAllRenderers(java.util.Map, be>)

DispenseEntity

public boolean DispenseEntity(eb world,
                              double x,
                              double y,
                              double z,
                              float xVel,
                              float zVel,
                              hi item)
Description copied from class: BaseMod
Dispenses the entity associated with the selected item.

Overrides:
DispenseEntity in class BaseMod
Parameters:
world - reference to the World.
x - X coordinate.
y - Y coordinate.
z - Z coordinate.
xVel - X velocity.
zVel - Z velocity.
item - ID of item to chosen to dispense entity.
Returns:
true if item was handled.
See Also:
ModLoader.DispenseEntity(eb, double, double, double, float, float, hi)

GenerateSurface

public void GenerateSurface(eb world,
                            java.util.Random random,
                            int chunkX,
                            int chunkZ)
Description copied from class: BaseMod
Used for generating new blocks (veins) on the surface world.

Overrides:
GenerateSurface in class BaseMod
Parameters:
world - Reference to world.
random - Instance of random to use.
chunkX - X coordinate of chunk.
chunkZ - Z coordinate of chunk.
See Also:
ModLoader.PopulateChunk(bs, int, int, eb)

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.