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)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBevelCogWheelClientSet(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth) Creates an instance of aBevelCogWheelClientSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic final BevelCogWheelClientSetcreate()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.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CREATE
-
-
Constructor Details
-
BevelCogWheelClientSet
public BevelCogWheelClientSet(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth) Creates an instance of aBevelCogWheelClientSetrecord class.- Parameters:
fourTeeth- the value for thefourTeethrecord componentfiveTeeth- the value for thefiveTeethrecord component
-
-
Method Details
-
create
-
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
-