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 Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Container for the IRecipeHandler.For annotation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends net.minecraft.world.item.crafting.Recipe<?>>
    Indicates the recipe class the annotated IRecipeHandler is able to recognize and subsequently handle.
  • Element Details

    • value

      Class<? extends net.minecraft.world.item.crafting.Recipe<?>> value
      Indicates the recipe class the annotated IRecipeHandler is able to recognize and subsequently handle.
      Returns:
      The recipe class handled by this handler.
      See Also: