Class EnchantRecipes
java.lang.Object
johnsmith.enchantingoverhauled.api.enchantment.recipe.EnchantRecipes
Manages the static
ResourceKey reference for the custom data-driven
EnchantRecipe registry.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<EnchantRecipe>> TheResourceKeyused to identify the dynamic registry containing allEnchantRecipedefinitions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidTriggers static class initialization to ensure the registry key is created.
-
Field Details
-
RECIPE_REGISTRY_KEY
public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<EnchantRecipe>> RECIPE_REGISTRY_KEYTheResourceKeyused to identify the dynamic registry containing allEnchantRecipedefinitions.
-
-
Constructor Details
-
EnchantRecipes
public EnchantRecipes()
-
-
Method Details
-
initialize
public static void initialize()Triggers static class initialization to ensure the registry key is created.
-