Class BlockMatchRuleTest
- java.lang.Object
-
- net.minecraft.world.gen.feature.template.RuleTest
-
- net.minecraft.world.gen.feature.template.BlockMatchRuleTest
-
public class BlockMatchRuleTest extends RuleTest
-
-
Field Summary
Fields Modifier and Type Field Description private Block
block
static com.mojang.serialization.Codec<BlockMatchRuleTest>
CODEC
-
Constructor Summary
Constructors Constructor Description BlockMatchRuleTest(Block p_i51334_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<BlockMatchRuleTest> CODEC
-
block
private final Block block
-
-
Constructor Detail
-
BlockMatchRuleTest
public BlockMatchRuleTest(Block p_i51334_1_)
-
-
Method Detail
-
test
public boolean test(BlockState p_215181_1_, java.util.Random p_215181_2_)
-
getType
protected IRuleTestType<?> getType()
-
-