net.minecraft.world.item.enchantment.effects

public record ReplaceDisk

implements EnchantmentEntityEffect

dbb
net.minecraft.world.item.enchantment.effects.ReplaceDisk
net.minecraft.class_9730
net.minecraft.enchantment.effect.entity.ReplaceDiskEnchantmentEffect
net.minecraft.src.C_336460_
net.minecraft.world.item.enchantment.effects.ReplaceDisk

Field summary

Modifier and TypeField
private final LevelBasedValue
d
radius
comp_2742
radius
f_337614_
private final LevelBasedValue
e
height
comp_2743
height
f_337316_
private final Vec3i
f
offset
comp_2744
offset
f_337154_
private final Optional<BlockPredicate>
g
predicate
comp_2745
predicate
f_337069_
private final BlockStateProvider
h
blockState
comp_2746
blockState
f_337572_
private final Optional<Holder<GameEvent>>
i
triggerGameEvent
comp_2799
triggerGameEvent
f_336847_
public static final com.mojang.serialization.MapCodec<ReplaceDisk>
a
CODEC
field_51716
CODEC
f_337033_

Constructor summary

ModifierConstructor
public (LevelBasedValue height, LevelBasedValue offset, Vec3i predicate, Optional<BlockPredicate> blockState, BlockStateProvider triggerGameEvent, Optional<Holder<GameEvent>> arg5)

Method summary

Modifier and TypeMethod
public void
a(aqu arg0, int arg1, dab arg2, bsr arg3, exc 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_343207_, int p_342691_, C_336528_ p_343742_, C_507_ p_342913_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<ReplaceDisk>
a()
codec()
method_60219()
getCodec()
m_338403_()
public LevelBasedValue
b()
radius()
comp_2742()
radius()
f_337614_()
public LevelBasedValue
c()
height()
comp_2743()
height()
f_337316_()
public Vec3i
d()
offset()
comp_2744()
offset()
f_337154_()
public Optional<BlockPredicate>
e()
predicate()
comp_2745()
predicate()
f_337069_()
public BlockStateProvider
f()
blockState()
comp_2746()
blockState()
f_337572_()
public Optional<Holder<GameEvent>>
g()
triggerGameEvent()
comp_2799()
triggerGameEvent()
f_336847_()