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

public class BlockStatePredicate

implements Predicate<BlockState>

ceo
net.minecraft.world.level.block.state.predicate.BlockStatePredicate
net.minecraft.class_2715
net.minecraft.predicate.block.BlockStatePredicate
net.minecraft.block.pattern.BlockStateMatcher
net.minecraft.server.v1_16_R2.BlockStatePredicate

Field summary

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

Constructor summary

ModifierConstructor
private (StateDefinition<Block, BlockState> manager)

Method summary

Modifier and TypeMethod
public static BlockStatePredicate
a(bul arg0)
forBlock(Block arg0)
method_11758(class_2248 arg0)
forBlock(Block block)
func_177638_a(Block arg0)
public boolean
a(cee arg0)
test(BlockState arg0)
method_11760(class_2680 arg0)
test(BlockState arg0)
test(BlockState arg0)
protected <T extends Comparable<T>> boolean
a(cee arg0, cfg<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> arg2)
func_185927_a(BlockState arg0, Property<T> arg1, Predicate<Object> arg2)
public <V extends Comparable<V>> BlockStatePredicate
a(cfg<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> arg1)
func_201028_a(Property<V> arg0, Predicate<Object> arg1)