Cubed-Development / Modern-Warfare-Cubed

Welcome to the official GitHub Repository for Modern Warfare Cubed!
Apache License 2.0
93 stars 60 forks source link

Ammunition Press Fixes #328

Closed Desoroxxx closed 10 months ago

Desoroxxx commented 10 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 10 months ago

Walkthrough

This update removed the knockbackOnHi attribute, added new features concerning weather effects and ammo crafting, and adjusted default settings such as fog density and visual effects. It also fixed various bugs related to shaders, resources, and language entries. The codebase underwent significant refactoring, with changes to class imports, method logic, and texture handling. New classes for rendering effects like bloom were introduced, and there were updates to the language files for entity naming and configurations.

Changes

File Path Change Summary
Changelog.md Updated with recent changes including feature additions, behavior changes, and bug fixes.
.../weaponlib/... Removed knockbackOnHi attribute, added new features, changed default configurations, fixed issues.
build.gradle Added a new JVM argument for core mod loading.
gradle.properties Updated the version constant.
.../skins/CustomSkin.java Updated constructor and methods, removed unused import.
.../weapons/Magazines.java Updated bullet references in methods.
.../weaponlib/ClientEventHandler.java Modified control flow and logic in rendering method.
.../weaponlib/StaticModelSourceRenderer.java Altered texture binding logic.
.../weaponlib/WeaponRenderer.java Updated texture binding logic.
.../weaponlib/WeaponSpawnEntity.java Removed knockback-related code block.
.../weaponlib/ai/EntityConfiguration.java Changed entity registration method.
.../weaponlib/command/WeaponDebugCommand.java Updated import statement.
.../weaponlib/compatibility/... Introduced knockback calculation method, updated imports.
.../weaponlib/config/ModernConfigManager.java Various class changes.
.../weaponlib/core/WeaponlibClassTransformer.java Modified class information and inner classes.
.../crafting/ammopress/... Multiple changes in GUI and TileEntity classes.
.../crafting/workbench/GUIContainerWorkbench.java Modified time calculation, removed imports.
.../weaponlib/network/packets/StationPacket.java Added import, adjusted item stack logic.
.../weaponlib/particle/ParticleFancyRain.java Introduced class and nested Factory class.
.../weaponlib/render/Bloom.java New class for bloom effects.
.../weaponlib/render/Dloom.java New class for rendering and post-processing effects.
.../render/bgl/PostProcessPipeline.java Extensive class changes.
.../render/bgl/weather/ModernWeatherRenderer.java Added comment about rain textures.
.../assets/mwc/lang/... Updated entity naming and configuration properties.
.../assets/mwc/shaders/... Introduced new shaders for bloom effect.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - You can reply to a review comment made by CodeRabbit. - You can tag CodeRabbit on specific lines of code or files in the PR by tagging `@coderabbitai` in a comment. - You can tag `@coderabbitai` in a PR comment and ask one-off questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`