EyeJS
Modby Carleb
A KubeJS addon for creating custom structure-locating eyes!
Description
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.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Hexxit Gear Weaponry
Hexxit Gear Weaponry is an addon for Hexxit Gear R, introducing unique weapons designed to complement each armor set.
MCDisplays
A small addon mod to display informations (from books/quil, minecolonies resourcescroll and clipboard) keep up to date.
VOIDIUM – INTELLIGENT SERVER CONTROL
The Ultimate All-in-One Server Control System: Automate Everything, Monitor Everything, Control Everything – From Restar...
TNT Sulfur Cubes Impact
Sulfur Cubes with TNT now explode when they hit obstacles hard enough.
Religious Foundations 1.4 Ominous Winds
Series of Items and Mechanics, bringing religion to minecraft. Do you hear the whispers riding the winds?
Astruct
Async Structure Generator: build jigsaw structures far beyond vanilla limits with off-thread planning to reduce server l...