Uses of Interface
net.minecraft.component.DataComponentType
Packages that use DataComponentType
Package
Description
The base package for all Minecraft classes.
-
Uses of DataComponentType in net.minecraft
Fields in net.minecraft declared as DataComponentTypeModifier and TypeFieldDescriptionstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.AMMO_USEstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.ARMOR_EFFECTIVENESSstatic final DataComponentType<List<class_9720>> class_9701.ATTRIBUTESstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.BLOCK_EXPERIENCEstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.CROSSBOW_CHARGE_TIMEstatic final DataComponentType<List<CrossbowItem.class_9693>> class_9701.CROSSBOW_CHARGING_SOUNDSstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.DAMAGEstatic final DataComponentType<List<class_9698<class_9718>>> class_9701.DAMAGE_IMMUNITYstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.DAMAGE_PROTECTIONstatic final DataComponentType<List<class_9710<class_9723>>> class_9701.EQUIPMENT_DROPSstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.FISHING_LUCK_BONUSstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.FISHING_TIME_REDUCTIONstatic final DataComponentType<List<class_9698<class_9721>>> class_9701.HIT_BLOCKstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.ITEM_DAMAGEstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.KNOCKBACKstatic final DataComponentType<List<class_9698<class_9722>>> class_9701.LOCATION_CHANGEDstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.MOB_EXPERIENCEstatic final DataComponentType<List<class_9710<class_9721>>> class_9701.POST_ATTACKstatic final DataComponentType<Unit> class_9701.PREVENT_ARMOR_CHANGEstatic final DataComponentType<Unit> class_9701.PREVENT_EQUIPMENT_DROPstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.PROJECTILE_COUNTstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.PROJECTILE_PIERCINGstatic final DataComponentType<List<class_9698<class_9721>>> class_9701.PROJECTILE_SPAWNEDstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.PROJECTILE_SPREADstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.REPAIR_WITH_XPstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.SMASH_DAMAGE_PER_FALLEN_BLOCKstatic final DataComponentType<List<class_9698<class_9721>>> class_9701.TICKstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.TRIDENT_RETURN_ACCELERATIONstatic final DataComponentType<List<RegistryEntry<SoundEvent>>> class_9701.TRIDENT_SOUNDstatic final DataComponentType<List<class_9698<class_9723>>> class_9701.TRIDENT_SPIN_ATTACK_STRENGTHFields in net.minecraft with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataComponentType<?>> class_9701.field_51657Methods in net.minecraft that return DataComponentTypeModifier and TypeMethodDescriptionprivate static <T> DataComponentType<T> class_9701.method_60078(String string, UnaryOperator<DataComponentType.Builder<T>> unaryOperator) static DataComponentType<?> class_9701.method_60079(Registry<DataComponentType<?>> registry) Method parameters in net.minecraft with type arguments of type DataComponentTypeModifier and TypeMethodDescriptionstatic DataComponentType<?> class_9701.method_60079(Registry<DataComponentType<?>> registry) -
Uses of DataComponentType in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type DataComponentTypeModifier and TypeMethodDescription<T> TBlockEntity.ComponentsAccess.get(DataComponentType<T> type) <T> TBlockEntity.ComponentsAccess.getOrDefault(DataComponentType<? extends T> type, T fallback) -
Uses of DataComponentType in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionprivate final RegistryWrapper.Impl<DataComponentType<?>> ItemPredicateArgumentType.class_9445.dataComponentTypeRegistryWrapperMethods in net.minecraft.command.argument that return DataComponentTypeModifier and TypeMethodDescriptionstatic DataComponentType<?> ItemStringReader.Reader.readComponentType(com.mojang.brigadier.StringReader reader) Methods in net.minecraft.command.argument with parameters of type DataComponentTypeModifier and TypeMethodDescriptiondefault <T> voidItemStringReader.Callbacks.method_60379(DataComponentType<T> dataComponentType) default <T> voidItemStringReader.Callbacks.onComponent(DataComponentType<T> type, T value) static <T> ItemPredicateArgumentType.ComponentCheckItemPredicateArgumentType.ComponentCheck.read(com.mojang.brigadier.ImmutableStringReader reader, Identifier id, DataComponentType<T> type) private <T> voidItemStringReader.Reader.readComponentValue(DataComponentType<T> type) -
Uses of DataComponentType in net.minecraft.component
Classes in net.minecraft.component that implement DataComponentTypeModifier and TypeClassDescriptionprivate static classFields in net.minecraft.component declared as DataComponentTypeModifier and TypeFieldDescriptionstatic final DataComponentType<AttributeModifiersComponent> DataComponentTypes.ATTRIBUTE_MODIFIERSstatic final DataComponentType<BannerPatternsComponent> DataComponentTypes.BANNER_PATTERNSstatic final DataComponentType<DyeColor> DataComponentTypes.BASE_COLORstatic final DataComponentType<List<BeehiveBlockEntity.BeeData>> DataComponentTypes.BEESstatic final DataComponentType<NbtComponent> DataComponentTypes.BLOCK_ENTITY_DATAstatic final DataComponentType<BlockStateComponent> DataComponentTypes.BLOCK_STATEstatic final DataComponentType<NbtComponent> DataComponentTypes.BUCKET_ENTITY_DATAstatic final DataComponentType<BundleContentsComponent> DataComponentTypes.BUNDLE_CONTENTSstatic final DataComponentType<BlockPredicatesChecker> DataComponentTypes.CAN_BREAKstatic final DataComponentType<BlockPredicatesChecker> DataComponentTypes.CAN_PLACE_ONstatic final DataComponentType<ChargedProjectilesComponent> DataComponentTypes.CHARGED_PROJECTILESstatic final DataComponentType<ContainerComponent> DataComponentTypes.CONTAINERstatic final DataComponentType<ContainerLootComponent> DataComponentTypes.CONTAINER_LOOTstatic final DataComponentType<Unit> DataComponentTypes.CREATIVE_SLOT_LOCKstatic final DataComponentType<NbtComponent> DataComponentTypes.CUSTOM_DATAstatic final DataComponentType<CustomModelDataComponent> DataComponentTypes.CUSTOM_MODEL_DATAstatic final DataComponentType<Text> DataComponentTypes.CUSTOM_NAMEstatic final DataComponentType<Integer> DataComponentTypes.DAMAGEstatic final DataComponentType<DebugStickStateComponent> DataComponentTypes.DEBUG_STICK_STATEstatic final DataComponentType<DyedColorComponent> DataComponentTypes.DYED_COLORstatic final DataComponentType<Boolean> DataComponentTypes.ENCHANTMENT_GLINT_OVERRIDEstatic final DataComponentType<ItemEnchantmentsComponent> DataComponentTypes.ENCHANTMENTSstatic final DataComponentType<NbtComponent> DataComponentTypes.ENTITY_DATAstatic final DataComponentType<Unit> DataComponentTypes.FIRE_RESISTANTstatic final DataComponentType<FireworkExplosionComponent> DataComponentTypes.FIREWORK_EXPLOSIONstatic final DataComponentType<FireworksComponent> DataComponentTypes.FIREWORKSstatic final DataComponentType<FoodComponent> DataComponentTypes.FOODstatic final DataComponentType<Unit> DataComponentTypes.HIDE_ADDITIONAL_TOOLTIPstatic final DataComponentType<Unit> DataComponentTypes.HIDE_TOOLTIPstatic final DataComponentType<RegistryEntry<Instrument>> DataComponentTypes.INSTRUMENTstatic final DataComponentType<Unit> DataComponentTypes.INTANGIBLE_PROJECTILEstatic final DataComponentType<Text> DataComponentTypes.ITEM_NAMEstatic final DataComponentType<ContainerLock> DataComponentTypes.LOCKstatic final DataComponentType<LodestoneTrackerComponent> DataComponentTypes.LODESTONE_TRACKERstatic final DataComponentType<LoreComponent> DataComponentTypes.LOREstatic final DataComponentType<MapColorComponent> DataComponentTypes.MAP_COLORstatic final DataComponentType<MapDecorationsComponent> DataComponentTypes.MAP_DECORATIONSstatic final DataComponentType<MapIdComponent> DataComponentTypes.MAP_IDstatic final DataComponentType<MapPostProcessingComponent> DataComponentTypes.MAP_POST_PROCESSINGstatic final DataComponentType<Integer> DataComponentTypes.MAX_DAMAGEstatic final DataComponentType<Integer> DataComponentTypes.MAX_STACK_SIZEstatic final DataComponentType<Identifier> DataComponentTypes.NOTE_BLOCK_SOUNDstatic final DataComponentType<Integer> DataComponentTypes.OMINOUS_BOTTLE_AMPLIFIERstatic final DataComponentType<Sherds> DataComponentTypes.POT_DECORATIONSstatic final DataComponentType<PotionContentsComponent> DataComponentTypes.POTION_CONTENTSstatic final DataComponentType<ProfileComponent> DataComponentTypes.PROFILEstatic final DataComponentType<Rarity> DataComponentTypes.RARITYstatic final DataComponentType<List<Identifier>> DataComponentTypes.RECIPESstatic final DataComponentType<Integer> DataComponentTypes.REPAIR_COSTstatic final DataComponentType<ItemEnchantmentsComponent> DataComponentTypes.STORED_ENCHANTMENTSstatic final DataComponentType<SuspiciousStewEffectsComponent> DataComponentTypes.SUSPICIOUS_STEW_EFFECTSstatic final DataComponentType<ToolComponent> DataComponentTypes.TOOLstatic final DataComponentType<ArmorTrim> DataComponentTypes.TRIMprivate final DataComponentType<T> Component.typeThe field for thetyperecord component.private final DataComponentType<?> ComponentChanges.Type.typeThe field for thetyperecord component.static final DataComponentType<UnbreakableComponent> DataComponentTypes.UNBREAKABLEstatic final DataComponentType<WritableBookContentComponent> DataComponentTypes.WRITABLE_BOOK_CONTENTstatic final DataComponentType<WrittenBookContentComponent> DataComponentTypes.WRITTEN_BOOK_CONTENTFields in net.minecraft.component with type parameters of type DataComponentTypeModifier and TypeFieldDescription(package private) final Reference2ObjectMap<DataComponentType<?>, Optional<?>> ComponentChanges.changedComponentsprivate Reference2ObjectMap<DataComponentType<?>, Optional<?>> ComponentMapImpl.changedComponentsprivate final Reference2ObjectMap<DataComponentType<?>, Optional<?>> ComponentChanges.Builder.changesstatic final com.mojang.serialization.Codec<DataComponentType<?>> DataComponentType.CODECprivate final Reference2ObjectMap<DataComponentType<?>, Object> ComponentMap.Builder.componentsprivate final Reference2ObjectMap<DataComponentType<?>, Object> ComponentMap.Builder.SimpleComponentMap.mapThe field for themaprecord component.static final PacketCodec<RegistryByteBuf, DataComponentType<?>> DataComponentType.PACKET_CODECstatic final com.mojang.serialization.Codec<DataComponentType<?>> DataComponentType.PERSISTENT_CODECprivate final Set<DataComponentType<?>> ComponentChanges.AddedRemovedPair.removedThe field for theremovedrecord component.static final com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> DataComponentType.TYPE_TO_VALUE_MAP_CODECMethods in net.minecraft.component that return DataComponentTypeModifier and TypeMethodDescriptionDataComponentType.Builder.build()static DataComponentType<?> DataComponentTypes.getDefault(Registry<DataComponentType<?>> registry) private static <T> DataComponentType<T> DataComponentTypes.register(String id, UnaryOperator<DataComponentType.Builder<T>> builderOperator) Component.type()Returns the value of thetyperecord component.ComponentChanges.Type.type()Returns the value of thetyperecord component.Methods in net.minecraft.component that return types with arguments of type DataComponentTypeModifier and TypeMethodDescriptionSet<Map.Entry<DataComponentType<?>, Optional<?>>> ComponentChanges.entrySet()Set<DataComponentType<?>> ComponentMap.Builder.SimpleComponentMap.getTypes()Set<DataComponentType<?>> ComponentMap.getTypes()Set<DataComponentType<?>> ComponentMapImpl.getTypes()ComponentMap.Builder.SimpleComponentMap.map()Returns the value of themaprecord component.Set<DataComponentType<?>> ComponentChanges.AddedRemovedPair.removed()Returns the value of theremovedrecord component.Methods in net.minecraft.component with parameters of type DataComponentTypeModifier and TypeMethodDescriptionComponentChanges.Builder.add(DataComponentType<T> type, T value) ComponentMap.Builder.add(DataComponentType<T> type, T value) private voidComponentMapImpl.applyChange(DataComponentType<?> type, Optional<?> optional) default booleanComponentHolder.contains(DataComponentType<?> type) Returns whether the held components includetype.booleanComponentMap.Builder.SimpleComponentMap.contains(DataComponentType<?> type) default booleanComponentMap.contains(DataComponentType<?> type) ComponentMap.copy(DataComponentType<T> type) ComponentChanges.get(DataComponentType<? extends T> type) default <T> TComponentHolder.get(DataComponentType<? extends T> type) Returns the value for the componenttype, ornullif the component is missing.<T> TComponentMap.Builder.SimpleComponentMap.get(DataComponentType<? extends T> type) <T> TComponentMap.get(DataComponentType<? extends T> type) <T> TComponentMapImpl.get(DataComponentType<? extends T> type) default <T> TComponentHolder.getOrDefault(DataComponentType<? extends T> type, T fallback) Returns the value for the componenttype, orfallbackif the component is missing.default <T> TComponentMap.getOrDefault(DataComponentType<? extends T> type, T fallback) static <T> Component<T> Component.of(DataComponentType<T> type, Object value) (package private) <T> voidComponentMap.Builder.put(DataComponentType<T> type, @Nullable Object value) ComponentChanges.Builder.remove(DataComponentType<T> type) <T> TComponentMapImpl.remove(DataComponentType<? extends T> type) <T> TComponentMapImpl.set(DataComponentType<? super T> type, T value) Method parameters in net.minecraft.component with type arguments of type DataComponentTypeModifier and TypeMethodDescriptionprivate static ComponentMapComponentMap.Builder.build(Map<DataComponentType<?>, Object> components) default ComponentMapComponentMap.filtered(Predicate<DataComponentType<?>> predicate) static DataComponentType<?> DataComponentTypes.getDefault(Registry<DataComponentType<?>> registry) static com.mojang.serialization.Codec<ComponentMap> ComponentMap.method_60386(com.mojang.serialization.Codec<DataComponentType<?>> codec) static com.mojang.serialization.Codec<ComponentMap> ComponentMap.method_60388(com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> codec) (package private) static Component<?> Component.of(Map.Entry<DataComponentType<?>, Object> entry) private static booleanComponentMapImpl.shouldReuseChangesMap(ComponentMap baseComponents, Reference2ObjectMap<DataComponentType<?>, Optional<?>> changedComponents) (package private) static StringComponentChanges.toString(Reference2ObjectMap<DataComponentType<?>, Optional<?>> changes) ComponentChanges.withRemovedIf(Predicate<DataComponentType<?>> removedTypePredicate) Constructors in net.minecraft.component with parameters of type DataComponentTypeModifierConstructorDescriptionComponent(DataComponentType<T> dataComponentType, T t) (package private)Type(DataComponentType<?> dataComponentType, boolean bool) Constructor parameters in net.minecraft.component with type arguments of type DataComponentTypeModifierConstructorDescriptionAddedRemovedPair(ComponentMap componentMap, Set<DataComponentType<?>> set) (package private)ComponentChanges(Reference2ObjectMap<DataComponentType<?>, Optional<?>> changedComponents) privateComponentMapImpl(ComponentMap baseComponents, Reference2ObjectMap<DataComponentType<?>, Optional<?>> changedComponents, boolean copyOnWrite) (package private)SimpleComponentMap(Reference2ObjectMap<DataComponentType<?>, Object> reference2ObjectMap) -
Uses of DataComponentType in net.minecraft.component.type
Methods in net.minecraft.component.type with parameters of type DataComponentTypeModifier and TypeMethodDescriptionNbtComponent.createPredicate(DataComponentType<NbtComponent> type, NbtCompound nbt) static voidNbtComponent.set(DataComponentType<NbtComponent> type, ItemStack stack, Consumer<NbtCompound> nbtSetter) static voidNbtComponent.set(DataComponentType<NbtComponent> type, ItemStack stack, NbtCompound nbt) -
Uses of DataComponentType in net.minecraft.enchantment
Fields in net.minecraft.enchantment with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionprivate final Map<DataComponentType<?>, List<?>> Enchantment.class_9700.field_51647Methods in net.minecraft.enchantment that return DataComponentTypeModifier and TypeMethodDescriptionprivate static DataComponentType<ItemEnchantmentsComponent> EnchantmentHelper.getEnchantmentsComponentType(ItemStack stack) Methods in net.minecraft.enchantment with parameters of type DataComponentTypeModifier and TypeMethodDescriptionstatic Optional<class_9699> EnchantmentHelper.chooseEquipmentWith(DataComponentType<?> dataComponentType, LivingEntity livingEntity, Predicate<ItemStack> predicate) Returns a pair of an equipment slot and the item stack in the supplied entity's slot.<T> List<T> Enchantment.method_60034(DataComponentType<List<T>> dataComponentType) private voidEnchantment.method_60035(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) private voidEnchantment.method_60036(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) private voidEnchantment.method_60037(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) Enchantment.class_9700.method_60062(DataComponentType<Unit> dataComponentType) Enchantment.class_9700.method_60063(DataComponentType<List<class_9710<E>>> dataComponentType, class_9703 class_9703, class_9703 class_97032, E e) Enchantment.class_9700.method_60064(DataComponentType<List<class_9710<E>>> dataComponentType, class_9703 class_9703, class_9703 class_97032, E e, LootCondition.Builder builder) Enchantment.class_9700.method_60065(DataComponentType<List<class_9720>> dataComponentType, class_9720 class_9720) Enchantment.class_9700.method_60066(DataComponentType<List<class_9698<E>>> dataComponentType, E e) Enchantment.class_9700.method_60067(DataComponentType<List<class_9698<E>>> dataComponentType, E e, LootCondition.Builder builder) private <E> List<E> Enchantment.class_9700.method_60069(DataComponentType<List<E>> dataComponentType) Enchantment.class_9700.method_60070(DataComponentType<E> dataComponentType, E e) static booleanEnchantmentHelper.method_60142(ItemStack itemStack, DataComponentType<?> dataComponentType) static <T> Optional<T> EnchantmentHelper.method_60165(ItemStack itemStack, DataComponentType<List<T>> dataComponentType) EnchantmentHelper.method_60174(ItemStack itemStack, DataComponentType<T> dataComponentType) -
Uses of DataComponentType in net.minecraft.item
Methods in net.minecraft.item with parameters of type DataComponentTypeModifier and TypeMethodDescriptionprivate <T extends TooltipAppender>
voidItemStack.appendTooltip(DataComponentType<T> componentType, Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type) <T> TItemStack.apply(DataComponentType<T> type, T defaultValue, UnaryOperator<T> applier) Sets the componenttypeby passing the current value (ordefaultValueif the component is missing) toapplierand then setting its return value as the value.<T,U> T ItemStack.apply(DataComponentType<T> type, T defaultValue, U change, BiFunction<T, U, T> applier) Sets the componenttypeby passing the current value andchangetoapplier, then setting its return value as the value.<T> Item.SettingsItem.Settings.component(DataComponentType<T> type, T value) <T> TItemStack.remove(DataComponentType<? extends T> type) Removes the componenttype.<T> TItemStack.set(DataComponentType<? super T> type, T value) Sets the componenttypefor this item stack tovalue. -
Uses of DataComponentType in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final Map<DataComponentType<?>, ContainerComponentModifier<?>> ContainerComponentModifiers.TYPE_TO_MODIFIERMethods in net.minecraft.loot that return DataComponentType -
Uses of DataComponentType in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as DataComponentTypeModifier and TypeFieldDescriptionprivate final DataComponentType<T> ToggleTooltipsLootFunction.Toggle.typeThe field for thetyperecord component.Fields in net.minecraft.loot.function with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionprivate Optional<ImmutableList.Builder<DataComponentType<?>>> CopyComponentsLootFunction.Builder.excludeprivate final Optional<List<DataComponentType<?>>> CopyComponentsLootFunction.excludeprivate final Predicate<DataComponentType<?>> CopyComponentsLootFunction.filterprivate Optional<ImmutableList.Builder<DataComponentType<?>>> CopyComponentsLootFunction.Builder.includeprivate final Optional<List<DataComponentType<?>>> CopyComponentsLootFunction.includeprivate static final Map<DataComponentType<?>, ToggleTooltipsLootFunction.Toggle<?>> ToggleTooltipsLootFunction.TOGGLESMethods in net.minecraft.loot.function that return DataComponentTypeModifier and TypeMethodDescriptionSetNameLootFunction.Target.getComponentType()ToggleTooltipsLootFunction.Toggle.type()Returns the value of thetyperecord component.Methods in net.minecraft.loot.function with parameters of type DataComponentTypeModifier and TypeMethodDescriptionstatic <T> ConditionalLootFunction.Builder<?> SetComponentsLootFunction.builder(DataComponentType<T> componentType, T value) CopyComponentsLootFunction.Builder.exclude(DataComponentType<?> type) CopyComponentsLootFunction.Builder.include(DataComponentType<?> type) Constructors in net.minecraft.loot.function with parameters of type DataComponentTypeModifierConstructorDescription(package private)Toggle(DataComponentType<T> dataComponentType, ToggleTooltipsLootFunction.TooltipSetter<T> tooltipSetter) Constructor parameters in net.minecraft.loot.function with type arguments of type DataComponentTypeModifierConstructorDescription(package private)CopyComponentsLootFunction(List<LootCondition> conditions, CopyComponentsLootFunction.Source source, Optional<List<DataComponentType<?>>> include, Optional<List<DataComponentType<?>>> exclude) -
Uses of DataComponentType in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type DataComponentTypeModifier and TypeMethodDescriptionComponentPredicate.Builder.add(DataComponentType<? super T> type, T value) -
Uses of DataComponentType in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item that return DataComponentTypeModifier and TypeMethodDescriptionAttributeModifiersPredicate.getComponentType()BundleContentsPredicate.getComponentType()ComponentSubPredicate.getComponentType()ContainerPredicate.getComponentType()DamagePredicate.getComponentType()EnchantmentsPredicate.Enchantments.getComponentType()EnchantmentsPredicate.StoredEnchantments.getComponentType()FireworkExplosionPredicate.getComponentType()FireworksPredicate.getComponentType()PotionContentsPredicate.getComponentType()TrimPredicate.getComponentType()WritableBookContentPredicate.getComponentType()WrittenBookContentPredicate.getComponentType() -
Uses of DataComponentType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final Registry<DataComponentType<?>> Registries.DATA_COMPONENT_TYPEstatic final RegistryKey<Registry<DataComponentType<?>>> RegistryKeys.DATA_COMPONENT_TYPEstatic final RegistryKey<Registry<DataComponentType<?>>> RegistryKeys.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final Registry<DataComponentType<?>> Registries.field_51832