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 pRecipeDisplay, ContextMap pContextMap) private static List<OverlayRecipeComponent.OverlayRecipeButton.Pos> OverlayRecipeComponent.OverlaySmeltingRecipeButton.calculateIngredientsPositions(RecipeDisplay pRecipeDisplay, ContextMap pContextMap) protected voidCraftingRecipeBookComponent.fillGhostRecipe(GhostSlots p_379930_, RecipeDisplay p_379870_, ContextMap p_380956_) protected voidFurnaceRecipeBookComponent.fillGhostRecipe(GhostSlots p_379383_, RecipeDisplay p_380318_, ContextMap p_380984_) protected abstract voidRecipeBookComponent.fillGhostRecipe(GhostSlots pGhostSlots, RecipeDisplay pRecipeDisplay, ContextMap pContextMap) voidOverlayRecipeComponent.init(RecipeCollection pCollection, ContextMap pContextMap, boolean pIsFiltering, int pX, int pY, int pOverlayX, int pOverlayY, float pWidth) voidRecipeButton.init(RecipeCollection pCollection, boolean pIsFiltering, RecipeBookPage pPage, ContextMap pContextMap) voidGhostSlots.setInput(Slot pSlot, ContextMap pContextMap, SlotDisplay pSlotDisplay) voidGhostSlots.setResult(Slot pSlot, ContextMap pContextMap, SlotDisplay pSlotDisplay) private voidGhostSlots.setSlot(Slot pSlot, ContextMap pContextMap, SlotDisplay pSlotDisplay, boolean pIsResultSlot) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type ContextMapModifierConstructorDescriptionOverlayCraftingRecipeButton(int pX, int pY, RecipeDisplayId pRecipe, RecipeDisplay pRecipeDisplay, ContextMap pContextMap, boolean pIsCraftable) OverlaySmeltingRecipeButton(int pX, int pY, RecipeDisplayId pRecipe, RecipeDisplay pRecipeDisplay, ContextMap pContextMap, boolean pIsCraftable) -
Uses of ContextMap in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model with parameters of type ContextMapModifier and TypeMethodDescriptionSimpleUnbakedGeometry.bake(TextureSlots p_405009_, ModelBaker p_404737_, ModelState p_404670_, ModelDebugName p_404742_, ContextMap additionalProperties) -
Uses of ContextMap in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type ContextMapModifier and TypeFieldDescriptionprivate static final ModelDiscovery.Slot<ContextMap> ModelDiscovery.ModelWrapper.KEY_ADDITIONAL_PROPERTIESMethods in net.minecraft.client.resources.model that return ContextMap -
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 pContext, DisplayContentsFactory<T> pOutput) <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 ItemStackSlotDisplay.resolveForFirstStack(ContextMap pContext) SlotDisplay.resolveForStacks(ContextMap pContext) RecipeDisplayEntry.resultItems(ContextMap pContext) -
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 pLevel, ContextMap pParams, Map<Identifier, LootParams.DynamicDrop> pDynamicDrops, float pLuck) -
Uses of ContextMap in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ContextMapModifier and TypeMethodDescriptionstatic ContextMapResolvedModelExtension.findTopAdditionalProperties(ResolvedModel topModel) Resolves additional properties by walking the model child-parent chain, and callingUnbakedModelExtension.fillAdditionalProperties(ContextMap.Builder).default ContextMapResolvedModelExtension.getTopAdditionalProperties()Methods in net.neoforged.neoforge.client.extensions with parameters of type ContextMapModifier and TypeMethodDescriptiondefault QuadCollectionUnbakedGeometryExtension.bake(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) Version ofUnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName)that also receives additional properties sourced fromUnbakedModelExtension.fillAdditionalProperties(net.minecraft.util.context.ContextMap.Builder). -
Uses of ContextMap in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type ContextMapModifier and TypeMethodDescriptionCompositeUnbakedGeometry.bake(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) ExtendedUnbakedGeometry.bake(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, 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 TypeMethodDescriptionvoidObjGeometry.ModelGroup.addQuads(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) voidObjGeometry.ModelMesh.addQuads(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) voidObjGeometry.ModelObject.addQuads(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) ObjGeometry.bake(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, 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)