Uses of Interface
net.minecraft.world.item.enchantment.effects.EnchantmentValueEffect
Packages that use EnchantmentValueEffect
Package
Description
-
Uses of EnchantmentValueEffect in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type EnchantmentValueEffectModifier 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
Fields in net.minecraft.world.item.enchantment with type parameters of type EnchantmentValueEffectModifier 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
Method parameters in net.minecraft.world.item.enchantment with type arguments of type EnchantmentValueEffectModifier and TypeMethodDescriptionvoid
Enchantment.modifyDamageFilteredValue
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> pComponentType, ServerLevel pLevel, int pEnchantmentLevel, ItemStack pTool, Entity pEntity, DamageSource pDamageSource, org.apache.commons.lang3.mutable.MutableFloat pValue) void
Enchantment.modifyEntityFilteredValue
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> pComponentType, ServerLevel pLevel, int pEnchantmentLevel, ItemStack pTool, Entity pEntity, org.apache.commons.lang3.mutable.MutableFloat pValue) void
Enchantment.modifyItemFilteredCount
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> pComponentType, ServerLevel pLevel, int pEnchantmentLevel, ItemStack pTool, org.apache.commons.lang3.mutable.MutableFloat pValue) void
Enchantment.modifyUnfilteredValue
(DataComponentType<EnchantmentValueEffect> pComponentType, RandomSource pRandom, int pEnchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat pValue) -
Uses of EnchantmentValueEffect in net.minecraft.world.item.enchantment.effects
Classes in net.minecraft.world.item.enchantment.effects that implement EnchantmentValueEffectModifier and TypeClassDescriptionfinal record
static final record
final record
final record
final record
Fields in net.minecraft.world.item.enchantment.effects with type parameters of type EnchantmentValueEffectModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentValueEffect> EnchantmentValueEffect.CODEC
private final List
<EnchantmentValueEffect> AllOf.ValueEffects.effects
The field for theeffects
record component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type EnchantmentValueEffectModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> pRegistry) com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.codec()
AllOf.ValueEffects.effects()
Returns the value of theeffects
record component.Methods in net.minecraft.world.item.enchantment.effects with parameters of type EnchantmentValueEffectModifier and TypeMethodDescriptionstatic AllOf.ValueEffects
AllOf.valueEffects
(EnchantmentValueEffect... pEffects) Method parameters in net.minecraft.world.item.enchantment.effects with type arguments of type EnchantmentValueEffectModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> pRegistry) Constructor parameters in net.minecraft.world.item.enchantment.effects with type arguments of type EnchantmentValueEffectModifierConstructorDescriptionValueEffects
(List<EnchantmentValueEffect> effects) Creates an instance of aValueEffects
record class.