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

public class BlockStatePredicate

implements Predicate<BlockState>

clc
net.minecraft.world.level.block.state.predicate.BlockStatePredicate
net.minecraft.class_2715
net.minecraft.predicate.block.BlockStatePredicate
net.minecraft.src.C_2078_
net.minecraft.world.level.block.state.predicate.BlockStatePredicate

Field summary

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

Constructor summary

ModifierConstructor
private (StateDefinition<Block, BlockState> manager)

Method summary

Modifier and TypeMethod
public static BlockStatePredicate
a(bzo arg0)
forBlock(Block arg0)
method_11758(class_2248 arg0)
forBlock(Block block)
m_61287_(C_1706_ p_61288_)
public boolean
a(cks arg0)
test(BlockState arg0)
method_11760(class_2680 arg0)
test(BlockState arg0)
test(C_2064_ arg0)
protected <T extends Comparable<T>> boolean
a(cks arg0, clv<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)
m_61291_(C_2064_ p_61293_, C_2097_<T> p_61294_, Predicate<Object> arg2)
public <V extends Comparable<V>> BlockStatePredicate
a(clv<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)
m_61295_(C_2097_<V> p_61297_, Predicate<Object> arg1)