PocketMine-MP 5.28.3 git-d5a1007c80fcee27feb2251cf5dcf1ad5a59a85c
Loading...
Searching...
No Matches
EntityFrostWalkerEvent.php
1<?php
2
3/*
4 *
5 * ____ _ _ __ __ _ __ __ ____
6 * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7 * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8 * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9 * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10 *
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * @author PocketMine Team
17 * @link http://www.pocketmine.net/
18 *
19 *
20 */
21
22declare(strict_types=1);
23
25
30use pocketmine\event\CancellableTrait;
31
39
40 public function __construct(
42 private int $radius,
43 private Liquid $liquid,
44 private Block $targetBlock
45 ){
46 $this->entity = $entity;
47 }
48
49 public function getRadius() : int{
50 return $this->radius;
51 }
52
53 public function setRadius(int $radius) : void{
54 $this->radius = $radius;
55 }
56
60 public function getLiquid() : Liquid{
61 return $this->liquid;
62 }
63
67 public function setLiquid(Liquid $liquid) : void{
68 $this->liquid = $liquid;
69 }
70
74 public function getTargetBlock() : Block{
75 return $this->targetBlock;
76 }
77
81 public function setTargetBlock(Block $targetBlock) : void{
82 $this->targetBlock = $targetBlock;
83 }
84}