Skip to content

Conversation

@crabsatellite
Copy link

Bug fix when fix AlexMobs
AlexModGuy/AlexsMobs#2317

Copilot AI review requested due to automatic review settings January 5, 2026 17:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ports the Citadel mod to Minecraft 1.21, updating the codebase to use the new DataComponents system introduced in 1.21 and updating various APIs to match the new Minecraft version.

Key changes:

  • Migration from NBT-based item data storage to the DataComponents system
  • Updated block interaction API to use useWithoutItem method
  • Changed biome filtering from deprecated BIOME_DICT to BIOME_TAG system

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/main/resources/data/citadel/neoforge/biome_modifier/mob_spawn_modifier.json Adds new biome modifier configuration for mob spawn probability
src/main/resources/citadel.mixins.json Registers new ItemBlockRenderTypesMixin for fluid render type handling
src/main/java/com/github/alexthe666/citadel/server/block/CitadelLecternBlock.java Updates to use new useWithoutItem method signature from Minecraft 1.21 API
src/main/java/com/github/alexthe666/citadel/config/biome/CitadelBiomeDefinitions.java Migrates from deprecated BIOME_DICT to BIOME_TAG system with updated tag names
src/main/java/com/github/alexthe666/citadel/client/gui/GuiBasicBook.java Converts item tag handling from NBT to DataComponents system
src/main/java/com/github/alexthe666/citadel/client/CitadelItemstackRenderer.java Migrates all item rendering logic from NBT to DataComponents system and updates vertex format usage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AlexModGuy
Copy link
Owner

has conflicts

@crabsatellite
Copy link
Author

Fixed.

Since the newly merged DataComponent approach from #218 is more modern and we haven't released yet, we could fully align with this direction.

But this implies that Alex's Mobs 1.21 will need updates. I will investigated the impact, and a separate PR will be submitted to address those fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants