Search in sources :

Example 11 with ServerScoreboard

use of net.minecraft.scoreboard.ServerScoreboard in project CumServerPro by MCUmbrella.

the class CraftScoreboardManager method getNewScoreboard.

public CraftScoreboard getNewScoreboard() {
    // Spigot
    org.spigotmc.AsyncCatcher.catchOp("scoreboard creation");
    CraftScoreboard scoreboard = new CraftScoreboard(new ServerScoreboard(server));
    scoreboards.add(scoreboard);
    return scoreboard;
}
Also used : ServerScoreboard(net.minecraft.scoreboard.ServerScoreboard)

Aggregations

ServerScoreboard (net.minecraft.scoreboard.ServerScoreboard)11 ScoreboardSaveData (net.minecraft.scoreboard.ScoreboardSaveData)6 VillageCollection (net.minecraft.village.VillageCollection)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 WorldSavedDataCallableSave (net.minecraft.world.storage.WorldSavedDataCallableSave)2 HashSet (java.util.HashSet)1 EntityPlayerMP (net.minecraft.entity.player.EntityPlayerMP)1 SPacketScoreboardObjective (net.minecraft.network.play.server.SPacketScoreboardObjective)1 SPacketTeams (net.minecraft.network.play.server.SPacketTeams)1 ScoreObjective (net.minecraft.scoreboard.ScoreObjective)1 ScorePlayerTeam (net.minecraft.scoreboard.ScorePlayerTeam)1 Scoreboard (net.minecraft.scoreboard.Scoreboard)1