Class DisjointPairList

All Implemented Interfaces:
DoubleCollection, DoubleIterable, DoubleList, DoubleStack, Stack<Double>, Comparable<List<? extends Double>>, Iterable<Double>, Collection<Double>, List<Double>, PairList

public class DisjointPairList extends AbstractDoubleList implements PairList
Mappings:
Namespace Name
official dqc
intermediary net/minecraft/class_257
named net/minecraft/util/shape/DisjointPairList
  • Field Details

    • first

      private final DoubleList first
      Mappings:
      Namespace Name Mixin selector
      official a Ldqc;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

      private final DoubleList second
      Mappings:
      Namespace Name Mixin selector
      official b Ldqc;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 Ldqc;c:Z
      intermediary field_1380 Lnet/minecraft/class_257;field_1380:Z
      named inverted Lnet/minecraft/util/shape/DisjointPairList;inverted:Z
  • Constructor Details

    • DisjointPairList

      protected DisjointPairList(DoubleList first, DoubleList second, boolean inverted)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqc;<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()
      Specified by:
      size in interface Collection<Double>
      Specified by:
      size in interface List<Double>
      Specified by:
      size in interface PairList
      Specified by:
      size in class AbstractCollection<Double>
    • forEachPair

      public boolean forEachPair(PairList.Consumer predicate)
      Specified by:
      forEachPair in interface PairList
      Mappings:
      Namespace Name Mixin selector
      official a Ldqa;a(Ldqa$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

      private boolean iterateSections(PairList.Consumer consumer)
      Mappings:
      Namespace Name Mixin selector
      official b Ldqc;b(Ldqa$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 interface DoubleList
      Mappings:
      Namespace Name Mixin selector
      official getDouble Ldqc;getDouble(I)D
      intermediary getDouble Lnet/minecraft/class_257;getDouble(I)D
      named getDouble Lnet/minecraft/util/shape/DisjointPairList;getDouble(I)D
    • getPairs

      public DoubleList getPairs()
      Specified by:
      getPairs in interface PairList
      Mappings:
      Namespace Name Mixin selector
      official a Ldqa;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;