CatFrame: Compat

Compatibility layer of CatFrame, with some tools extra.
Back to Files

0.0.12

File nameCatFrameCompat-0.0.12.jar
Uploader
dfdvdsfdfdvdsf
Uploaded
Nov 3, 2026
Downloads
25
Size
276.2 KB
Mod Loaders
Forge
File ID
9421457
Type
R
Release
Supported game versions
  • 1.7.10

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:catframe-compat-1742670:9421457")

Learn more about Curse Maven

What's new

CatFrameCompat - 0.0.12

What is changed?

Change version number from previous to 0.0.12

➕Add:

  • add readme
  • Downgrade Forge cfg to just another ConfigFormat: ForgeCfgFormat reads through Configuration.load and refills ConfigDocument, writes by rebuilding the property graph from the document only, so ForgeConfigScope is deleted and DocumentConfigScope becomes the single scope implementation. Clamp, range comments, dirty tracking, duplicate detection and unparsable-value repair now exist exactly once in ConfigManager and ConfigValue. Accepted tradeoffs per decision: hand added undeclared entries are dropped on write with a warning like every other format, shared module sections are not preserved, and the config version header is not handled.
  • Add optional numeric bounds to the Int, Long and Double config annotations: out of range values read from the file are clamped to the nearest bound and written back so the correction is not recomputed every launch, the bound is appended to the entry comment as a Range line for every format, a clamp logs a warning, and a min above max is rejected at registration
  • Add ExampleConfig as a reference FORGE_CFG config class covering all six entry types, an explicit general and named category split, and a set plus save write back path, with an explicit file name so it does not collide with the suggested configuration file of CompatConfig
  • Add pluggable config system with explicit registration: @Configure plus IConfig enforced together, IConfigScope dual backend over Forge Configuration and an ordered ConfigDocument, and self written JSON/properties/TOML formats that round trip comments and omit the general layer when it is the only category
  • new package in the mixins.
  • Route vanilla-style screen tooltips through CatFrame deferred tooltip pipeline: add early mixin on GuiScreen renderToolTip/drawHoveringText, gated by new enableVanillaTooltipsCompat switch (default off) and NEI/Chromatic Tooltips absence; add FMLCorePlugin early loader and early mixin config wired to the compat refmap

🔧Fix:

  • Add @ConfigEntry.Name overrides on CompatConfig fields whose old Forge cfg entries carried an enable prefix (enableItemPhysicCompat, enableBackhandCompat, enableCtm, enableNaturalTextures, enableChromaticTooltipsCompat, enableTagTooltips, enableNeiTooltipsCompat, enableVanillaTooltipsCompat) so existing values in config/CatFrameCompat.cfg are read instead of being treated as undeclared and reset to defaults. ctmDebugLog, activeTheme and blockStateRotationFreely already match their old entry names and need no override.
  • Add ExampleConfig exercising every annotation of the config system and register it from preInit, and fix ForgeConfigScope never calling Configuration.load so registration read an empty category tree and overwrote the existing file with defaults
  • Add Forge model-level transform support in extended layer: new BlockstateTransform parses the TRSR transform field (translation/rotation/scale, Euler-plus-array and quaternion-plus-object forms, origin pivot including Forge's opposing-corner default, 3x4 matrix form) from the rawJson channel; new BlockstateTransformExtension resolves the variant transform per block render and writes the block-space matrix into RenderContext.displayTransform; register the extension in ClientProxy preInit
  • Split entry metadata into a dedicated ConfigEntry annotation: rename the ConfigDocument model class to ConfigValue to free the name, move Comment, Category, Name, Ignore and the six kind annotations Boolean, Int, Long, Double, Text and List off Configure so it only describes the file again, resolve each field by its kind annotation, and reject fields that carry none, more than one, or one that disagrees with the field type, plus reject two fields mapping to the same category and key
  • Replace the IConfig load callback with annotation driven declarations: drop the IConfig interface, add a root category and the field level Comment, Ignore, Name and Default annotations to Configure, and rewrite ConfigManager to reflect over static fields, resolve each value through IConfigScope and assign it back, which removes the manual getter boilerplate that made the previous design indistinguishable from reading Forge Configuration directly

❗❗❗Deprecated:

  • Refactor CompatConfig onto the annotation-driven ConfigManager system. Replace the Forge Configuration instance and manual loadOptions() with @Configure(FORGE_CFG, name=CatFrameCompat) plus @ConfigEntry annotations on static fields, keeping entry names, defaults and comments unchanged. CatFrameCompat now registers CompatConfig.class via ConfigManager and drops the public CompatConfig config field; saveActiveTheme becomes a static method writing through ConfigManager.getScope. ThemeSelectScreen updated to call CompatConfig.saveActiveTheme(id).
  • hovered item via TagLoader.is, sorted and rendered as #namespace:path; drop the

Notes

Full Changelog: https://github.com/song682/CatFrame-Compat/commits/v0.0.12

Type
Name
Game Versions
Mod Loaders
Size
Downloads
Uploaded