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> p_338248_) static DataComponentMapDataComponentMap.composite(DataComponentMap p_340974_, DataComponentMap p_341350_) default DataComponentMapDataComponentMap.filter(Predicate<DataComponentType<?>> p_331448_) 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<?>> p_345883_) static com.mojang.serialization.Codec<DataComponentMap> DataComponentMap.makeCodecFromMap(com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> p_346302_) Methods in net.minecraft.core.component with parameters of type DataComponentMapModifier and TypeMethodDescriptionDataComponentMap.Builder.addAll(DataComponentMap p_331194_) static DataComponentPredicateDataComponentPredicate.allOf(DataComponentMap p_331623_) static DataComponentMapDataComponentMap.composite(DataComponentMap p_340974_, DataComponentMap p_341350_) static PatchedDataComponentMapPatchedDataComponentMap.fromPatch(DataComponentMap p_331807_, DataComponentPatch p_331890_) private static booleanPatchedDataComponentMap.isPatchSanitized(DataComponentMap p_331938_, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_330946_) voidPatchedDataComponentMap.setAll(DataComponentMap p_331652_) booleanDataComponentPredicate.test(DataComponentMap p_331560_) Constructors in net.minecraft.core.component with parameters of type DataComponentMapModifierConstructorDescriptionPatchedDataComponentMap(DataComponentMap p_332070_) privatePatchedDataComponentMap(DataComponentMap p_331644_, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_331707_, boolean p_331170_) 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 p_330402_) static DataComponentMapItem.Properties.validateComponents(DataComponentMap datacomponentmap) static com.mojang.serialization.DataResult<Unit> ItemStack.validateComponents(DataComponentMap p_341201_) -
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 p_330364_, DataComponentPatch p_338381_) voidBlockEntity.setComponents(DataComponentMap p_338529_) -
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