net.minecraft.world.item.enchantment.effects

public record ExplodeEffect

implements EnchantmentEntityEffect

det
net.minecraft.world.item.enchantment.effects.ExplodeEffect
net.minecraft.class_9724
net.minecraft.unmapped.C_cbmsnqnw
net.minecraft.enchantment.effect.entity.ExplodeEnchantmentEffect
net.minecraft.enchantment.effect.Explode
net.minecraft.src.C_336457_
net.minecraft.world.item.enchantment.effects.ExplodeEffect

Field summary

Modifier and TypeField
private final boolean
d
attributeToUser
comp_2722
f_irmuvhpv
attributeToUser
attributeToUser
f_336726_
private final Optional<Holder<DamageType>>
e
damageType
comp_2723
f_kjwfrlyf
damageType
damageType
f_336879_
private final Optional<LevelBasedValue>
f
knockbackMultiplier
comp_2724
f_rmdqcrsl
knockbackMultiplier
knockbackMultiplier
f_337209_
private final Optional<HolderSet<Block>>
g
immuneBlocks
comp_2725
f_cqsippqx
immuneBlocks
immuneBlocks
f_336951_
private final Vec3
h
offset
comp_2726
f_vjanvzbx
offset
offset
f_336686_
private final LevelBasedValue
i
radius
comp_2727
f_kyhllwfw
radius
radius
f_337082_
private final boolean
j
createFire
comp_2728
f_trwhmrgv
createFire
createFire
f_337142_
private final Level$ExplosionInteraction
k
blockInteraction
comp_2729
f_pmlolkrz
blockInteraction
blockInteraction
f_336801_
private final ParticleOptions
l
smallParticle
comp_2730
f_gjwbxkrk
smallParticle
smallParticle
f_337600_
private final ParticleOptions
m
largeParticle
comp_2731
f_mlltayrr
largeParticle
largeParticle
f_336779_
private final Holder<SoundEvent>
n
sound
comp_2732
f_wkddaypp
sound
sound
f_337077_
public static final com.mojang.serialization.MapCodec<ExplodeEffect>
a
CODEC
field_51710
f_njcfkokn
CODEC
CODEC
f_336766_

Constructor summary

ModifierConstructor
public (boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level$ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, Holder<SoundEvent> sound)

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_344767_, int p_342948_, C_336528_ p_344263_, C_507_ p_343582_, C_3046_ arg4)
private DamageSource
a(bvk arg0, fby arg1)
getDamageSource(Entity arg0, Vec3 arg1)
method_60235(class_1297 arg0, class_243 arg1)
m_dtvtdduj(C_astfners arg0, C_vgpupfxx arg1)
getDamageSource(Entity user, Vec3d pos)
createDamageSource(Entity entity, Vec3d pos)
m_338745_(C_507_ p_345099_, C_3046_ arg1)
public com.mojang.serialization.MapCodec<ExplodeEffect>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public boolean
b()
attributeToUser()
comp_2722()
m_uzwxerpb()
attributeToUser()
attributeToUser()
f_336726_()
public Optional<Holder<DamageType>>
c()
damageType()
comp_2723()
m_levdgjhk()
damageType()
damageType()
f_336879_()
public Optional<LevelBasedValue>
d()
knockbackMultiplier()
comp_2724()
m_vpckzsfk()
knockbackMultiplier()
knockbackMultiplier()
f_337209_()
public Optional<HolderSet<Block>>
e()
immuneBlocks()
comp_2725()
m_wfluiirc()
immuneBlocks()
immuneBlocks()
f_336951_()
public Vec3
f()
offset()
comp_2726()
m_xjobuqye()
offset()
offset()
f_336686_()
public LevelBasedValue
g()
radius()
comp_2727()
m_cobhizrc()
radius()
radius()
f_337082_()
public boolean
h()
createFire()
comp_2728()
m_scwgmyjs()
createFire()
createFire()
f_337142_()
public Level$ExplosionInteraction
i()
blockInteraction()
comp_2729()
m_yctszoao()
blockInteraction()
blockInteraction()
f_336801_()
public ParticleOptions
j()
smallParticle()
comp_2730()
m_jvsinojz()
smallParticle()
smallParticle()
f_337600_()
public ParticleOptions
k()
largeParticle()
comp_2731()
m_qnodppgd()
largeParticle()
largeParticle()
f_336779_()
public Holder<SoundEvent>
l()
sound()
comp_2732()
m_rxipmmkv()
sound()
sound()
f_337077_()