Uses of Class
net.minecraft.component.type.ItemEnchantmentsComponent
Packages that use ItemEnchantmentsComponent
Package
Description
-
Uses of ItemEnchantmentsComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type ItemEnchantmentsComponentModifier and TypeFieldDescriptionstatic final DataComponentType<ItemEnchantmentsComponent> DataComponentTypes.ENCHANTMENTSstatic final DataComponentType<ItemEnchantmentsComponent> DataComponentTypes.STORED_ENCHANTMENTS -
Uses of ItemEnchantmentsComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as ItemEnchantmentsComponentModifier and TypeFieldDescriptionstatic final ItemEnchantmentsComponentItemEnchantmentsComponent.DEFAULTFields in net.minecraft.component.type with type parameters of type ItemEnchantmentsComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ItemEnchantmentsComponent> ItemEnchantmentsComponent.CODECstatic final PacketCodec<RegistryByteBuf, ItemEnchantmentsComponent> ItemEnchantmentsComponent.PACKET_CODECMethods in net.minecraft.component.type that return ItemEnchantmentsComponentConstructors in net.minecraft.component.type with parameters of type ItemEnchantmentsComponent -
Uses of ItemEnchantmentsComponent in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return ItemEnchantmentsComponentModifier and TypeMethodDescriptionstatic ItemEnchantmentsComponentEnchantmentHelper.apply(ItemStack stack, Consumer<ItemEnchantmentsComponent.Builder> applier) static ItemEnchantmentsComponentEnchantmentHelper.getEnchantments(ItemStack stack) Methods in net.minecraft.enchantment that return types with arguments of type ItemEnchantmentsComponentModifier and TypeMethodDescriptionprivate static DataComponentType<ItemEnchantmentsComponent> EnchantmentHelper.getEnchantmentsComponentType(ItemStack stack) Methods in net.minecraft.enchantment with parameters of type ItemEnchantmentsComponentModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.set(ItemStack stack, ItemEnchantmentsComponent enchantments) -
Uses of ItemEnchantmentsComponent in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item with parameters of type ItemEnchantmentsComponentModifier and TypeMethodDescriptionbooleanEnchantmentPredicate.test(ItemEnchantmentsComponent enchantmentsComponent)