跳到正文

EyeJS

作者:Carleb

A KubeJS addon for creating custom structure-locating eyes!

收藏

介绍

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

EyeJS

A KubeJS addon for creating custom structure-locating eyes!

Dependencies

  • KubeJS
  • NeoForge

Usage

// kubejs/startup_scripts/eyejs_test.js

StartupEvents.registry('item', event => {
event.create('test_eye', 'eyejs:eye')

// This is the name displayed in-game.
.displayName('Test Eye')

// This example uses the vanilla eye of ender texture.
// Custom KubeJS textures can also be used.
.texture('minecraft:item/ender_eye')

// Place # before the ID to target a structure tag.
// Leave out the # to search for a specific structure ('minecraft:village_plains')
// This example can locate any structure in #minecraft:village.
.structure('#minecraft:village')

// Maximum search distance in chunks.
.searchRadius(100)

// RGB hexadecimal color used for the flying eye's particles.
.particleColor(0x00FFFF)

// Chance for the eye to shatter after completing its flight.
// 0.0 = never shatters | 1.0 = always shatters
.breakChance(0.20)

// Message displayed when no matching structure is found.
// Standard Minecraft formatting codes are supported.
.notFoundMessage('§cStructure not found.')
})

Notes

  • Exact structures and structure tags are supported.
  • Vanilla and modded structures can be targeted.
  • Normal Eyes of Ender are not modified.
  • EyeJS should be installed on both the client and server.
  • EyeJS is designed for modpacks and custom progression systems.

I made this mod specifically for myself, so if you need it for another version just lmk and I’ll see what I can do.

Created by Carleb.

All Rights Reserved. You may use EyeJS in modpacks. You may not reupload, redistribute, modify, or republish the mod without permission.

常见问题

EyeJS 支持哪些 Minecraft 版本?

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

EyeJS 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Carleb 的其他作品

查看全部 →