net.minecraft.world.item.enchantment.effects

public record ReplaceDisk

implements EnchantmentEntityEffect

dez
net.minecraft.world.item.enchantment.effects.ReplaceDisk
net.minecraft.class_9730
net.minecraft.enchantment.effect.entity.ReplaceDiskEnchantmentEffect
net.minecraft.world.item.enchantment.effects.ReplaceDisk

Field summary

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

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0, LevelBasedValue arg1, Vec3i arg2, Optional<BlockPredicate> arg3, BlockStateProvider arg4, Optional<Holder<GameEvent>> arg5)

Method summary

Modifier and TypeMethod
public void
a(ash arg0, int arg1, ddy arg2, bvk arg3, fby 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)
public com.mojang.serialization.MapCodec<ReplaceDisk>
a()
codec()
method_60219()
getCodec()
public LevelBasedValue
b()
radius()
comp_2742()
radius()
public LevelBasedValue
c()
height()
comp_2743()
height()
public Vec3i
d()
offset()
comp_2744()
offset()
public Optional<BlockPredicate>
e()
predicate()
comp_2745()
predicate()
public BlockStateProvider
f()
blockState()
comp_2746()
blockState()
public Optional<Holder<GameEvent>>
g()
triggerGameEvent()
comp_2799()
triggerGameEvent()