PocketMine-MP 5.24.1 git-39e69276a1bbe86ebd583e834381e5bc73948564
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\entity\Attribute Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\entity\Attribute:

Public Member Functions

 __construct (private string $id, private float $min, private float $max, private float $current, private float $default, private array $modifiers)
 
 getCurrent ()
 
 getDefault ()
 
 getId ()
 
 getMax ()
 
 getMin ()
 
 getModifiers ()
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\entity\Attribute::__construct ( private string $id,
private float $min,
private float $max,
private float $current,
private float $default,
private array $modifiers )
Parameters
AttributeModifier[]$modifiers

Definition at line 21 of file vendor/pocketmine/bedrock-protocol/src/types/entity/Attribute.php.

Member Function Documentation

◆ getCurrent()

pocketmine\network\mcpe\protocol\types\entity\Attribute::getCurrent ( )

◆ getDefault()

pocketmine\network\mcpe\protocol\types\entity\Attribute::getDefault ( )

◆ getId()

pocketmine\network\mcpe\protocol\types\entity\Attribute::getId ( )

◆ getMax()

pocketmine\network\mcpe\protocol\types\entity\Attribute::getMax ( )

◆ getMin()

pocketmine\network\mcpe\protocol\types\entity\Attribute::getMin ( )

◆ getModifiers()

pocketmine\network\mcpe\protocol\types\entity\Attribute::getModifiers ( )
Returns
AttributeModifier[]

Definition at line 53 of file vendor/pocketmine/bedrock-protocol/src/types/entity/Attribute.php.


The documentation for this class was generated from the following file: