Package net.minecraft.client.gl
Record Class ShaderLoader.Definitions
java.lang.Object
java.lang.Record
net.minecraft.client.gl.ShaderLoader.Definitions
- Record Components:
shaderSources-postChains-
- Enclosing class:
ShaderLoader
@Environment(CLIENT)
public static record ShaderLoader.Definitions(Map<ShaderLoader.ShaderSourceKey,String> shaderSources, Map<Identifier,PostEffectPipeline> postChains)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/ShaderLoader$Definitionsintermediary net/minecraft/class_10151$class_10153official gsf$cnamed shaderSourcesintermediary comp_3106official bnamed postChainsintermediary comp_3107official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ShaderLoader.Definitionsprivate final Map<Identifier, PostEffectPipeline> The field for thepostChainsrecord component.private final Map<ShaderLoader.ShaderSourceKey, String> The field for theshaderSourcesrecord component. -
Constructor Summary
ConstructorsConstructorDescription -
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.Returns the value of thepostChainsrecord component.Returns the value of theshaderSourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
shaderSources
The field for theshaderSourcesrecord component. -
postChains
The field for thepostChainsrecord component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/client/gl/ShaderLoader$Definitions;EMPTY:Lnet/minecraft/client/gl/ShaderLoader$Definitions;intermediary field_53948Lnet/minecraft/class_10151$class_10153;field_53948:Lnet/minecraft/class_10151$class_10153;official aLgsf$c;a:Lgsf$c;
-
-
Constructor Details
-
Definitions
public Definitions(Map<ShaderLoader.ShaderSourceKey, String> map, Map<Identifier, PostEffectPipeline> map2)
-
-
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). -
shaderSources
Returns the value of theshaderSourcesrecord component.- Returns:
- the value of the
shaderSourcesrecord component
-
postChains
Returns the value of thepostChainsrecord component.- Returns:
- the value of the
postChainsrecord component
-