net.minecraft.enchantment.effect.entity

public record IgniteEnchantmentEffect

implements EnchantmentEntityEffect

net.minecraft.world.item.enchantment.effects.Ignite
net.minecraft.class_9725
net.minecraft.enchantment.effect.entity.IgniteEnchantmentEffect

Field summary

Modifier and TypeField
private final EnchantmentLevelBasedValue
duration
comp_2733
duration
public static final com.mojang.serialization.MapCodec<IgniteEnchantmentEffect>
CODEC
field_51711
CODEC

Constructor summary

ModifierConstructor
public (EnchantmentLevelBasedValue duration)

Method summary

Modifier and TypeMethod
public void
apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position)
method_60220(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
public com.mojang.serialization.MapCodec<IgniteEnchantmentEffect>
codec()
method_60219()
getCodec()
public EnchantmentLevelBasedValue
duration()
comp_2733()
duration()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_60237(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_60237(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static EnchantmentLevelBasedValue
lambda$static$1(Ignite arg0)
method_60238(class_9725 arg0)
method_60238(IgniteEnchantmentEffect arg0)