Record Class BevelCogWheelClientSet

java.lang.Object
java.lang.Record
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.BevelCogWheelClientSet

public record BevelCogWheelClientSet(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel shaft, dev.engine_room.flywheel.lib.model.baked.PartialModel cogCap, dev.engine_room.flywheel.lib.model.baked.PartialModel diagonalShaft) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    BevelCogWheelClientSet(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel shaft, dev.engine_room.flywheel.lib.model.baked.PartialModel cogCap, dev.engine_room.flywheel.lib.model.baked.PartialModel diagonalShaft)
    Creates an instance of a BevelCogWheelClientSet record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.engine_room.flywheel.lib.model.baked.PartialModel
    Returns the value of the cogCap record component.
    dev.engine_room.flywheel.lib.model.baked.PartialModel
    Returns the value of the diagonalShaft record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    dev.engine_room.flywheel.lib.model.baked.PartialModel
    Returns the value of the fiveTeeth record component.
    dev.engine_room.flywheel.lib.model.baked.PartialModel
    Returns the value of the fourTeeth record component.
    final int
    Returns a hash code value for this object.
    dev.engine_room.flywheel.lib.model.baked.PartialModel
    Returns the value of the shaft record component.
    final String
    Returns a string representation of this record class.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BevelCogWheelClientSet

      public BevelCogWheelClientSet(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel shaft, dev.engine_room.flywheel.lib.model.baked.PartialModel cogCap, dev.engine_room.flywheel.lib.model.baked.PartialModel diagonalShaft)
      Creates an instance of a BevelCogWheelClientSet record class.
      Parameters:
      fourTeeth - the value for the fourTeeth record component
      fiveTeeth - the value for the fiveTeeth record component
      shaft - the value for the shaft record component
      cogCap - the value for the cogCap record component
      diagonalShaft - the value for the diagonalShaft record component
  • Method Details

    • vanilla

      public static final BevelCogWheelClientSet vanilla()
    • 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 o)
      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:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • fourTeeth

      public dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth()
      Returns the value of the fourTeeth record component.
      Returns:
      the value of the fourTeeth record component
    • fiveTeeth

      public dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth()
      Returns the value of the fiveTeeth record component.
      Returns:
      the value of the fiveTeeth record component
    • shaft

      public dev.engine_room.flywheel.lib.model.baked.PartialModel shaft()
      Returns the value of the shaft record component.
      Returns:
      the value of the shaft record component
    • cogCap

      public dev.engine_room.flywheel.lib.model.baked.PartialModel cogCap()
      Returns the value of the cogCap record component.
      Returns:
      the value of the cogCap record component
    • diagonalShaft

      public dev.engine_room.flywheel.lib.model.baked.PartialModel diagonalShaft()
      Returns the value of the diagonalShaft record component.
      Returns:
      the value of the diagonalShaft record component