Block Skills
A library mod that exposes KubeJS methods to restrict how players see and interact with blocks.
介绍
Block Skills
A library mod to control how players see and interact with fluids using skill-based restrictions created in KubeJS
scripts. This is similar to Ore Stages.
xSkills Mods
Player Skills
| Block Skills
| Dimension Skills
| Fluid Skills
| Item Skills
| Mob Skills
Concepts
This mod leans extensively on Player Skills by creating and consuming the Skill-based Restrictions. Out of the box, this
mod can restrict whether a block can be mined, “used”, or if it drops anything when mined. It also provides a way to
mask blocks in world by replacing them with either air or another block (e.g. make all diamond ore appear and drop
as stone). Note that this does not alter interactions based on what items the player is holding or how the player can
use the block as an item. However, Item Skills provides that complementary functionality.
Caveat
Because of how events are fired, KubeJS BlockEvents.rightClicked events will only be triggered with the _original_
block. Make sure that you reuse the same player.can() or player.cannot() restrictions on any relevant skill change
handlers connected to interacting with a block. For example, if you are hiding minecraft:diamond_ore
as minecraft:stone but are also triggering a skill change when a player uses redstone on diamond_ore, right clicking
on the hidden diamond ore with redstone in hand will still trigger the skill update if it’s not restricted with the same
conditions that the hidden block is using.
More Information
Documentation, examples, and more can be found in the readme on Github.
Modpacks
Want to use this in a modpack? Great! This was designed with modpack developers in mind. No need to ask.
常见问题
Block Skills 支持哪些 Minecraft 版本?
Block Skills 支持 Minecraft Java 版 1.18.2–1.19.3,共 3 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Block 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.
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.
Item Skills
A library mod that exposes KubeJS methods to restrict items to the player based on skills.
评论
登录后评论和评分