net.minecraft.world.item.enchantment.effects

public record ApplyEntityImpulse

implements EnchantmentEntityEffect

dta
net.minecraft.world.item.enchantment.effects.ApplyEntityImpulse
net.minecraft.class_12129
net.minecraft.enchantment.effect.entity.ApplyImpulseEnchantmentEffect
net.minecraft.src.C_432899_
net.minecraft.world.item.enchantment.effects.ApplyEntityImpulse

字段概要

修饰符与类型字段
private final Vec3
d
direction
comp_4981
direction
f_434261_
private final Vec3
e
coordinateScale
comp_4982
coordinateScale
f_436991_
private final LevelBasedValue
f
magnitude
comp_4983
magnitude
f_434287_
public static final com.mojang.serialization.MapCodec<ApplyEntityImpulse>
a
CODEC
field_63422
CODEC
f_437015_
private static final int
g
POST_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS
field_64656
CURRENT_EXPLOSION_RESET_GRACE_TIME
f_434759_

构造函数概要

修饰符构造函数
public (Vec3 direction, Vec3 coordinateScale, LevelBasedValue magnitude)

方法概要

修饰符与类型方法
public void
a(axf arg0, int arg1, dsn arg2, cgk arg3, ftm arg4)
apply(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4)
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)
m_338607_(C_12_ p_454940_, int p_453714_, C_336528_ p_458507_, C_507_ p_456407_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<ApplyEntityImpulse>
a()
codec()
method_60219()
getCodec()
m_338403_()
public Vec3
b()
direction()
comp_4981()
direction()
f_434261_()
public Vec3
c()
coordinateScale()
comp_4982()
coordinateScale()
f_436991_()
public LevelBasedValue
d()
magnitude()
comp_4983()
magnitude()
f_434287_()