Class ObjectiveMock

java.lang.Object
be.seeseemelk.mockbukkit.scoreboard.ObjectiveMock
All Implemented Interfaces:
org.bukkit.scoreboard.Objective

public class ObjectiveMock extends Object implements org.bukkit.scoreboard.Objective
Mock implementation of an Objective.
  • Constructor Details

    • ObjectiveMock

      public ObjectiveMock(@NotNull @NotNull ScoreboardMock scoreboard, @NotNull @NotNull String name, @Nullable @Nullable net.kyori.adventure.text.Component displayName, @NotNull @NotNull org.bukkit.scoreboard.Criteria criteria, @NotNull @NotNull org.bukkit.scoreboard.RenderType renderType)
      Constructs a new ObjectiveMock with the provided parameters.
      Parameters:
      scoreboard - The scoreboard this objective is part of.
      name - The name of the objective.
      displayName - The display name of the objective.
      criteria - The criteria of the objective.
      renderType - The render type of the objective.
  • Method Details