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
ConstructorsConstructorDescriptionBevelCogWheelClientSet(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 aBevelCogWheelClientSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondev.engine_room.flywheel.lib.model.baked.PartialModelcogCap()Returns the value of thecogCaprecord component.dev.engine_room.flywheel.lib.model.baked.PartialModelReturns the value of thediagonalShaftrecord component.final booleanIndicates whether some other object is "equal to" this one.dev.engine_room.flywheel.lib.model.baked.PartialModelReturns the value of thefiveTeethrecord component.dev.engine_room.flywheel.lib.model.baked.PartialModelReturns the value of thefourTeethrecord component.final inthashCode()Returns a hash code value for this object.dev.engine_room.flywheel.lib.model.baked.PartialModelshaft()Returns the value of theshaftrecord component.final StringtoString()Returns a string representation of this record class.static final BevelCogWheelClientSetvanilla()
-
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 aBevelCogWheelClientSetrecord class.- Parameters:
fourTeeth- the value for thefourTeethrecord componentfiveTeeth- the value for thefiveTeethrecord componentshaft- the value for theshaftrecord componentcogCap- the value for thecogCaprecord componentdiagonalShaft- the value for thediagonalShaftrecord component
-
-
Method Details
-
vanilla
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
fourTeeth
public dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth()Returns the value of thefourTeethrecord component.- Returns:
- the value of the
fourTeethrecord component
-
fiveTeeth
public dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth()Returns the value of thefiveTeethrecord component.- Returns:
- the value of the
fiveTeethrecord component
-
shaft
public dev.engine_room.flywheel.lib.model.baked.PartialModel shaft()Returns the value of theshaftrecord component.- Returns:
- the value of the
shaftrecord component
-
cogCap
public dev.engine_room.flywheel.lib.model.baked.PartialModel cogCap()Returns the value of thecogCaprecord component.- Returns:
- the value of the
cogCaprecord component
-
diagonalShaft
public dev.engine_room.flywheel.lib.model.baked.PartialModel diagonalShaft()Returns the value of thediagonalShaftrecord component.- Returns:
- the value of the
diagonalShaftrecord component
-