Open DidYouIronTheCat opened 7 years ago
Textures for the books:
custom scripts will be coded with help of nashorn to give maximum flexibilty and stability. Is supported by java8 natively. import javax.script.*;
public class test {
public static void main(String[] args) {
ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn");
try {
engine.eval("print('Hello World!');");
}
catch(ScriptException ex) {
}
}
}
http://winterbe.com/posts/2014/04/05/java8-nashorn-tutorial/
Will make custom hooks to allow for item inspection, block requests, entity requests and execution of minecraft commands.
Securing into a sandbox https://mozilla.github.io/rhino/javadoc/org/mozilla/javascript/Context.html#initSafeStandardObjects()
Books that can be assigned commands to execute when right clicked. Reduces clock-based lag on the server and makes spells prettier. You get the idea everything is in discord.