HyCodeYourTale
classpublicPriority 1

StandardPhysicsConfig

com.hypixel.hytale.server.core.modules.projectile.config.StandardPhysicsConfig

implements PhysicsConfig

10

Methods

10

Public Methods

21

Fields

1

Constructors

Constants

BuilderCodec<StandardPhysicsConfig>CODEC= BuilderCodec.builder(StandardPhysicsConfig.class, StandardPhysicsConfig::new) .appendInheri...
StandardPhysicsConfigDEFAULT= new StandardPhysicsConfig()
doubleHIT_WATER_IMPULSE_LOSS= 0.2
doubleROTATION_FORCE= 3.0
floatSPEED_ROTATION_FACTOR= 2.0F
doubleSWIMMING_DAMPING_FACTOR= 1.0

Constructors

public
StandardPhysicsConfig()

Methods

Public Methods (10)

public
int getBounceCount()
public
double getBounceLimit()
public
double getBounciness()
public
double getGravity()
@Override
public
double getHitWaterImpulseLoss()
public
double getRollingFrictionFactor()
public
double getSwimmingDampingFactor()
public
boolean isAllowRolling()
public
boolean isSticksVertically()
public
com.hypixel.hytale.protocol.PhysicsConfig toPacket()
@Nonnull

Fields

Protected Fields (21)

protectedboolean allowRolling
protectedint bounceCount
protecteddouble bounceLimit
protecteddouble bounciness
protectedboolean computePitch
protectedboolean computeYaw
protecteddouble density
protecteddouble densityAir
protecteddouble densityWater
protecteddouble gravity
protecteddouble hitWaterImpulseLoss
protecteddouble moveOutOfSolidSpeed
protecteddouble rollingFrictionFactor
protectedfloat rollingSpeed
protecteddouble rotationForce
protectedRotationMode rotationMode
protectedfloat speedRotationFactor
protectedboolean sticksVertically
protecteddouble swimmingDampingFactor
protecteddouble terminalVelocityAir
protecteddouble terminalVelocityWater

Related Classes