Package net.minecraft.util.shape
Class DisjointPairList
java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.AbstractDoubleList
net.minecraft.util.shape.DisjointPairList
- All Implemented Interfaces:
DoubleCollection
,DoubleIterable
,DoubleList
,DoubleStack
,Stack<Double>
,Comparable<List<? extends Double>>
,Iterable<Double>
,Collection<Double>
,List<Double>
,PairList
- Mappings:
Namespace Name official dwg
intermediary net/minecraft/class_257
named net/minecraft/util/shape/DisjointPairList
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
AbstractDoubleList.DoubleRandomAccessSubList, AbstractDoubleList.DoubleSubList
Nested classes/interfaces inherited from interface net.minecraft.util.shape.PairList
PairList.Consumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DoubleList
private final boolean
private final DoubleList
-
Constructor Summary
ModifierConstructorDescriptionprotected
DisjointPairList
(DoubleList first, DoubleList second, boolean inverted) -
Method Summary
Modifier and TypeMethodDescriptionboolean
forEachPair
(PairList.Consumer predicate) double
getDouble
(int position) getPairs()
private boolean
iterateSections
(PairList.Consumer consumer) int
size()
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, forEach, getElements, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, peekDouble, popDouble, push, rem, removeDouble, removeElements, replaceAll, set, setElements, size, subList, toArray, toDoubleArray, topDouble, toString
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toDoubleArray
Methods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
toArray
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection
containsAll, doubleIterator, doubleParallelStream, doubleSpliterator, doubleStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, spliterator, stream, toDoubleArray
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable
forEach, forEach
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList
add, add, addAll, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, spliterator, unstableSort, unstableSort
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleStack
peek, pop, push, top
-
Field Details
-
first
- Mappings:
Namespace Name Mixin selector official a
Ldwg;a:Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary field_1381
Lnet/minecraft/class_257;field_1381:Lit/unimi/dsi/fastutil/doubles/DoubleList;
named first
Lnet/minecraft/util/shape/DisjointPairList;first:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
second
- Mappings:
Namespace Name Mixin selector official b
Ldwg;b:Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary field_1379
Lnet/minecraft/class_257;field_1379:Lit/unimi/dsi/fastutil/doubles/DoubleList;
named second
Lnet/minecraft/util/shape/DisjointPairList;second:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
inverted
private final boolean inverted- Mappings:
Namespace Name Mixin selector official c
Ldwg;c:Z
intermediary field_1380
Lnet/minecraft/class_257;field_1380:Z
named inverted
Lnet/minecraft/util/shape/DisjointPairList;inverted:Z
-
-
Constructor Details
-
DisjointPairList
- Mappings:
Namespace Name Mixin selector official <init>
Ldwg;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)V
intermediary <init>
Lnet/minecraft/class_257;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)V
named <init>
Lnet/minecraft/util/shape/DisjointPairList;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)V
-
-
Method Details
-
size
public int size() -
forEachPair
- Specified by:
forEachPair
in interfacePairList
- Mappings:
Namespace Name Mixin selector official a
Ldwe;a(Ldwe$a;)Z
intermediary method_1065
Lnet/minecraft/class_255;method_1065(Lnet/minecraft/class_255$class_256;)Z
named forEachPair
Lnet/minecraft/util/shape/PairList;forEachPair(Lnet/minecraft/util/shape/PairList$Consumer;)Z
-
iterateSections
- Mappings:
Namespace Name Mixin selector official b
Ldwg;b(Ldwe$a;)Z
intermediary method_1067
Lnet/minecraft/class_257;method_1067(Lnet/minecraft/class_255$class_256;)Z
named iterateSections
Lnet/minecraft/util/shape/DisjointPairList;iterateSections(Lnet/minecraft/util/shape/PairList$Consumer;)Z
-
getDouble
public double getDouble(int position) - Specified by:
getDouble
in interfaceDoubleList
- Mappings:
Namespace Name Mixin selector official getDouble
Ldwg;getDouble(I)D
intermediary getDouble
Lnet/minecraft/class_257;getDouble(I)D
named getDouble
Lnet/minecraft/util/shape/DisjointPairList;getDouble(I)D
-
getPairs
- Specified by:
getPairs
in interfacePairList
- Mappings:
Namespace Name Mixin selector official a
Ldwe;a()Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary method_1066
Lnet/minecraft/class_255;method_1066()Lit/unimi/dsi/fastutil/doubles/DoubleList;
named getPairs
Lnet/minecraft/util/shape/PairList;getPairs()Lit/unimi/dsi/fastutil/doubles/DoubleList;
-