Package net.minecraft.advancements
Class Advancement
java.lang.Object
net.minecraft.advancements.Advancement
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Component
private final Set<Advancement>
private final DisplayInfo
private final ResourceLocation
private final Advancement
private final String[][]
private final AdvancementRewards
-
Constructor Summary
ConstructorDescriptionAdvancement
(ResourceLocation p_138307_, Advancement p_138308_, DisplayInfo p_138309_, AdvancementRewards p_138310_, Map<String, Criterion> p_138311_, String[][] p_138312_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(Advancement p_138318_) boolean
getId()
int
String[][]
getRoot()
static Advancement
getRoot
(Advancement p_265545_) int
hashCode()
toString()
-
Field Details
-
parent
-
display
-
rewards
-
id
-
criteria
-
requirements
-
children
-
chatComponent
-
-
Constructor Details
-
Advancement
public Advancement(ResourceLocation p_138307_, @Nullable Advancement p_138308_, @Nullable DisplayInfo p_138309_, AdvancementRewards p_138310_, Map<String, Criterion> p_138311_, String[][] p_138312_)
-
-
Method Details
-
deconstruct
-
getParent
-
getRoot
-
getRoot
-
getDisplay
-
getRewards
-
toString
-
getChildren
-
getCriteria
-
getMaxCriteraRequired
public int getMaxCriteraRequired() -
addChild
-
getId
-
equals
-
hashCode
public int hashCode() -
getRequirements
-
getChatComponent
-