Package net.minecraft.client.gl
Record Class PostEffectPipeline.TargetSampler
java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPipeline.TargetSampler
- Record Components:
samplerName-targetId-useDepthBuffer-bilinear-
- All Implemented Interfaces:
PostEffectPipeline.Input
- Enclosing class:
PostEffectPipeline
@Environment(CLIENT)
public static record PostEffectPipeline.TargetSampler(String samplerName, Identifier targetId, boolean useDepthBuffer, boolean bilinear)
extends Record
implements PostEffectPipeline.Input
- Mappings:
Namespace Name named net/minecraft/client/gl/PostEffectPipeline$TargetSamplerintermediary net/minecraft/class_9962$class_9968official grs$fnamed samplerNameintermediary comp_3024official cnamed targetIdintermediary comp_3025official dnamed useDepthBufferintermediary comp_3026official enamed bilinearintermediary comp_3027official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thebilinearrecord component.static final com.mojang.serialization.Codec<PostEffectPipeline.TargetSampler> private final StringThe field for thesamplerNamerecord component.private final IdentifierThe field for thetargetIdrecord component.private final booleanThe field for theuseDepthBufferrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTargetSampler(String string, Identifier identifier, boolean bool, boolean bool2) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbilinear()Returns the value of thebilinearrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesamplerNamerecord component.targetId()Returns the value of thetargetIdrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseDepthBufferrecord component.
-
Field Details
-
samplerName
The field for thesamplerNamerecord component. -
targetId
The field for thetargetIdrecord component. -
useDepthBuffer
private final boolean useDepthBufferThe field for theuseDepthBufferrecord component. -
bilinear
private final boolean bilinearThe field for thebilinearrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/gl/PostEffectPipeline$TargetSampler;CODEC:Lcom/mojang/serialization/Codec;intermediary field_53118Lnet/minecraft/class_9962$class_9968;field_53118:Lcom/mojang/serialization/Codec;official bLgrs$f;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
TargetSampler
-
-
Method Details
-
getTargetId
- Specified by:
getTargetIdin interfacePostEffectPipeline.Input- Mappings:
Namespace Name Mixin selector named getTargetIdLnet/minecraft/client/gl/PostEffectPipeline$Input;getTargetId()Ljava/util/Set;intermediary method_62246Lnet/minecraft/class_9962$class_9965;method_62246()Ljava/util/Set;official bLgrs$c;b()Ljava/util/Set;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
samplerName
Returns the value of thesamplerNamerecord component.- Specified by:
samplerNamein interfacePostEffectPipeline.Input- Returns:
- the value of the
samplerNamerecord component
-
targetId
Returns the value of thetargetIdrecord component.- Returns:
- the value of the
targetIdrecord component
-
useDepthBuffer
public boolean useDepthBuffer()Returns the value of theuseDepthBufferrecord component.- Returns:
- the value of the
useDepthBufferrecord component
-
bilinear
public boolean bilinear()Returns the value of thebilinearrecord component.- Returns:
- the value of the
bilinearrecord component
-