PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\world\particle\FloatingTextParticle Class Reference
+ Inheritance diagram for pocketmine\world\particle\FloatingTextParticle:
+ Collaboration diagram for pocketmine\world\particle\FloatingTextParticle:

Public Member Functions

 __construct (protected string $text, protected string $title="")
 
 encode (Vector3 $pos)
 
 getText ()
 
 getTitle ()
 
 isInvisible ()
 
 setInvisible (bool $value=true)
 
 setText (string $text)
 
 setTitle (string $title)
 

Protected Attributes

int $entityId = null
 
bool $invisible = false
 

Detailed Description

Definition at line 42 of file FloatingTextParticle.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\particle\FloatingTextParticle::__construct ( protected string $text,
protected string $title = "" )

Definition at line 48 of file FloatingTextParticle.php.

Member Function Documentation

◆ encode()

pocketmine\world\particle\FloatingTextParticle::encode ( Vector3 $pos)
Returns
ClientboundPacket[]

Implements pocketmine\world\particle\Particle.

Definition at line 77 of file FloatingTextParticle.php.

◆ getText()

pocketmine\world\particle\FloatingTextParticle::getText ( )

Definition at line 53 of file FloatingTextParticle.php.

◆ getTitle()

pocketmine\world\particle\FloatingTextParticle::getTitle ( )

Definition at line 61 of file FloatingTextParticle.php.

◆ isInvisible()

pocketmine\world\particle\FloatingTextParticle::isInvisible ( )

Definition at line 69 of file FloatingTextParticle.php.

◆ setInvisible()

pocketmine\world\particle\FloatingTextParticle::setInvisible ( bool $value = true)

Definition at line 73 of file FloatingTextParticle.php.

◆ setText()

pocketmine\world\particle\FloatingTextParticle::setText ( string $text)

Definition at line 57 of file FloatingTextParticle.php.

◆ setTitle()

pocketmine\world\particle\FloatingTextParticle::setTitle ( string $title)

Definition at line 65 of file FloatingTextParticle.php.

Member Data Documentation

◆ $entityId

int pocketmine\world\particle\FloatingTextParticle::$entityId = null
protected

Definition at line 45 of file FloatingTextParticle.php.

◆ $invisible

bool pocketmine\world\particle\FloatingTextParticle::$invisible = false
protected

Definition at line 46 of file FloatingTextParticle.php.


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