KasugaLib
KasugaLib(简称 Ksglib)是一个基础模组,旨在减轻模组开发者的工作负担并提高模组开发效率。
此模组不会在游戏中直接添加任何元素。
注册
KasugaLib 为 Minecraft Forge 模组开发提供了一套用户友好的注册功能。
-
BlockReg
-
BlockEntityReg
-
ItemReg
-
EffectReg
-
CommandReg
-
FluidReg
-
ChannelReg(用于网络通道)
-
MenuReg(用于菜单和屏幕)
......
外部注册
Ksglib 还提供了一些 Forge 原生未提供的注册功能。
-
KeyBindingReg
-
StaticImageHolder(StaticImage、ImageMask...)
-
FontRegistry(用于字体,如 .ttf 字体)
-
ModelRegistry(用于动画模型)
-
BundleReg(在一个 REG 中批量注册大量元素)
GUI 引擎
Ksglib 拥有一个基于 Reactive Native 的 GUI 引擎。该模块仍在构建中,即将推出。
-
支持 HTML、CSS 和 JS(用于 GUI)!
-
支持热模块重载。
-
支持外部工具调试。
工具
Ksglib 准备了一些工具,帮助你克服 Minecraft Forge 开发中的版本差异问题。
-
VectorUtils。
-
ResourceUtils。
-
LazyRecomputable<?>
-
DirectionUtils。
-
移除了 MC 1.20.1 中的纹理路径限制。
其他
Ksglib 提供了一些实验性功能。我们希望使用这些功能的任何人都能帮助我们完善它们。
-
基于 JSON 的模型动画。
-
移除了 MC 中的方块状态路径限制。
Create 版本
Ksglib 有原版版本和 Create 版本。Create 版本提供了一些 Create 相关的工具。
-
Create 注册工具(轨道、轨道材料、转向架、行为)
-
SimpleTrackBlock、StateGenerator 等...
KasugaLib
KasugaLib (or Ksglib for short) is a basic mod that aims to reduce the workload of mod developers and increase the efficiency of mod development.
This mod would NOT provide ANY elements directly in your game.
Registration
KasugaLib provides a packet of user-friendly registrations for Minecraft Forge mod development.
-
BlockReg
-
BlockEntityReg
-
ItemReg
-
EffectReg
-
CommandReg
-
FluidReg
-
ChannelReg (for network channels)
-
MenuReg (for menus and screens)
......
External Registration
Ksglib also provides some registrations that are not natively provided by Forge.
-
KeyBindingReg
-
StaticImageHolder(StaticImage, ImageMask...)
-
FontRegistry (for FONTs, such as .ttf fonts)
-
ModelRegistry (for animated models)
-
BundleReg(Registrate lots of elements in one REG.)
GUI Engine
Ksglib has a GUI Engine that based on Reactive Native. This module is still under constructing, it will be available soon.
-
Supports HTML, CSS and JS (for GUIs)!
-
Supports hot module reloading.
-
External tool debugging.
Utils
Ksglib prepared you some tools, helping you overcome version differences in Minecraft Forge Development.
-
VectorUtils.
-
ResourceUtils.
-
LazyRecomputable<?>
-
DirectionUtils.
-
Removed texture path limitation of MC 1.20.1.
Others
Ksglib provides some experimental function. We hope anyone who use it could help us perfect them.
-
JSON based model animation.
-
Removed blockstates path limitation of MC.
Create Vesions
Ksglib has vanilla version and create version. The create version provides some create utils.
-
Create registration utils (Tracks, TrackMaterials, Bogeys, Behaviours)
-
SimpleTrackBlock, StateGenerator, etc...
评论 0
登录后参与评分
还没有评论,来抢沙发吧