net.minecraft.world.level.block.state.predicate

public class BlockStatePredicate

implements Predicate<BlockState>

dye
net.minecraft.world.level.block.state.predicate.BlockStatePredicate
net.minecraft.class_2715
net.minecraft.predicate.block.BlockStatePredicate
net.minecraft.world.level.block.state.predicate.BlockStatePredicate

Field summary

Modifier and TypeField
public static final Predicate<BlockState>
a
ANY
field_12419
ANY
private final StateDefinition<Block, BlockState>
b
definition
field_12420
manager
private final Map<Property<?>, Predicate<Object>>
c
properties
field_12421
propertyTests

Constructor summary

ModifierConstructor
private (StateDefinition<Block, BlockState> manager)

Method summary

Modifier and TypeMethod
public static BlockStatePredicate
a(dkm arg0)
forBlock(Block arg0)
method_11758(class_2248 arg0)
forBlock(Block block)
public boolean
a(dxv arg0)
test(BlockState arg0)
method_11760(class_2680 arg0)
test(BlockState arg0)
protected <T extends Comparable<T>> boolean
a(dxv arg0, dyx<T> arg1, Predicate<Object> arg2)
applies(BlockState arg0, Property<T> arg1, Predicate<Object> arg2)
method_11761(class_2680 arg0, class_2769<T> arg1, Predicate<Object> arg2)
testProperty(BlockState blockState, Property<T> property, Predicate<Object> predicate)
public <V extends Comparable<V>> BlockStatePredicate
a(dyx<V> arg0, Predicate<Object> arg1)
where(Property<V> arg0, Predicate<Object> arg1)
method_11762(class_2769<V> arg0, Predicate<Object> arg1)
with(Property<V> property, Predicate<Object> predicate)