PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
|
Public Member Functions | |
__toString () | |
equals (Tag $that) | |
getType () | |
getValue () | |
safeClone () | |
toString (int $indentation=0) | |
write (NbtStreamWriter $writer) | |
Protected Member Functions | |
getTypeName () | |
makeCopy () | |
stringifyValue (int $indentation) | |
Static Protected Member Functions | |
static | restrictArgCount (string $func, int $haveArgs, int $wantMaxArgs) |
Protected Attributes | |
$cloning = false | |
pocketmine\nbt\tag\Tag::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 in pocketmine\nbt\tag\CompoundTag, pocketmine\nbt\tag\FloatTag, and pocketmine\nbt\tag\ListTag.
|
abstract |
Reimplemented in pocketmine\nbt\tag\ByteArrayTag, pocketmine\nbt\tag\CompoundTag, pocketmine\nbt\tag\DoubleTag, pocketmine\nbt\tag\FloatTag, pocketmine\nbt\tag\IntArrayTag, pocketmine\nbt\tag\ListTag, and pocketmine\nbt\tag\StringTag.
Referenced by pocketmine\data\bedrock\block\convert\BlockStateReader\readBool(), pocketmine\data\bedrock\block\convert\BlockStateReader\readInt(), and pocketmine\data\bedrock\block\convert\BlockStateReader\readString().
|
abstractprotected |
Reimplemented in pocketmine\nbt\tag\CompoundTag, pocketmine\nbt\tag\ImmutableTag, and pocketmine\nbt\tag\ListTag.
|
staticprotected |
pocketmine\nbt\tag\Tag::safeClone | ( | ) |
|
final |