RuntimeDataReader
Implements RuntimeDataDescriber
Methods
__construct()
php
public function __construct(int $maxBits, int $value)axis()
php
public function axis(int &$axis) : voidbool()
php
public function bool(bool &$value) : voidboundedInt()
php
public function boundedInt(int $bits, int $min, int $max, int &$value) : voidDeprecated
Use self::boundedIntAuto() instead.
boundedIntAuto()
php
public function boundedIntAuto(int $min, int $max, int &$value) : voidbrewingStandSlots()
php
public function brewingStandSlots(array &$slots) : voidDeprecated
Use enumSet() instead.
carpetVineSides() 5.46.0
php
public function carpetVineSides(array &$sides) : voidenum()
php
public function enum(\UnitEnum &$case) : voidenumSet()
php
public function enumSet(array &$set, array $allCases) : voidfacing()
php
public function facing(int &$facing) : voidfacingExcept()
php
public function facingExcept(int &$facing, int $except) : voidfacingFlags()
php
public function facingFlags(array &$faces) : voidgetOffset()
php
public function getOffset() : inthorizontalAxis()
php
public function horizontalAxis(int &$axis) : voidhorizontalFacing()
php
public function horizontalFacing(int &$facing) : voidhorizontalFacingFlags()
php
public function horizontalFacingFlags(array &$faces) : voidint()
php
public function int(int $bits, int &$value) : voidrailShape()
php
public function railShape(int &$railShape) : voidreadBool() protected
php
protected function readBool() : boolreadInt()
php
public function readInt(int $bits) : intstraightOnlyRailShape()
php
public function straightOnlyRailShape(int &$railShape) : voidwallConnections()
php
public function wallConnections(array &$connections) : void