Class RuleTest
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
- Direct Known Subclasses:
AlwaysTrueTest
,BlockMatchTest
,BlockStateMatchTest
,RandomBlockMatchTest
,RandomBlockStateMatchTest
,TagMatchTest
Represents a (possibly randomly influenced) predicate of a given block state to be replaced during world generation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RuleTestType
<?> getType()
abstract boolean
test
(BlockState pState, RandomSource pRandom)
-
Field Details
-
CODEC
-
-
Constructor Details
-
RuleTest
public RuleTest()
-
-
Method Details
-
test
-
getType
-