Class PosRuleTest
- java.lang.Object
-
- net.minecraft.world.gen.feature.template.PosRuleTest
-
- Direct Known Subclasses:
AlwaysTrueTest
,AxisAlignedLinearPosTest
,LinearPosTest
public abstract class PosRuleTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<PosRuleTest>
CODEC
-
Constructor Summary
Constructors Constructor Description PosRuleTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract IPosRuleTests<?>
getType()
abstract boolean
test(BlockPos p_230385_1_, BlockPos p_230385_2_, BlockPos p_230385_3_, java.util.Random p_230385_4_)
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<PosRuleTest> CODEC
-
-
Method Detail
-
test
public abstract boolean test(BlockPos p_230385_1_, BlockPos p_230385_2_, BlockPos p_230385_3_, java.util.Random p_230385_4_)
-
getType
protected abstract IPosRuleTests<?> getType()
-
-