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 nn>,um> renderers)
Used to add entity renderers. |
boolean |
dispenseEntity(xd world,
double x,
double y,
double z,
int xVel,
int zVel,
aan 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(yw player,
aan item,
io 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, receiveChatPacket, receiveCustomPacket, registerAnimation, renderInvBlock, renderWorldBlock, serverConnect, serverDisconnect, 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 yr egg
ExplosiveArrowID
public static int ExplosiveArrowID
exp
public static yr exp
FireArrowID
public static int FireArrowID
fir
public static yr fir
HomingBowID
public static int HomingBowID
hombow
public static yr hombow
IceArrowID
public static int IceArrowID
ice
public static yr ice
LightningArrowID
public static int LightningArrowID
lig
public static yr lig
achievehombow
public static aeb achievehombow
achieveexp
public static aeb achieveexp
mod_Arrows
public mod_Arrows()
addRenderer
public void addRenderer(java.util.Map<java.lang.Class<? extends nn>,um> 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, um>)
dispenseEntity
public boolean dispenseEntity(xd world,
double x,
double y,
double z,
int xVel,
int zVel,
aan 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(xd, double, double, double, int, int, aan)
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(yw player,
aan item,
io 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