StructurePlaceSettings 5.47.0
How a structure template is loaded into a world (the load settings of a structure block).
Constants
ANIMATION_BY_BLOCK
php
public const ANIMATION_BY_BLOCK = 2ANIMATION_BY_LAYER
php
public const ANIMATION_BY_LAYER = 1ANIMATION_NONE
php
public const ANIMATION_NONE = 0Properties
$animationMode
php
public readonly int $animationMode$animationSeconds
php
public readonly float $animationSeconds$includeBlocks
php
public readonly bool $includeBlocks$includeEntities
php
public readonly bool $includeEntities$integrity
php
public readonly float $integrity$mirror
php
public readonly \pocketmine\world\structure\StructureMirror $mirror$rotation
php
public readonly \pocketmine\world\structure\StructureRotation $rotation$seed
php
public readonly int $seedMethods
__construct()
php
public function __construct(\pocketmine\world\structure\StructureMirror $mirror = \pocketmine\world\structure\StructureMirror::NONE, \pocketmine\world\structure\StructureRotation $rotation = \pocketmine\world\structure\StructureRotation::NONE, bool $includeEntities = true, bool $includeBlocks = true, float $integrity = 100.0, int $seed = 0, int $animationMode = self::ANIMATION_NONE, float $animati …isAnimated()
php
public function isAnimated() : bool