Uses of Class
net.minecraft.util.context.ContextMap
Packages that use ContextMap
Package
Description
Extension interfaces for
client
-only classes.-
Uses of ContextMap in net.minecraft.client.gui.screens.recipebook
Methods in net.minecraft.client.gui.screens.recipebook with parameters of type ContextMapModifier and TypeMethodDescriptionprivate static List
<OverlayRecipeComponent.OverlayRecipeButton.Pos> OverlayRecipeComponent.OverlayCraftingRecipeButton.calculateIngredientsPositions
(RecipeDisplay p_380007_, ContextMap p_381009_) private static List
<OverlayRecipeComponent.OverlayRecipeButton.Pos> OverlayRecipeComponent.OverlaySmeltingRecipeButton.calculateIngredientsPositions
(RecipeDisplay p_379813_, ContextMap p_381001_) protected void
CraftingRecipeBookComponent.fillGhostRecipe
(GhostSlots p_379930_, RecipeDisplay p_379870_, ContextMap p_380956_) protected void
FurnaceRecipeBookComponent.fillGhostRecipe
(GhostSlots p_379383_, RecipeDisplay p_380318_, ContextMap p_380984_) protected abstract void
RecipeBookComponent.fillGhostRecipe
(GhostSlots p_380075_, RecipeDisplay p_379763_, ContextMap p_381016_) void
OverlayRecipeComponent.init
(RecipeCollection p_100196_, ContextMap p_381080_, boolean p_361594_, int p_100197_, int p_100198_, int p_100199_, int p_100200_, float p_100201_) void
RecipeButton.init
(RecipeCollection p_100480_, boolean p_360894_, RecipeBookPage p_100481_, ContextMap p_381053_) void
GhostSlots.setInput
(Slot p_379329_, ContextMap p_381026_, SlotDisplay p_379367_) void
GhostSlots.setResult
(Slot p_379733_, ContextMap p_381037_, SlotDisplay p_380406_) private void
GhostSlots.setSlot
(Slot p_380315_, ContextMap p_380942_, SlotDisplay p_379948_, boolean p_379880_) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type ContextMapModifierConstructorDescriptionOverlayCraftingRecipeButton
(int p_365371_, int p_362152_, RecipeDisplayId p_379848_, RecipeDisplay p_379906_, ContextMap p_381098_, boolean p_361389_) OverlaySmeltingRecipeButton
(int p_100262_, int p_100263_, RecipeDisplayId p_379828_, RecipeDisplay p_380374_, ContextMap p_381025_, boolean p_100265_) -
Uses of ContextMap in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model with parameters of type ContextMapModifier and TypeMethodDescriptionBlockModel.bake
(TextureSlots p_387258_, ModelBaker p_388168_, ModelState p_111453_, boolean p_111455_, boolean p_387632_, ItemTransforms p_386577_, ContextMap additionalProperties) ItemModelGenerator.bake
(TextureSlots p_386773_, ModelBaker p_386770_, ModelState p_386536_, boolean p_388612_, boolean p_387457_, ItemTransforms p_388565_, ContextMap additionalProperties) -
Uses of ContextMap in net.minecraft.util.context
Fields in net.minecraft.util.context declared as ContextMapMethods in net.minecraft.util.context that return ContextMap -
Uses of ContextMap in net.minecraft.world.item.crafting.display
Methods in net.minecraft.world.item.crafting.display that return ContextMapMethods in net.minecraft.world.item.crafting.display with parameters of type ContextMapModifier and TypeMethodDescription<T> Stream
<T> SlotDisplay.AnyFuel.resolve
(ContextMap p_380999_, DisplayContentsFactory<T> p_381006_) <T> Stream
<T> SlotDisplay.Composite.resolve
(ContextMap p_381068_, DisplayContentsFactory<T> p_380997_) <T> Stream
<T> SlotDisplay.Empty.resolve
(ContextMap p_381154_, DisplayContentsFactory<T> p_380978_) <T> Stream
<T> SlotDisplay.ItemSlotDisplay.resolve
(ContextMap p_381162_, DisplayContentsFactory<T> p_381086_) <T> Stream
<T> SlotDisplay.ItemStackSlotDisplay.resolve
(ContextMap p_381143_, DisplayContentsFactory<T> p_381015_) <T> Stream
<T> SlotDisplay.resolve
(ContextMap p_381155_, DisplayContentsFactory<T> p_381077_) <T> Stream
<T> SlotDisplay.SmithingTrimDemoSlotDisplay.resolve
(ContextMap p_381017_, DisplayContentsFactory<T> p_381079_) <T> Stream
<T> SlotDisplay.TagSlotDisplay.resolve
(ContextMap p_381013_, DisplayContentsFactory<T> p_381072_) <T> Stream
<T> SlotDisplay.WithRemainder.resolve
(ContextMap p_381035_, DisplayContentsFactory<T> p_380959_) default ItemStack
SlotDisplay.resolveForFirstStack
(ContextMap p_381094_) SlotDisplay.resolveForStacks
(ContextMap p_380953_) RecipeDisplayEntry.resultItems
(ContextMap p_381045_) -
Uses of ContextMap in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ContextMapMethods in net.minecraft.world.level.storage.loot that return ContextMapConstructors in net.minecraft.world.level.storage.loot with parameters of type ContextMapModifierConstructorDescriptionLootParams
(ServerLevel p_287766_, ContextMap p_380934_, Map<ResourceLocation, LootParams.DynamicDrop> p_287705_, float p_287671_) -
Uses of ContextMap in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ContextMapModifier and TypeMethodDescriptionstatic ContextMap
IUnbakedModelExtension.getTopAdditionalProperties
(UnbakedModel topModel) Resolves additional properties by walking the model child-parent chain and callingIUnbakedModelExtension.fillAdditionalProperties(ContextMap.Builder)
.Methods in net.neoforged.neoforge.client.extensions with parameters of type ContextMapModifier and TypeMethodDescriptiondefault BakedModel
IUnbakedModelExtension.bake
(TextureSlots textures, ModelBaker baker, ModelState modelState, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms itemTransforms, ContextMap additionalProperties) bake
override with additional context. -
Uses of ContextMap in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type ContextMapModifier and TypeMethodDescriptionAbstractSimpleUnbakedModel.bake
(TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties) Deprecated, for removal: This API element is subject to removal in a future version.DelegateUnbakedModel.bake
(TextureSlots textures, ModelBaker baker, ModelState modelState, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms itemTransforms, ContextMap additionalProperties) ExtendedUnbakedModel.bake
(TextureSlots textures, ModelBaker baker, ModelState modelState, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms itemTransforms, ContextMap additionalProperties) UnbakedCompositeModel.bake
(TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties) -
Uses of ContextMap in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type ContextMapModifier and TypeMethodDescriptionvoid
ObjModel.ModelGroup.addQuads
(SimpleBakedModel.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties) void
ObjModel.ModelMesh.addQuads
(SimpleBakedModel.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties) void
ObjModel.ModelObject.addQuads
(SimpleBakedModel.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties) ObjModel.bake
(TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties) -
Uses of ContextMap in net.neoforged.neoforge.fluids.crafting.display
Methods in net.neoforged.neoforge.fluids.crafting.display with parameters of type ContextMapModifier and TypeMethodDescription<T> Stream
<T> FluidSlotDisplay.resolve
(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream
<T> FluidStackSlotDisplay.resolve
(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream
<T> FluidTagSlotDisplay.resolve
(ContextMap context, DisplayContentsFactory<T> factory) -
Uses of ContextMap in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block with parameters of type ContextMapModifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(TextureSlots p_386641_, ModelBaker p_250133_, ModelState p_119536_, boolean p_387129_, boolean p_388638_, ItemTransforms p_386911_, ContextMap additionalProperties) -
Uses of ContextMap in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model with parameters of type ContextMapModifier and TypeMethodDescriptionNewModelLoaderTest.TestModel.bake
(TextureSlots textures, ModelBaker baker, ModelState modelState, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms itemTransforms, ContextMap additionalProperties) -
Uses of ContextMap in net.neoforged.neoforge.oldtest.recipebook
Methods in net.neoforged.neoforge.oldtest.recipebook with parameters of type ContextMapModifier and TypeMethodDescriptionprotected void
RecipeBookTestComponent.fillGhostRecipe
(GhostSlots p_380075_, RecipeDisplay display, ContextMap p_381016_)