Skip to content

1.21.10 - Fix: CardboardBox crash & restore missing item textures #30

@AlpineMilka

Description

@AlpineMilka
Image Image

latest.log

Summary — issues fixed
Fixed a crash caused by the CardboardBox tile entity.
Restored missing item rendering (purple/black inventory icons) by adding item model wrappers.

  1. Crash — CardboardBoxTile
    Symptom: Game crashed when using the cardboard box (stack trace referenced CardboardBoxTile).
    Root cause: Broken/unstable tile‑entity implementation and related registrations (tile, screen, network) caused runtime exceptions.
    Fix implemented: Removed the entire Cardboard/Duct‑Tape subsystem — classes, registrations, network handlers and all related assets (models, textures, recipes).
    Impact: Crash resolved. Removed feature does not break other crafting chains.

  2. Missing textures
    Symptom: Many items showed the “missing texture” in inventory and JEI.
    Root cause: Minecraft 1.21+ requires assets//items/.json wrappers for item → model resolution; the repo had only legacy models/item/.json.
    Fix implemented: Added ~54 JSON files under items, each mapping the item id to its existing model.
    Impact: Item rendering restored; no gameplay logic changed.

JEI / Better Batpack compatibility (follow‑up)
Issue: TechRebornJEI expected BATPACK_* fields in Items and crashed when they were missing.
Action taken: Removed Better Batpack implementation and assets, but kept the BATPACK_* fields in Items — redirected them to an existing safe item (EMPTY_CAN).
Result: JEI compatibility preserved, no ghost/obtrusive batpack items remain in‑game.
Files changed (high level)
Deleted: CardboardBox-related Java classes and BetterBatpack classes + their assets/recipes.
Added: ~54 item wrapper JSONs in assets/advanced_reborn/items/.
Modified: Items.java (field removals/redirects).

Unofficial-AdvancedReborn-1.21.10-1.3.8-FIX.zip - This is the finished, fixed version of the mod. I respect the author and their work, and I do not claim it as my own—all credit belongs solely to Pitan76. For my part, I've only fixed some issues that remained unresolved in previous versions and in version 1.21.10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions