net.minecraft.advancements.critereon

public class BlockPredicate

au
net.minecraft.advancements.critereon.BlockPredicate
net.minecraft.class_4550
net.minecraft.predicate.BlockPredicate
net.minecraft.src.C_411_
net.minecraft.advancements.critereon.CriterionConditionBlock

Field summary

Modifier and TypeField
public static final BlockPredicate
a
ANY
field_20692
ANY
f_17902_
private final Tag<Block>
b
tag
field_20693
tag
f_17903_
private final Set<Block>
c
blocks
field_20694
blocks
f_146710_
private final StatePropertiesPredicate
d
properties
field_20695
state
f_17905_
private final NbtPredicate
e
nbt
field_20696
nbt
f_17906_

Constructor summary

ModifierConstructor
public (Tag<Block> tag, Set<Block> blocks, StatePropertiesPredicate state, NbtPredicate nbt)

Method summary

Modifier and TypeMethod
public boolean
a(adi arg0, gh arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22454(class_3218 arg0, class_2338 arg1)
test(ServerWorld world, BlockPos pos)
m_17914_(C_12_ p_17916_, C_4675_ arg1)
public static BlockPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_22453(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_17917_(com.google.gson.JsonElement p_17918_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_22452()
toJson()
m_17913_()