Skip to content

ShipwreckPiece 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\piece\ShipwreckPiece · source

Extends TemplatePiece

vanilla's ShipwreckPieces.ShipwreckPiece.

Properties ​

$beached ​

php
public readonly bool $beached

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\generator\vanilla\structure\template\StructureTemplates $templates, string $location, int $x, int $y, int $z, int $rotation, bool $beached)

handleDataMarker() protected ​

php
protected function handleDataMarker(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, string $metadata, int $x, int $y, int $z, \pocketmine\world\generator\vanilla\structure\BoundingBox $box) : void

makeSettings() protected ​

php
protected function makeSettings(?\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks) : \pocketmine\world\generator\vanilla\structure\template\PlaceSettings

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