Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core

Buy Me a Coffee

Fake Blocks
/**
* @var \pocketmine\player\Player $player
* @var \pocketmine\world\Position $position
 */
$fakeblock = FakeBlockManager::getInstance()->create(\pocketmine\block\VanillaBlocks::GLASS(), $position, null); // NOTE: null = all users. 
$fakeblock->addViewer($player);
$fakeblock->removeViewer($player);
$fakeblock->getViewers();
FakeBlockManager::getInstance()->destroy($fakeblock);

About

Core by @xxAROX

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages