Перейти к содержимому
Mineforgian

Cable Fixes for Prom

A Fabric mod that fixes various mod-interactivity crashes and issues on the Prominence 2 modpack, specifically focusing on Ad Astra machines and Create/ AE2 copycat blocks.

Загрузки
305K
Подписчики
1
Обновлён
27 июня 2026 г.
Лицензия
MIT

Опубликован 12 марта 2026 г.

Cable Fixes for Prom

A Fabric mod that fixes various mod-interactivity crashes and issues on the Prominence 2 modpack, specifically focusing on Ad Astra machines and Create / Applied Energistics 2 copycat blocks.

🚀 Features

  • Nested Transaction Fix (Ad Astra): Prevents the IllegalStateException: Transaction already in progress crash when external fluid/item pipes (like those from Pipez or other transport mods) interact with Ad Astra machines while an internal transaction is active.
  • Create & AE2 Compatibility: Resolves ClassCastException crashes when Create's Copycat blocks query AE2 cables and busses for appearance data by implementing RenderAttachedBlockView on Create's FilteredBlockAndTintGetter.
  • Copycat Material Acceptance: Bypasses voxel shape and entity checks for AE2 cables and busses, allowing them to be accepted and used as copycat materials.
  • Conditional Loading: Compatibility mixins for Create and AE2 are only applied if both mods are active in the environment, preventing class loading issues.

🛠️ How it Works

  • Ad Astra Fixes: Sponge Mixins hook into the machine block entities (updateSlots) and defer fluid/item updates to the tail end of the server tick if an active transaction is open.
  • Create & AE2 Fixes: Implements Fabric's RenderAttachedBlockView on Create's FilteredBlockAndTintGetter to delegate render attachment queries. A mixin on CopycatBlock.getAcceptedBlockState handles material checks for AE2's CableBusBlock to accept them as valid copycat blocks.

📦 Installation

  1. Install the Fabric Loader.
  2. Add this .jar to your mods folder.
  3. Requires Ad Astra as a hard dependency. Create and Applied Energistics 2 are optionally supported (compatibility features load automatically if both are present).

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

Ченджлог

1.1.0Релиз1.20.1 · 27 июня 2026 г.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.1.0] - 2026-06-27

Added

  • Create & AE2 Compatibility Mixin: Implemented RenderAttachedBlockView on Create's FilteredBlockAndTintGetter via FilteredBlockAndTintGetterMixin.java to resolve ClassCastException crashes when copycat blocks query Applied Energistics 2 cables and busses for appearance data.
  • Copycat Material Acceptance: Implemented a Mixin CopycatBlockMixin.java on Create's CopycatBlock.getAcceptedBlockState to bypass entity block and voxel shape checks for AE2 cables and busses, allowing them to be accepted as copycat materials.
  • Conditional Loading: Introduced AdAstraCableFixMixinConfigPlugin.java to conditionally apply the compatibility mixins only when both create and ae2 mods are present.
  • Compilation Stubs: Added local stub classes for FilteredBlockAndTintGetter and CopycatBlock under the main source set to satisfy Mixin target verification during compilation without needing Create as a compile dependency.

Changed

  • Mod name updated from "Ad Astra Cable Fix" to "Cable Fixes for Prom".

Removed

  • Excluded compiler stub classes from final packaged jars to keep the distribution clean.
1.0.0Релиз1.20.1 · 12 марта 2026 г.

Release

Комментарии

Загружаем…