Wiki 9Minecraft Wiki 9Minecraft
Graal Mod Wiki

Graal Mod Wiki & Guide

wiki.9minecraft.net/graal-mod/

Adds the Graal sword and related content from the Graal Online universe.

Guides

Step-by-step, in-game.

Frequently asked questions

How do I start writing scripts for Graal Mod?
Create a JavaScript file in your mod's script directory and use the Graal runtime to load it—the mod will execute ECMAScript-compliant code directly in your game environment. Check the 'Write Your First JavaScript Script for Graal Mod' guide for a step-by-step walkthrough with example code.
Can I call Java methods from my JavaScript scripts?
Yes, Graal Mod lets you interact with Java directly from JavaScript, allowing your scripts to access game objects and methods. Use MemberRemapper if you want to rename Java methods or fields to make them more convenient in your scripts.
What's the difference between Graal Mod and just using GraalJS?
Graal Mod bundles a stripped-down version of GraalJS that removes unnecessary files, cutting the total size roughly in half while keeping full ECMAScript compliance. This keeps your game lighter without sacrificing functionality.
How do I make multiple mods communicate using Graal scripts?
Graal Mod allows different mods to share a common scripting layer where they can call each other's functions and pass data through the JavaScript runtime. See 'Communicate Between Multiple Mods Using Graal Scripts' for patterns and examples.

See all 10 Graal questions ›