Package net.minecraft
Record Class class_11450
java.lang.Object
java.lang.Record
net.minecraft.class_11450
- Record Components:
id-template-
- All Implemented Interfaces:
class_11449,class_11452
public record class_11450(Identifier id, class_11451 template)
extends Record
implements class_11449
- Mappings:
Namespace Name named net/minecraft/class_11450intermediary net/minecraft/class_11450official assnamed idintermediary comp_4356official cnamed templateintermediary comp_4357official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_11450> private final IdentifierThe field for theidrecord component.private final class_11451The field for thetemplaterecord component.Fields inherited from interface net.minecraft.class_11452
field_60661 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.com.mojang.serialization.MapCodec<class_11450> method_71742(Map<String, String> map) template()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
template
The field for thetemplaterecord component. -
field_60656
- Mappings:
Namespace Name Mixin selector named field_60656Lnet/minecraft/class_11450;field_60656:Lcom/mojang/serialization/MapCodec;intermediary field_60656Lnet/minecraft/class_11450;field_60656:Lcom/mojang/serialization/MapCodec;official aLass;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11450
-
-
Method Details
-
method_71738
- Specified by:
method_71738in interfaceclass_11449- Specified by:
method_71738in interfaceclass_11452- Mappings:
Namespace Name Mixin selector named method_71738Lnet/minecraft/class_11452;method_71738()Lcom/mojang/serialization/MapCodec;intermediary method_71738Lnet/minecraft/class_11452;method_71738()Lcom/mojang/serialization/MapCodec;official aLasu;a()Lcom/mojang/serialization/MapCodec;
-
method_71742
- Specified by:
method_71742in interfaceclass_11449- Mappings:
Namespace Name Mixin selector named method_71742Lnet/minecraft/class_11449;method_71742(Ljava/util/Map;)Ljava/lang/String;intermediary method_71742Lnet/minecraft/class_11449;method_71742(Ljava/util/Map;)Ljava/lang/String;official aLasr;a(Ljava/util/Map;)Ljava/lang/String;
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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). -
id
Returns the value of theidrecord component.- Specified by:
idin interfaceclass_11449- Returns:
- the value of the
idrecord component
-
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-