Uses of Record Class
net.minecraft.enchantment.effect.EnchantmentEffectConditions
Packages that use EnchantmentEffectConditions
Package
Description
-
Uses of EnchantmentEffectConditions in net.minecraft.component
Fields in net.minecraft.component with type parameters of type EnchantmentEffectConditionsModifier and TypeFieldDescriptionstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.AMMO_USEstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.ARMOR_EFFECTIVENESSstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.BLOCK_EXPERIENCEstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.CROSSBOW_CHARGE_TIMEstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.DAMAGEEnchantmentEffectComponentTypes.DAMAGE_IMMUNITYstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.DAMAGE_PROTECTIONstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.FISHING_LUCK_BONUSstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.FISHING_TIME_REDUCTIONstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.HIT_BLOCKstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.ITEM_DAMAGEstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.KNOCKBACKEnchantmentEffectComponentTypes.LOCATION_CHANGEDstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.MOB_EXPERIENCEstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_COUNTstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_PIERCINGstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_SPAWNEDstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_SPREADstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.REPAIR_WITH_XPstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.SMASH_DAMAGE_PER_FALLEN_BLOCKstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.TICKstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.TRIDENT_RETURN_ACCELERATIONstatic final ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.TRIDENT_SPIN_ATTACK_STRENGTH -
Uses of EnchantmentEffectConditions in net.minecraft.enchantment
Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentEffectConditionsModifier and TypeMethodDescriptionEnchantment.Builder.addEffect(ComponentType<List<EnchantmentEffectConditions<E>>> effectType, E effect) Enchantment.Builder.addEffect(ComponentType<List<EnchantmentEffectConditions<E>>> effectType, E effect, LootCondition.Builder requirements) private static <T> voidEnchantment.applyEffects(List<EnchantmentEffectConditions<T>> conditions, LootContext lootContext, Consumer<T> effectConsumer) private voidEnchantment.modifyValue(ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, MutableFloat value) private voidEnchantment.modifyValue(ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, Entity user, MutableFloat value) private voidEnchantment.modifyValue(ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, MutableFloat value) -
Uses of EnchantmentEffectConditions in net.minecraft.enchantment.effect
Methods in net.minecraft.enchantment.effect that return types with arguments of type EnchantmentEffectConditionsModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<EnchantmentEffectConditions<T>> EnchantmentEffectConditions.createCodec(com.mojang.serialization.Codec<T> effectCodec, LootContextType lootContextType)