Uses of Interface
net.minecraft.world.item.enchantment.effects.EnchantmentEntityEffect
Packages that use EnchantmentEntityEffect
Package
Description
-
Uses of EnchantmentEntityEffect in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type EnchantmentEntityEffectModifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> BuiltInRegistries.ENCHANTMENT_ENTITY_EFFECT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPE
-
Uses of EnchantmentEntityEffect in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment with type parameters of type EnchantmentEntityEffectModifier and TypeFieldDescriptionstatic final DataComponentType
<List<ConditionalEffect<EnchantmentEntityEffect>>> EnchantmentEffectComponents.HIT_BLOCK
static final DataComponentType
<List<TargetedConditionalEffect<EnchantmentEntityEffect>>> EnchantmentEffectComponents.POST_ATTACK
static final DataComponentType
<List<ConditionalEffect<EnchantmentEntityEffect>>> EnchantmentEffectComponents.PROJECTILE_SPAWNED
static final DataComponentType
<List<ConditionalEffect<EnchantmentEntityEffect>>> EnchantmentEffectComponents.TICK
Method parameters in net.minecraft.world.item.enchantment with type arguments of type EnchantmentEntityEffectModifier and TypeMethodDescriptionstatic void
Enchantment.doPostAttack
(TargetedConditionalEffect<EnchantmentEntityEffect> p_346387_, ServerLevel p_345844_, int p_344928_, EnchantedItemInUse p_345486_, Entity p_345472_, DamageSource p_345022_) -
Uses of EnchantmentEntityEffect in net.minecraft.world.item.enchantment.effects
Classes in net.minecraft.world.item.enchantment.effects that implement EnchantmentEntityEffectModifier and TypeClassDescriptionstatic final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
Fields in net.minecraft.world.item.enchantment.effects with type parameters of type EnchantmentEntityEffectModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentEntityEffect> EnchantmentEntityEffect.CODEC
private final List
<EnchantmentEntityEffect> AllOf.EntityEffects.effects
The field for theeffects
record component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type EnchantmentEntityEffectModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> p_345205_) com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.codec()
AllOf.EntityEffects.effects()
Returns the value of theeffects
record component.Methods in net.minecraft.world.item.enchantment.effects with parameters of type EnchantmentEntityEffectModifier and TypeMethodDescriptionstatic AllOf.EntityEffects
AllOf.entityEffects
(EnchantmentEntityEffect... p_345222_) Method parameters in net.minecraft.world.item.enchantment.effects with type arguments of type EnchantmentEntityEffectModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> p_345205_) Constructor parameters in net.minecraft.world.item.enchantment.effects with type arguments of type EnchantmentEntityEffectModifierConstructorDescriptionEntityEffects
(List<EnchantmentEntityEffect> effects) Creates an instance of aEntityEffects
record class.