fix: add missing api
This commit is contained in:
+18
-1
@@ -382,6 +382,18 @@ class Minecraft {
|
||||
static resourcePackTranslate(key, params = []) {
|
||||
return I18nAPI.get(key, params);
|
||||
}
|
||||
|
||||
static getPlayerFromUuid(uuid) {
|
||||
GMLIB_API.getPlayerFromUuid(uuid);
|
||||
}
|
||||
|
||||
static getPlayerFromUniqueId(uniqueId) {
|
||||
GMLIB_API.getPlayerFromUniqueId(uniqueId);
|
||||
}
|
||||
|
||||
static getEntityFromUniqueId(uniqueId) {
|
||||
GMLIB_API.getFromUniqueId(uniqueId);
|
||||
}
|
||||
}
|
||||
|
||||
class Recipes {
|
||||
@@ -835,6 +847,10 @@ class I18nAPI {
|
||||
}
|
||||
};
|
||||
|
||||
class UserCache {
|
||||
|
||||
};
|
||||
|
||||
LLSE_Player.prototype.toEntity = function () {
|
||||
return GMLIB_API.PlayerToEntity(this);
|
||||
}
|
||||
@@ -870,5 +886,6 @@ module.exports = {
|
||||
JsonLanguage,
|
||||
JsonI18n,
|
||||
Version,
|
||||
I18nAPI
|
||||
I18nAPI,
|
||||
UserCache
|
||||
};
|
||||
Reference in New Issue
Block a user