Interface INMSEntityBuilder


public interface INMSEntityBuilder
Interface for the version-specific EntityBuilder methods
  • Method Details

    • setArmorBonus

      INMSEntityBuilder 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 entity builder
      See Also:
    • setArmorToughnessBonus

      INMSEntityBuilder setArmorToughnessBonus(float bonus)
      Used for setting the armor toughness bonus attribute (0.0 to 20.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setAttackDamageBonus

      INMSEntityBuilder setAttackDamageBonus(float bonus)
      Used for setting the attack damage bonus (0.0 to 2048.0 default, 2.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setAttackKnockBack

      INMSEntityBuilder setAttackKnockBack(float bonus)
      Used for setting the attack knock back attribute (0.0 to 5.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setBurningTime

      INMSEntityBuilder setBurningTime(float bonus)
      Used for setting the burning timer multiplier attribute (0.0 to 1024.0, default 1)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setCameraDistance

      INMSEntityBuilder setCameraDistance(float bonus)
      Used for setting the camera distance attribute (0.0 to 32.0, default 4)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setExplosionKnockBackResistance

      INMSEntityBuilder setExplosionKnockBackResistance(float bonus)
      Used for setting the explosion knockback resistance attribute (0.0 to 1.0, default 0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setFallDamageMultiplier

      INMSEntityBuilder setFallDamageMultiplier(float bonus)
      Used for setting the fall damage multiplier attribute (0.0 to 100.0, default 1)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setFlyingSpeed

      INMSEntityBuilder setFlyingSpeed(float bonus)
      Used for setting the flight speed attribute (0.0 to 1024.0, default 0.4)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setFollowRange

      INMSEntityBuilder setFollowRange(float range)
      Used for setting the entity follow range attribute (0.0 to 2048, default 32.0)
      Parameters:
      range - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setGravity

      INMSEntityBuilder setGravity(float bonus)
      Used for setting the gravity attribute (-1.0 to 1.0, default 0.08)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setKnockBackResistance

      INMSEntityBuilder setKnockBackResistance(float bonus)
      Used for setting the knock back resistance attribute (0.0 to 1.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setMaxAbsorption

      INMSEntityBuilder 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 entity builder
      See Also:
    • setMaxHealth

      INMSEntityBuilder 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 entity builder
      See Also:
    • setMovementSpeed

      INMSEntityBuilder setMovementSpeed(float bonus)
      Used for setting the entity movement speed attribute (0.0 to 1024.0, default depends on entity)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setJumpStrength

      INMSEntityBuilder setJumpStrength(float bonus)
      Used for setting the jump strength attribute (0.0 to 2.0, default 0.7)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setEntityScale

      INMSEntityBuilder setEntityScale(float bonus)
      Used for setting the entity scale attribute (0.0625 to 16.0, default 1.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setStepHeight

      INMSEntityBuilder 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 entity builder
      See Also:
    • spawnReinforcements

      INMSEntityBuilder spawnReinforcements(float spawn)
      Used for setting the spawn reinforcements attribute (0.0 to 1.0, default is random between 0.0 and 0.1)
      Parameters:
      spawn - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setMovementEfficiency

      INMSEntityBuilder setMovementEfficiency(float bonus)
      Used for setting the movement efficiency attribute (0.0 to 1.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setOxygenBonus

      INMSEntityBuilder 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 entity builder
      See Also:
    • setSafeFallDistance

      INMSEntityBuilder setSafeFallDistance(float bonus)
      Used for setting the safe fall distance attribute (-1024.0 to 1024.0, default 3.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setTemptRange

      INMSEntityBuilder setTemptRange(float bonus)
      Used for setting the temptation range attribute (0.0 to 2048.0, default 10.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setWaterMoveEfficiency

      INMSEntityBuilder setWaterMoveEfficiency(float bonus)
      Used for setting the water move efficiency attribute (0.0 to 1.0, default 0.0)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setWaypointReceiveRange

      INMSEntityBuilder setWaypointReceiveRange(float bonus)
      Used for setting the waypoint receive range attribute (0.0 to 60,000,000.0, default 60,000,000.0 for players and 0.0 for other mobs)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • setWaypointTransmitRange

      INMSEntityBuilder setWaypointTransmitRange(float bonus)
      Used for setting the waypoint transmit range attribute (0.0 to 60,000,000.0, default 60,000,000.0 for players and 0.0 for other mobs)
      Parameters:
      bonus - The value for the attribute
      Returns:
      the current NMS entity builder
      See Also:
    • getEntity

      org.bukkit.entity.LivingEntity getEntity()
      Used for getting the altered entity
      Returns:
      The LivingEntity