-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from eaglerforge/main
keygen module
- Loading branch information
Showing
14 changed files
with
346 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## ModAPI.keygen | ||
ModAPI.keygen contains the API for getting item and block IDs from a string. It looks at the registries for items and blocks to derive the IDs, so IDs will not be automatically reserved until a block/item is actually registered. Ideally, you'd want to call a keygen method just before registering your block. | ||
|
||
Methods: | ||
- `ModAPI.keygen.item(itemId: String) : number` | ||
- Example usage is: `var id = ModAPI.keygen.item("my_example_item");` | ||
- `ModAPI.keygen.block(blockId: String) : number` | ||
- Example usage is: `var id = ModAPI.keygen.block("my_example_block");` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,38 @@ | ||
## Mod tutorials with ModAPI | ||
|
||
|
||
|
||
### Beginner | ||
|
||
Prerequisites: | ||
- Basic knowledge of JavaScript | ||
- A good code editor (recommended: https://vscode.dev) | ||
|
||
### Beginner | ||
Tutorials: | ||
- [Step Hack](step.md) | ||
- [Spider Hack](spider.md) | ||
- [VClip Exploit](comingsoon) | ||
- [VClip Exploit](comingsoon) | ||
|
||
### Intermediate | ||
Prerequisites: | ||
- Basic knowledge of JavaScript | ||
- A good code editor (recommended: https://vscode.dev) | ||
- A copy of the eaglercraft workspace (optional, get it at: https://git.eaglercraft.rip/eaglercraft/eaglercraft-1.8-workspace) | ||
|
||
Tutorials: | ||
- [Disable All Particles](comingsoon) | ||
- [/hat mod](comingsoon) | ||
- [/spawnxp command](comingsoon) | ||
- [Slippery Mod](comingsoon) | ||
|
||
### Advanced | ||
Prerequisites: | ||
- Basic knowledge of JavaScript | ||
- A good code editor (recommended: https://vscode.dev) | ||
- A copy of the eaglercraft workspace (get it at: https://git.eaglercraft.rip/eaglercraft/eaglercraft-1.8-workspace) | ||
- Your EaglerForgeInjector processed.html opened in an editor (optional) | ||
|
||
Tutorials: | ||
- [Custom Blocks](comingsoon) | ||
- [Custom Items](comingsoon) | ||
- [Timescale Command](comingsoon) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters