Record Class PostEffectPipeline.Uniform

java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPipeline.Uniform
Record Components:
name -
values -
Enclosing class:
PostEffectPipeline

@Environment(CLIENT) public static record PostEffectPipeline.Uniform(String name, List<Float> values) extends Record
Mappings:
Namespace Name
named net/minecraft/client/gl/PostEffectPipeline$Uniform
intermediary net/minecraft/class_9962$class_9970
official glp$h
named name
intermediary comp_3032
official b
named values
intermediary comp_3033
official c
  • Field Details

    • name

      private final String name
      The field for the name record component.
    • values

      private final List<Float> values
      The field for the values record component.
    • CODEC

      public static final com.mojang.serialization.Codec<PostEffectPipeline.Uniform> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/gl/PostEffectPipeline$Uniform;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_53120 Lnet/minecraft/class_9962$class_9970;field_53120:Lcom/mojang/serialization/Codec;
      official a Lglp$h;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • values

      public List<Float> values()
      Returns the value of the values record component.
      Returns:
      the value of the values record component