public class Advancement
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Advancement.Builder |
Constructor and Description |
---|
Advancement(ResourceLocation id,
Advancement parentIn,
DisplayInfo displayIn,
AdvancementRewards rewardsIn,
java.util.Map<java.lang.String,Criterion> criteriaIn,
java.lang.String[][] requirementsIn) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Advancement advancementIn) |
Advancement.Builder |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.Iterable<Advancement> |
getChildren() |
java.util.Map<java.lang.String,Criterion> |
getCriteria() |
DisplayInfo |
getDisplay() |
ITextComponent |
getDisplayText() |
ResourceLocation |
getId() |
Advancement |
getParent() |
int |
getRequirementCount() |
java.lang.String[][] |
getRequirements() |
AdvancementRewards |
getRewards() |
int |
hashCode() |
java.lang.String |
toString() |
public Advancement(ResourceLocation id, @Nullable Advancement parentIn, @Nullable DisplayInfo displayIn, AdvancementRewards rewardsIn, java.util.Map<java.lang.String,Criterion> criteriaIn, java.lang.String[][] requirementsIn)
public Advancement.Builder copy()
@Nullable public Advancement getParent()
@Nullable public DisplayInfo getDisplay()
public AdvancementRewards getRewards()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Iterable<Advancement> getChildren()
public java.util.Map<java.lang.String,Criterion> getCriteria()
public int getRequirementCount()
public void addChild(Advancement advancementIn)
public ResourceLocation getId()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String[][] getRequirements()
public ITextComponent getDisplayText()