Record Class Criterion.ConditionsContainer<T extends CriterionConditions>
java.lang.Object
java.lang.Record
net.minecraft.advancement.criterion.Criterion.ConditionsContainer<T>
- Record Components:
- conditions-
- advancement-
- id-
- Enclosing interface:
- Criterion<T extends CriterionConditions>
public static record Criterion.ConditionsContainer<T extends CriterionConditions>(T extends CriterionConditions conditions, AdvancementEntry advancement, String id)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/advancement/criterion/Criterion$ConditionsContainer- intermediary - net/minecraft/class_179$class_180- official - as$a- named - conditions- intermediary - comp_1925- official - a- named - advancement- intermediary - comp_1926- official - b- named - id- intermediary - comp_1927- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final AdvancementEntryThe field for theadvancementrecord component.private final TThe field for theconditionsrecord component.private final StringThe field for theidrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionConditionsContainer(T conditions, AdvancementEntry advancementEntry, String id) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theadvancementrecord component.Returns the value of theconditionsrecord component.final booleanIndicates whether some other object is "equal to" this one.voidgrant(PlayerAdvancementTracker tracker) final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
conditionsThe field for theconditionsrecord component.
- 
advancementThe field for theadvancementrecord component.
- 
idThe field for theidrecord component.
 
- 
- 
Constructor Details- 
ConditionsContainer- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;<init>(Lnet/minecraft/advancement/criterion/CriterionConditions;Lnet/minecraft/advancement/AdvancementEntry;Ljava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_179$class_180;<init>(Lnet/minecraft/class_184;Lnet/minecraft/class_8779;Ljava/lang/String;)V- official - <init>- Las$a;<init>(Lat;Lai;Ljava/lang/String;)V
 
 
- 
- 
Method Details- 
grant- Mappings:
- Namespace - Name - Mixin selector - named - grant- Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;grant(Lnet/minecraft/advancement/PlayerAdvancementTracker;)V- intermediary - method_796- Lnet/minecraft/class_179$class_180;method_796(Lnet/minecraft/class_2985;)V- official - a- Las$a;a(Lald;)V
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
conditionsReturns the value of theconditionsrecord component.- Returns:
- the value of the conditionsrecord component
 
- 
advancementReturns the value of theadvancementrecord component.- Returns:
- the value of the advancementrecord component
 
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
 
-