Package net.minecraft.enchantment.effect
Interface EnchantmentLocationBasedEffectType
- All Known Subinterfaces:
EnchantmentEntityEffectType
- All Known Implementing Classes:
AllOfEnchantmentEffectTypes.EntityEffects
,AllOfEnchantmentEffectTypes.LocationBasedEffects
,ApplyMobEffectEnchantmentEffectType
,AttributeEnchantmentEffectType
,DamageEntityEnchantmentEffectType
,DamageItemEnchantmentEffectType
,ExplodeEnchantmentEffectType
,IgniteEnchantmentEffectType
,PlaySoundEnchantmentEffectType
,ReplaceBlockEnchantmentEffectType
,ReplaceDiscEnchantmentEffectType
,RunFunctionEnchantmentEffectType
,SetBlockPropertiesEnchantmentEffectType
,SpawnParticlesEnchantmentEffectType
,SummonEntityEnchantmentEffectType
public interface EnchantmentLocationBasedEffectType
- Mappings:
Namespace Name named net/minecraft/enchantment/effect/EnchantmentLocationBasedEffectType
intermediary net/minecraft/class_9722
official dar
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentLocationBasedEffectType> -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) com.mojang.serialization.MapCodec
<? extends EnchantmentLocationBasedEffectType> getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentLocationBasedEffectType> registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffectType>> registry) default void
remove
(EnchantmentEffectContext context, Entity user, Vec3d pos, int level)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/enchantment/effect/EnchantmentLocationBasedEffectType;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_51708
Lnet/minecraft/class_9722;field_51708:Lcom/mojang/serialization/Codec;
official c
Ldar;c:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
registerAndGetDefault
static com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffectType> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffectType>> registry) - Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/enchantment/effect/EnchantmentLocationBasedEffectType;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
intermediary method_60232
Lnet/minecraft/class_9722;method_60232(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
official b
Ldar;b(Ljz;)Lcom/mojang/serialization/MapCodec;
-
apply
void apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) - 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
Ldar;a(Laqt;ILczz;Lbsq;Leww;Z)V
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/enchantment/effect/EnchantmentLocationBasedEffectType;remove(Lnet/minecraft/enchantment/EnchantmentEffectContext;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;I)V
intermediary method_60222
Lnet/minecraft/class_9722;method_60222(Lnet/minecraft/class_9699;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;I)V
official a
Ldar;a(Lczz;Lbsq;Leww;I)V
-
getCodec
com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffectType> getCodec()- 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
Ldar;a()Lcom/mojang/serialization/MapCodec;
-