Package net.minecraft.enchantment.effect
Interface EnchantmentEntityEffectType
- All Superinterfaces:
EnchantmentLocationBasedEffectType
- All Known Implementing Classes:
AllOfEnchantmentEffectTypes.EntityEffects
,ApplyMobEffectEnchantmentEffectType
,DamageEntityEnchantmentEffectType
,DamageItemEnchantmentEffectType
,ExplodeEnchantmentEffectType
,IgniteEnchantmentEffectType
,PlaySoundEnchantmentEffectType
,ReplaceBlockEnchantmentEffectType
,ReplaceDiscEnchantmentEffectType
,RunFunctionEnchantmentEffectType
,SetBlockPropertiesEnchantmentEffectType
,SpawnParticlesEnchantmentEffectType
,SummonEntityEnchantmentEffectType
- Mappings:
Namespace Name named net/minecraft/enchantment/effect/EnchantmentEntityEffectType
intermediary net/minecraft/class_9721
official dac
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentEntityEffectType> -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) default void
apply
(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffectType> getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffectType> registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffectType>> registry) Methods inherited from interface net.minecraft.enchantment.effect.EnchantmentLocationBasedEffectType
remove
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/enchantment/effect/EnchantmentEntityEffectType;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_51707
Lnet/minecraft/class_9721;field_51707:Lcom/mojang/serialization/Codec;
official b
Ldac;b:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
registerAndGetDefault
static com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffectType> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffectType>> registry) - Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/enchantment/effect/EnchantmentEntityEffectType;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
intermediary method_60231
Lnet/minecraft/class_9721;method_60231(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
official a
Ldac;a(Ljw;)Lcom/mojang/serialization/MapCodec;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/enchantment/effect/EnchantmentEntityEffectType;apply(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/enchantment/EnchantmentEffectContext;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_60220
Lnet/minecraft/class_9721;method_60220(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;)V
official a
Ldac;a(Laqm;ILczl;Lbsh;Lewh;)V
-
apply
default void apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) - Specified by:
apply
in interfaceEnchantmentLocationBasedEffectType
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/enchantment/effect/EnchantmentLocationBasedEffectType;apply(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/enchantment/EnchantmentEffectContext;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;Z)V
intermediary method_60221
Lnet/minecraft/class_9722;method_60221(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;Z)V
official a
Ldad;a(Laqm;ILczl;Lbsh;Lewh;Z)V
-
getCodec
com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffectType> getCodec()- Specified by:
getCodec
in interfaceEnchantmentLocationBasedEffectType
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/enchantment/effect/EnchantmentLocationBasedEffectType;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_60219
Lnet/minecraft/class_9722;method_60219()Lcom/mojang/serialization/MapCodec;
official a
Ldad;a()Lcom/mojang/serialization/MapCodec;
-