|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.village.Village
public class Village
Constructor Summary | |
---|---|
Village()
|
|
Village(World par1World)
|
Method Summary | |
---|---|
void |
addOrRenewAgressor(EntityLiving par1EntityLiving)
|
void |
addVillageDoorInfo(VillageDoorInfo par1VillageDoorInfo)
|
void |
endMatingSeason()
Prevent villager breeding for a fixed interval of time |
VillageDoorInfo |
findNearestDoor(int par1,
int par2,
int par3)
|
VillageDoorInfo |
findNearestDoorUnrestricted(int par1,
int par2,
int par3)
Find a door suitable for shelter. |
EntityLiving |
findNearestVillageAggressor(EntityLiving par1EntityLiving)
|
void |
func_82683_b(int par1)
|
EntityPlayer |
func_82685_c(EntityLiving par1EntityLiving)
|
void |
func_82691_a(World par1World)
|
ChunkCoordinates |
getCenter()
|
int |
getNumVillageDoors()
Actually get num village door info entries, but that boils down to number of doors. |
int |
getNumVillagers()
|
int |
getReputationForPlayer(String par1Str)
Return the village reputation for a player |
int |
getTicksSinceLastDoorAdding()
|
VillageDoorInfo |
getVillageDoorAt(int par1,
int par2,
int par3)
|
List |
getVillageDoorInfoList()
called only by class EntityAIMoveThroughVillage |
int |
getVillageRadius()
|
boolean |
isAnnihilated()
Returns true, if there is not a single village door left. |
boolean |
isInRange(int par1,
int par2,
int par3)
Returns true, if the given coordinates are within the bounding box of the village. |
boolean |
isMatingSeason()
Return whether villagers mating refractory period has passed |
boolean |
isPlayerReputationTooLow(String par1Str)
Return whether this player has a too low reputation with this village. |
void |
readVillageDataFromNBT(NBTTagCompound par1NBTTagCompound)
Read this village's data from NBT. |
int |
setReputationForPlayer(String par1Str,
int par2)
Set the village reputation for a player. |
void |
tick(int par1)
Called periodically by VillageCollection |
void |
writeVillageDataToNBT(NBTTagCompound par1NBTTagCompound)
Write this village's data to NBT. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Village()
public Village(World par1World)
Method Detail |
---|
public void func_82691_a(World par1World)
public void tick(int par1)
public ChunkCoordinates getCenter()
public int getVillageRadius()
public int getNumVillageDoors()
public int getTicksSinceLastDoorAdding()
public int getNumVillagers()
public boolean isInRange(int par1, int par2, int par3)
public List getVillageDoorInfoList()
public VillageDoorInfo findNearestDoor(int par1, int par2, int par3)
public VillageDoorInfo findNearestDoorUnrestricted(int par1, int par2, int par3)
public VillageDoorInfo getVillageDoorAt(int par1, int par2, int par3)
public void addVillageDoorInfo(VillageDoorInfo par1VillageDoorInfo)
public boolean isAnnihilated()
public void addOrRenewAgressor(EntityLiving par1EntityLiving)
public EntityLiving findNearestVillageAggressor(EntityLiving par1EntityLiving)
public EntityPlayer func_82685_c(EntityLiving par1EntityLiving)
public int getReputationForPlayer(String par1Str)
public int setReputationForPlayer(String par1Str, int par2)
public boolean isPlayerReputationTooLow(String par1Str)
public void readVillageDataFromNBT(NBTTagCompound par1NBTTagCompound)
public void writeVillageDataToNBT(NBTTagCompound par1NBTTagCompound)
public void endMatingSeason()
public boolean isMatingSeason()
public void func_82683_b(int par1)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |