|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBaseMod
mod_Arrows
public class mod_Arrows
Field Summary | |
---|---|
static fg |
egg
Egg Arrows. |
static fg |
exp
Explosive Arrows. |
static fg |
fir
Fire Arrows. |
static fg |
hombow
Homing Bow. |
static fg |
ice
Ice Arrows. |
Constructor Summary | |
---|---|
mod_Arrows()
|
Method Summary | |
---|---|
void |
AddRenderer(java.util.Map<java.lang.Class<? extends pb>,be> renderers)
Used to add entity renderers. |
boolean |
DispenseEntity(eb world,
double x,
double y,
double z,
float xVel,
float zVel,
hi item)
Dispenses the entity associated with the selected item. |
void |
GenerateSurface(eb world,
java.util.Random random,
int chunkX,
int chunkZ)
Used for generating new blocks (veins) on the surface world. |
java.lang.String |
Version()
Required override that informs users the version of this mod. |
Methods inherited from class BaseMod |
---|
AddFuel, GenerateNether, KeyboardEvent, ModsLoaded, OnTickInGame, OnTickInGUI, RegisterAnimation, RenderInvBlock, RenderWorldBlock, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static fg egg
public static fg exp
public static fg fir
public static fg hombow
public static fg ice
Constructor Detail |
---|
public mod_Arrows()
Method Detail |
---|
public void AddRenderer(java.util.Map<java.lang.Class<? extends pb>,be> renderers)
BaseMod
AddRenderer
in class BaseMod
renderers
- HashMap of the renderers. key is an entity class, value is
the renderer.ModLoader.AddAllRenderers(java.util.Map, be>)
public boolean DispenseEntity(eb world, double x, double y, double z, float xVel, float zVel, hi item)
BaseMod
DispenseEntity
in class BaseMod
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.
ModLoader.DispenseEntity(eb, double, double, double, float, float, hi)
public void GenerateSurface(eb world, java.util.Random random, int chunkX, int chunkZ)
BaseMod
GenerateSurface
in class BaseMod
world
- Reference to world.random
- Instance of random to use.chunkX
- X coordinate of chunk.chunkZ
- Z coordinate of chunk.ModLoader.PopulateChunk(bs, int, int, eb)
public java.lang.String Version()
BaseMod
Version
in class BaseMod
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |