Record Class Breasts.Physics
java.lang.Object
java.lang.Record
com.wildfire.common.entitydata.Breasts.Physics
- Record Components:
uniboob- Determines if breast physics should be independent of each other; also referred to as Dual-Physics in the UI.falseif physics should be independent on each breast,trueif both should use the same physics
- Enclosing class:
Breasts
public static record Breasts.Physics(ConfigValue<Boolean> enabled, ConfigValue<Boolean> uniboob, ConfigValue<Float> bounceMultiplier, ConfigValue<Float> floppiness)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPhysics(ConfigValue<Boolean> enabled, ConfigValue<Boolean> uniboob, ConfigValue<Float> bounceMultiplier, ConfigValue<Float> floppiness) Creates an instance of aPhysicsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebounceMultiplierrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefloppinessrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.uniboob()Returns the value of theuniboobrecord component.
-
Constructor Details
-
Physics
public Physics(ConfigValue<Boolean> enabled, ConfigValue<Boolean> uniboob, ConfigValue<Float> bounceMultiplier, ConfigValue<Float> floppiness) Creates an instance of aPhysicsrecord class.- Parameters:
enabled- the value for theenabledrecord componentuniboob- the value for theuniboobrecord componentbounceMultiplier- the value for thebounceMultiplierrecord componentfloppiness- the value for thefloppinessrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
uniboob
-
bounceMultiplier
Returns the value of thebounceMultiplierrecord component.- Returns:
- the value of the
bounceMultiplierrecord component
-
floppiness
Returns the value of thefloppinessrecord component.- Returns:
- the value of the
floppinessrecord component
-