PHPackages                             ivancraft623/fakeblocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ivancraft623/fakeblocks

ActiveLibrary

ivancraft623/fakeblocks
=======================

Create and manage fakeblocks for yor PocketMine-MP server

25242[1 issues](https://github.com/IvanCraft623/fakeblocks/issues)PHP

Since Dec 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/IvanCraft623/fakeblocks)[ Packagist](https://packagist.org/packages/ivancraft623/fakeblocks)[ RSS](/packages/ivancraft623-fakeblocks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

🧊 fakeblocks
============

[](#-fakeblocks)

Create and manage fakeblocks

Description:
------------

[](#description)

A virion for PocketMine-MP to create and manage fake blocks. This virion indicates to the client that there is a block where there really isn't on the server side.

Usage
-----

[](#usage)

Import `FakeBlockManager` class.

```
use IvanCraft623\fakeblocks\FakeBlockManager;
```

### Register

[](#register)

This virion needs to listen for events, so you will need to register it, we check that it is not registered in case some other plugin has already done it

```
if (!FakeBlockManager::isRegistered()) {
	FakeBlockManager::register($plugin);
}
```

`$plugin` is your `Plugin` object

Once registered you can do `FakeBlockManager::getInstance()` to get an instance

### Create a FakeBlock

[](#create-a-fakeblock)

```
$fakeblock = FakeBlockManager::getInstance()->create(VanillaBlocks::DIAMOND(), $position);
```

`$position` is a `Position` object

`$fakeblock` will contain a `FakeBlock` object

### Add a viewer for a fake block

[](#add-a-viewer-for-a-fake-block)

This function adds a viewer for the fake block

```
$fakeblock->addViewer($player);
```

### Remove a viewer for a fake block

[](#remove-a-viewer-for-a-fake-block)

This function removes a viewer from the fake block

```
$fakeblock->removeViewer($player);
```

### Get all viewers of a fake block

[](#get-all-viewers-of-a-fake-block)

```
$fakeblock->getViewers();
```

### Destroy a fake block

[](#destroy-a-fake-block)

This function will destroy the fake block and make it so the viewers can see the real block

```
FakeBlockManager::getInstance()->destroy($fakeblock);
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb6ba4d8df79f6cf2fb48c1258b1047ee3f7782954f9a71101b42ae2c4e0204e?d=identicon)[Nexus9w9](/maintainers/Nexus9w9)

---

Top Contributors

[![IvanCraft623](https://avatars.githubusercontent.com/u/57236932?v=4)](https://github.com/IvanCraft623 "IvanCraft623 (9 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

---

Tags

phppmmppmmp-virionpocketminepocketmine-mpvirion

### Embed Badge

![Health badge](/badges/ivancraft623-fakeblocks/health.svg)

```
[![Health](https://phpackages.com/badges/ivancraft623-fakeblocks/health.svg)](https://phpackages.com/packages/ivancraft623-fakeblocks)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
