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 gma
named values
intermediary comp_3103
official c
named flags
intermediary comp_3104
official d
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Defines.Builder
builder()
final boolean
Indicates whether some other object is "equal to" this one.flags()
Returns the value of theflags
record component.final int
hashCode()
Returns a hash code value for this object.boolean
isEmpty()
toSource()
final String
toString()
Returns a string representation of this record class.values()
Returns the value of thevalues
record component.withMerged
(Defines other)
-
Field Details
-
values
The field for thevalues
record component. -
flags
The field for theflags
record 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
Lgma;a:Lgma;
-
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
Lgma;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
Lgma;a()Lgma$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
Lgma;a(Lgma;)Lgma;
-
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
Lgma;b()Ljava/lang/String;
-
isEmpty
public 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
Lgma;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 thevalues
record component.- Returns:
- the value of the
values
record component
-
flags
Returns the value of theflags
record component.- Returns:
- the value of the
flags
record component
-