net.minecraft.advancements.critereon

public record LightningBoltPredicate

implements EntitySubPredicate

cg
net.minecraft.advancements.critereon.LightningBoltPredicate
net.minecraft.class_6404
net.minecraft.predicate.entity.LightningBoltPredicate
net.minecraft.src.C_290265_
net.minecraft.advancements.critereon.LightningBoltPredicate

Field summary

Modifier and TypeField
private final MinMaxBounds$Ints
c
blocksSetOnFire
comp_1792
blocksSetOnFire
f_290996_
private final Optional<EntityPredicate>
d
entityStruck
comp_1793
entityStruck
f_290675_
public static final com.mojang.serialization.MapCodec<LightningBoltPredicate>
b
CODEC
field_45759
CODEC
f_290743_

Constructor summary

ModifierConstructor
public (MinMaxBounds$Ints blocksSetOnFire, Optional<EntityPredicate> arg1)

Method summary

Modifier and TypeMethod
public static LightningBoltPredicate
a(ck$d arg0)
blockSetOnFire(MinMaxBounds$Ints arg0)
method_37237(class_2096$class_2100 arg0)
of(NumberRange$IntRange blocksSetOnFire)
m_292832_(C_1863_$C_1867_ p_297323_)
public EntitySubPredicate$Type
a()
type()
comp_1776()
type()
m_213836_()
public boolean
a(blv arg0, and arg1, elt arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
m_213868_(C_507_ p_297594_, C_12_ p_298602_, C_3046_ arg2)
public MinMaxBounds$Ints
b()
blocksSetOnFire()
comp_1792()
blocksSetOnFire()
f_290996_()
public Optional<EntityPredicate>
c()
entityStruck()
comp_1793()
entityStruck()
f_290675_()