Interface INMSPlayerAttributeModifier


public interface INMSPlayerAttributeModifier
  • Method Details

    • setArmorBonus

      INMSPlayerAttributeModifier setArmorBonus(float bonus)
      Used for setting the armor bonus attribute (0.0 to 30.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetArmorBonus

      default INMSPlayerAttributeModifier resetArmorBonus()
      Resets the armor bonus attribute to 0.0
      Returns:
      the current NMS player modifier
    • setArmorToughness

      INMSPlayerAttributeModifier setArmorToughness(float toughness)
      Used for setting the armor toughness attribute (0.0 to 20.0, default 0.0)
      Parameters:
      toughness - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetArmorToughness

      default INMSPlayerAttributeModifier resetArmorToughness()
      Resets the armor toughness attribute to 0.0
      Returns:
      the current NMS player modifier
    • setAttackDamage

      INMSPlayerAttributeModifier setAttackDamage(float damage)
      Used for setting the attack damage attribute (0.0 to 2048.0 default, 1.0)
      Parameters:
      damage - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetAttackDamage

      default INMSPlayerAttributeModifier resetAttackDamage()
      Resets the attack damage attribute to 1.0
      Returns:
      the current NMS player modifier
    • setAttackKnockBack

      INMSPlayerAttributeModifier setAttackKnockBack(float knockBack)
      Used for setting the attack knock back attribute (0.0 to 5.0, default 0.0)
      Parameters:
      knockBack - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetAttackKnockBack

      default INMSPlayerAttributeModifier resetAttackKnockBack()
      Resets the attack knock back attribute to 0.0
      Returns:
      the current NMS player modifier
    • setAttackSpeed

      INMSPlayerAttributeModifier setAttackSpeed(float speed)
      Used for setting the attack speed attribute (0.0 to 1024.0, default 4)
      Parameters:
      speed - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetAttackSpeed

      default INMSPlayerAttributeModifier resetAttackSpeed()
      Resets the attack speed attribute to 4.0
      Returns:
      the current NMS player modifier
    • setBlockBreakSpeed

      INMSPlayerAttributeModifier setBlockBreakSpeed(float speed)
      Used for setting the block breaking speed attribute (0.0 to 1024.0, default 1)
      Parameters:
      speed - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetBlockBreakSpeed

      default INMSPlayerAttributeModifier resetBlockBreakSpeed()
      Resets the block break speed multiplier attribute to 1.0
      Returns:
      the current NMS player modifier
    • setBurningTime

      INMSPlayerAttributeModifier setBurningTime(float multiplier)
      Used for setting the burning timer multiplier attribute (0.0 to 1024.0, default 1)
      Parameters:
      multiplier - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetBurningTime

      default INMSPlayerAttributeModifier resetBurningTime()
      Resets the burning time multiplier attribute to 1.0
      Returns:
      the current NMS player modifier
    • setCameraDistance

      INMSPlayerAttributeModifier setCameraDistance(float distance)
      Used for setting the camera distance attribute (0.0 to 32.0, default 4)
      Parameters:
      distance - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetCameraDistance

      default INMSPlayerAttributeModifier resetCameraDistance()
      Resets the camera distance attribute to 4.0
      Returns:
      the current NMS player modifier
    • setExplosionKnockBackResistance

      INMSPlayerAttributeModifier setExplosionKnockBackResistance(float resistance)
      Used for setting the explosion knock back resistance attribute (0.0 to 1.0, default 0)
      Parameters:
      resistance - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetExplosionKnockBackResistance

      default INMSPlayerAttributeModifier resetExplosionKnockBackResistance()
      Resets the explosion knock back resistance attribute to 0.0
      Returns:
      the current NMS player modifier
    • setFallDamageMultiplier

      INMSPlayerAttributeModifier setFallDamageMultiplier(float multiplier)
      Used for setting the fall damage multiplier attribute (0.0 to 100.0, default 1.0)
      Parameters:
      multiplier - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetFallDamageMultiplier

      default INMSPlayerAttributeModifier resetFallDamageMultiplier()
      Resets the fall damage multiplier attribute to 1.0
      Returns:
      the current NMS player modifier
    • setGravity

      INMSPlayerAttributeModifier setGravity(float gravity)
      Used for setting the gravity attribute (-1.0 to 1.0, default 0.08)
      Parameters:
      gravity - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetGravity

      default INMSPlayerAttributeModifier resetGravity()
      Resets the gravity attribute to 0.08
      Returns:
      the current NMS player modifier
    • setKnockBackResistance

      INMSPlayerAttributeModifier setKnockBackResistance(float resistance)
      Used for setting the knock back resistance attribute (0.0 to 1.0, default 0.0)
      Parameters:
      resistance - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetKnockBackResistance

      default INMSPlayerAttributeModifier resetKnockBackResistance()
      Resets the knock back resistance attribute to 0.0
      Returns:
      the current NMS player modifier
    • setLuck

      INMSPlayerAttributeModifier setLuck(float luck)
      Used for setting the luck attribute (-1024.0 to 1024.0, default 0.0)
      Parameters:
      luck - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetLuck

      default INMSPlayerAttributeModifier resetLuck()
      Resets the luck attribute to 0.0
      Returns:
      the current NMS player modifier
    • setMaxAbsorption

      INMSPlayerAttributeModifier setMaxAbsorption(float max)
      Used for setting the maximum absorption attribute (0.0 to 2048.0, default 0.0)
      Parameters:
      max - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetMaxAbsorption

      default INMSPlayerAttributeModifier resetMaxAbsorption()
      Resets the max absorption attribute to
      Returns:
      the current NMS player modifier
    • setMaxHealth

      INMSPlayerAttributeModifier setMaxHealth(float max)
      Used for setting the maximum health attribute (0.0 to 1024.0, default 20.0)
      Parameters:
      max - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetMaxHealth

      default INMSPlayerAttributeModifier resetMaxHealth()
      Resets the max health attribute to 20.0
      Returns:
      the current NMS player modifier
    • setMovementSpeed

      INMSPlayerAttributeModifier setMovementSpeed(float speed)
      Used for setting the entity movement speed attribute (0.0 to 1024.0, default 0.1)
      Parameters:
      speed - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetMovementSpeed

      default INMSPlayerAttributeModifier resetMovementSpeed()
      Resets the movement speed attribute to 0.1
      Returns:
      the current NMS player modifier
    • setJumpStrength

      INMSPlayerAttributeModifier setJumpStrength(float strength)
      Used for setting the jump strength attribute (0.0 to 32.0, default 0.42)
      Parameters:
      strength - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetJumpStrength

      default INMSPlayerAttributeModifier resetJumpStrength()
      Resets the jump strength attribute to 0.42
      Returns:
      the current NMS player modifier
    • setEntityScale

      INMSPlayerAttributeModifier setEntityScale(float scale)
      Used for setting the entity scale attribute (0.0625 to 16.0, default 1.0)
      Parameters:
      scale - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetEntityScale

      default INMSPlayerAttributeModifier resetEntityScale()
      Resets the entity scale attribute to 1.0
      Returns:
      the current NMS player modifier
    • setBlockInteractionRange

      INMSPlayerAttributeModifier setBlockInteractionRange(float range)
      Used to set the entity interaction with block distance attribute (0.0 to 64, default 4.5)
      Parameters:
      range - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetBlockInteractionRange

      default INMSPlayerAttributeModifier resetBlockInteractionRange()
      Resets the block interaction range attribute to 4.5
      Returns:
      the current NMS player modifier
    • setEntityInteractionRange

      INMSPlayerAttributeModifier setEntityInteractionRange(float range)
      Used to set the entity interaction with entity distance attribute (0.0 to 64.0, default 3.0)
      Parameters:
      range - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetEntityInteractionRange

      default INMSPlayerAttributeModifier resetEntityInteractionRange()
      Resets the entity interaction range attribute to 3.0
      Returns:
      the current NMS player modifier
    • setStepHeight

      INMSPlayerAttributeModifier setStepHeight(float height)
      Used for setting the entity step height attribute (0.0 to 10.0, default 0.6)
      Parameters:
      height - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetStepHeight

      default INMSPlayerAttributeModifier resetStepHeight()
      Resets the step height attribute to 0.6
      Returns:
      the current NMS player modifier
    • setMiningEfficiency

      INMSPlayerAttributeModifier setMiningEfficiency(float efficiency)
      Used for setting the mining efficiency attribute (0.0 to 1024.0, default 0.0)
      Parameters:
      efficiency - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetMiningEfficiency

      default INMSPlayerAttributeModifier resetMiningEfficiency()
      Resets the mining efficiency attribute to 0.0
      Returns:
      the current NMS player modifier
    • setMovementEfficiency

      INMSPlayerAttributeModifier setMovementEfficiency(float efficiency)
      Used for setting the movement efficiency attribute (0.0 to 1.0, default 0.0)
      Parameters:
      efficiency - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetMovementEfficiency

      default INMSPlayerAttributeModifier resetMovementEfficiency()
      Resets the movement efficiency attribute to 0.0
      Returns:
      the current NMS player modifier
    • setOxygenBonus

      INMSPlayerAttributeModifier setOxygenBonus(float bonus)
      Used for setting the oxygen bonus attribute (0.0 to 1024.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetOxygenBonus

      default INMSPlayerAttributeModifier resetOxygenBonus()
      Resets the oxygen bonus attribute to 0.0
      Returns:
      the current NMS player modifier
    • setSafeFallDistance

      INMSPlayerAttributeModifier setSafeFallDistance(float distance)
      Used for setting the safe fall distance attribute (-1024.0 to 1024.0, default 3.0)
      Parameters:
      distance - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetSafeFallDistance

      default INMSPlayerAttributeModifier resetSafeFallDistance()
      Resets the safe fall distance attribute to 3.0
      Returns:
      the current NMS player modifier
    • setSneakingSpeed

      INMSPlayerAttributeModifier setSneakingSpeed(float speed)
      Used for setting the sneaking speed attribute (0.0 to 1.0, default 0.3)
      Parameters:
      speed - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetSneakingSpeed

      default INMSPlayerAttributeModifier resetSneakingSpeed()
      Resets the sneaking speed attribute to 0.3
      Returns:
      the current NMS player modifier
    • setSubmergedMiningSpeed

      INMSPlayerAttributeModifier setSubmergedMiningSpeed(float speed)
      Used for setting the submerged mining speed attribute (0.0 to 20.0, default 0.2)
      Parameters:
      speed - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetSubmergedMiningSpeed

      default INMSPlayerAttributeModifier resetSubmergedMiningSpeed()
      Resets the submerged mining speed attribute to 0.2
      Returns:
      the current NMS player modifier
    • setSweepingDamageRatio

      INMSPlayerAttributeModifier setSweepingDamageRatio(float ratio)
      Used for setting the sweeping damage ratio attribute (0.0 to 1.0, default 0.0)
      Parameters:
      ratio - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetSweepingDamageRatio

      default INMSPlayerAttributeModifier resetSweepingDamageRatio()
      Resets the sweeping damage ratio attribute to 0.0
      Returns:
      the current NMS player modifier
    • setWaterMoveEfficiency

      INMSPlayerAttributeModifier setWaterMoveEfficiency(float efficiency)
      Used for setting the water move efficiency attribute (0.0 to 1.0, default 0.0)
      Parameters:
      efficiency - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetWaterMoveEfficiency

      default INMSPlayerAttributeModifier resetWaterMoveEfficiency()
      Resets the water movement efficiency attribute to 0.0
      Returns:
      the current NMS player modifier
    • setWaypointReceiveRange

      INMSPlayerAttributeModifier setWaypointReceiveRange(float range)
      Used for setting the waypoint receive range attribute (0.0 to 60,000,000.0, default 60,000,000.0)
      Parameters:
      range - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetWaypointReceiveRange

      default INMSPlayerAttributeModifier resetWaypointReceiveRange()
      Resets the waypoint receive range attribute to 60,000,000.0
      Returns:
      the current NMS player modifier
    • setWaypointTransmitRange

      INMSPlayerAttributeModifier setWaypointTransmitRange(float range)
      Used for setting the waypoint transmit range attribute (0.0 to 60,000,000.0, default 60,000,000.0)
      Parameters:
      range - The value for the attribute
      Returns:
      the current NMS player modifier
      See Also:
    • resetWaypointTransmitRange

      default INMSPlayerAttributeModifier resetWaypointTransmitRange()
      Resets the waypoint transmit range attribute to 60,000,000.0
      Returns:
      the current NMS player modifier