Class mod_Arrows
java.lang.Object
BaseMod
mod_Arrows
public class mod_Arrows
- extends BaseMod
Method Summary |
void |
AddRenderer(java.util.Map<java.lang.Class<? extends sn>,bw> renderers)
Used to add entity renderers. |
boolean |
DispenseEntity(fd world,
double x,
double y,
double z,
int xVel,
int zVel,
iz item)
Dispenses the entity associated with the selected item. |
void |
TakenFromCrafting(gs player,
iz item)
Is called when an item is picked up from crafting result slot. |
java.lang.String |
Version()
Required override that informs users the version of this mod. |
Methods inherited from class BaseMod |
AddFuel, GenerateNether, GenerateSurface, 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 |
EggArrowID
public static int EggArrowID
egg
public static gm egg
ExplosiveArrowID
public static int ExplosiveArrowID
exp
public static gm exp
FireArrowID
public static int FireArrowID
fir
public static gm fir
HomingBowID
public static int HomingBowID
hombow
public static gm hombow
IceArrowID
public static int IceArrowID
ice
public static gm ice
LightningArrowID
public static int LightningArrowID
lig
public static gm lig
achievehombow
public static ny achievehombow
achieveexp
public static ny achieveexp
mod_Arrows
public mod_Arrows()
AddRenderer
public void AddRenderer(java.util.Map<java.lang.Class<? extends sn>,bw> 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, bw>)
DispenseEntity
public boolean DispenseEntity(fd world,
double x,
double y,
double z,
int xVel,
int zVel,
iz 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(fd, double, double, double, int, int, iz)
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.
TakenFromCrafting
public void TakenFromCrafting(gs player,
iz item)
- 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 itemitem
- that was picked up