Files
meatballcraft/scripts/mixin/AedialClientVSServer/SigilTableJEITransferClient.txt
T
Alexander 5788c5a938 0.18.6.4 (reconstructed from the official server pack)
Upstream released 0.18.6.4 on CurseForge (Aug 16 2026) but never committed
it; GitHub main is still at e80fcdfd (0.18.6.3, Aug 9). Reconstructed here
the same way 0.18.5-hotfix2 was.

Source: Meatballcraft-Server-prerelease-0.18.6.4.zip (the official server
pack), NOT a played instance. An earlier attempt sourced from the local
Prism instance showed 842 changed files; almost all of that was runtime
drift from a played world. The pristine zip gives 27.

  config/, scripts/, pillar/, structures/, AlternativeConfigs/
      <- server pack (pristine)
  resources/            <- Prism instance (client-only, absent from the
                           server pack; unchanged apart from one new model)
  manifest.json, modlist.html
      <- Prism instance flame/ metadata (client pack files, version
         prerelease-0.18.6.4, 374 mods)

The server pack ships CRLF; this repo is LF. Line endings were normalised
to LF so the diff carries content only - the raw copy was 4613 files and
1.08M lines of pure CRLF churn.

Notable: upstream now ships the three AedialClientVSServer client mixin
scripts renamed .zs -> .txt (disabled), which is the same change the
hotfix2 reconstruction made independently. Git records them as R100.

Not reconstructed:
- modlist_files.txt, left at 0.18.6.3. The server pack lists 398 server
  jars; this file holds 364 client entries and its provenance is unclear,
  so writing the server list would be wrong.
- Deletions outside scripts/. The server pack omits client-only mods, so
  absence there does not imply removal from the pack. scripts/ is fully
  present server-side and was checked: the three renames above were the
  only stale files.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 13:11:39 +02:00

33 lines
1.4 KiB
Plaintext

#modloaded bewitchment
#loader mixin
#sideonly client
import native.mezz.jei.api.IModRegistry;
import native.mezz.jei.api.recipe.transfer.IRecipeTransferRegistry;
import native.com.bewitchment.client.gui.GuiSigilTable;
import native.com.bewitchment.common.block.tile.container.ContainerSigilTable;
import native.com.bewitchment.client.integration.jei.category.SigilCategory;
import mixin.CallbackInfo;
#mixin Mixin
#{targets: "com.bewitchment.client.integration.jei.BewitchmentJEI"}
zenClass MixinBewitchmentJEITransferSigilTable {
#mixin Inject
#{
# method: "register",
# at: {value: "TAIL"}
#}
function registerSigilTableTransferHandler(registry as IModRegistry, ci as CallbackInfo) as void {
// JEI transfer (+ button) and click area for Sigil Table
var transfer as IRecipeTransferRegistry = registry.getRecipeTransferRegistry();
// ContainerSigilTable slot layout:
// 0..24 = 5x5 matrix (recipe inputs)
// 25..51 = player inventory, 52..60 = hotbar (total 36)
// 61 = output slot (ignored by transfer)
transfer.addRecipeTransferHandler(ContainerSigilTable.class, SigilCategory.UID, 0, 25, 25, 36);
// 134,45,18,18 is the output slot area in the GUI; place a narrow arrow-only region to the left (120..128).
registry.addRecipeClickArea(GuiSigilTable.class, 120, 45, 8, 18, SigilCategory.UID);
}
}