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.unmapped.C_ijadjrac
net.minecraft.enchantment.effect.entity.ReplaceDiskEnchantmentEffect
net.minecraft.enchantment.effect.ReplaceDisk
net.minecraft.src.C_336460_
net.minecraft.world.item.enchantment.effects.ReplaceDisk

Field summary

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

Constructor summary

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

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)
m_qtizntqq(C_bdwnwhiu arg0, int arg1, C_pjrjvgrp arg2, C_astfners arg3, C_vgpupfxx arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d 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()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public LevelBasedValue
b()
radius()
comp_2742()
m_hbkudcza()
radius()
radius()
f_337614_()
public LevelBasedValue
c()
height()
comp_2743()
m_gljklcyi()
height()
height()
f_337316_()
public Vec3i
d()
offset()
comp_2744()
m_uvgnqclu()
offset()
offset()
f_337154_()
public Optional<BlockPredicate>
e()
predicate()
comp_2745()
m_famfycnp()
predicate()
predicate()
f_337069_()
public BlockStateProvider
f()
blockState()
comp_2746()
m_tzmnksmt()
blockState()
blockState()
f_337572_()
public Optional<Holder<GameEvent>>
g()
triggerGameEvent()
comp_2799()
m_gkmvjcdp()
triggerGameEvent()
triggerGameEvent()
f_336847_()