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
private final boolean
-
Constructor Summary
ConstructorDescriptionAdvancement
(ResourceLocation p_286878_, Advancement p_286496_, DisplayInfo p_286499_, AdvancementRewards p_286389_, Map<String, Criterion> p_286635_, String[][] p_286882_, boolean p_286478_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(Advancement p_138318_) boolean
getId()
int
String[][]
getRoot()
static Advancement
getRoot
(Advancement p_265545_) int
hashCode()
boolean
toString()
-
Field Details
-
parent
-
display
-
rewards
-
id
-
criteria
-
requirements
-
children
-
chatComponent
-
sendsTelemetryEvent
private final boolean sendsTelemetryEvent
-
-
Constructor Details
-
Advancement
public Advancement(ResourceLocation p_286878_, @Nullable Advancement p_286496_, @Nullable DisplayInfo p_286499_, AdvancementRewards p_286389_, Map<String, Criterion> p_286635_, String[][] p_286882_, boolean p_286478_)
-
-
Method Details
-
deconstruct
-
getParent
-
getRoot
-
getRoot
-
getDisplay
-
sendsTelemetryEvent
public boolean sendsTelemetryEvent() -
getRewards
-
toString
-
getChildren
-
getCriteria
-
getMaxCriteraRequired
public int getMaxCriteraRequired() -
addChild
-
getId
-
equals
-
hashCode
public int hashCode() -
getRequirements
-
getChatComponent
-