|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.world.WorldSavedData
net.minecraft.village.VillageCollection
public class VillageCollection
Field Summary |
---|
Fields inherited from class net.minecraft.world.WorldSavedData |
---|
mapName |
Constructor Summary | |
---|---|
VillageCollection(String par1Str)
|
|
VillageCollection(World par1World)
|
Method Summary | |
---|---|
void |
addVillagerPosition(int par1,
int par2,
int par3)
This is a black hole. |
Village |
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 |
func_82566_a(World par1World)
|
List |
getVillageList()
Get a list of villages. |
void |
readFromNBT(NBTTagCompound par1NBTTagCompound)
reads in data from the NBTTagCompound into this MapDataBase |
void |
tick()
Runs a single tick for the village collection |
void |
writeToNBT(NBTTagCompound par1NBTTagCompound)
write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities |
Methods inherited from class net.minecraft.world.WorldSavedData |
---|
isDirty, markDirty, setDirty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VillageCollection(String par1Str)
public VillageCollection(World par1World)
Method Detail |
---|
public void func_82566_a(World par1World)
public void addVillagerPosition(int par1, int par2, int par3)
public void tick()
public List getVillageList()
public Village findNearestVillage(int par1, int par2, int par3, int par4)
public void readFromNBT(NBTTagCompound par1NBTTagCompound)
readFromNBT
in class WorldSavedData
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
writeToNBT
in class WorldSavedData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |