Class BlockStateMatchRuleTest
- java.lang.Object
-
- net.minecraft.world.gen.feature.template.RuleTest
-
- net.minecraft.world.gen.feature.template.BlockStateMatchRuleTest
-
public class BlockStateMatchRuleTest extends RuleTest
-
-
Field Summary
Fields Modifier and Type Field Description private BlockState
blockState
static com.mojang.serialization.Codec<BlockStateMatchRuleTest>
CODEC
-
Constructor Summary
Constructors Constructor Description BlockStateMatchRuleTest(BlockState p_i51330_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IRuleTestType<?>
getType()
boolean
test(BlockState p_215181_1_, java.util.Random p_215181_2_)
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<BlockStateMatchRuleTest> CODEC
-
blockState
private final BlockState blockState
-
-
Constructor Detail
-
BlockStateMatchRuleTest
public BlockStateMatchRuleTest(BlockState p_i51330_1_)
-
-
Method Detail
-
test
public boolean test(BlockState p_215181_1_, java.util.Random p_215181_2_)
-
getType
protected IRuleTestType<?> getType()
-
-