net.minecraft.world.item.enchantment.effects

public record ReplaceBlock

implements EnchantmentEntityEffect

dba
net.minecraft.world.item.enchantment.effects.ReplaceBlock
net.minecraft.class_9729
net.minecraft.unmapped.C_uzyqdhqu
net.minecraft.enchantment.effect.entity.ReplaceBlockEnchantmentEffect
net.minecraft.enchantment.effect.ReplaceBlock
net.minecraft.src.C_336497_
net.minecraft.world.item.enchantment.effects.ReplaceBlock

Field summary

Modifier and TypeField
private final Vec3i
d
offset
comp_2739
f_qcbdiwhd
offset
offset
f_336873_
private final Optional<BlockPredicate>
e
predicate
comp_2740
f_ufgjnaqu
predicate
predicate
f_337078_
private final BlockStateProvider
f
blockState
comp_2741
f_bssrofzc
blockState
blockState
f_336614_
private final Optional<Holder<GameEvent>>
g
triggerGameEvent
comp_2798
f_yqprgyqb
triggerGameEvent
triggerGameEvent
f_336970_
public static final com.mojang.serialization.MapCodec<ReplaceBlock>
a
CODEC
field_51715
f_mbnowrca
CODEC
CODEC
f_337130_

Constructor summary

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

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)
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_342438_, int p_343971_, C_336528_ p_343494_, C_507_ p_342839_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<ReplaceBlock>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public Vec3i
b()
offset()
comp_2739()
m_sebddaqw()
offset()
offset()
f_336873_()
public Optional<BlockPredicate>
c()
predicate()
comp_2740()
m_gzbwybaz()
predicate()
predicate()
f_337078_()
public BlockStateProvider
d()
blockState()
comp_2741()
m_wpyrpxen()
blockState()
blockState()
f_336614_()
public Optional<Holder<GameEvent>>
e()
triggerGameEvent()
comp_2798()
m_izdyvizp()
triggerGameEvent()
triggerGameEvent()
f_336970_()