public class ScoreboardFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.util.function.Supplier<? extends ScoreboardEntry>> |
REGISTERED_ENTRIES |
static java.util.Map<java.lang.String,java.util.function.Function<net.minecraft.network.PacketBuffer,? extends BoardPosition>> |
REGISTERED_POSITIONS |
Constructor and Description |
---|
ScoreboardFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
addPlayerBoard(net.minecraft.entity.player.ServerPlayerEntity target,
Scoreboard scoreboard) |
static void |
addPositionBoard(TargetPoint point,
Scoreboard scoreboard) |
static BoardPosition |
get(java.lang.String name,
net.minecraft.network.PacketBuffer buffer) |
static void |
init() |
static void |
removePlayerBoard(net.minecraft.entity.player.ServerPlayerEntity target) |
static void |
removePlayerBoard(java.util.UUID uuid) |
static void |
removePositionBoard(TargetPoint point) |
static void |
sendPackets() |
public static final java.util.Map<java.lang.String,java.util.function.Supplier<? extends ScoreboardEntry>> REGISTERED_ENTRIES
public static final java.util.Map<java.lang.String,java.util.function.Function<net.minecraft.network.PacketBuffer,? extends BoardPosition>> REGISTERED_POSITIONS
public static void init()
public static void addPositionBoard(TargetPoint point, Scoreboard scoreboard)
public static void removePositionBoard(TargetPoint point)
public static void addPlayerBoard(net.minecraft.entity.player.ServerPlayerEntity target, Scoreboard scoreboard)
public static void removePlayerBoard(net.minecraft.entity.player.ServerPlayerEntity target)
public static void removePlayerBoard(java.util.UUID uuid)
public static BoardPosition get(java.lang.String name, net.minecraft.network.PacketBuffer buffer)
public static void sendPackets()