promotional bannermobile promotional banner

Copper Age Backport

A Minecraft mod that brings the complete Copper Age experience to older Minecraft versions.

File Details

coppergolemlegacy-1.20.1-0.0.5.jar

  • R
  • Nov 20, 2025
  • 1.18 MB
  • 67
  • 1.20.1
  • Forge

File Name

coppergolemlegacy-1.20.1-0.0.5.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:copper-age-backport-1386823:7242491")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

[1.20.1-0.0.5] - 2025-11-20

Added

  • Mod Compatibility System

    • Flexible tag-based system for chest interactions
    • New block tags: golem_target_chests
    • Target chests define where golems can place items to (all compatible chests)
    • Easy mod integration without code changes - just add block IDs to tags
  • Barrel Support

    • Copper Golems can now place items into barrels
    • Correct barrel sounds (BARREL_OPEN / BARREL_CLOSE) when interacting
    • Added minecraft:barrel to golem_target_chests tag
  • IronChest Mod Integration

    • Full support for all 14 IronChest variants (7 types + trapped variants)
    • Supported chests: iron, gold, diamond, copper, crystal, obsidian, dirt
    • Both regular and trapped versions work with golem item transport
  • Documentation

    • CHEST_COMPATIBILITY.md - Complete guide for adding new mod support
    • datapack_example/ - Example datapack for players to add custom chests
    • Instructions for three integration methods: direct block IDs, mod tags, datapacks
    • Examples for popular mods (Storage Drawers, Sophisticated Storage, AE2)

Changed

  • AI Sound System

    • Enhanced playChestSound() method with container-type detection
    • Automatic sound selection based on container type:
      • Copper Chests → Custom copper chest sounds
      • Barrels → Barrel-specific sounds
      • Regular Chests → Standard chest sounds
    • Improved blockState caching for better performance
  • Code Structure

    • ModTags.java - Added GOLEM_TARGET_CHESTS constants
    • CopperGolemAi.java - Refactored to use tags instead of hardcoded block checks
    • More maintainable and extensible architecture

Fixed

  • Critical Server Crash

    • Client-Side Import Fix: Resolved crash when loading mod on dedicated servers
    • Issue: CopperGolemLegacyConfig.java imported client-only classes (Screen, GuiGraphics, Button, etc.)
    • Crash: RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
    • Solution: Moved all GUI/Screen code to new ConfigScreenFactory.java with @OnlyIn(Dist.CLIENT) annotation
    • CopperGolemLegacyConfig.java now only contains ForgeConfigSpec (safe for both client and server)
    • Config screen is now properly isolated to client-side only code
  • Container Detection Bug

    • Fixed golem only detecting vanilla chests (ChestBlockEntity)
    • Now properly detects all container types including barrels and mod chests
    • Changed search from ChestBlockEntity to BaseContainerBlockEntity
    • Enables support for IronChest, barrels, and other mod containers
  • Container Animation Bug

    • Fixed missing open/close animations for barrels and mod chests
    • Barrels now correctly animate using OPEN BlockState property
    • Chests use blockEvent for animation
    • All container types (vanilla, barrels, mod chests) now animate properly

Technical

  • Tag-based predicates in TransportItemsBetweenContainers behavior
  • Container type detection with proper sound event mapping
  • Support for datapack-based chest additions with "replace": false pattern
  • Performance-optimized through Minecraft's tag caching system