Skip to content

OceanRuinPiece 5.46.0 ​

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

Extends TemplatePiece

vanilla's OceanRuinPieces.OceanRuinPiece. Its height (vanilla: from the blocks of the chunk being decorated) is computed from the noise terrain when the start is made.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\generator\vanilla\structure\StructureEnvironment $env, string $location, int $x, int $z, int $rotation, float $integrity, bool $warm, bool $large)

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.