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 ia>,rg> renderers)
Used to add entity renderers. |
boolean |
DispenseEntity(ry world,
double x,
double y,
double z,
int xVel,
int zVel,
dk 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(vi player,
dk item,
de 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 |
EggArrowID
public static int EggArrowID
egg
public static acy egg
ExplosiveArrowID
public static int ExplosiveArrowID
exp
public static acy exp
FireArrowID
public static int FireArrowID
fir
public static acy fir
HomingBowID
public static int HomingBowID
hombow
public static acy hombow
IceArrowID
public static int IceArrowID
ice
public static acy ice
LightningArrowID
public static int LightningArrowID
lig
public static acy lig
achievehombow
public static ws achievehombow
achieveexp
public static ws achieveexp
mod_Arrows
public mod_Arrows()
AddRenderer
public void AddRenderer(java.util.Map<java.lang.Class<? extends ia>,rg> 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, rg>)
DispenseEntity
public boolean DispenseEntity(ry world,
double x,
double y,
double z,
int xVel,
int zVel,
dk 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(ry, double, double, double, int, int, dk)
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(vi player,
dk item,
de 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
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