PHP Class pocketmine\tile\Tile

Inheritance: extends pocketmine\level\Position
显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$attach
$chunk pocketmine\level\format\Chunk
$closed
$id
$metadata
$name
$namedtag
$tickTimer pocketmine\event\TimingsHandler
$tileCount
$x
$y
$z

Protected Properties

Property Type Description
$lastUpdate
$server
$timings

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
__destruct ( )
close ( )
createTile ( string $type, pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, $args ) : Tile
getBlock ( ) : Block
getId ( )
getName ( ) : string
getSaveId ( ) : string Returns the short save name
onUpdate ( )
registerTile ( $className ) : boolean
saveNBT ( )
scheduleUpdate ( )

Method Details

__construct() public method

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag

__destruct() public method

public __destruct ( )

close() public method

public close ( )

createTile() public static method

public static createTile ( string $type, pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, $args ) : Tile
$type string
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag
$args
return Tile

getBlock() public method

public getBlock ( ) : Block
return pocketmine\block\Block

getId() public method

public getId ( )

getName() public method

public getName ( ) : string
return string

getSaveId() public method

Returns the short save name
public getSaveId ( ) : string
return string

onUpdate() public method

public onUpdate ( )

registerTile() public static method

public static registerTile ( $className ) : boolean
$className
return boolean

saveNBT() public method

public saveNBT ( )

scheduleUpdate() final public method

final public scheduleUpdate ( )

Property Details

$attach public_oe property

public $attach

$chunk public_oe property

public Chunk,pocketmine\level\format $chunk
return pocketmine\level\format\Chunk

$closed public_oe property

public $closed

$id public_oe property

public $id

$lastUpdate protected_oe property

protected $lastUpdate

$metadata public_oe property

public $metadata

$name public_oe property

public $name

$namedtag public_oe property

public $namedtag

$server protected_oe property

protected $server

$tickTimer public_oe property

public TimingsHandler,pocketmine\event $tickTimer
return pocketmine\event\TimingsHandler

$tileCount public_oe static_oe property

public static $tileCount

$timings protected_oe property

protected $timings

$x public_oe property

public $x

$y public_oe property

public $y

$z public_oe property

public $z