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 kj>,px> renderers)
Used to add entity renderers. |
boolean |
DispenseEntity(rv world,
double x,
double y,
double z,
int xVel,
int zVel,
ul item)
Dispenses the entity associated with the selected item. |
void |
TakenFromCrafting(sz player,
ul item,
gl matrix)
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, OnTickInGame, OnTickInGUI, 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 sv egg
ExplosiveArrowID
public static int ExplosiveArrowID
exp
public static sv exp
FireArrowID
public static int FireArrowID
fir
public static sv fir
HomingBowID
public static int HomingBowID
hombow
public static sv hombow
IceArrowID
public static int IceArrowID
ice
public static sv ice
LightningArrowID
public static int LightningArrowID
lig
public static sv lig
PoisonArrowID
public static int PoisonArrowID
pos
public static sv pos
achievehombow
public static xf achievehombow
achieveexp
public static xf achieveexp
mod_Arrows
public mod_Arrows()
AddRenderer
public void AddRenderer(java.util.Map<java.lang.Class<? extends kj>,px> 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, px>)
DispenseEntity
public boolean DispenseEntity(rv world,
double x,
double y,
double z,
int xVel,
int zVel,
ul 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(rv, double, double, double, int, int, ul)
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(sz player,
ul item,
gl 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 itemitem - that was picked upmatrix - crafting matrix that is used