Record Class DynamicUniforms.class_12294

java.lang.Object
java.lang.Record
net.minecraft.client.gl.DynamicUniforms.class_12294
Record Components:
modelView -
x -
y -
z -
visibility -
textureAtlasWidth -
textureAtlasHeight -
All Implemented Interfaces:
DynamicUniformStorage.Uploadable
Enclosing class:
DynamicUniforms

@Environment(CLIENT) public static record DynamicUniforms.class_12294(Matrix4fc modelView, int x, int y, int z, float visibility, int textureAtlasWidth, int textureAtlasHeight) extends Record implements DynamicUniformStorage.Uploadable
Mappings:
Namespace Name
named net/minecraft/client/gl/DynamicUniforms$class_12294
intermediary net/minecraft/class_11282$class_12294
official hjl$a
named modelView
intermediary comp_5182
official a
named x
intermediary comp_5183
official b
named y
intermediary comp_5184
official c
named z
intermediary comp_5185
official d
named visibility
intermediary comp_5186
official e
named textureAtlasWidth
intermediary comp_5187
official f
named textureAtlasHeight
intermediary comp_5188
official g
  • Field Details

    • modelView

      private final Matrix4fc modelView
      The field for the modelView record component.
    • x

      private final int x
      The field for the x record component.
    • y

      private final int y
      The field for the y record component.
    • z

      private final int z
      The field for the z record component.
    • visibility

      private final float visibility
      The field for the visibility record component.
    • textureAtlasWidth

      private final int textureAtlasWidth
      The field for the textureAtlasWidth record component.
    • textureAtlasHeight

      private final int textureAtlasHeight
      The field for the textureAtlasHeight record component.
  • Constructor Details

    • class_12294

      public class_12294(Matrix4fc modelView, int x, int y, int z, float visibility, int textureAtlasWidth, int textureAtlasHeight)
      Creates an instance of a class_12294 record class.
      Parameters:
      modelView - the value for the modelView record component
      x - the value for the x record component
      y - the value for the y record component
      z - the value for the z record component
      visibility - the value for the visibility record component
      textureAtlasWidth - the value for the textureAtlasWidth record component
      textureAtlasHeight - the value for the textureAtlasHeight record component
  • Method Details

    • write

      public void write(ByteBuffer buffer)
      Specified by:
      write in interface DynamicUniformStorage.Uploadable
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/client/gl/DynamicUniformStorage$Uploadable;write(Ljava/nio/ByteBuffer;)V
      intermediary method_71104 Lnet/minecraft/class_11280$class_11281;method_71104(Ljava/nio/ByteBuffer;)V
      official a Lhjk$a;a(Ljava/nio/ByteBuffer;)V
    • 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.
    • modelView

      public Matrix4fc modelView()
      Returns the value of the modelView record component.
      Returns:
      the value of the modelView record component
    • x

      public int x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public int y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • z

      public int z()
      Returns the value of the z record component.
      Returns:
      the value of the z record component
    • visibility

      public float visibility()
      Returns the value of the visibility record component.
      Returns:
      the value of the visibility record component
    • textureAtlasWidth

      public int textureAtlasWidth()
      Returns the value of the textureAtlasWidth record component.
      Returns:
      the value of the textureAtlasWidth record component
    • textureAtlasHeight

      public int textureAtlasHeight()
      Returns the value of the textureAtlasHeight record component.
      Returns:
      the value of the textureAtlasHeight record component