YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.village.VillageCollection Class Reference
Inheritance diagram for net.minecraft.village.VillageCollection:
net.minecraft.world.WorldSavedData

Public Member Functions

 VillageCollection (String par1Str)
 
 VillageCollection (World par1World)
 
void func_82566_a (World par1World)
 
void addVillagerPosition (int par1, int par2, int par3)
 
void tick ()
 
List getVillageList ()
 
Village findNearestVillage (int par1, int par2, int par3, int par4)
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
- Public Member Functions inherited from net.minecraft.world.WorldSavedData
 WorldSavedData (String par1Str)
 
void markDirty ()
 
void setDirty (boolean par1)
 
boolean isDirty ()
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.world.WorldSavedData
final String mapName
 

Constructor & Destructor Documentation

net.minecraft.village.VillageCollection.VillageCollection ( String  par1Str)
net.minecraft.village.VillageCollection.VillageCollection ( World  par1World)

Member Function Documentation

void net.minecraft.village.VillageCollection.addVillagerPosition ( int  par1,
int  par2,
int  par3 
)

This is a black hole. You can add data to this list through a public interface, but you can't query that information in any way and it's not used internally either.

Village net.minecraft.village.VillageCollection.findNearestVillage ( int  par1,
int  par2,
int  par3,
int  par4 
)

Finds the nearest village, but only the given coordinates are withing it's bounding box plus the given the distance.

void net.minecraft.village.VillageCollection.func_82566_a ( World  par1World)
List net.minecraft.village.VillageCollection.getVillageList ( )

Get a list of villages.

void net.minecraft.village.VillageCollection.readFromNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

reads in data from the NBTTagCompound into this MapDataBase

Implements net.minecraft.world.WorldSavedData.

void net.minecraft.village.VillageCollection.tick ( )

Runs a single tick for the village collection

void net.minecraft.village.VillageCollection.writeToNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities

Implements net.minecraft.world.WorldSavedData.


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