net.minecraft.world.item.enchantment.effects

public record ExplodeEffect

implements EnchantmentEntityEffect

dgk
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

Field summary

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

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(arq arg0, int arg1, dfp arg2, bwf arg3, feq 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)
private DamageSource
a(bwf arg0, feq 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)
public com.mojang.serialization.MapCodec<ExplodeEffect>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
public boolean
b()
attributeToUser()
comp_2722()
m_uzwxerpb()
attributeToUser()
attributeToUser()
public Optional<Holder<DamageType>>
c()
damageType()
comp_2723()
m_levdgjhk()
damageType()
damageType()
public Optional<LevelBasedValue>
d()
knockbackMultiplier()
comp_2724()
m_vpckzsfk()
knockbackMultiplier()
knockbackMultiplier()
public Optional<HolderSet<Block>>
e()
immuneBlocks()
comp_2725()
m_wfluiirc()
immuneBlocks()
immuneBlocks()
public Vec3
f()
offset()
comp_2726()
m_xjobuqye()
offset()
offset()
public LevelBasedValue
g()
radius()
comp_2727()
m_cobhizrc()
radius()
radius()
public boolean
h()
createFire()
comp_2728()
m_scwgmyjs()
createFire()
createFire()
public Level$ExplosionInteraction
i()
blockInteraction()
comp_2729()
m_yctszoao()
blockInteraction()
blockInteraction()
public ParticleOptions
j()
smallParticle()
comp_2730()
m_jvsinojz()
smallParticle()
smallParticle()
public ParticleOptions
k()
largeParticle()
comp_2731()
m_qnodppgd()
largeParticle()
largeParticle()
public Holder<SoundEvent>
l()
sound()
comp_2732()
m_rxipmmkv()
sound()
sound()