Package net.minecraft
Record Class class_10157
java.lang.Object
java.lang.Record
net.minecraft.class_10157
- Record Components:
vertex-fragment-samplers-uniforms-defines-
@Environment(CLIENT)
public record class_10157(Identifier vertex, Identifier fragment, List<class_10157.class_10158> samplers, List<class_10157.class_10159> uniforms, class_10149 defines)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10157intermediary net/minecraft/class_10157official ghznamed vertexintermediary comp_3116official bnamed fragmentintermediary comp_3117official cnamed samplersintermediary comp_3118official dnamed uniformsintermediary comp_3119official enamed definesintermediary comp_3120official f
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_10149The field for thedefinesrecord component.static final com.mojang.serialization.Codec<class_10157> private final IdentifierThe field for thefragmentrecord component.private final List<class_10157.class_10158> The field for thesamplersrecord component.private final List<class_10157.class_10159> The field for theuniformsrecord component.private final IdentifierThe field for thevertexrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10157(Identifier identifier, Identifier identifier2, List<class_10157.class_10158> list, List<class_10157.class_10159> list2, class_10149 class_10149) -
Method Summary
Modifier and TypeMethodDescriptiondefines()Returns the value of thedefinesrecord component.final booleanIndicates whether some other object is "equal to" this one.fragment()Returns the value of thefragmentrecord component.final inthashCode()Returns a hash code value for this object.samplers()Returns the value of thesamplersrecord component.final StringtoString()Returns a string representation of this record class.uniforms()Returns the value of theuniformsrecord component.vertex()Returns the value of thevertexrecord component.
-
Field Details
-
vertex
The field for thevertexrecord component. -
fragment
The field for thefragmentrecord component. -
samplers
The field for thesamplersrecord component. -
uniforms
The field for theuniformsrecord component. -
defines
The field for thedefinesrecord component. -
field_53949
- Mappings:
Namespace Name Mixin selector named field_53949Lnet/minecraft/class_10157;field_53949:Lcom/mojang/serialization/Codec;intermediary field_53949Lnet/minecraft/class_10157;field_53949:Lcom/mojang/serialization/Codec;official aLghz;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10157
public class_10157(Identifier identifier, Identifier identifier2, List<class_10157.class_10158> list, List<class_10157.class_10159> list2, class_10149 class_10149)
-
-
Method Details
-
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). -
vertex
Returns the value of thevertexrecord component.- Returns:
- the value of the
vertexrecord component
-
fragment
Returns the value of thefragmentrecord component.- Returns:
- the value of the
fragmentrecord component
-
samplers
Returns the value of thesamplersrecord component.- Returns:
- the value of the
samplersrecord component
-
uniforms
Returns the value of theuniformsrecord component.- Returns:
- the value of the
uniformsrecord component
-
defines
Returns the value of thedefinesrecord component.- Returns:
- the value of the
definesrecord component
-