Class mod_Arrows

java.lang.Object
  extended by BaseMod
      extended by mod_Arrows

public class mod_Arrows
extends BaseMod


Field Summary
static ex egg
          Egg Arrows.
static ex exp
          Explosive Arrows.
static ex fir
          Fire Arrows.
static ex hombow
          Homing Bow.
static ex ice
          Ice Arrows.
 
Constructor Summary
mod_Arrows()
           
 
Method Summary
 void AddRecipes(fr recipes)
          Used to add recipes.
 void AddRenderer(java.util.Map<java.lang.Class<? extends om>,bb> renderers)
          Used to add entity renderers.
 boolean DispenseEntity(dt world, double x, double y, double z, float xVel, float zVel, int itemid)
          Dispenses the entity associated with the selected item.
 java.lang.String Version()
          Required override that informs users the version of this mod.
 
Methods inherited from class BaseMod
AddFuel, GenerateNether, GenerateSurface, KeyboardEvent, ModsLoaded, OnTickInGame, OnTickInGUI, OpenModGUI, RegisterAnimation, RenderInvBlock, RenderWorldBlock, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

egg

public static ex egg
Egg Arrows. ID = 387.


exp

public static ex exp
Explosive Arrows. ID = 384.


fir

public static ex fir
Fire Arrows. ID = 385.


hombow

public static ex hombow
Homing Bow. ID = 396.


ice

public static ex ice
Ice Arrows. ID = 386.

Constructor Detail

mod_Arrows

public mod_Arrows()
Method Detail

AddRecipes

public void AddRecipes(fr recipes)
Description copied from class: BaseMod
Used to add recipes.

Overrides:
AddRecipes in class BaseMod
Parameters:
recipes - Recipe instance to add to.
See Also:
ModLoader.AddAllRecipes(fr)

AddRenderer

public void AddRenderer(java.util.Map<java.lang.Class<? extends om>,bb> 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, bb>)

DispenseEntity

public boolean DispenseEntity(dt world,
                              double x,
                              double y,
                              double z,
                              float xVel,
                              float zVel,
                              int itemid)
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.
itemid - ID of item to chosen to dispense entity.
Returns:
true if item was handled.
See Also:
ModLoader.DispenseEntity(dt, double, double, double, float, float, int)

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.