PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
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 
)

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 ( )

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