Skip to content

GameModeIdMap ​

final class · pocketmine\data\java\GameModeIdMap · source

Methods ​

__construct() ​

php
public function __construct()

fromId() ​

php
public function fromId(int $id) : ?\pocketmine\player\GameMode

toId() ​

php
public function toId(\pocketmine\player\GameMode $type) : int

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