Skip to content

RuntimeDataSizeCalculator ​

final class · pocketmine\data\runtime\RuntimeDataSizeCalculator · source

Implements RuntimeDataDescriber

Methods ​

addBits() protected ​

php
protected function addBits(int $bits) : void

axis() ​

php
public function axis(int &$axis) : void

bool() ​

php
public function bool(bool &$value) : void

boundedInt() ​

php
public function boundedInt(int $bits, int $min, int $max, int &$value) : void

Deprecated

Use self::boundedIntAuto() instead.

boundedIntAuto() ​

php
public function boundedIntAuto(int $min, int $max, int &$value) : void

brewingStandSlots() ​

php
public function brewingStandSlots(array &$slots) : void

carpetVineSides() 5.46.0 ​

php
public function carpetVineSides(array &$sides) : void

enum() ​

php
public function enum(\UnitEnum &$case) : void

enumSet() ​

php
public function enumSet(array &$set, array $allCases) : void

facing() ​

php
public function facing(int &$facing) : void

facingExcept() ​

php
public function facingExcept(int &$facing, int $except) : void

facingFlags() ​

php
public function facingFlags(array &$faces) : void

getBitsUsed() ​

php
public function getBitsUsed() : int

horizontalAxis() ​

php
public function horizontalAxis(int &$axis) : void

horizontalFacing() ​

php
public function horizontalFacing(int &$facing) : void

horizontalFacingFlags() ​

php
public function horizontalFacingFlags(array &$faces) : void

int() ​

php
public function int(int $bits, int &$value) : void

railShape() ​

php
public function railShape(int &$railShape) : void

straightOnlyRailShape() ​

php
public function straightOnlyRailShape(int &$railShape) : void

wallConnections() ​

php
public function wallConnections(array &$connections) : void

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