Package net.minecraft

Record Class class_11254

java.lang.Object
java.lang.Record
net.minecraft.class_11254
Record Components:
signModel -
woodType -
x0 -
y0 -
x1 -
y1 -
z -
scale -
layer -
scissorArea -
All Implemented Interfaces:
class_11256

@Environment(CLIENT) public record class_11254(Model signModel, WoodType woodType, int x0, int y0, int x1, int y1, float z, float scale, class_11227 layer, @Nullable ScreenRect scissorArea) extends Record implements class_11256
Mappings:
Namespace Name
named net/minecraft/class_11254
intermediary net/minecraft/class_11254
official gab
named signModel
intermediary comp_4139
official a
named woodType
intermediary comp_4140
official b
named x0
intermediary comp_4122
official c
named y0
intermediary comp_4123
official d
named x1
intermediary comp_4124
official e
named y1
intermediary comp_4125
official f
named z
intermediary comp_4126
official g
named scale
intermediary comp_4133
official h
named layer
intermediary comp_4127
official i
named scissorArea
intermediary comp_4128
official j
  • Field Details

    • signModel

      private final Model signModel
      The field for the signModel record component.
    • woodType

      private final WoodType woodType
      The field for the woodType record component.
    • x0

      private final int x0
      The field for the x0 record component.
    • y0

      private final int y0
      The field for the y0 record component.
    • x1

      private final int x1
      The field for the x1 record component.
    • y1

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

      private final float z
      The field for the z record component.
    • scale

      private final float scale
      The field for the scale record component.
    • layer

      private final class_11227 layer
      The field for the layer record component.
    • scissorArea

      @Nullable private final @Nullable ScreenRect scissorArea
      The field for the scissorArea record component.
  • 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. 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.
    • signModel

      public Model signModel()
      Returns the value of the signModel record component.
      Returns:
      the value of the signModel record component
    • woodType

      public WoodType woodType()
      Returns the value of the woodType record component.
      Returns:
      the value of the woodType record component
    • x0

      public int x0()
      Returns the value of the x0 record component.
      Specified by:
      x0 in interface class_11256
      Returns:
      the value of the x0 record component
    • y0

      public int y0()
      Returns the value of the y0 record component.
      Specified by:
      y0 in interface class_11256
      Returns:
      the value of the y0 record component
    • x1

      public int x1()
      Returns the value of the x1 record component.
      Specified by:
      x1 in interface class_11256
      Returns:
      the value of the x1 record component
    • y1

      public int y1()
      Returns the value of the y1 record component.
      Specified by:
      y1 in interface class_11256
      Returns:
      the value of the y1 record component
    • z

      public float z()
      Returns the value of the z record component.
      Specified by:
      z in interface class_11256
      Returns:
      the value of the z record component
    • scale

      public float scale()
      Returns the value of the scale record component.
      Specified by:
      scale in interface class_11256
      Returns:
      the value of the scale record component
    • layer

      public class_11227 layer()
      Returns the value of the layer record component.
      Specified by:
      layer in interface class_11256
      Returns:
      the value of the layer record component
    • scissorArea

      @Nullable public @Nullable ScreenRect scissorArea()
      Returns the value of the scissorArea record component.
      Specified by:
      scissorArea in interface class_11256
      Returns:
      the value of the scissorArea record component