lingyunmo / Lanthanum

"Lanthanum" is a Minecraft mod created with Fabric.It is a project driven by personal interest and is available for Minecraft version 1.19.4.
MIT License
1 stars 2 forks source link

Update lanthanum apple #27

Closed lingyunmo closed 8 months ago

lingyunmo commented 8 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 8 months ago

Walkthrough

The changes primarily revolve around the modification of the APPLE_SILVER item's food properties in the Lanthanum mod. The SILVER_APPLE constant is renamed to LANTHANUM_APPLE and its attributes are updated, including the removal of the POISON status effect and the addition of REGENERATION and ABSORPTION effects.

Changes

File Path Summary
.../lanthanum/item/LanthanumFoodComponents.java Renamed SILVER_APPLE to LANTHANUM_APPLE. Removed POISON status effect. Updated hunger value to 4 and saturation modifier to 1.2. Added REGENERATION and ABSORPTION status effects.
.../lanthanum/registry/ModItems.java Updated APPLE_SILVER item's food component from SILVER_APPLE to LANTHANUM_APPLE, reflecting the changes in food properties.

🍎🍏

Oh, the silver apple's gone, a change we can't rebut,

Now it's Lanthanum's dawn, in our mod, it's been put.

No more poison to bewitch, but regeneration's touch,

And absorption joins the pitch, we needed it so much.

As the autumn leaves do fall, and the air turns crisp and cool,

We celebrate this change for all, in our coding school.

So here's to Lanthanum's might, in our apple's new rendition,

Coding through the autumn night, with joy and ambition! 🍂🌙💻


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### 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 help` to get help. - `@coderabbitai resolve` to resolve all the CodeRabbit review comments. Note: For conversation with the bot, please use the review comments on code diffs or files. ### 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`