diff --git a/src/pocketmine/block/BlockFactory.php b/src/pocketmine/block/BlockFactory.php index fbef665a0..691e11a2c 100644 --- a/src/pocketmine/block/BlockFactory.php +++ b/src/pocketmine/block/BlockFactory.php @@ -32,7 +32,6 @@ use pocketmine\item\Item; use pocketmine\item\ItemFactory; use pocketmine\item\ItemIds; use pocketmine\level\Position; -use pocketmine\network\mcpe\protocol\types\RuntimeBlockMapping; use pocketmine\tile\Comparator; use function array_fill; use function array_filter; @@ -669,31 +668,6 @@ class BlockFactory{ return $b !== null and !($b instanceof UnknownBlock); } - /** - * @internal - * @deprecated - * - * @param int $id - * @param int $meta - * - * @return int - */ - public static function toStaticRuntimeId(int $id, int $meta = 0) : int{ - return RuntimeBlockMapping::toStaticRuntimeId($id, $meta); - } - - /** - * @deprecated - * @internal - * - * @param int $runtimeId - * - * @return int[] [id, meta] - */ - public static function fromStaticRuntimeId(int $runtimeId) : array{ - return RuntimeBlockMapping::fromStaticRuntimeId($runtimeId); - } - /** * @return Block[] */