MansionRoomCollection 5.46.0
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) : stringget1x1Secret()
php
public function get1x1Secret(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : stringget1x2FrontEntrance()
php
public function get1x2FrontEntrance(\pocketmine\world\generator\vanilla\random\LegacyRandom $random, bool $isStairsRoom) : stringget1x2Secret()
php
public function get1x2Secret(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : stringget1x2SideEntrance()
php
public function get1x2SideEntrance(\pocketmine\world\generator\vanilla\random\LegacyRandom $random, bool $isStairsRoom) : stringget2x2()
php
public function get2x2(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : stringget2x2Secret()
php
public function get2x2Secret(\pocketmine\world\generator\vanilla\random\LegacyRandom $random) : string