net.minecraft.advancements.critereon

public record LightningBoltPredicate

implements EntitySubPredicate

df
net.minecraft.advancements.critereon.LightningBoltPredicate
net.minecraft.class_6404
net.minecraft.predicate.entity.LightningBoltPredicate
net.minecraft.advancements.critereon.LightningBoltPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static LightningBoltPredicate
a(dj$d arg0)
blockSetOnFire(MinMaxBounds$Ints arg0)
method_37237(class_2096$class_2100 arg0)
of(NumberRange$IntRange blocksSetOnFire)
public com.mojang.serialization.MapCodec<LightningBoltPredicate>
a()
codec()
method_58152()
getCodec()
public boolean
a(bvk arg0, ash arg1, fby 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)
public MinMaxBounds$Ints
b()
blocksSetOnFire()
comp_1792()
blocksSetOnFire()
public Optional<EntityPredicate>
c()
entityStruck()
comp_1793()
entityStruck()