Class mod_Arrows

java.lang.Object
  extended by BaseMod
      extended by mod_Arrows

public class mod_Arrows
extends BaseMod


Field Summary
static adw achieveexp
           
static adw achievehombow
           
static ym egg
           
static int EggArrowID
           
static ym exp
           
static int ExplosiveArrowID
           
static ym fir
           
static int FireArrowID
           
static ym hombow
           
static int HomingBowID
           
static ym ice
           
static int IceArrowID
           
static ym lig
           
static int LightningArrowID
           
 
Constructor Summary
mod_Arrows()
           
 
Method Summary
 void addRenderer(java.util.Map<java.lang.Class<? extends nk>,ui> renderers)
          Used to add entity renderers.
 boolean dispenseEntity(wz world, double x, double y, double z, int xVel, int zVel, aai item)
          Dispenses the entity associated with the selected item.
 java.lang.String getVersion()
          Required override that informs users the version of this mod.
 void load()
          Required override.
 void takenFromCrafting(yr player, aai item, il matrix)
          Is called when an item is picked up from crafting result slot.
 
Methods inherited from class BaseMod
addFuel, generateNether, generateSurface, getName, getPriorities, keyboardEvent, modsLoaded, onItemPickup, onTickInGame, onTickInGUI, registerAnimation, renderInvBlock, renderWorldBlock, takenFromFurnace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EggArrowID

public static int EggArrowID

egg

public static ym egg

ExplosiveArrowID

public static int ExplosiveArrowID

exp

public static ym exp

FireArrowID

public static int FireArrowID

fir

public static ym fir

HomingBowID

public static int HomingBowID

hombow

public static ym hombow

IceArrowID

public static int IceArrowID

ice

public static ym ice

LightningArrowID

public static int LightningArrowID

lig

public static ym lig

achievehombow

public static adw achievehombow

achieveexp

public static adw achieveexp
Constructor Detail

mod_Arrows

public mod_Arrows()
Method Detail

addRenderer

public void addRenderer(java.util.Map<java.lang.Class<? extends nk>,ui> 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, ui>)

dispenseEntity

public boolean dispenseEntity(wz world,
                              double x,
                              double y,
                              double z,
                              int xVel,
                              int zVel,
                              aai 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(wz, double, double, double, int, int, aai)

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.

takenFromCrafting

public void takenFromCrafting(yr player,
                              aai item,
                              il matrix)
Description copied from class: BaseMod
Is called when an item is picked up from crafting result slot. Normally used to award achievements.

Overrides:
takenFromCrafting in class BaseMod
Parameters:
player - that picked up item
item - that was picked up
matrix - crafting matrix that is used

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