net.minecraft.world.item.enchantment.effects

public record ExplodeEffect

implements EnchantmentEntityEffect

dav
net.minecraft.world.item.enchantment.effects.ExplodeEffect
net.minecraft.class_9724
net.minecraft.enchantment.effect.entity.ExplodeEnchantmentEffect
net.minecraft.src.C_336457_
net.minecraft.world.item.enchantment.effects.ExplodeEffect

Field summary

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

Constructor summary

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

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