Package net.minecraft.client.gl
Record Class Defines
java.lang.Object
java.lang.Record
net.minecraft.client.gl.Defines
- Record Components:
values-flags-
@Environment(CLIENT)
public record Defines(Map<String,String> values, Set<String> flags)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/Definesintermediary net/minecraft/class_10149official gsenamed valuesintermediary comp_3103official cnamed flagsintermediary comp_3104official d
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Defines.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.flags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()toSource()final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.withMerged(Defines other)
-
Field Details
-
values
The field for thevaluesrecord component. -
flags
The field for theflagsrecord component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/client/gl/Defines;EMPTY:Lnet/minecraft/client/gl/Defines;intermediary field_53930Lnet/minecraft/class_10149;field_53930:Lnet/minecraft/class_10149;official aLgse;a:Lgse;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/gl/Defines;CODEC:Lcom/mojang/serialization/Codec;intermediary field_53931Lnet/minecraft/class_10149;field_53931:Lcom/mojang/serialization/Codec;official bLgse;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Defines
-
-
Method Details
-
builder
- Mappings:
Namespace Name Mixin selector named builderLnet/minecraft/client/gl/Defines;builder()Lnet/minecraft/client/gl/Defines$Builder;intermediary method_62926Lnet/minecraft/class_10149;method_62926()Lnet/minecraft/class_10149$class_10150;official aLgse;a()Lgse$a;
-
withMerged
- Mappings:
Namespace Name Mixin selector named withMergedLnet/minecraft/client/gl/Defines;withMerged(Lnet/minecraft/client/gl/Defines;)Lnet/minecraft/client/gl/Defines;intermediary method_62928Lnet/minecraft/class_10149;method_62928(Lnet/minecraft/class_10149;)Lnet/minecraft/class_10149;official aLgse;a(Lgse;)Lgse;
-
toSource
- Mappings:
Namespace Name Mixin selector named toSourceLnet/minecraft/client/gl/Defines;toSource()Ljava/lang/String;intermediary method_62929Lnet/minecraft/class_10149;method_62929()Ljava/lang/String;official bLgse;b()Ljava/lang/String;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/client/gl/Defines;isEmpty()Zintermediary method_62930Lnet/minecraft/class_10149;method_62930()Zofficial cLgse;c()Z
-
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). -
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
flags
Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-