OpticalJS
No reviews yet
KubeJS support for Create Optical
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
About
Description
OpticalJS
is a Create Optical addon that adds KubeJS support for it.
With OpticalJS, you can add Create Optical focusing recipe without having to interact with json style custom recipe.
Currently (Optical JS 1.0.0) supports Create Optical 0.2.1 and KubeJS 2001.6.5-build.16.
How To Use
code example:
ServerEvents.recipes(event => {
event.recipes.create_optical.focusing(
["create:brass_door"],
["create:copper_door"]
)
event.recipes.create_optical.focusing(
["create:analog_lever"],
["minecraft:lever"],
10,
0
)
// after 0.1.1, you can use enum name directly
event.recipes.create_optical.focusing(
["create:analog_lever"],
["minecraft:lever"],
10,
'gamma'
)
})
This will create three focusing recipes.
The first recipe requires a "create:copper_door", and produces "create:brass_door" after 40 ticks.
The second recipe requires a Lever and exposure under radio light, and produces an Analog Lever after 10 ticks.
The third recipe requires a Lever and exposure under gamma light, and produces an Analog Lever after 10 ticks.
The 0 in the second recipe stands for required_beam_type, where 0 is "radio", 1 is "microwave", 2 is "visible light", 3 is "gamma", 4 is "none".
Image example:
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
