Skip to content

RecordType ​

enum · pocketmine\block\utils\RecordType · source

TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only.

Cases ​

DISK_11 ​

php
case DISK_11

DISK_13 ​

php
case DISK_13

DISK_5 ​

php
case DISK_5

DISK_BLOCKS ​

php
case DISK_BLOCKS

DISK_BOUNCE 5.46.0 ​

php
case DISK_BOUNCE

DISK_CAT ​

php
case DISK_CAT

DISK_CHIRP ​

php
case DISK_CHIRP

DISK_CREATOR ​

php
case DISK_CREATOR

DISK_CREATOR_MUSIC_BOX ​

php
case DISK_CREATOR_MUSIC_BOX

DISK_FAR ​

php
case DISK_FAR

DISK_LAVA_CHICKEN ​

php
case DISK_LAVA_CHICKEN

DISK_MALL ​

php
case DISK_MALL

DISK_MELLOHI ​

php
case DISK_MELLOHI

DISK_OTHERSIDE ​

php
case DISK_OTHERSIDE

DISK_PIGSTEP ​

php
case DISK_PIGSTEP

DISK_PRECIPICE ​

php
case DISK_PRECIPICE

DISK_RELIC ​

php
case DISK_RELIC

DISK_STAL ​

php
case DISK_STAL

DISK_STRAD ​

php
case DISK_STRAD

DISK_TEARS 5.46.0 ​

php
case DISK_TEARS

DISK_WAIT ​

php
case DISK_WAIT

DISK_WARD ​

php
case DISK_WARD

Methods ​

getComparatorSignal() 5.46.0 ​

php
public function getComparatorSignal() : int

Returns the signal strength (1-15) a comparator reading a jukebox with this disc outputs.

getDurationSeconds() 5.46.0 ​

php
public function getDurationSeconds() : int

Returns the length of the track in seconds (a playing jukebox emits redstone power for that long).

getSoundId() ​

php
public function getSoundId() : int

Deprecated

Deprecated.

getSoundName() ​

php
public function getSoundName() : string

getTranslatableName() ​

php
public function getTranslatableName() : \pocketmine\lang\Translatable

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