Definition at line 32 of file FloatTag.php.
◆ __construct()
| pocketmine\nbt\tag\FloatTag::__construct |
( |
float | $value | ) |
|
◆ __toString()
| pocketmine\nbt\tag\Tag::__toString |
( |
| ) |
|
|
inherited |
◆ equals()
| pocketmine\nbt\tag\FloatTag::equals |
( |
Tag | $that | ) |
|
Compares this Tag to the given Tag and determines whether or not they are equal, based on type and value. Complex tag types should override this to provide proper value comparison.
Reimplemented from pocketmine\nbt\tag\Tag.
Definition at line 65 of file FloatTag.php.
◆ getType()
| pocketmine\nbt\tag\FloatTag::getType |
( |
| ) |
|
◆ getTypeName()
| pocketmine\nbt\tag\FloatTag::getTypeName |
( |
| ) |
|
|
protected |
◆ getValue()
| pocketmine\nbt\tag\FloatTag::getValue |
( |
| ) |
|
◆ makeCopy()
| pocketmine\nbt\tag\ImmutableTag::makeCopy |
( |
| ) |
|
|
protectedinherited |
◆ read()
◆ restrictArgCount()
| static pocketmine\nbt\tag\Tag::restrictArgCount |
( |
string | $func, |
|
|
int | $haveArgs, |
|
|
int | $wantMaxArgs ) |
|
staticprotectedinherited |
◆ safeClone()
| pocketmine\nbt\tag\Tag::safeClone |
( |
| ) |
|
|
inherited |
Clones this tag safely, detecting recursive dependencies which would otherwise cause an infinite cloning loop. Used for cloning tags in tags that have children.
- Exceptions
-
RuntimeException if a recursive dependency was detected
- Returns
- static
Definition at line 62 of file Tag.php.
◆ stringifyValue()
| pocketmine\nbt\tag\FloatTag::stringifyValue |
( |
int | $indentation | ) |
|
|
protected |
◆ toString()
| pocketmine\nbt\tag\Tag::toString |
( |
int | $indentation = 0 | ) |
|
|
finalinherited |
◆ write()
◆ $cloning
| pocketmine\nbt\tag\Tag::$cloning = false |
|
protectedinherited |
The documentation for this class was generated from the following file: