From e92216c526f646769d5c221c5ed183c46f4b3fb4 Mon Sep 17 00:00:00 2001 From: Matyrobbrt Date: Wed, 12 Jun 2024 21:40:06 +0300 Subject: [PATCH] Add primer link --- content/news/21.0release.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/news/21.0release.md b/content/news/21.0release.md index 8728a3b..bb12dd4 100644 --- a/content/news/21.0release.md +++ b/content/news/21.0release.md @@ -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`, and all fields in the `Enchantments` class are `ResourceKey`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.