Record Class PostChainConfig
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.PostChainConfig
public record PostChainConfig(Map<Identifier, PostChainConfig.InternalTarget> internalTargets, List<PostChainConfig.Pass> passes)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final recordstatic final recordstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PostChainConfig> private final Map<Identifier, PostChainConfig.InternalTarget> The field for theinternalTargetsrecord component.private final List<PostChainConfig.Pass> The field for thepassesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPostChainConfig(Map<Identifier, PostChainConfig.InternalTarget> internalTargets, List<PostChainConfig.Pass> passes) Creates an instance of aPostChainConfigrecord class. -
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 theinternalTargetsrecord component.passes()Returns the value of thepassesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
internalTargets
The field for theinternalTargetsrecord component. -
passes
The field for thepassesrecord component. -
CODEC
-
-
Constructor Details
-
PostChainConfig
public PostChainConfig(Map<Identifier, PostChainConfig.InternalTarget> internalTargets, List<PostChainConfig.Pass> passes) Creates an instance of aPostChainConfigrecord class.- Parameters:
internalTargets- the value for theinternalTargetsrecord componentpasses- the value for thepassesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
internalTargets
Returns the value of theinternalTargetsrecord component.- Returns:
- the value of the
internalTargetsrecord component
-
passes
Returns the value of thepassesrecord component.- Returns:
- the value of the
passesrecord component
-