EntityFrostWalkerEvent
Extends EntityEvent
Implements Cancellable
Called when an entity moves horizontally while wearing boots enchanted with Frost Walker.
Methods
__construct()
php
public function __construct(\pocketmine\entity\Living $entity, int $radius, \pocketmine\block\Liquid $liquid, \pocketmine\block\Block $targetBlock)getLiquid()
php
public function getLiquid() : \pocketmine\block\LiquidReturns the liquid that gets frozen
getRadius()
php
public function getRadius() : intgetTargetBlock()
php
public function getTargetBlock() : \pocketmine\block\BlockReturns the block that replaces the liquid
setLiquid()
php
public function setLiquid(\pocketmine\block\Liquid $liquid) : voidSets the liquid that gets frozen
setRadius()
php
public function setRadius(int $radius) : voidsetTargetBlock()
php
public function setTargetBlock(\pocketmine\block\Block $targetBlock) : voidSets the block that replaces the liquid
