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 recipe, ContextMap context) private static List<OverlayRecipeComponent.OverlayRecipeButton.Pos> OverlayRecipeComponent.OverlaySmeltingRecipeButton.calculateIngredientsPositions(RecipeDisplay recipe, ContextMap context) protected voidCraftingRecipeBookComponent.fillGhostRecipe(GhostSlots ghostSlots, RecipeDisplay recipe, ContextMap context) protected voidFurnaceRecipeBookComponent.fillGhostRecipe(GhostSlots ghostSlots, RecipeDisplay recipe, ContextMap context) protected abstract voidRecipeBookComponent.fillGhostRecipe(GhostSlots ghostSlots, RecipeDisplay recipe, ContextMap context) voidOverlayRecipeComponent.init(RecipeCollection collection, ContextMap context, boolean isFiltering, int buttonX, int buttonY, int centerX, int centerY, float buttonWidth) voidRecipeButton.init(RecipeCollection collection, boolean isFiltering, RecipeBookPage page, ContextMap resolutionContext) voidGhostSlots.setInput(Slot slot, ContextMap context, SlotDisplay contents) voidGhostSlots.setResult(Slot slot, ContextMap context, SlotDisplay contents) private voidGhostSlots.setSlot(Slot slot, ContextMap context, SlotDisplay contents, boolean isResult) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type ContextMapModifierConstructorDescriptionOverlayCraftingRecipeButton(int x, int y, RecipeDisplayId id, RecipeDisplay recipe, ContextMap context, boolean isCraftable) OverlaySmeltingRecipeButton(int x, int y, RecipeDisplayId id, RecipeDisplay recipe, ContextMap context, boolean isCraftable) -
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 textures, ModelBaker modelBaker, ModelState modelState, ModelDebugName name, 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 TypeMethodDescriptionprivate static <T> Stream<T> SlotDisplay.applyDemoTransformation(ContextMap context, DisplayContentsFactory<T> factory, SlotDisplay firstDisplay, SlotDisplay secondDisplay, BinaryOperator<ItemStack> operation) private static <T> Stream<T> SlotDisplay.applyDemoTransformation(ContextMap context, DisplayContentsFactory<T> factory, SlotDisplay firstDisplay, SlotDisplay secondDisplay, RandomSource randomSource, BinaryOperator<ItemStack> operation) <T> Stream<T> SlotDisplay.AnyFuel.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.Composite.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.DyedSlotDemo.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.Empty.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.ItemSlotDisplay.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.ItemStackSlotDisplay.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.OnlyWithComponent.resolve(ContextMap context, DisplayContentsFactory<T> builder) <T> Stream<T> SlotDisplay.resolve(ContextMap context, DisplayContentsFactory<T> builder) <T> Stream<T> SlotDisplay.SmithingTrimDemoSlotDisplay.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.TagSlotDisplay.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.WithAnyPotion.resolve(ContextMap context, DisplayContentsFactory<T> factory) <T> Stream<T> SlotDisplay.WithRemainder.resolve(ContextMap context, DisplayContentsFactory<T> factory) default ItemStackSlotDisplay.resolveForFirstStack(ContextMap context) SlotDisplay.resolveForStacks(ContextMap context) RecipeDisplayEntry.resultItems(ContextMap context) -
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 level, ContextMap params, Map<Identifier, LootParams.DynamicDrop> dynamicDrops, float luck) -
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(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)