diff --git a/lib/GMLIB_API-JS.js b/lib/GMLIB_API-JS.js index e961a05..a5407a1 100644 --- a/lib/GMLIB_API-JS.js +++ b/lib/GMLIB_API-JS.js @@ -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 }; \ No newline at end of file