| Package | Description |
|---|---|
| com.github.steveice10.mc.protocol.data.game.scoreboard | |
| com.github.steveice10.mc.protocol.packet.ingame.clientbound.scoreboard |
| Modifier and Type | Method and Description |
|---|---|
static ScoreType |
ScoreType.from(int id) |
static ScoreType |
ScoreType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreType[] |
ScoreType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ClientboundSetObjectivePacket(@NonNull String name,
@NonNull ObjectiveAction action,
@Nullable net.kyori.adventure.text.Component displayName,
@Nullable ScoreType type,
@Nullable NumberFormat numberFormat)
Constructs a ServerScoreboardObjectivePacket for adding or updating an objective.
|
Copyright © 2023. All rights reserved.