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.enchantment.effect.entity.ExplodeEnchantmentEffect
net.minecraft.world.item.enchantment.effects.ExplodeEffect

Field summary

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

Constructor summary

ModifierConstructor
public (boolean arg0, Optional<Holder<DamageType>> arg1, Optional<LevelBasedValue> arg2, Optional<HolderSet<Block>> arg3, Vec3 arg4, LevelBasedValue arg5, boolean arg6, Level$ExplosionInteraction arg7, ParticleOptions arg8, ParticleOptions arg9, Holder<SoundEvent> arg10)

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)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
private DamageSource
a(bvk arg0, fby arg1)
getDamageSource(Entity arg0, Vec3 arg1)
method_60235(class_1297 arg0, class_243 arg1)
getDamageSource(Entity user, Vec3d pos)
public com.mojang.serialization.MapCodec<ExplodeEffect>
a()
codec()
method_60219()
getCodec()
public boolean
b()
attributeToUser()
comp_2722()
attributeToUser()
public Optional<Holder<DamageType>>
c()
damageType()
comp_2723()
damageType()
public Optional<LevelBasedValue>
d()
knockbackMultiplier()
comp_2724()
knockbackMultiplier()
public Optional<HolderSet<Block>>
e()
immuneBlocks()
comp_2725()
immuneBlocks()
public Vec3
f()
offset()
comp_2726()
offset()
public LevelBasedValue
g()
radius()
comp_2727()
radius()
public boolean
h()
createFire()
comp_2728()
createFire()
public Level$ExplosionInteraction
i()
blockInteraction()
comp_2729()
blockInteraction()
public ParticleOptions
j()
smallParticle()
comp_2730()
smallParticle()
public ParticleOptions
k()
largeParticle()
comp_2731()
largeParticle()
public Holder<SoundEvent>
l()
sound()
comp_2732()
sound()