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$TargetSampler
intermediary net/minecraft/class_9962$class_9968
official glp$f
named samplerName
intermediary comp_3024
official c
named targetId
intermediary comp_3025
official d
named useDepthBuffer
intermediary comp_3026
official e
named bilinear
intermediary comp_3027
official f
  • Field Details

    • samplerName

      private final String samplerName
      The field for the samplerName record component.
    • targetId

      private final Identifier targetId
      The field for the targetId record component.
    • useDepthBuffer

      private final boolean useDepthBuffer
      The field for the useDepthBuffer record component.
    • bilinear

      private final boolean bilinear
      The field for the bilinear record component.
    • CODEC

      public static final com.mojang.serialization.Codec<PostEffectPipeline.TargetSampler> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/gl/PostEffectPipeline$TargetSampler;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_53118 Lnet/minecraft/class_9962$class_9968;field_53118:Lcom/mojang/serialization/Codec;
      official b Lglp$f;b:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • TargetSampler

      public TargetSampler(String string, Identifier identifier, boolean bool, boolean bool2)
  • Method Details

    • getTargetId

      public Set<Identifier> getTargetId()
      Specified by:
      getTargetId in interface PostEffectPipeline.Input
      Mappings:
      Namespace Name Mixin selector
      named getTargetId Lnet/minecraft/client/gl/PostEffectPipeline$Input;getTargetId()Ljava/util/Set;
      intermediary method_62246 Lnet/minecraft/class_9962$class_9965;method_62246()Ljava/util/Set;
      official b Lglp$c;b()Ljava/util/Set;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • samplerName

      public String samplerName()
      Returns the value of the samplerName record component.
      Specified by:
      samplerName in interface PostEffectPipeline.Input
      Returns:
      the value of the samplerName record component
    • targetId

      public Identifier targetId()
      Returns the value of the targetId record component.
      Returns:
      the value of the targetId record component
    • useDepthBuffer

      public boolean useDepthBuffer()
      Returns the value of the useDepthBuffer record component.
      Returns:
      the value of the useDepthBuffer record component
    • bilinear

      public boolean bilinear()
      Returns the value of the bilinear record component.
      Returns:
      the value of the bilinear record component