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/Defines- intermediary - net/minecraft/class_10149- official - gmp- named - values- intermediary - comp_3103- official - c- named - flags- intermediary - comp_3104- official - d
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
valuesThe field for thevaluesrecord component.
- 
flagsThe field for theflagsrecord component.
- 
EMPTY- Mappings:
- Namespace - Name - Mixin selector - named - EMPTY- Lnet/minecraft/client/gl/Defines;EMPTY:Lnet/minecraft/client/gl/Defines;- intermediary - field_53930- Lnet/minecraft/class_10149;field_53930:Lnet/minecraft/class_10149;- official - a- Lgmp;a:Lgmp;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/gl/Defines;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_53931- Lnet/minecraft/class_10149;field_53931:Lcom/mojang/serialization/Codec;- official - b- Lgmp;b:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
Defines
 
- 
- 
Method Details- 
builder- Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/client/gl/Defines;builder()Lnet/minecraft/client/gl/Defines$Builder;- intermediary - method_62926- Lnet/minecraft/class_10149;method_62926()Lnet/minecraft/class_10149$class_10150;- official - a- Lgmp;a()Lgmp$a;
 
- 
withMerged- Mappings:
- Namespace - Name - Mixin selector - named - withMerged- Lnet/minecraft/client/gl/Defines;withMerged(Lnet/minecraft/client/gl/Defines;)Lnet/minecraft/client/gl/Defines;- intermediary - method_62928- Lnet/minecraft/class_10149;method_62928(Lnet/minecraft/class_10149;)Lnet/minecraft/class_10149;- official - a- Lgmp;a(Lgmp;)Lgmp;
 
- 
toSource- Mappings:
- Namespace - Name - Mixin selector - named - toSource- Lnet/minecraft/client/gl/Defines;toSource()Ljava/lang/String;- intermediary - method_62929- Lnet/minecraft/class_10149;method_62929()Ljava/lang/String;- official - b- Lgmp;b()Ljava/lang/String;
 
- 
isEmptypublic boolean isEmpty()- Mappings:
- Namespace - Name - Mixin selector - named - isEmpty- Lnet/minecraft/client/gl/Defines;isEmpty()Z- intermediary - method_62930- Lnet/minecraft/class_10149;method_62930()Z- official - c- Lgmp;c()Z
 
- 
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).
- 
valuesReturns the value of thevaluesrecord component.- Returns:
- the value of the valuesrecord component
 
- 
flagsReturns the value of theflagsrecord component.- Returns:
- the value of the flagsrecord component
 
 
-