Uses of Interface
net.minecraft.enchantment.effect.EnchantmentEntityEffect
Package
Description
-
Uses of EnchantmentEntityEffect in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.HIT_BLOCK
static final ComponentType
<List<TargetedEnchantmentEffect<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.POST_ATTACK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_SPAWNED
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.TICK
-
Uses of EnchantmentEntityEffect in net.minecraft.enchantment
Modifier and TypeMethodDescriptionstatic void
Enchantment.applyTargetedEffect
(TargetedEnchantmentEffect<EnchantmentEntityEffect> effect, ServerWorld world, int level, EnchantmentEffectContext context, Entity user, DamageSource damageSource) -
Uses of EnchantmentEntityEffect in net.minecraft.enchantment.effect
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentEntityEffect> EnchantmentEntityEffect.CODEC
private final List
<EnchantmentEntityEffect> AllOfEnchantmentEffects.EntityEffects.effects
The field for theeffects
record component.Modifier and TypeMethodDescriptionAllOfEnchantmentEffects.EntityEffects.effects()
Returns the value of theeffects
record component.com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> registry) Modifier and TypeMethodDescriptionAllOfEnchantmentEffects.allOf
(EnchantmentEntityEffect[] entityEffects) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> registry) -
Uses of EnchantmentEntityEffect in net.minecraft.enchantment.effect.entity
Modifier and TypeClassDescriptionfinal record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
-
Uses of EnchantmentEntityEffect in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPE
static final RegistryKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> RegistryKeys.ENCHANTMENT_ENTITY_EFFECT_TYPE