net.minecraft.world.item.enchantment.effects

public interface EnchantmentLocationBasedEffect

dds
net.minecraft.world.item.enchantment.effects.EnchantmentLocationBasedEffect
net.minecraft.class_9722
net.minecraft.enchantment.effect.EnchantmentLocationBasedEffect
net.minecraft.world.item.enchantment.effects.EnchantmentLocationBasedEffect

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<EnchantmentLocationBasedEffect>
c
CODEC
field_51708
CODEC

Method summary

Modifier and TypeMethod
static com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>
b(ke<com.mojang.serialization.MapCodec<? extends dds>> arg0)
bootstrap(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> arg0)
method_60232(class_2378<com.mojang.serialization.MapCodec<? extends class_9722>> arg0)
registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> registry)
void
a(ard arg0, int arg1, dcz arg2, bum arg3, fbb arg4, boolean arg5)
onChangedBlock(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4, boolean arg5)
method_60221(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4, boolean arg5)
apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied)
default void
a(dcz arg0, bum arg1, fbb arg2, int arg3)
onDeactivated(EnchantedItemInUse arg0, Entity arg1, Vec3 arg2, int arg3)
method_60222(class_9699 arg0, class_1297 arg1, class_243 arg2, int arg3)
remove(EnchantmentEffectContext context, Entity user, Vec3d pos, int level)
com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>
a()
codec()
method_60219()
getCodec()