Uses of Record Class
net.minecraft.recipe.NetworkRecipeId
Package
Description
-
Uses of NetworkRecipeId in net.minecraft.client.gui.screen.recipebook
Modifier and TypeFieldDescriptionprivate final NetworkRecipeId
AnimatedResultButton.Result.id
The field for theid
record component.private @Nullable NetworkRecipeId
RecipeAlternativesWidget.lastClickedRecipe
private @Nullable NetworkRecipeId
RecipeBookResults.lastClickedRecipe
(package private) final NetworkRecipeId
RecipeAlternativesWidget.AlternativeButtonWidget.recipeId
private @Nullable NetworkRecipeId
RecipeBookWidget.selectedRecipe
private @Nullable NetworkRecipeId
RecipeBookWidget.selectedRecipeId
Modifier and TypeFieldDescriptionprivate final Set
<NetworkRecipeId> RecipeResultCollection.craftableRecipes
private final Set
<NetworkRecipeId> RecipeResultCollection.displayableRecipes
Modifier and TypeMethodDescriptionAnimatedResultButton.getCurrentId()
RecipeAlternativesWidget.getLastClickedRecipe()
RecipeBookResults.getLastClickedRecipe()
AnimatedResultButton.Result.id()
Returns the value of theid
record component.Modifier and TypeMethodDescriptionboolean
RecipeResultCollection.isCraftable
(NetworkRecipeId recipeId) void
RecipeBookResults.onRecipeDisplayed
(NetworkRecipeId recipeId) void
RecipeBookWidget.onRecipeDisplayed
(NetworkRecipeId recipeId) private boolean
RecipeBookWidget.select
(RecipeResultCollection results, NetworkRecipeId recipeId) ModifierConstructorDescriptionAlternativeButtonWidget
(int x, int y, NetworkRecipeId recipeId, boolean craftable, List<RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot> inputSlots) CraftingAlternativeButtonWidget
(int x, int y, NetworkRecipeId recipeId, RecipeDisplay display, ContextParameterMap context, boolean craftable) FurnaceAlternativeButtonWidget
(int x, int y, NetworkRecipeId recipeId, RecipeDisplay display, ContextParameterMap context, boolean craftable) (package private)
Result
(NetworkRecipeId networkRecipeId, List<ItemStack> list) -
Uses of NetworkRecipeId in net.minecraft.client.network
Modifier and TypeMethodDescriptionvoid
ClientPlayerInteractionManager.clickRecipe
(int syncId, NetworkRecipeId recipeId, boolean craftAll) void
ClientPlayerEntity.onRecipeDisplayed
(NetworkRecipeId recipeId) -
Uses of NetworkRecipeId in net.minecraft.client.recipebook
Modifier and TypeFieldDescriptionprivate final Set
<NetworkRecipeId> ClientRecipeBook.highlightedRecipes
private final Map
<NetworkRecipeId, RecipeDisplayEntry> ClientRecipeBook.recipes
Modifier and TypeMethodDescriptionboolean
ClientRecipeBook.isHighlighted
(NetworkRecipeId recipeId) void
ClientRecipeBook.markHighlighted
(NetworkRecipeId recipeId) void
ClientRecipeBook.remove
(NetworkRecipeId recipeId) void
ClientRecipeBook.unmarkHighlighted
(NetworkRecipeId recipeId) -
Uses of NetworkRecipeId in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate final NetworkRecipeId
CraftRequestC2SPacket.recipeId
The field for therecipeId
record component.private final NetworkRecipeId
RecipeBookDataC2SPacket.recipeId
The field for therecipeId
record component.Modifier and TypeMethodDescriptionCraftRequestC2SPacket.recipeId()
Returns the value of therecipeId
record component.RecipeBookDataC2SPacket.recipeId()
Returns the value of therecipeId
record component.ModifierConstructorDescriptionCraftRequestC2SPacket
(int int2, NetworkRecipeId networkRecipeId, boolean bool) RecipeBookDataC2SPacket
(NetworkRecipeId networkRecipeId) -
Uses of NetworkRecipeId in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final List
<NetworkRecipeId> RecipeBookRemoveS2CPacket.recipes
The field for therecipes
record component. -
Uses of NetworkRecipeId in net.minecraft.recipe
Modifier and TypeFieldDescriptionprivate final NetworkRecipeId
RecipeDisplayEntry.id
The field for theid
record component.Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, NetworkRecipeId> NetworkRecipeId.PACKET_CODEC
Modifier and TypeMethodDescriptionRecipeDisplayEntry.id()
Returns the value of theid
record component.ModifierConstructorDescriptionRecipeDisplayEntry
(NetworkRecipeId networkRecipeId, RecipeDisplay recipeDisplay, OptionalInt optionalInt, RecipeBookCategory recipeBookCategory, Optional<List<Ingredient>> optional)