Class LinearPosTest
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.PosRuleTest
net.minecraft.world.level.levelgen.structure.templatesystem.LinearPosTest
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected PosRuleTestType<?>getType()booleantest(BlockPos p_230296_, BlockPos p_230297_, BlockPos p_230298_, RandomSource p_230299_) 
- 
Field Details- 
CODEC
- 
minChanceprivate final float minChance
- 
maxChanceprivate final float maxChance
- 
minDistprivate final int minDist
- 
maxDistprivate final int maxDist
 
- 
- 
Constructor Details- 
LinearPosTestpublic LinearPosTest(float p_74154_, float p_74155_, int p_74156_, int p_74157_) 
 
- 
- 
Method Details- 
testpublic boolean test(BlockPos p_230296_, BlockPos p_230297_, BlockPos p_230298_, RandomSource p_230299_) - Specified by:
- testin class- PosRuleTest
 
- 
getType- Specified by:
- getTypein class- PosRuleTest
 
 
-