yarn/mappings/net/minecraft/recipe/RecipeType.mapping

19 lines
830 B
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_3956 net/minecraft/recipe/RecipeType
COMMENT The recipe type allows matching recipes more efficiently by only checking
COMMENT recipes under a given type.
COMMENT
COMMENT @param <T> the common supertype of recipes within a recipe type
METHOD method_17725 match (Lnet/minecraft/class_1860;Lnet/minecraft/class_1937;Lnet/minecraft/class_1263;)Ljava/util/Optional;
COMMENT {@return the given {@code recipe} if it matches, otherwise empty}
COMMENT
COMMENT <p>This utility method casts the {@code recipe} from {@code Recipe<C>} to
COMMENT {@code T} conveniently.
2019-01-17 07:18:48 -05:00
ARG 1 recipe
COMMENT the recipe to match and cast
2019-01-17 07:18:48 -05:00
ARG 2 world
COMMENT the input world
2019-01-17 07:18:48 -05:00
ARG 3 inventory
COMMENT the input inventory
2019-06-28 17:55:20 -04:00
METHOD method_17726 register (Ljava/lang/String;)Lnet/minecraft/class_3956;
2021-01-16 06:45:16 -05:00
ARG 0 id