Uses of Interface
net.minecraft.component.ComponentType
Package
Description
-
Uses of ComponentType in net.minecraft.block.entity
Modifier and TypeMethodDescription<T> T
BlockEntity.ComponentsAccess.get
(ComponentType<T> type) <T> T
BlockEntity.ComponentsAccess.getOrDefault
(ComponentType<? extends T> type, T fallback) -
Uses of ComponentType in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final RegistryWrapper.Impl
<ComponentType<?>> ItemPredicateArgumentType.Context.dataComponentTypeRegistryWrapper
Modifier and TypeMethodDescriptionstatic ComponentType
<?> ItemStringReader.Reader.readComponentType
(com.mojang.brigadier.StringReader reader) Modifier and TypeMethodDescriptiondefault <T> void
ItemStringReader.Callbacks.onComponentAdded
(ComponentType<T> type, T value) default <T> void
ItemStringReader.Callbacks.onComponentRemoved
(ComponentType<T> type) static <T> ItemPredicateArgumentType.ComponentCheck
ItemPredicateArgumentType.ComponentCheck.read
(com.mojang.brigadier.ImmutableStringReader reader, Identifier id, ComponentType<T> type) private <T> void
ItemStringReader.Reader.readComponentValue
(ComponentType<T> type) -
Uses of ComponentType in net.minecraft.component
Modifier and TypeClassDescriptionprivate static class
Modifier and TypeFieldDescriptionstatic final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.AMMO_USE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.ARMOR_EFFECTIVENESS
static final ComponentType
<AttributeModifiersComponent> DataComponentTypes.ATTRIBUTE_MODIFIERS
static final ComponentType
<List<AttributeEnchantmentEffect>> EnchantmentEffectComponentTypes.ATTRIBUTES
static final ComponentType
<BannerPatternsComponent> DataComponentTypes.BANNER_PATTERNS
static final ComponentType
<DyeColor> DataComponentTypes.BASE_COLOR
static final ComponentType
<List<BeehiveBlockEntity.BeeData>> DataComponentTypes.BEES
static final ComponentType
<NbtComponent> DataComponentTypes.BLOCK_ENTITY_DATA
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.BLOCK_EXPERIENCE
static final ComponentType
<BlockStateComponent> DataComponentTypes.BLOCK_STATE
static final ComponentType
<NbtComponent> DataComponentTypes.BUCKET_ENTITY_DATA
static final ComponentType
<BundleContentsComponent> DataComponentTypes.BUNDLE_CONTENTS
static final ComponentType
<BlockPredicatesChecker> DataComponentTypes.CAN_BREAK
static final ComponentType
<BlockPredicatesChecker> DataComponentTypes.CAN_PLACE_ON
static final ComponentType
<ChargedProjectilesComponent> DataComponentTypes.CHARGED_PROJECTILES
static final ComponentType
<ContainerComponent> DataComponentTypes.CONTAINER
static final ComponentType
<ContainerLootComponent> DataComponentTypes.CONTAINER_LOOT
static final ComponentType
<Unit> DataComponentTypes.CREATIVE_SLOT_LOCK
static final ComponentType
<EnchantmentValueEffect> EnchantmentEffectComponentTypes.CROSSBOW_CHARGE_TIME
static final ComponentType
<List<CrossbowItem.LoadingSounds>> EnchantmentEffectComponentTypes.CROSSBOW_CHARGING_SOUNDS
static final ComponentType
<NbtComponent> DataComponentTypes.CUSTOM_DATA
static final ComponentType
<CustomModelDataComponent> DataComponentTypes.CUSTOM_MODEL_DATA
static final ComponentType
<Text> DataComponentTypes.CUSTOM_NAME
static final ComponentType
<Integer> DataComponentTypes.DAMAGE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.DAMAGE
static final ComponentType
<List<EnchantmentEffectEntry<DamageImmunityEnchantmentEffect>>> EnchantmentEffectComponentTypes.DAMAGE_IMMUNITY
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.DAMAGE_PROTECTION
static final ComponentType
<DebugStickStateComponent> DataComponentTypes.DEBUG_STICK_STATE
static final ComponentType
<DyedColorComponent> DataComponentTypes.DYED_COLOR
static final ComponentType
<Boolean> DataComponentTypes.ENCHANTMENT_GLINT_OVERRIDE
static final ComponentType
<ItemEnchantmentsComponent> DataComponentTypes.ENCHANTMENTS
static final ComponentType
<NbtComponent> DataComponentTypes.ENTITY_DATA
static final ComponentType
<List<TargetedEnchantmentEffect<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.EQUIPMENT_DROPS
static final ComponentType
<Unit> DataComponentTypes.FIRE_RESISTANT
static final ComponentType
<FireworkExplosionComponent> DataComponentTypes.FIREWORK_EXPLOSION
static final ComponentType
<FireworksComponent> DataComponentTypes.FIREWORKS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.FISHING_LUCK_BONUS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.FISHING_TIME_REDUCTION
static final ComponentType
<FoodComponent> DataComponentTypes.FOOD
static final ComponentType
<Unit> DataComponentTypes.HIDE_ADDITIONAL_TOOLTIP
static final ComponentType
<Unit> DataComponentTypes.HIDE_TOOLTIP
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.HIT_BLOCK
static final ComponentType
<RegistryEntry<Instrument>> DataComponentTypes.INSTRUMENT
static final ComponentType
<Unit> DataComponentTypes.INTANGIBLE_PROJECTILE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.ITEM_DAMAGE
static final ComponentType
<Text> DataComponentTypes.ITEM_NAME
static final ComponentType
<JukeboxPlayableComponent> DataComponentTypes.JUKEBOX_PLAYABLE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.KNOCKBACK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentLocationBasedEffect>>> EnchantmentEffectComponentTypes.LOCATION_CHANGED
static final ComponentType
<ContainerLock> DataComponentTypes.LOCK
static final ComponentType
<LodestoneTrackerComponent> DataComponentTypes.LODESTONE_TRACKER
static final ComponentType
<LoreComponent> DataComponentTypes.LORE
static final ComponentType
<MapColorComponent> DataComponentTypes.MAP_COLOR
static final ComponentType
<MapDecorationsComponent> DataComponentTypes.MAP_DECORATIONS
static final ComponentType
<MapIdComponent> DataComponentTypes.MAP_ID
static final ComponentType
<MapPostProcessingComponent> DataComponentTypes.MAP_POST_PROCESSING
static final ComponentType
<Integer> DataComponentTypes.MAX_DAMAGE
static final ComponentType
<Integer> DataComponentTypes.MAX_STACK_SIZE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.MOB_EXPERIENCE
static final ComponentType
<Identifier> DataComponentTypes.NOTE_BLOCK_SOUND
static final ComponentType
<Integer> DataComponentTypes.OMINOUS_BOTTLE_AMPLIFIER
static final ComponentType
<List<TargetedEnchantmentEffect<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.POST_ATTACK
static final ComponentType
<Sherds> DataComponentTypes.POT_DECORATIONS
static final ComponentType
<PotionContentsComponent> DataComponentTypes.POTION_CONTENTS
static final ComponentType
<Unit> EnchantmentEffectComponentTypes.PREVENT_ARMOR_CHANGE
static final ComponentType
<Unit> EnchantmentEffectComponentTypes.PREVENT_EQUIPMENT_DROP
static final ComponentType
<ProfileComponent> DataComponentTypes.PROFILE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_COUNT
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_PIERCING
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_SPAWNED
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_SPREAD
static final ComponentType
<Rarity> DataComponentTypes.RARITY
static final ComponentType
<List<Identifier>> DataComponentTypes.RECIPES
static final ComponentType
<Integer> DataComponentTypes.REPAIR_COST
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.REPAIR_WITH_XP
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.SMASH_DAMAGE_PER_FALLEN_BLOCK
static final ComponentType
<ItemEnchantmentsComponent> DataComponentTypes.STORED_ENCHANTMENTS
static final ComponentType
<SuspiciousStewEffectsComponent> DataComponentTypes.SUSPICIOUS_STEW_EFFECTS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.TICK
static final ComponentType
<ToolComponent> DataComponentTypes.TOOL
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.TRIDENT_RETURN_ACCELERATION
static final ComponentType
<List<RegistryEntry<SoundEvent>>> EnchantmentEffectComponentTypes.TRIDENT_SOUND
static final ComponentType
<EnchantmentValueEffect> EnchantmentEffectComponentTypes.TRIDENT_SPIN_ATTACK_STRENGTH
static final ComponentType
<ArmorTrim> DataComponentTypes.TRIM
private final ComponentType
<T> Component.type
The field for thetype
record component.private final ComponentType
<?> ComponentChanges.Type.type
The field for thetype
record component.static final ComponentType
<UnbreakableComponent> DataComponentTypes.UNBREAKABLE
static final ComponentType
<WritableBookContentComponent> DataComponentTypes.WRITABLE_BOOK_CONTENT
static final ComponentType
<WrittenBookContentComponent> DataComponentTypes.WRITTEN_BOOK_CONTENT
Modifier and TypeFieldDescription(package private) final Reference2ObjectMap
<ComponentType<?>, Optional<?>> ComponentChanges.changedComponents
private Reference2ObjectMap
<ComponentType<?>, Optional<?>> ComponentMapImpl.changedComponents
private final Reference2ObjectMap
<ComponentType<?>, Optional<?>> ComponentChanges.Builder.changes
static final com.mojang.serialization.Codec
<ComponentType<?>> ComponentType.CODEC
static final com.mojang.serialization.Codec
<ComponentType<?>> EnchantmentEffectComponentTypes.COMPONENT_TYPE_CODEC
private final Reference2ObjectMap
<ComponentType<?>, Object> ComponentMap.Builder.components
private final Reference2ObjectMap
<ComponentType<?>, Object> ComponentMap.Builder.SimpleComponentMap.map
The field for themap
record component.static final PacketCodec
<RegistryByteBuf, ComponentType<?>> ComponentType.PACKET_CODEC
static final com.mojang.serialization.Codec
<ComponentType<?>> ComponentType.PERSISTENT_CODEC
private final Set
<ComponentType<?>> ComponentChanges.AddedRemovedPair.removed
The field for theremoved
record component.static final com.mojang.serialization.Codec
<Map<ComponentType<?>, Object>> ComponentType.TYPE_TO_VALUE_MAP_CODEC
Modifier and TypeMethodDescriptionComponentType.Builder.build()
static ComponentType
<?> DataComponentTypes.getDefault
(Registry<ComponentType<?>> registry) static ComponentType
<?> EnchantmentEffectComponentTypes.getDefault
(Registry<ComponentType<?>> registry) private static <T> ComponentType
<T> DataComponentTypes.register
(String id, UnaryOperator<ComponentType.Builder<T>> builderOperator) private static <T> ComponentType
<T> EnchantmentEffectComponentTypes.register
(String id, UnaryOperator<ComponentType.Builder<T>> builderOperator) Component.type()
Returns the value of thetype
record component.ComponentChanges.Type.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionSet
<Map.Entry<ComponentType<?>, Optional<?>>> ComponentChanges.entrySet()
Set
<ComponentType<?>> ComponentMap.Builder.SimpleComponentMap.getTypes()
Set
<ComponentType<?>> ComponentMap.getTypes()
Set
<ComponentType<?>> ComponentMapImpl.getTypes()
ComponentMap.Builder.SimpleComponentMap.map()
Returns the value of themap
record component.Set
<ComponentType<?>> ComponentChanges.AddedRemovedPair.removed()
Returns the value of theremoved
record component.Modifier and TypeMethodDescriptionComponentChanges.Builder.add
(ComponentType<T> type, T value) ComponentMap.Builder.add
(ComponentType<T> type, T value) private void
ComponentMapImpl.applyChange
(ComponentType<?> type, Optional<?> optional) default boolean
ComponentHolder.contains
(ComponentType<?> type) Returns whether the held components includetype
.boolean
ComponentMap.Builder.SimpleComponentMap.contains
(ComponentType<?> type) default boolean
ComponentMap.contains
(ComponentType<?> type) ComponentMap.copy
(ComponentType<T> type) ComponentChanges.get
(ComponentType<? extends T> type) default <T> T
ComponentHolder.get
(ComponentType<? extends T> type) Returns the value for the componenttype
, ornull
if the component is missing.<T> T
ComponentMap.Builder.SimpleComponentMap.get
(ComponentType<? extends T> type) <T> T
ComponentMap.get
(ComponentType<? extends T> type) <T> T
ComponentMapImpl.get
(ComponentType<? extends T> type) default <T> T
ComponentHolder.getOrDefault
(ComponentType<? extends T> type, T fallback) Returns the value for the componenttype
, orfallback
if the component is missing.default <T> T
ComponentMap.getOrDefault
(ComponentType<? extends T> type, T fallback) static <T> Component
<T> Component.of
(ComponentType<T> type, Object value) (package private) <T> void
ComponentMap.Builder.put
(ComponentType<T> type, @Nullable Object value) ComponentChanges.Builder.remove
(ComponentType<T> type) <T> T
ComponentMapImpl.remove
(ComponentType<? extends T> type) <T> T
ComponentMapImpl.set
(ComponentType<? super T> type, T value) Modifier and TypeMethodDescriptionprivate static ComponentMap
ComponentMap.Builder.build
(Map<ComponentType<?>, Object> components) static com.mojang.serialization.Codec
<ComponentMap> ComponentMap.createCodec
(com.mojang.serialization.Codec<ComponentType<?>> componentTypeCodec) static com.mojang.serialization.Codec
<ComponentMap> ComponentMap.createCodecFromValueMap
(com.mojang.serialization.Codec<Map<ComponentType<?>, Object>> typeToValueMapCodec) default ComponentMap
ComponentMap.filtered
(Predicate<ComponentType<?>> predicate) static ComponentType
<?> DataComponentTypes.getDefault
(Registry<ComponentType<?>> registry) static ComponentType
<?> EnchantmentEffectComponentTypes.getDefault
(Registry<ComponentType<?>> registry) (package private) static Component
<?> Component.of
(Map.Entry<ComponentType<?>, Object> entry) private static boolean
ComponentMapImpl.shouldReuseChangesMap
(ComponentMap baseComponents, Reference2ObjectMap<ComponentType<?>, Optional<?>> changedComponents) (package private) static String
ComponentChanges.toString
(Reference2ObjectMap<ComponentType<?>, Optional<?>> changes) ComponentChanges.withRemovedIf
(Predicate<ComponentType<?>> removedTypePredicate) ModifierConstructorDescriptionComponent
(ComponentType<T> componentType, T t) (package private)
Type
(ComponentType<?> componentType, boolean bool) ModifierConstructorDescriptionAddedRemovedPair
(ComponentMap componentMap, Set<ComponentType<?>> set) (package private)
ComponentChanges
(Reference2ObjectMap<ComponentType<?>, Optional<?>> changedComponents) private
ComponentMapImpl
(ComponentMap baseComponents, Reference2ObjectMap<ComponentType<?>, Optional<?>> changedComponents, boolean copyOnWrite) (package private)
SimpleComponentMap
(Reference2ObjectMap<ComponentType<?>, Object> reference2ObjectMap) -
Uses of ComponentType in net.minecraft.component.type
Modifier and TypeMethodDescriptionNbtComponent.createPredicate
(ComponentType<NbtComponent> type, NbtCompound nbt) static void
NbtComponent.set
(ComponentType<NbtComponent> type, ItemStack stack, Consumer<NbtCompound> nbtSetter) static void
NbtComponent.set
(ComponentType<NbtComponent> type, ItemStack stack, NbtCompound nbt) -
Uses of ComponentType in net.minecraft.enchantment
Modifier and TypeFieldDescriptionprivate final Map
<ComponentType<?>, List<?>> Enchantment.Builder.effectLists
Modifier and TypeMethodDescriptionprivate static ComponentType
<ItemEnchantmentsComponent> EnchantmentHelper.getEnchantmentsComponentType
(ItemStack stack) Modifier and TypeMethodDescriptionEnchantment.Builder.addEffect
(ComponentType<List<AttributeEnchantmentEffect>> type, AttributeEnchantmentEffect effect) Enchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect) Enchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect, LootCondition.Builder requirements) Enchantment.Builder.addEffect
(ComponentType<List<TargetedEnchantmentEffect<E>>> type, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect) Enchantment.Builder.addEffect
(ComponentType<List<TargetedEnchantmentEffect<E>>> type, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect, LootCondition.Builder requirements) Enchantment.Builder.addEffect
(ComponentType<Unit> type) Enchantment.Builder.addNonListEffect
(ComponentType<E> type, E effect) static Optional
<EnchantmentEffectContext> EnchantmentHelper.chooseEquipmentWith
(ComponentType<?> componentType, LivingEntity entity, Predicate<ItemStack> stackPredicate) Returns a pair of an equipment slot and the item stack in the supplied entity's slot.<T> List
<T> Enchantment.getEffect
(ComponentType<List<T>> type) static <T> Optional
<T> EnchantmentHelper.getEffect
(ItemStack stack, ComponentType<List<T>> componentType) EnchantmentHelper.getEffectListAndLevel
(ItemStack stack, ComponentType<T> componentType) private <E> List
<E> Enchantment.Builder.getEffectsList
(ComponentType<List<E>> type) static boolean
EnchantmentHelper.hasAnyEnchantmentsWith
(ItemStack stack, ComponentType<?> componentType) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, Entity user, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, MutableFloat value) void
Enchantment.modifyValue
(ComponentType<EnchantmentValueEffect> type, Random random, int level, MutableFloat value) -
Uses of ComponentType in net.minecraft.item
Modifier and TypeMethodDescriptionprivate <T extends TooltipAppender>
voidItemStack.appendTooltip
(ComponentType<T> componentType, Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type) <T> T
ItemStack.apply
(ComponentType<T> type, T defaultValue, UnaryOperator<T> applier) Sets the componenttype
by passing the current value (ordefaultValue
if the component is missing) toapplier
and then setting its return value as the value.<T,
U> T ItemStack.apply
(ComponentType<T> type, T defaultValue, U change, BiFunction<T, U, T> applier) Sets the componenttype
by passing the current value andchange
toapplier
, then setting its return value as the value.<T> Item.Settings
Item.Settings.component
(ComponentType<T> type, T value) <T> T
ItemStack.remove
(ComponentType<? extends T> type) Removes the componenttype
.<T> T
ItemStack.set
(ComponentType<? super T> type, T value) Sets the componenttype
for this item stack tovalue
. -
Uses of ComponentType in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final Map
<ComponentType<?>, ContainerComponentModifier<?>> ContainerComponentModifiers.TYPE_TO_MODIFIER
-
Uses of ComponentType in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final ComponentType
<T> ToggleTooltipsLootFunction.Toggle.type
The field for thetype
record component.Modifier and TypeFieldDescriptionprivate Optional
<ImmutableList.Builder<ComponentType<?>>> CopyComponentsLootFunction.Builder.exclude
private final Optional
<List<ComponentType<?>>> CopyComponentsLootFunction.exclude
private final Predicate
<ComponentType<?>> CopyComponentsLootFunction.filter
private Optional
<ImmutableList.Builder<ComponentType<?>>> CopyComponentsLootFunction.Builder.include
private final Optional
<List<ComponentType<?>>> CopyComponentsLootFunction.include
private static final Map
<ComponentType<?>, ToggleTooltipsLootFunction.Toggle<?>> ToggleTooltipsLootFunction.TOGGLES
Modifier and TypeMethodDescriptionSetNameLootFunction.Target.getComponentType()
ToggleTooltipsLootFunction.Toggle.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionstatic <T> ConditionalLootFunction.Builder
<?> SetComponentsLootFunction.builder
(ComponentType<T> componentType, T value) CopyComponentsLootFunction.Builder.exclude
(ComponentType<?> type) CopyComponentsLootFunction.Builder.include
(ComponentType<?> type) ModifierConstructorDescription(package private)
Toggle
(ComponentType<T> componentType, ToggleTooltipsLootFunction.TooltipSetter<T> tooltipSetter) ModifierConstructorDescription(package private)
CopyComponentsLootFunction
(List<LootCondition> conditions, CopyComponentsLootFunction.Source source, Optional<List<ComponentType<?>>> include, Optional<List<ComponentType<?>>> exclude) -
Uses of ComponentType in net.minecraft.predicate
Modifier and TypeMethodDescriptionComponentPredicate.Builder.add
(ComponentType<? super T> type, T value) -
Uses of ComponentType in net.minecraft.predicate.item
Modifier and TypeMethodDescriptionAttributeModifiersPredicate.getComponentType()
BundleContentsPredicate.getComponentType()
ComponentSubPredicate.getComponentType()
ContainerPredicate.getComponentType()
DamagePredicate.getComponentType()
EnchantmentsPredicate.Enchantments.getComponentType()
EnchantmentsPredicate.StoredEnchantments.getComponentType()
FireworkExplosionPredicate.getComponentType()
FireworksPredicate.getComponentType()
JukeboxPlayablePredicate.getComponentType()
PotionContentsPredicate.getComponentType()
TrimPredicate.getComponentType()
WritableBookContentPredicate.getComponentType()
WrittenBookContentPredicate.getComponentType()
-
Uses of ComponentType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<ComponentType<?>> Registries.DATA_COMPONENT_TYPE
static final RegistryKey
<Registry<ComponentType<?>>> RegistryKeys.DATA_COMPONENT_TYPE
static final Registry
<ComponentType<?>> Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPE
static final RegistryKey
<Registry<ComponentType<?>>> RegistryKeys.ENCHANTMENT_EFFECT_COMPONENT_TYPE