PieceWeight 5.46.0
NetherFortressPieces.PieceWeight. Vanilla keeps them in static arrays and resets placeCount in the StartPiece constructor; here every start creates its own (see StartPiece), so concurrent starts cannot interfere.
Properties
$allowInRow
php
public readonly bool $allowInRow$maxPlaceCount
php
public readonly int $maxPlaceCount$pieceClass
php
public readonly string $pieceClass$placeCount
php
public int $placeCount$weight
php
public readonly int $weightMethods
__construct()
php
public function __construct(string $pieceClass, int $weight, int $maxPlaceCount, bool $allowInRow = false)bridgePieces()
php
public static function bridgePieces() : arrayNetherFortressPieces.BRIDGE_PIECE_WEIGHTS
castlePieces()
php
public static function castlePieces() : arrayNetherFortressPieces.CASTLE_PIECE_WEIGHTS
doPlace()
php
public function doPlace() : boolPieceWeight.doPlace()
isValid()
php
public function isValid() : boolPieceWeight.isValid()
