-
Notifications
You must be signed in to change notification settings - Fork 42
Update renderer, pathfinding, collision handling, and book display for Alex’s Caves and Alex’s Mobs 1.21 #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 1.21
Are you sure you want to change the base?
Conversation
…or improved functionality
…x shader; add new sobel vertex shader
…olor and adjust entity rotation handling
… improved AI navigation
…ement logic; add EntityMixin for collision adjustments
…ision method for custom collision handling
There was a problem hiding this 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 updates the Citadel library to support Minecraft 1.21 for Alex's Caves and Alex's Mobs mods. The changes primarily focus on shader rendering updates, pathfinding improvements, collision handling enhancements, and GUI rendering fixes.
Changes:
- Updated shader files to fix texture coordinate calculations and implement proper blur/bumpy effects for 1.21
- Implemented synchronous pathfinding methods to support vanilla AI goals
- Enhanced collision handling with better null safety and custom collision support
- Fixed GUI book rendering to prevent dark overlay issues in 1.21
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| sobel.vsh | Added OutSize uniform and updated texture coordinate calculation |
| bumpy.vsh, bumpy.fsh, bumpy.json | Rewrote bumpy shader with proper edge detection algorithm |
| blur.fsh, blur.json | Updated blur shader implementation and vertex shader reference |
| blit.vsh, blit.json, blit.fsh | Removed unused blit shader files |
| accesstransformer.cfg | Made Entity.collide() public for custom collision support |
| AdvancedPathNavigate.java | Implemented synchronous pathfinding for vanilla AI goal compatibility |
| MovementControllerCustomCollisions.java | Added null safety checks for pathfinding navigation |
| CustomCollisionsNodeProcessor.java | Optimized BlockPos creation and added NotNull annotations |
| CustomCollisionsNavigator.java | Refactored canMoveDirectly to eliminate redundant static method |
| PostEffectRegistry.java | Added debug logging for shader initialization |
| GuiBasicBook.java | Fixed entity rendering for 1.21 and prevented dark menu background |
| BookBlit.java | Added shader color reset to fix rendering artifacts |
| Citadel.java | Registered SyncClientTickRateMessage for client-server synchronization |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.