Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Starting mixin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rongmario committed Sep 21, 2023
1 parent abde2e3 commit 0b1d9b4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/mod-development/mixin/mixinbooter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
--8<--
https://raw.githubusercontent.com/CleanroomMC/MixinBooter/main/README.md
--8<--

!!! tip
Because of Mixin and Bytecode intricacies, MixinBooter tries to allow both the developers and the users to understand crashes and logs better, but it is still being improved on. Please direct any feedback [here](https://github.com/CleanroomMC/MixinBooter/issues)!
8 changes: 8 additions & 0 deletions docs/mod-development/mixin/preface.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**Only for advanced developers! Make sure you are adept with Java prior to this!**

Recommended concepts to be acquainted before venturing into mixins:

- Annotations
- Bytecode Structure

**Mixins are powerful and simplified tools modders use to manipulate existing code at runtime. This goes beyond the basic Reflection and MethodHandle concepts, and results directly in the bytecode of the modified class changing.**
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ nav:
- Game Object:
- Sound:
- Play Sound: mod-development/game-object/sound/play.md
- Mixin:
- Preface: mod-development/mixin/preface.md
- MixinBooter: mod-development/mixin/mixinbooter.md
- Rendering:
- Colouring Blocks and Items: mod-development/rendering/colouring-blocks-and-items.md
- Proposal:
Expand Down

0 comments on commit 0b1d9b4

Please sign in to comment.