net.minecraft.advancements.critereon

public class BlockPredicate

an
net.minecraft.advancements.critereon.BlockPredicate
net.minecraft.class_4550
net.minecraft.predicate.BlockPredicate
net.minecraft.advancements.criterion.BlockPredicate
net.minecraft.server.v1_16_R3.CriterionConditionBlock

Field summary

Modifier and TypeField
public static final BlockPredicate
a
ANY
field_20692
ANY
field_226231_a_
private final Tag<Block>
b
tag
field_20693
tag
field_226232_b_
private final Block
c
block
field_20694
block
field_226233_c_
private final StatePropertiesPredicate
d
properties
field_20695
state
field_226234_d_
private final NbtPredicate
e
nbt
field_20696
nbt
field_226235_e_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(aag arg0, fx arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22454(class_3218 arg0, class_2338 arg1)
test(ServerWorld world, BlockPos pos)
func_226238_a_(ServerWorld arg0, BlockPos 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)
func_226237_a_(com.google.gson.JsonElement arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_22452()
toJson()
func_226236_a_()