作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: fabric
标签: library utility
A server api for Fabric aiming to simplify server-side mods significantly.
With big goals of make server-sided fabric a much more stable and enjoyable
experience.
The hotkey menu currently just allows users to teleport to spawn. In the future it will allow MUCH more including configuration screens for other server-side mods, alternative type of TPA, trading, dueling, and many others.
To use the current "teleport to spawn" feature, admins must first set spawn in the menu via the "ADMIN" button on the top-right of it. This will require either the player be an OP, or that they have the serverapi.admin permission.
More features for the Hotkey Menu system in the coming months(hopefully).
A utility class featuring a array of static methods for you to use!
Block getBlockByTag(Identifier);ItemStack getHeadFromRaw(String rawId);void setStackModelData(ItemStack, int); // For resource packsvoid setStackLore(ItemStack, List<MutableText>);MutableText getText(String, Formatting...);The "main" API to access... or at least thats the goal for the future. Limited use for now!
ServerPlayerEntity getPlayerByUUID(UUID, MinecraftServer);ServerAPI.LoggerString Success(String); // green colorString Warning(String); // yellow colorString Error(String); // Red colorString Debug (String); // cyan colorNotice:
Bottles and all of its relations have been scrapped as a concept. Sorry for the hype!
请登录后举报
暂无评论,抢个沙发吧~