Skip to content

Commit

Permalink
Add primer link
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Jun 12, 2024
1 parent 1cc880d commit e92216c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/news/21.0release.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Enchantments are no longer a static, built-in registry, and instead are a datapa
With this change, methods that previously took an `Enchantment` will now take a `Holder<Enchantment>`, and all fields in the `Enchantments` class are `ResourceKey<Enchantment>`s.
Additionally, your code should now use `EnchantmentEffectComponents` to determine whether an enchantment should affect something, instead of relying on direct level checks.

For more information, we encourage you to consult [ChampionAsh](https://github.com/ChampionAsh5357)'s [1.21 primer](https://gist.github.com/ChampionAsh5357/d895a7b1a34341e19c80870720f9880f).
## The NeoForge changes
The first NeoForge beta release for 1.21 comes with some changes too.

Expand Down

1 comment on commit e92216c

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

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

Deploying with Cloudflare Pages

Name Result
Last commit: e92216c526f646769d5c221c5ed183c46f4b3fb4
Status: ✅ Deploy successful!
Preview URL: https://21595ac9.neoforged-website-previews.pages.dev
PR Preview URL: https://pr-39.neoforged-website-previews.pages.dev

Please sign in to comment.