YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.ai.RandomPositionGenerator Class Reference

Static Public Member Functions

static Vec3 findRandomTarget (EntityCreature par0EntityCreature, int par1, int par2)
 
static Vec3 findRandomTargetBlockTowards (EntityCreature par0EntityCreature, int par1, int par2, Vec3 par3Vec3)
 
static Vec3 findRandomTargetBlockAwayFrom (EntityCreature par0EntityCreature, int par1, int par2, Vec3 par3Vec3)
 

Member Function Documentation

static Vec3 net.minecraft.entity.ai.RandomPositionGenerator.findRandomTarget ( EntityCreature  par0EntityCreature,
int  par1,
int  par2 
)
static

finds a random target within par1(x,z) and par2 (y) blocks

static Vec3 net.minecraft.entity.ai.RandomPositionGenerator.findRandomTargetBlockAwayFrom ( EntityCreature  par0EntityCreature,
int  par1,
int  par2,
Vec3  par3Vec3 
)
static

finds a random target within par1(x,z) and par2 (y) blocks in the reverse direction of the point par3

static Vec3 net.minecraft.entity.ai.RandomPositionGenerator.findRandomTargetBlockTowards ( EntityCreature  par0EntityCreature,
int  par1,
int  par2,
Vec3  par3Vec3 
)
static

finds a random target within par1(x,z) and par2 (y) blocks in the direction of the point par3


The documentation for this class was generated from the following file: