public class VillageCollection extends WorldSavedData
mapName
Constructor and Description |
---|
VillageCollection(java.lang.String name) |
VillageCollection(World worldIn) |
Modifier and Type | Method and Description |
---|---|
void |
addToVillagerPositionList(BlockPos pos) |
static java.lang.String |
fileNameForProvider(WorldProvider provider) |
Village |
getNearestVillage(BlockPos doorBlock,
int radius) |
java.util.List<Village> |
getVillageList() |
void |
readFromNBT(NBTTagCompound nbt) |
void |
setWorldsForAll(World worldIn) |
void |
tick() |
NBTTagCompound |
writeToNBT(NBTTagCompound p_189551_1_) |
deserializeNBT, isDirty, markDirty, serializeNBT, setDirty
public VillageCollection(java.lang.String name)
public VillageCollection(World worldIn)
public void setWorldsForAll(World worldIn)
public void addToVillagerPositionList(BlockPos pos)
public void tick()
public java.util.List<Village> getVillageList()
public void readFromNBT(NBTTagCompound nbt)
readFromNBT
in class WorldSavedData
public NBTTagCompound writeToNBT(NBTTagCompound p_189551_1_)
writeToNBT
in class WorldSavedData
public static java.lang.String fileNameForProvider(WorldProvider provider)