Uses of Record Class
net.minecraft.world.item.crafting.display.RecipeDisplayId
Packages that use RecipeDisplayId
Package
Description
-
Uses of RecipeDisplayId in net.minecraft.client
Fields in net.minecraft.client with type parameters of type RecipeDisplayIdModifier and TypeFieldDescriptionprivate final Set
<RecipeDisplayId> ClientRecipeBook.highlight
private final Map
<RecipeDisplayId, RecipeDisplayEntry> ClientRecipeBook.known
Methods in net.minecraft.client with parameters of type RecipeDisplayIdModifier and TypeMethodDescriptionvoid
ClientRecipeBook.addHighlight
(RecipeDisplayId pRecipe) void
ClientRecipeBook.remove
(RecipeDisplayId pRecipe) void
ClientRecipeBook.removeHighlight
(RecipeDisplayId pRecipe) boolean
ClientRecipeBook.willHighlight
(RecipeDisplayId pRecipe) -
Uses of RecipeDisplayId in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as RecipeDisplayIdModifier and TypeFieldDescriptionprivate final RecipeDisplayId
RecipeButton.ResolvedEntry.id
The field for theid
record component.private RecipeDisplayId
RecipeBookPage.lastClickedRecipe
private RecipeDisplayId
RecipeBookComponent.lastPlacedRecipe
private RecipeDisplayId
RecipeBookComponent.lastRecipe
private RecipeDisplayId
OverlayRecipeComponent.lastRecipeClicked
(package private) final RecipeDisplayId
OverlayRecipeComponent.OverlayRecipeButton.recipe
Fields in net.minecraft.client.gui.screens.recipebook with type parameters of type RecipeDisplayIdModifier and TypeFieldDescriptionprivate final Set
<RecipeDisplayId> RecipeCollection.craftable
private final Set
<RecipeDisplayId> RecipeCollection.selected
Methods in net.minecraft.client.gui.screens.recipebook that return RecipeDisplayIdModifier and TypeMethodDescriptionRecipeButton.getCurrentRecipe()
RecipeBookPage.getLastClickedRecipe()
OverlayRecipeComponent.getLastRecipeClicked()
RecipeButton.ResolvedEntry.id()
Returns the value of theid
record component.Methods in net.minecraft.client.gui.screens.recipebook with parameters of type RecipeDisplayIdModifier and TypeMethodDescriptionboolean
RecipeCollection.isCraftable
(RecipeDisplayId pRecipe) void
RecipeBookComponent.recipeShown
(RecipeDisplayId pRecipe) void
RecipeBookPage.recipeShown
(RecipeDisplayId pRecipe) private boolean
RecipeBookComponent.tryPlaceRecipe
(RecipeCollection pRecipeCollection, RecipeDisplayId pRecipe) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type RecipeDisplayIdModifierConstructorDescriptionOverlayCraftingRecipeButton
(int pX, int pY, RecipeDisplayId pRecipe, RecipeDisplay pRecipeDisplay, ContextMap pContextMap, boolean pIsCraftable) OverlayRecipeButton
(int pX, int pY, RecipeDisplayId pRecipe, boolean pIsCraftable, List<OverlayRecipeComponent.OverlayRecipeButton.Pos> pSlots) OverlaySmeltingRecipeButton
(int pX, int pY, RecipeDisplayId pRecipe, RecipeDisplay pRecipeDisplay, ContextMap pContextMap, boolean pIsCraftable) (package private)
ResolvedEntry
(RecipeDisplayId id, List<ItemStack> displayItems) Creates an instance of aResolvedEntry
record class. -
Uses of RecipeDisplayId in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type RecipeDisplayIdModifier and TypeMethodDescriptionvoid
MultiPlayerGameMode.handlePlaceRecipe
(int pContainerId, RecipeDisplayId pRecipe, boolean pUseMaxItems) -
Uses of RecipeDisplayId in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type RecipeDisplayIdModifier and TypeMethodDescriptionvoid
LocalPlayer.removeRecipeHighlight
(RecipeDisplayId pRecipe) -
Uses of RecipeDisplayId in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as RecipeDisplayIdModifier and TypeFieldDescriptionprivate final RecipeDisplayId
ServerboundPlaceRecipePacket.recipe
The field for therecipe
record component.private final RecipeDisplayId
ServerboundRecipeBookSeenRecipePacket.recipe
The field for therecipe
record component.Fields in net.minecraft.network.protocol.game with type parameters of type RecipeDisplayIdModifier and TypeFieldDescriptionprivate final List
<RecipeDisplayId> ClientboundRecipeBookRemovePacket.recipes
The field for therecipes
record component.Methods in net.minecraft.network.protocol.game that return RecipeDisplayIdModifier and TypeMethodDescriptionServerboundPlaceRecipePacket.recipe()
Returns the value of therecipe
record component.ServerboundRecipeBookSeenRecipePacket.recipe()
Returns the value of therecipe
record component.Methods in net.minecraft.network.protocol.game that return types with arguments of type RecipeDisplayIdModifier and TypeMethodDescriptionClientboundRecipeBookRemovePacket.recipes()
Returns the value of therecipes
record component.Constructors in net.minecraft.network.protocol.game with parameters of type RecipeDisplayIdModifierConstructorDescriptionServerboundPlaceRecipePacket
(int containerId, RecipeDisplayId recipe, boolean useMaxItems) Creates an instance of aServerboundPlaceRecipePacket
record class.Creates an instance of aServerboundRecipeBookSeenRecipePacket
record class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type RecipeDisplayIdModifierConstructorDescriptionCreates an instance of aClientboundRecipeBookRemovePacket
record class. -
Uses of RecipeDisplayId in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting with parameters of type RecipeDisplayId -
Uses of RecipeDisplayId in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as RecipeDisplayIdModifier and TypeFieldDescriptionprivate final RecipeDisplayId
RecipeDisplayEntry.id
The field for theid
record component.Fields in net.minecraft.world.item.crafting.display with type parameters of type RecipeDisplayIdModifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, RecipeDisplayId> RecipeDisplayId.STREAM_CODEC
Methods in net.minecraft.world.item.crafting.display that return RecipeDisplayIdModifier and TypeMethodDescriptionRecipeDisplayEntry.id()
Returns the value of theid
record component.Constructors in net.minecraft.world.item.crafting.display with parameters of type RecipeDisplayIdModifierConstructorDescriptionRecipeDisplayEntry
(RecipeDisplayId id, RecipeDisplay display, OptionalInt group, RecipeBookCategory category, Optional<List<Ingredient>> craftingRequirements) Creates an instance of aRecipeDisplayEntry
record class.