Phpcraft
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Phpcraft\Entity\Creeper Class Reference
Inheritance diagram for Phpcraft\Entity\Creeper:
Inheritance graph
[legend]
Collaboration diagram for Phpcraft\Entity\Creeper:
Collaboration graph
[legend]

Public Member Functions

 write (Connection $con)
 
 getStringAttributes ()
 

Public Attributes

 $charged = null
 
- Public Attributes inherited from Phpcraft\Entity\Living
 $health = null
 
- Public Attributes inherited from Phpcraft\Entity\Base
 $burning = null
 
 $crouching = null
 
 $sprinting = null
 
 $swimming = null
 
 $invisible = null
 
 $glowing = null
 
 $elytraing = null
 
 $custom_name = null
 
 $silent = null
 

Protected Member Functions

 read_ (Connection $con, int $index)
 

Additional Inherited Members

- Static Public Member Functions inherited from Phpcraft\Entity\Insentient
static getOffset (int $protocol_version)
 

Member Function Documentation

◆ getStringAttributes()

Phpcraft\Entity\Creeper::getStringAttributes ( )
Returns
array<string>

Reimplemented from Phpcraft\Entity\Living.

◆ read_()

Phpcraft\Entity\Creeper::read_ ( Connection  $con,
int  $index 
)
protected
Parameters
Connection$con
int$index
Returns
boolean
Exceptions
IOException

Reimplemented from Phpcraft\Entity\Living.

◆ write()

Phpcraft\Entity\Creeper::write ( Connection  $con)

Writes non-null metadata values to the Connection's write buffer.

Parameters
Connection$con
Returns
void

Reimplemented from Phpcraft\Entity\Living.

Member Data Documentation

◆ $charged

bool null Phpcraft\Entity\Creeper::$charged = null