Skip to content

feat: add Lootr mod integration for Treasure Chests#2840

Open
Dangocan wants to merge 1 commit intoThe-Aether-Team:1.21.1-developfrom
Dangocan:feat/Dangocan/lootr-integration
Open

feat: add Lootr mod integration for Treasure Chests#2840
Dangocan wants to merge 1 commit intoThe-Aether-Team:1.21.1-developfrom
Dangocan:feat/Dangocan/lootr-integration

Conversation

@Dangocan
Copy link
Copy Markdown

@Dangocan Dangocan commented Jan 18, 2026

Summary

  • Adds compatibility with Lootr mod to provide per-player loot generation for Treasure Chests
  • When Lootr is installed, each player gets their own unique inventory when opening a Treasure Chest
  • Implements ILootrBlockEntityConverter service for seamless integration with Lootr's API

Changes

  • build.gradle / gradle.properties: Added Lootr Maven dependency for full API access
  • TreasureChestBlock: Added Lootr integration hooks for opening chests and handling destruction
  • TreasureChestBlockEntity: Added Lootr-specific fields and methods for tracking per-player state
  • AetherAtlases / TreasureChestRenderer: Added support for Lootr's opened/unopened chest textures
  • New integration package: LootrCompat, LootrTreasureChestInfoProvider, TreasureChestBlockEntityConverter

Test plan

  • Verify Treasure Chests work normally without Lootr installed
  • Install Lootr and verify per-player loot generation works
  • Test chest opening/closing animations with Lootr
  • Verify chest destruction properly notifies Lootr
  • Test shift-click behavior for Lootr info display

Adds compatibility with Lootr mod to provide per-player loot generation
for Treasure Chests. When Lootr is installed, each player gets their own
unique inventory when opening a Treasure Chest.
@Dangocan Dangocan force-pushed the feat/Dangocan/lootr-integration branch from 729d5cb to 4f75e6d Compare January 18, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Back Log

Development

Successfully merging this pull request may close these issues.

1 participant