Package net.minecraft.util.dynamic
Record Class EntryLoader.Impl.Element
java.lang.Object
java.lang.Record
net.minecraft.util.dynamic.EntryLoader.Impl.Element
- Record Components:
- data-
- id-
- lifecycle-
- Enclosing class:
- EntryLoader.Impl
private static record EntryLoader.Impl.Element(JsonElement data, int id, com.mojang.serialization.Lifecycle lifecycle)
extends Record
- Mappings:
- Namespace - Name - official - aaz$b$a- intermediary - net/minecraft/class_5506$class_5507$class_6821- named - net/minecraft/util/dynamic/EntryLoader$Impl$Element- official - a- intermediary - comp_296- named - data- official - b- intermediary - comp_297- named - id- official - c- intermediary - comp_298- named - lifecycle
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionElement(JsonElement jsonElement, int int2, com.mojang.serialization.Lifecycle lifecycle) 
- 
Method SummaryModifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.com.mojang.serialization.LifecycleReturns the value of thelifecyclerecord component.<E> com.mojang.serialization.DataResult<EntryLoader.Entry<E>>parse(com.mojang.serialization.DynamicOps<JsonElement> jsonOps, com.mojang.serialization.Decoder<E> decoder) final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
ElementElement(JsonElement jsonElement, int int2, com.mojang.serialization.Lifecycle lifecycle) 
 
- 
- 
Method Details- 
parsepublic <E> com.mojang.serialization.DataResult<EntryLoader.Entry<E>> parse(com.mojang.serialization.DynamicOps<JsonElement> jsonOps, com.mojang.serialization.Decoder<E> decoder) - Mappings:
- Namespace - Name - Mixin selector - official - a- Laaz$b$a;a(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Decoder;)Lcom/mojang/serialization/DataResult;- intermediary - method_42091- Lnet/minecraft/class_5506$class_5507$class_6821;method_42091(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Decoder;)Lcom/mojang/serialization/DataResult;- named - parse- Lnet/minecraft/util/dynamic/EntryLoader$Impl$Element;parse(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Decoder;)Lcom/mojang/serialization/DataResult;
 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
dataReturns the value of thedatarecord component.- Returns:
- the value of the datarecord component
 
- 
idpublic int id()Returns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
lifecyclepublic com.mojang.serialization.Lifecycle lifecycle()Returns the value of thelifecyclerecord component.- Returns:
- the value of the lifecyclerecord component
 
 
-