Class CriteriaMock
java.lang.Object
be.seeseemelk.mockbukkit.scoreboard.CriteriaMock
- All Implemented Interfaces:
Criteria
Mock implementation of a
Criteria
.-
Field Summary
Fields inherited from interface org.bukkit.scoreboard.Criteria
AIR, ARMOR, DEATH_COUNT, DUMMY, FOOD, HEALTH, KILLED_BY_TEAM_AQUA, KILLED_BY_TEAM_BLACK, KILLED_BY_TEAM_BLUE, KILLED_BY_TEAM_DARK_AQUA, KILLED_BY_TEAM_DARK_BLUE, KILLED_BY_TEAM_DARK_GRAY, KILLED_BY_TEAM_DARK_GREEN, KILLED_BY_TEAM_DARK_PURPLE, KILLED_BY_TEAM_DARK_RED, KILLED_BY_TEAM_GOLD, KILLED_BY_TEAM_GRAY, KILLED_BY_TEAM_GREEN, KILLED_BY_TEAM_LIGHT_PURPLE, KILLED_BY_TEAM_RED, KILLED_BY_TEAM_WHITE, KILLED_BY_TEAM_YELLOW, LEVEL, PLAYER_KILL_COUNT, TEAM_KILL_AQUA, TEAM_KILL_BLACK, TEAM_KILL_BLUE, TEAM_KILL_DARK_AQUA, TEAM_KILL_DARK_BLUE, TEAM_KILL_DARK_GRAY, TEAM_KILL_DARK_GREEN, TEAM_KILL_DARK_PURPLE, TEAM_KILL_DARK_RED, TEAM_KILL_GOLD, TEAM_KILL_GRAY, TEAM_KILL_GREEN, TEAM_KILL_LIGHT_PURPLE, TEAM_KILL_RED, TEAM_KILL_WHITE, TEAM_KILL_YELLOW, TOTAL_KILL_COUNT, TRIGGER, XP
-
Constructor Summary
ConstructorDescriptionCriteriaMock
(@NotNull String name) Constructs a newCriteriaMock
with the provided name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull RenderType
@NotNull String
getName()
int
hashCode()
boolean
-
Constructor Details
-
CriteriaMock
Constructs a newCriteriaMock
with the provided name.- Parameters:
name
- The name of the criteria.
-
-
Method Details
-
getName
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in interfaceCriteria
-
getDefaultRenderType
- Specified by:
getDefaultRenderType
in interfaceCriteria
-
equals
-
hashCode
public int hashCode()
-