Annotation Interface IRecipeHandler.For
- Enclosing interface:
- IRecipeHandler<T extends net.minecraft.world.item.crafting.Recipe<?>>
@Documented
@Repeatable(Container.class)
@Retention(RUNTIME)
@Target(TYPE)
public static @interface IRecipeHandler.For
Annotates a
IRecipeHandler indicating which recipe classes it is able to handle.
This annotation is Repeatable.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceContainer for theIRecipeHandler.Forannotation. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends net.minecraft.world.item.crafting.Recipe<?>>Indicates the recipe class the annotatedIRecipeHandleris able to recognize and subsequently handle.
-
Element Details
-
value
Class<? extends net.minecraft.world.item.crafting.Recipe<?>> valueIndicates the recipe class the annotatedIRecipeHandleris able to recognize and subsequently handle.- Returns:
- The recipe class handled by this handler.
- See Also:
-