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_USE
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.ARMOR_EFFECTIVENESS
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.BLOCK_EXPERIENCE
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.CROSSBOW_CHARGE_TIME
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.DAMAGE
EnchantmentEffectComponentTypes.DAMAGE_IMMUNITY
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.DAMAGE_PROTECTION
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.FISHING_LUCK_BONUS
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.FISHING_TIME_REDUCTION
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.HIT_BLOCK
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.ITEM_DAMAGE
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.KNOCKBACK
EnchantmentEffectComponentTypes.LOCATION_CHANGED
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.MOB_EXPERIENCE
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_COUNT
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_PIERCING
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_SPAWNED
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_SPREAD
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.REPAIR_WITH_XP
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.SMASH_DAMAGE_PER_FALLEN_BLOCK
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.TICK
static final ComponentType
<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.TRIDENT_RETURN_ACCELERATION
static 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> void
Enchantment.applyEffects
(List<EnchantmentEffectConditions<T>> conditions, LootContext lootContext, Consumer<T> effectConsumer) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectConditions<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, Entity user, MutableFloat value) private void
Enchantment.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)