Uses of Interface
net.minecraft.world.item.enchantment.effects.EnchantmentValueEffect
Package
Description
-
Uses of EnchantmentValueEffect in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> BuiltInRegistries.ENCHANTMENT_VALUE_EFFECT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> Registries.ENCHANTMENT_VALUE_EFFECT_TYPE
-
Uses of EnchantmentValueEffect in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescriptionstatic final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.AMMO_USE
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.ARMOR_EFFECTIVENESS
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.BLOCK_EXPERIENCE
static final DataComponentType
<EnchantmentValueEffect> EnchantmentEffectComponents.CROSSBOW_CHARGE_TIME
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.DAMAGE
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.DAMAGE_PROTECTION
static final DataComponentType
<List<TargetedConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.EQUIPMENT_DROPS
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.FISHING_LUCK_BONUS
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.FISHING_TIME_REDUCTION
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.ITEM_DAMAGE
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.KNOCKBACK
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.MOB_EXPERIENCE
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.PROJECTILE_COUNT
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.PROJECTILE_PIERCING
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.PROJECTILE_SPREAD
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.REPAIR_WITH_XP
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.SMASH_DAMAGE_PER_FALLEN_BLOCK
static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> EnchantmentEffectComponents.TRIDENT_RETURN_ACCELERATION
static final DataComponentType
<EnchantmentValueEffect> EnchantmentEffectComponents.TRIDENT_SPIN_ATTACK_STRENGTH
Modifier and TypeMethodDescriptionprivate void
Enchantment.modifyDamageFilteredValue
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345367_, ServerLevel p_345784_, int p_344796_, ItemStack p_345410_, Entity p_345673_, DamageSource p_345768_, org.apache.commons.lang3.mutable.MutableFloat p_345664_) private void
Enchantment.modifyEntityFilteredValue
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345986_, ServerLevel p_345473_, int p_345352_, ItemStack p_345076_, Entity p_345170_, org.apache.commons.lang3.mutable.MutableFloat p_345910_) private void
Enchantment.modifyItemFilteredCount
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345794_, ServerLevel p_345992_, int p_345038_, ItemStack p_345886_, org.apache.commons.lang3.mutable.MutableFloat p_345188_) void
Enchantment.modifyUnfilteredValue
(DataComponentType<EnchantmentValueEffect> p_347468_, RandomSource p_347513_, int p_347494_, org.apache.commons.lang3.mutable.MutableFloat p_347716_) -
Uses of EnchantmentValueEffect in net.minecraft.world.item.enchantment.effects
Modifier and TypeClassDescriptionfinal record
static final record
final record
final record
final record
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentValueEffect> EnchantmentValueEffect.CODEC
private final List
<EnchantmentValueEffect> AllOf.ValueEffects.effects
The field for theeffects
record component.Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> p_345804_) com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.codec()
AllOf.ValueEffects.effects()
Returns the value of theeffects
record component.Modifier and TypeMethodDescriptionstatic AllOf.ValueEffects
AllOf.valueEffects
(EnchantmentValueEffect... p_346375_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> p_345804_) ModifierConstructorDescriptionValueEffects
(List<EnchantmentValueEffect> effects) Creates an instance of aValueEffects
record class.