use of org.spongepowered.common.world.storage.SpongePlayerDataManager in project SpongeCommon by SpongePowered.
the class MinecraftServerMixin_API method api$initializeSpongeFields.
@Inject(method = "<init>", at = @At("TAIL"))
public void api$initializeSpongeFields(final Thread p_i232576_1_, final RegistryAccess.RegistryHolder p_i232576_2_, final LevelStorageSource.LevelStorageAccess p_i232576_3_, final WorldData p_i232576_4_, final PackRepository p_i232576_5_, final Proxy p_i232576_6_, final DataFixer p_i232576_7_, final ServerResources p_i232576_8_, final MinecraftSessionService p_i232576_9_, final GameProfileRepository p_i232576_10_, final GameProfileCache p_i232576_11_, final ChunkProgressListenerFactory p_i232576_12_, final CallbackInfo ci) {
this.api$scheduler = new ServerScheduler();
this.api$playerDataHandler = new SpongePlayerDataManager(this);
this.api$teleportHelper = new SpongeTeleportHelper();
this.api$mapStorage = new SpongeMapStorage();
this.api$registryHolder = new RegistryHolderLogic(p_i232576_2_);
this.api$userManager = new SpongeUserManager((MinecraftServer) (Object) this);
}
Aggregations