Uses of Interface
net.minecraft.recipe.Recipe
-
Uses of Recipe in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type Recipe Modifier and Type Method Description boolean
RecipeUnlockedCriterion.Conditions. matches(Recipe<?> recipe)
void
RecipeUnlockedCriterion. trigger(ServerPlayerEntity player, Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return Recipe Modifier and Type Method Description @Nullable Recipe<?>
AbstractFurnaceBlockEntity. getLastRecipe()
Methods in net.minecraft.block.entity that return types with arguments of type Recipe Modifier and Type Method Description List<Recipe<?>>
AbstractFurnaceBlockEntity. getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
Methods in net.minecraft.block.entity with parameters of type Recipe Modifier and Type Method Description private static boolean
AbstractFurnaceBlockEntity. canAcceptRecipeOutput(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
private static boolean
AbstractFurnaceBlockEntity. craftRecipe(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
void
AbstractFurnaceBlockEntity. setLastRecipe(@Nullable Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as Recipe Modifier and Type Field Description private Recipe<?>
RecipeAlternativesWidget. lastClickedRecipe
private Recipe<?>
RecipeBookResults. lastClickedRecipe
private Recipe<?>
RecipeAlternativesWidget.AlternativeButtonWidget. recipe
private Recipe<?>
RecipeBookGhostSlots. recipe
Fields in net.minecraft.client.gui.screen.recipebook with type parameters of type Recipe Modifier and Type Field Description private Set<Recipe<?>>
RecipeResultCollection. craftableRecipes
private Set<Recipe<?>>
RecipeResultCollection. fittingRecipes
private List<Recipe<?>>
RecipeResultCollection. recipes
private Set<Recipe<?>>
RecipeResultCollection. unlockedRecipes
Methods in net.minecraft.client.gui.screen.recipebook that return Recipe Modifier and Type Method Description Recipe<?>
AnimatedResultButton. currentRecipe()
Recipe<?>
RecipeAlternativesWidget. getLastClickedRecipe()
@Nullable Recipe<?>
RecipeBookResults. getLastClickedRecipe()
@Nullable Recipe<?>
RecipeBookGhostSlots. getRecipe()
Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type Recipe Modifier and Type Method Description List<Recipe<?>>
RecipeResultCollection. getAllRecipes()
List<Recipe<?>>
RecipeResultCollection. getRecipes(boolean craftable)
private List<Recipe<?>>
AnimatedResultButton. getResults()
List<Recipe<?>>
RecipeResultCollection. getResults(boolean craftableOnly)
Methods in net.minecraft.client.gui.screen.recipebook with parameters of type Recipe Modifier and Type Method Description protected void
RecipeAlternativesWidget.AlternativeButtonWidget. alignRecipe(Recipe<?> recipe)
protected void
RecipeAlternativesWidget.FurnaceAlternativeButtonWidget. alignRecipe(Recipe<?> recipe)
boolean
RecipeResultCollection. isCraftable(Recipe<?> recipe)
void
RecipeBookGhostSlots. setRecipe(Recipe<?> recipe)
void
AbstractFurnaceRecipeBookScreen. showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
void
RecipeBookWidget. showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type Recipe Modifier and Type Method Description void
RecipeBookResults. onRecipesDisplayed(List<Recipe<?>> recipes)
void
RecipeBookWidget. onRecipesDisplayed(List<Recipe<?>> recipes)
void
RecipeDisplayListener. onRecipesDisplayed(List<Recipe<?>> recipes)
private static boolean
RecipeResultCollection. shouldHaveSingleOutput(List<Recipe<?>> list)
Constructors in net.minecraft.client.gui.screen.recipebook with parameters of type Recipe Constructor Description AlternativeButtonWidget(int x, int y, Recipe<?> recipe, boolean craftable)
FurnaceAlternativeButtonWidget(int x, int y, Recipe<?> recipe, boolean craftable)
Constructor parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type Recipe Constructor Description RecipeResultCollection(List<Recipe<?>> list)
-
Uses of Recipe in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type Recipe Modifier and Type Method Description void
ClientPlayerInteractionManager. clickRecipe(int syncId, Recipe<?> recipe, boolean craftAll)
void
ClientPlayerEntity. onRecipeDisplayed(Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.client.recipebook
Methods in net.minecraft.client.recipebook that return types with arguments of type Recipe Modifier and Type Method Description private static Map<RecipeBookGroup,List<List<Recipe<?>>>>
ClientRecipeBook. method_30283(Iterable<Recipe<?>> iterable)
Methods in net.minecraft.client.recipebook with parameters of type Recipe Modifier and Type Method Description private static RecipeBookGroup
ClientRecipeBook. getGroupForRecipe(Recipe<?> recipe)
Method parameters in net.minecraft.client.recipebook with type arguments of type Recipe Modifier and Type Method Description private static Map<RecipeBookGroup,List<List<Recipe<?>>>>
ClientRecipeBook. method_30283(Iterable<Recipe<?>> iterable)
void
ClientRecipeBook. reload(Iterable<Recipe<?>> iterable)
-
Uses of Recipe in net.minecraft.client.toast
Fields in net.minecraft.client.toast with type parameters of type Recipe Modifier and Type Field Description private List<Recipe<?>>
RecipeToast. recipes
Methods in net.minecraft.client.toast with parameters of type Recipe Modifier and Type Method Description private void
RecipeToast. addRecipes(Recipe<?> recipes)
static void
RecipeToast. show(ToastManager manager, Recipe<?> recipes)
Constructors in net.minecraft.client.toast with parameters of type Recipe Constructor Description RecipeToast(Recipe<?> recipes)
-
Uses of Recipe in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return Recipe Modifier and Type Method Description static Recipe<?>
IdentifierArgumentType. getRecipeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)
-
Uses of Recipe in net.minecraft.entity.player
Method parameters in net.minecraft.entity.player with type arguments of type Recipe Modifier and Type Method Description int
PlayerEntity. lockRecipes(Collection<Recipe<?>> recipes)
int
PlayerEntity. unlockRecipes(Collection<Recipe<?>> recipes)
-
Uses of Recipe in net.minecraft.inventory
Fields in net.minecraft.inventory declared as Recipe Modifier and Type Field Description private @Nullable Recipe<?>
CraftingResultInventory. lastRecipe
Methods in net.minecraft.inventory that return Recipe Modifier and Type Method Description @Nullable Recipe<?>
CraftingResultInventory. getLastRecipe()
Methods in net.minecraft.inventory with parameters of type Recipe Modifier and Type Method Description void
CraftingResultInventory. setLastRecipe(@Nullable Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.network.packet.c2s.play
Constructors in net.minecraft.network.packet.c2s.play with parameters of type Recipe Constructor Description CraftRequestC2SPacket(int syncId, Recipe<?> recipe, boolean craftAll)
RecipeBookDataC2SPacket(Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type Recipe Modifier and Type Field Description private List<Recipe<?>>
SynchronizeRecipesS2CPacket. recipes
Methods in net.minecraft.network.packet.s2c.play with type parameters of type Recipe Modifier and Type Method Description static <T extends Recipe<?>>
voidSynchronizeRecipesS2CPacket. writeRecipe(PacketByteBuf buf, T recipe)
Methods in net.minecraft.network.packet.s2c.play that return Recipe Modifier and Type Method Description static Recipe<?>
SynchronizeRecipesS2CPacket. readRecipe(PacketByteBuf buf)
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type Recipe Modifier and Type Method Description List<Recipe<?>>
SynchronizeRecipesS2CPacket. getRecipes()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type Recipe Constructor Description CraftFailedResponseS2CPacket(int syncId, Recipe<?> recipe)
Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type Recipe Constructor Description SynchronizeRecipesS2CPacket(Collection<Recipe<?>> recipes)
-
Uses of Recipe in net.minecraft.recipe
Classes in net.minecraft.recipe with type parameters of type Recipe Modifier and Type Interface Description interface
RecipeSerializer<T extends Recipe<?>>
interface
RecipeType<T extends Recipe<?>>
class
SpecialRecipeSerializer<T extends Recipe<?>>
Subinterfaces of Recipe in net.minecraft.recipe Modifier and Type Interface Description interface
CraftingRecipe
Classes in net.minecraft.recipe that implement Recipe Modifier and Type Class Description class
AbstractCookingRecipe
class
ArmorDyeRecipe
class
BannerDuplicateRecipe
class
BlastingRecipe
class
BookCloningRecipe
class
CampfireCookingRecipe
class
CuttingRecipe
class
FireworkRocketRecipe
class
FireworkStarFadeRecipe
class
FireworkStarRecipe
class
MapCloningRecipe
class
MapExtendingRecipe
class
RepairItemRecipe
class
ShapedRecipe
class
ShapelessRecipe
class
ShieldDecorationRecipe
class
ShulkerBoxColoringRecipe
class
SmeltingRecipe
class
SmithingRecipe
class
SmokingRecipe
class
SpecialCraftingRecipe
class
StonecuttingRecipe
class
SuspiciousStewRecipe
class
TippedArrowRecipe
Fields in net.minecraft.recipe declared as Recipe Modifier and Type Field Description private Recipe<?>
RecipeFinder.Filter. recipe
Fields in net.minecraft.recipe with type parameters of type Recipe Modifier and Type Field Description private Map<RecipeType<?>,Map<Identifier,Recipe<?>>>
RecipeManager. recipes
Methods in net.minecraft.recipe with type parameters of type Recipe Modifier and Type Method Description <C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. getAllMatches(RecipeType<T> type, C inventory, World world)
private <C extends Inventory, T extends Recipe<C>>
Map<Identifier,Recipe<C>>RecipeManager. getAllOfType(RecipeType<T> type)
<C extends Inventory, T extends Recipe<C>>
Optional<T>RecipeManager. getFirstMatch(RecipeType<T> type, C inventory, World world)
<C extends Inventory, T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager. getRemainingStacks(RecipeType<T> recipeType, C inventory, World world)
<C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. listAllOfType(RecipeType<T> recipeType)
Creates a list of all recipes of the given type.static <S extends RecipeSerializer<T>, T extends Recipe<?>>
SRecipeSerializer. register(String id, S serializer)
static <T extends Recipe<?>>
RecipeType<T>RecipeType. register(String id)
Methods in net.minecraft.recipe that return Recipe Modifier and Type Method Description static Recipe<?>
RecipeManager. deserialize(Identifier id, JsonObject json)
@Nullable Recipe<?>
RecipeUnlocker. getLastRecipe()
Methods in net.minecraft.recipe that return types with arguments of type Recipe Modifier and Type Method Description Optional<? extends Recipe<?>>
RecipeManager. get(Identifier id)
private <C extends Inventory, T extends Recipe<C>>
Map<Identifier,Recipe<C>>RecipeManager. getAllOfType(RecipeType<T> type)
Collection<Recipe<?>>
RecipeManager. values()
Methods in net.minecraft.recipe with parameters of type Recipe Modifier and Type Method Description default void
RecipeGridAligner. alignRecipeToGrid(int gridWidth, int gridHeight, int gridOutputSlot, Recipe<?> recipe, Iterator<T> inputs, int amount)
int
RecipeFinder. countRecipeCrafts(Recipe<?> recipe, int limit, @Nullable IntList outMatchingInputIds)
int
RecipeFinder. countRecipeCrafts(Recipe<?> recipe, @Nullable IntList outMatchingInputIds)
protected void
InputSlotFiller. fillInputSlots(Recipe<C> recipe, boolean craftAll)
void
InputSlotFiller. fillInputSlots(ServerPlayerEntity entity, @Nullable Recipe<C> recipe, boolean craftAll)
boolean
RecipeFinder. findRecipe(Recipe<?> recipe, @Nullable IntList outMatchingInputIds)
boolean
RecipeFinder. findRecipe(Recipe<?> recipe, @Nullable IntList outMatchingInputIds, int amount)
default <C extends Inventory>
Optional<T>RecipeType. get(Recipe<C> recipe, World world, C inventory)
void
RecipeUnlocker. setLastRecipe(@Nullable Recipe<?> recipe)
default boolean
RecipeUnlocker. shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe)
Method parameters in net.minecraft.recipe with type arguments of type Recipe Modifier and Type Method Description void
RecipeManager. setRecipes(Iterable<Recipe<?>> recipes)
Constructors in net.minecraft.recipe with parameters of type Recipe Constructor Description Filter(Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.recipe.book
Methods in net.minecraft.recipe.book with parameters of type Recipe Modifier and Type Method Description void
RecipeBook. add(Recipe<?> recipe)
boolean
RecipeBook. contains(@Nullable Recipe<?> recipe)
void
RecipeBook. display(Recipe<?> recipe)
void
RecipeBook. onRecipeDisplayed(Recipe<?> recipe)
void
RecipeBook. remove(Recipe<?> recipe)
boolean
RecipeBook. shouldDisplay(Recipe<?> recipe)
-
Uses of Recipe in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type Recipe Modifier and Type Method Description void
AbstractRecipeScreenHandler. fillInputSlots(boolean craftAll, Recipe<?> recipe, ServerPlayerEntity player)
boolean
AbstractFurnaceScreenHandler. matches(Recipe<? super Inventory> recipe)
abstract boolean
AbstractRecipeScreenHandler. matches(Recipe<? super C> recipe)
boolean
CraftingScreenHandler. matches(Recipe<? super CraftingInventory> recipe)
boolean
PlayerScreenHandler. matches(Recipe<? super CraftingInventory> recipe)
-
Uses of Recipe in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type Recipe Modifier and Type Method Description private void
ServerRecipeBook. handleList(NbtList list, Consumer<Recipe<?>> handler, RecipeManager recipeManager)
int
ServerPlayerEntity. lockRecipes(Collection<Recipe<?>> recipes)
int
ServerRecipeBook. lockRecipes(Collection<Recipe<?>> recipes, ServerPlayerEntity player)
int
ServerPlayerEntity. unlockRecipes(Collection<Recipe<?>> recipes)
int
ServerRecipeBook. unlockRecipes(Collection<Recipe<?>> recipes, ServerPlayerEntity player)