Package net.minecraft.world.scores
Class Objective
java.lang.Object
net.minecraft.world.scores.Objective
-
Field Summary
Modifier and TypeFieldDescriptionprivate ObjectiveCriteria
private Component
private Component
static int
private String
private ObjectiveCriteria.RenderType
private Scoreboard
-
Constructor Summary
ConstructorDescriptionObjective(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate Component
getName()
void
setDisplayName(Component p_83317_)
void
setRenderType(ObjectiveCriteria.RenderType p_83315_)
-
Field Details
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH- See Also:
- Constant Field Values
-
scoreboard
-
name
-
criteria
-
displayName
-
formattedDisplayName
-
renderType
-
-
Constructor Details
-
Objective
public Objective(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_)
-
-
Method Details
-
getScoreboard
-
getName
-
getCriteria
-
getDisplayName
-
createFormattedDisplayName
-
getFormattedDisplayName
-
setDisplayName
-
getRenderType
-
setRenderType
-