Interface RandomBlockMatchTest
Tests the block is the specified block. Then only matches with a given probability.
- Since:
- 3.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionblock()The block to match.static RandomBlockMatchTestCreates a new random block match test.floatThe probability of matching between 0.0 and 1.0.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
block
-
probability
The probability of matching between 0.0 and 1.0.- Returns:
- the probability
- Since:
- 3.0.0
-
of
Creates a new random block match test.- Parameters:
block- the block to matchprobability- the probability of matching- Returns:
- the random block match test
- Since:
- 3.0.0
-