Uses of Class
net.minecraft.component.type.ItemEnchantmentsComponent
Packages that use ItemEnchantmentsComponent
Package
Description
The base package for all Minecraft classes.
-
Uses of ItemEnchantmentsComponent in net.minecraft
Methods in net.minecraft that return types with arguments of type ItemEnchantmentsComponentModifier and TypeMethodDescriptionclass_9356.class_9357.method_58163()class_9356.class_9358.method_58163()Methods in net.minecraft with parameters of type ItemEnchantmentsComponentModifier and TypeMethodDescriptionbooleanclass_9356.method_58167(ItemStack itemStack, ItemEnchantmentsComponent itemEnchantmentsComponent) -
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 TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<ItemEnchantmentsComponent> ItemEnchantmentsComponent.BASE_CODECstatic 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)