Package net.minecraft.src
Class VillageCollection
java.lang.Object
net.minecraft.src.WorldSavedData
net.minecraft.src.VillageCollection
-
Field Summary
Fields inherited from class net.minecraft.src.WorldSavedData
mapName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVillagerPosition(int par1, int par2, int par3) This is a black hole.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.voidfunc_82566_a(World par1World) Get a list of villages.voidreadFromNBT(NBTTagCompound par1NBTTagCompound) reads in data from the NBTTagCompound into this MapDataBasevoidtick()Runs a single tick for the village collectionvoidwriteToNBT(NBTTagCompound par1NBTTagCompound) write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntitiesMethods inherited from class net.minecraft.src.WorldSavedData
isDirty, markDirty, setDirty
-
Constructor Details
-
VillageCollection
-
VillageCollection
-
-
Method Details
-
func_82566_a
-
addVillagerPosition
public void 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. -
tick
public void tick()Runs a single tick for the village collection -
getVillageList
Get a list of villages. -
findNearestVillage
Finds the nearest village, but only the given coordinates are withing it's bounding box plus the given the distance. -
readFromNBT
reads in data from the NBTTagCompound into this MapDataBase- Specified by:
readFromNBTin classWorldSavedData
-
writeToNBT
write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities- Specified by:
writeToNBTin classWorldSavedData
-