Skip to content

badasintended/ravel

Repository files navigation

Ravel Remapper Ravel Logo

Version Downloads

GitHub Release GitHub Downloads (all assets, all releases)

ravel [rav-uhl] verb
raveled, raveling, ravelled, ravelling
to disentangle or unravel the threads or fibers of (a woven or knitted fabric, rope, etc.).

Ravel is a plugin for IntelliJ IDEA to remap source files, based on PSI and Mapping-IO.

Install it from JetBrains Marketplace or download it manually from GitHub Release.

Supports remapping:

1MixinExtras Expression is not supported.

Usage

See the page at Fabric Docs for remapping Fabric Mods!

  1. Commit any changes before attempting to remap your sources!

  2. Right-click the code editor and go to Refactor - Remap Using Ravel
    Right Click Action
    You can also find it inside the Refactor menu at the top menu

  3. Select the mappings to use and modules to remap
    Remapper Dialog
    Here, I want to remap Fabric API from Yarn to Mojang Mappings, as there is no direct Yarn-to-Mojang mappings, I need to put both Yarn-merged TinyV2 mapping and Mojang ProGuard TXT mapping as the input.
    Select the source and destination namespace as you see fit.

  4. Click OK and wait for the remapping to be done

  5. Search for TODO(Ravel) for remapping errors and fix them manually
    Search TODO