Package net.minecraft.util.shape
Class FractionalPairList
java.lang.Object
net.minecraft.util.shape.FractionalPairList
- All Implemented Interfaces:
PairList
public final class FractionalPairList extends Object implements PairList
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.shape.PairList
PairList.Consumer
-
Field Summary
Fields Modifier and Type Field Description private int
firstSectionCount
private int
gcd
private FractionalDoubleList
mergedList
private int
secondSectionCount
-
Constructor Summary
Constructors Constructor Description FractionalPairList(int firstSectionCount, int secondSectionCount)
-
Method Summary
Modifier and Type Method Description boolean
forEachPair(PairList.Consumer predicate)
DoubleList
getPairs()
-
Field Details
-
mergedList
-
firstSectionCount
private final int firstSectionCount -
secondSectionCount
private final int secondSectionCount -
gcd
private final int gcd
-
-
Constructor Details
-
FractionalPairList
FractionalPairList(int firstSectionCount, int secondSectionCount)
-
-
Method Details
-
forEachPair
- Specified by:
forEachPair
in interfacePairList
-
getPairs
-