Class Criteria
- Namespace
- Obsidian.API.Advancements
- Assembly
- Obsidian.API.dll
Criteria for advancements. If this is a custom critera developers will have to track the players themselves to ensure they achieve the required criteria
public class Criteria
- Inheritance
-
Criteria
- Inherited Members
Constructors
Criteria(string, bool)
public Criteria(string name, bool required)
Parameters
Properties
Achieved
public bool Achieved { get; }
Property Value
AchievedAt
public DateTimeOffset? AchievedAt { get; }
Property Value
Identifier
public string Identifier { get; }
Property Value
Required
public bool Required { get; }
Property Value
Trigger
public string? Trigger { get; init; }
Property Value
Methods
CompleteCriteria(DateTimeOffset)
public void CompleteCriteria(DateTimeOffset completedAt)
Parameters
completedAt
DateTimeOffset