Class ScoreboardFactory
java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.ScoreboardFactory
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<String,
Supplier<? extends ScoreboardEntry>> static final Map<String,
Function<net.minecraft.network.FriendlyByteBuf, ? extends BoardPosition>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPlayerBoard
(net.minecraft.server.level.ServerPlayer target, Scoreboard scoreboard) static void
addPositionBoard
(TargetPoint point, Scoreboard scoreboard) static BoardPosition
static void
init()
static void
removePlayerBoard
(UUID uuid) static void
removePlayerBoard
(net.minecraft.server.level.ServerPlayer target) static void
removePositionBoard
(TargetPoint point) static void
-
Field Details
-
REGISTERED_ENTRIES
-
REGISTERED_POSITIONS
public static final Map<String,Function<net.minecraft.network.FriendlyByteBuf, REGISTERED_POSITIONS? extends BoardPosition>>
-
-
Constructor Details
-
ScoreboardFactory
public ScoreboardFactory()
-
-
Method Details
-
init
public static void init() -
addPositionBoard
-
removePositionBoard
-
addPlayerBoard
public static void addPlayerBoard(net.minecraft.server.level.ServerPlayer target, Scoreboard scoreboard) -
removePlayerBoard
public static void removePlayerBoard(net.minecraft.server.level.ServerPlayer target) -
removePlayerBoard
-
get
-
sendPackets
public static void sendPackets()
-