Uses of Interface
net.minecraft.core.component.DataComponentMap
Packages that use DataComponentMap
Package
Description
-
Uses of DataComponentMap in net.minecraft.core.component
Classes in net.minecraft.core.component that implement DataComponentMapModifier and TypeClassDescription(package private) static final recordfinal classFields in net.minecraft.core.component declared as DataComponentMapModifier and TypeFieldDescriptionprivate final DataComponentMapDataComponentPatch.SplitResult.addedThe field for theaddedrecord component.static final DataComponentMapDataComponents.COMMON_ITEM_COMPONENTSstatic final DataComponentMapDataComponentMap.EMPTYprivate final DataComponentMapPatchedDataComponentMap.prototypeFields in net.minecraft.core.component with type parameters of type DataComponentMapModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataComponentMap> DataComponentMap.CODECMethods in net.minecraft.core.component that return DataComponentMapModifier and TypeMethodDescriptionDataComponentPatch.SplitResult.added()Returns the value of theaddedrecord component.DataComponentMap.Builder.build()private static DataComponentMapDataComponentMap.Builder.buildFromMapTrusted(Map<DataComponentType<?>, Object> map) static DataComponentMapDataComponentMap.composite(DataComponentMap map1, DataComponentMap map2) default DataComponentMapDataComponentMap.filter(Predicate<DataComponentType<?>> predicate) DataComponentHolder.getComponents()Methods in net.minecraft.core.component that return types with arguments of type DataComponentMapModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<DataComponentMap> DataComponentMap.makeCodec(com.mojang.serialization.Codec<DataComponentType<?>> codec) static com.mojang.serialization.Codec<DataComponentMap> DataComponentMap.makeCodecFromMap(com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> codec) Methods in net.minecraft.core.component with parameters of type DataComponentMapModifier and TypeMethodDescriptionDataComponentMap.Builder.addAll(DataComponentMap components) static DataComponentPredicateDataComponentPredicate.allOf(DataComponentMap expectedComponents) static DataComponentMapDataComponentMap.composite(DataComponentMap map1, DataComponentMap map2) static PatchedDataComponentMapPatchedDataComponentMap.fromPatch(DataComponentMap prototype, DataComponentPatch patch) private static booleanPatchedDataComponentMap.isPatchSanitized(DataComponentMap prototype, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> map) voidPatchedDataComponentMap.setAll(DataComponentMap map) booleanDataComponentPredicate.test(DataComponentMap components) Constructors in net.minecraft.core.component with parameters of type DataComponentMapModifierConstructorDescriptionPatchedDataComponentMap(DataComponentMap prototype) privatePatchedDataComponentMap(DataComponentMap prototype, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> patch, boolean copyOnWtite) SplitResult(DataComponentMap added, Set<DataComponentType<?>> removed) Creates an instance of aSplitResultrecord class. -
Uses of DataComponentMap in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as DataComponentMapModifier and TypeFieldDescriptionprivate final DataComponentMapCloneCommands.CloneBlockEntityInfo.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.server.commands that return DataComponentMapModifier and TypeMethodDescriptionCloneCommands.CloneBlockEntityInfo.components()Returns the value of thecomponentsrecord component.Constructors in net.minecraft.server.commands with parameters of type DataComponentMapModifierConstructorDescription(package private)CloneBlockEntityInfo(CompoundTag tag, DataComponentMap components) Creates an instance of aCloneBlockEntityInforecord class. -
Uses of DataComponentMap in net.minecraft.world.item
Fields in net.minecraft.world.item declared as DataComponentMapFields in net.minecraft.world.item with type parameters of type DataComponentMapModifier and TypeFieldDescriptionprivate static final com.google.common.collect.Interner<DataComponentMap> Item.Properties.COMPONENT_INTERNERMethods in net.minecraft.world.item that return DataComponentMapModifier and TypeMethodDescription(package private) DataComponentMapItem.Properties.buildAndValidateComponents()private DataComponentMapItem.Properties.buildComponents()Item.components()ItemStack.getComponents()ItemStack.getPrototype()static DataComponentMapItem.Properties.validateComponents(DataComponentMap datacomponentmap) Methods in net.minecraft.world.item with parameters of type DataComponentMapModifier and TypeMethodDescriptionvoidItemStack.applyComponents(DataComponentMap components) static DataComponentMapItem.Properties.validateComponents(DataComponentMap datacomponentmap) static com.mojang.serialization.DataResult<Unit> ItemStack.validateComponents(DataComponentMap components) -
Uses of DataComponentMap in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as DataComponentMapModifier and TypeFieldDescriptionprivate final DataComponentMapEnchantment.effectsThe field for theeffectsrecord component.Fields in net.minecraft.world.item.enchantment with type parameters of type DataComponentMapModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataComponentMap> EnchantmentEffectComponents.CODECMethods in net.minecraft.world.item.enchantment that return DataComponentMapModifier and TypeMethodDescriptionEnchantment.effects()Returns the value of theeffectsrecord component.Constructors in net.minecraft.world.item.enchantment with parameters of type DataComponentMapModifierConstructorDescriptionEnchantment(Component description, Enchantment.EnchantmentDefinition definition, HolderSet<Enchantment> exclusiveSet, DataComponentMap effects) Creates an instance of aEnchantmentrecord class. -
Uses of DataComponentMap in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as DataComponentMapFields in net.minecraft.world.level.block.entity with type parameters of type DataComponentMapModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataComponentMap> BlockEntity.ComponentHelper.COMPONENTS_CODECMethods in net.minecraft.world.level.block.entity that return DataComponentMapModifier and TypeMethodDescriptionfinal DataComponentMapBlockEntity.collectComponents()BlockEntity.components()Methods in net.minecraft.world.level.block.entity with parameters of type DataComponentMapModifier and TypeMethodDescriptionfinal voidBlockEntity.applyComponents(DataComponentMap components, DataComponentPatch patch) voidBlockEntity.setComponents(DataComponentMap components) -
Uses of DataComponentMap in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions that return DataComponentMap -
Uses of DataComponentMap in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type DataComponentMapModifier and TypeMethodDescriptionvoidMutableDataComponentHolder.applyComponents(DataComponentMap components) Applies a set of component changes to this stack. -
Uses of DataComponentMap in net.neoforged.neoforge.common.crafting
Methods in net.neoforged.neoforge.common.crafting with parameters of type DataComponentMapModifier and TypeMethodDescriptionstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given components -
Uses of DataComponentMap in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids that return DataComponentMapMethods in net.neoforged.neoforge.fluids with parameters of type DataComponentMapModifier and TypeMethodDescriptionvoidFluidStack.applyComponents(DataComponentMap components) Applies a set of component changes to this stack. -
Uses of DataComponentMap in net.neoforged.neoforge.fluids.crafting
Methods in net.neoforged.neoforge.fluids.crafting with parameters of type DataComponentMapModifier and TypeMethodDescriptionstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given components