Player Skills
Create and manage a wide range of skills both from other mods as well as KubeJS with a flexible system that can be adapted for many purposes.
介绍
Player Skills
A library mod that provides a baseline implementation of player-specific skills. On its own, this does very little as it
is meant to be as un-opinionated as possible.
Like GameStages and GamePhases, this provides a registry for tracking possible skills as well what skills a given player
currently possesses. Unlike the other mods, skills are added to a player immediately and leverage ability checking via
Skill Types.
xSkills Mods
Player Skills
| Block Skills
| Dimension Skills
| Fluid Skills
| Item Skills
| Mob Skills
Concepts
This mod provides two entities that can be extended: Skill Types and Skills.
Skill Type
A skill type handles all logic around managing skills tied to its type. That includes providing a way to (de)serialize
the skill into a persistent format. More advanced use cases can leverage the skill type for determining if a skill is of
a sufficient threshold. Because of this nature, skill types cannot be created via KubeJS.
Builtin Types
Basicprovides a simple booleantrue/false. Great for simple skills such as “can read.”Numericprovides an integer value (0, 1, 2, etc). Great for skills or attributes which can be improved such as ” strength.”Tieredare specialized version ofNumericin that strings can be used. One example could be “education” education (crude/primary, basic/secondary, intermediate/university, advanced/postgraduate, top/doctorate).Specializationprovide a skill which allows one or more specializations out of a list. An example is “magic type” ( red, black, white, green, blue).
Skill
A skill tracks the data needed for SKill Types to calculate if a player _can_ perform a skill-based action. Skills get
serialized and persisted in player-specific NBT data. Skills are exposed via KubeJS for modpack authors to manipulate as
they see fit. This mod provides no built-in skills, as we want to encourage modpacks and other mods to provide that
shape.
Restriction
A restrictions handles the logic for determining if a player has an ability based on the set condition, current
dimension, and current biome. It may also provide a replacement to the target resource. Like Skills, we provide no
restrictions here. The other xSkills mods implements restrictions for many vanilla elements.
More Information
Documentation, examples, and more can be found in the readme on Github.
Modpacks
Want to use this in a modpack? Great! This waBecause os designed with modpack developers in mind. No need to ask.
常见问题
Player Skills 支持哪些 Minecraft 版本?
Player Skills 支持 Minecraft Java 版 1.18.2–1.19.3,共 3 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Player Skills 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
impleri 的其他作品
查看全部 →Player Skills
A library mod that provides a baseline implementation of player-specific skills.
Block Skills
A library mod that exposes KubeJS methods to restrict how players see and interact with blocks.
Item Skills
A library mod that exposes KubeJS methods to restrict items for players based on skills.
Item Skills
A library mod that exposes KubeJS methods to restrict items to the player based on skills.
评论
登录后评论和评分