Skip to content

PositionalRandomFactory 5.46.0 ​

interface · pocketmine\world\generator\vanilla\random\PositionalRandomFactory · source

Creates independent random sources derived from a position or a name.

Methods ​

at() ​

php
public function at(int $x, int $y, int $z) : \pocketmine\world\generator\vanilla\random\RandomSource

fromHashOf() ​

php
public function fromHashOf(string $name) : \pocketmine\world\generator\vanilla\random\RandomSource

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