Skip to content

HoneyBlock 5.46.0 ​

final class · pocketmine\block\HoneyBlock · source

Extends Transparent

Honey block. Entities falling on it only take 20% of the fall damage, like in vanilla. Players are slowed down, jump lower and slide down its sides on their own (the client knows the block); there is no server-side slowdown of other entities, and PocketMine has no pistons to stick it to.

Methods ​

getFrictionFactor() ​

php
public function getFrictionFactor() : float

onEntityLand() ​

php
public function onEntityLand(\pocketmine\entity\Entity $entity) : ?float

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.