Skip to content

MansionRoomCollection 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\piece\mansion\MansionRoomCollection · source

vanilla's WoodlandMansionPieces.FloorRoomCollection and its subclasses: the room templates of a floor (FirstFloorRoomCollection for the first floor, SecondFloorRoomCollection for the second, ThirdFloorRoomCollection = the second floor's rooms for the third).

Methods ​

__construct() ​

php
public function __construct(bool $firstFloor)

get1x1() ​

php
public function get1x1(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : string

get1x1Secret() ​

php
public function get1x1Secret(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : string

get1x2FrontEntrance() ​

php
public function get1x2FrontEntrance(\pocketmine\world\generator\vanilla\random\LegacyRandom $random, bool $isStairsRoom) : string

get1x2Secret() ​

php
public function get1x2Secret(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : string

get1x2SideEntrance() ​

php
public function get1x2SideEntrance(\pocketmine\world\generator\vanilla\random\LegacyRandom $random, bool $isStairsRoom) : string

get2x2() ​

php
public function get2x2(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : string

get2x2Secret() ​

php
public function get2x2Secret(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : string

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