Uses of Interface
net.minecraft.world.item.enchantment.effects.EnchantmentEntityEffect
Package
Description
-
Uses of EnchantmentEntityEffect in net.minecraft.core.registries
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentEntityEffect> EnchantmentEntityEffect.CODEC
private final List
<EnchantmentEntityEffect> AllOf.EntityEffects.effects
The field for theeffects
record component.Modifier 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.Modifier and TypeMethodDescriptionstatic AllOf.EntityEffects
AllOf.entityEffects
(EnchantmentEntityEffect... p_345222_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> p_345205_) ModifierConstructorDescriptionEntityEffects
(List<EnchantmentEntityEffect> effects) Creates an instance of aEntityEffects
record class.