EyeJS: KubeJS Addon
No reviews yet
Create custom structure-locating eyes with KubeJS
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
This KubeJS plugin allows modpack developers to easily create custom structure-locating eyes, similar to those seen in Cataclysm. (The eyes are not consumed on use, have a cooldown of 3 seconds, and cannot be burned in fire)
How to use it:
In a startup script, you can register custom eyes like any other item, using the custom "eye_structure" builder.
- The "structures" field (required) is a list of both structures and structure tags, entries being strings and tags beginning with # symbols. Thrown eyes lead toward whichever listed structure/tag is closest. Invalid entries leave a warning in the log.
- The "trailColor" field (defaults to white) is a hex value (0x000000 format) that determines the color of the particle trail left behind by thrown eyes.
Below is a minimal example, locating a single structure, with a green colored trail:
StartupEvents.registry('item', event => {
event.create('pillager_eye', 'eyejs:structure_eye')
.displayName('Eye of Pillager')
.texture('kubejs:item/pillager_eye')
.structures('minecraft:pillager_outpost')
.trailColor(0x1FCC4D)
})
Below is another example, locating a mix of structures and tags, with a gray trail:
StartupEvents.registry('item', event => {
event.create('ruins_eye', 'eyejs:structure_eye')
.displayName('Eye of Ruins')
.texture('kubejs:item/ruins_eye')
.structures(
'minecraft:ancient_city',
'minecraft:trail_ruins',
'#minecraft:ocean_ruin',
'#minecraft:ruined_portal'
)
.trailColor(0x9C9C9C)
})
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources