Search in sources :

Example 16 with VillageCollection

use of net.minecraft.village.VillageCollection in project clientcommands by Earthcomputer.

the class ClientVirtualWorldMulti method init.

@Override
public World init() {
    mapStorage = delegate.getMapStorage();
    worldScoreboard = delegate.getScoreboard();
    lootTable = delegate.getLootTableManager();
    advancementManager = delegate.getAdvancementManager();
    String villageCollectionName = VillageCollection.fileNameForProvider(provider);
    villageCollection = new VillageCollection(this);
    perWorldStorage.setData(villageCollectionName, villageCollection);
    initCapabilities();
    return this;
}
Also used : VillageCollection(net.minecraft.village.VillageCollection)

Aggregations

VillageCollection (net.minecraft.village.VillageCollection)16 ScoreboardSaveData (net.minecraft.scoreboard.ScoreboardSaveData)6 ServerScoreboard (net.minecraft.scoreboard.ServerScoreboard)6 MapStorage (net.minecraft.world.storage.MapStorage)5 AdvancementManager (net.minecraft.advancements.AdvancementManager)3 FunctionManager (net.minecraft.advancements.FunctionManager)3 LootTableManager (net.minecraft.world.storage.loot.LootTableManager)3 File (java.io.File)2 EntityPlayer (net.minecraft.entity.player.EntityPlayer)2 BlockPos (net.minecraft.util.math.BlockPos)2 Village (net.minecraft.village.Village)2 WorldSavedDataCallableSave (net.minecraft.world.storage.WorldSavedDataCallableSave)2 SubscribeEvent (net.minecraftforge.fml.common.eventhandler.SubscribeEvent)2 PacketEnvironment (org.blockartistry.DynSurround.network.PacketEnvironment)1 PacketEnvironment (org.orecruncher.dsurround.network.PacketEnvironment)1