class Registryimport { Registry } from "https://deno.land/x/minecraft_lib@0.1.0/core/mod.ts"; ConstructorsnewRegistry(defaultKey?: Key)Type ParametersValueoptionalKey extends string = stringPropertiesreadonlysize: numberMethodsentries(): Iterable<[string, Value]>getById(id: number): Value | nullgetByKey(key: Key): Value | nullgetId(value: Value): numberReturns -1 if no value is found. getKey(value: Value): Key | nullkeys(): Iterable<string>register<T extends Value>(key: Key, value: T): Tvalues(): Iterable<Value>