跳到正文

Koko

作者:usoki_koji

Koko is a mod that allows you to create your own skills, their xp sources and effects to player.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

This mod is in early stages and I still pretend to add much more content to it!

Note: This mod requires some knowledge how of datapack works!

Introduction

Have you ever thought about creating an RPG mod pack, but all RPG mods add generic skills and only allow for a few customizable settings?

Koko is a fully modular mod that allows you to create your own skills, their experience sources, and their effects on the player.

Let’s look at an example:

You want to add the creativity skill to your mod pack. But you soon realize that none of the modern RPG mods include it.

Koko allows you to do this.

First, you need to download and install Koko. After that, create a datapack in the following path: /data//koko/skills/

Now, simply create the .json file for your skill e.g “creativity.json”:

This is the default pattern.

{
  "display_name": "Creativity",
  // This is a translable component!

  "description": "Hi! I am creativity skill!",
  // This is also a translable component too!

  "icon": "lantern",
  // This must be a valid item resource location!
  
  "default_xp": 0,
  // Default xp when the player join world for first time. This isn't the same of level!
  
  "max_level": 10,
  // Max level for that skill
  
  "unlocked_max_level": 20
  // This a special level that can only be unlocked by code. 
  // Useful to restrict player to "max_level" until they complete some challenge.
}

Alright now you have your creativity skill!

You can read more about how the mod works here!

常见问题

Koko 支持哪些 Minecraft 版本?

Koko 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Koko 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分