Class DisjointPairList

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

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

    • first

      private final DoubleList first
      Mappings:
      Namespace Name Mixin selector
      named first Lnet/minecraft/util/shape/DisjointPairList;first:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary field_1381 Lnet/minecraft/class_257;field_1381:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      official a Lexk;a:Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • second

      private final DoubleList second
      Mappings:
      Namespace Name Mixin selector
      named second Lnet/minecraft/util/shape/DisjointPairList;second:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary field_1379 Lnet/minecraft/class_257;field_1379:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      official b Lexk;b:Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • inverted

      private final boolean inverted
      Mappings:
      Namespace Name Mixin selector
      named inverted Lnet/minecraft/util/shape/DisjointPairList;inverted:Z
      intermediary field_1380 Lnet/minecraft/class_257;field_1380:Z
      official c Lexk;c:Z
  • Constructor Details

    • DisjointPairList

      protected DisjointPairList(DoubleList first, DoubleList second, boolean inverted)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/shape/DisjointPairList;<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
      official <init> Lexk;<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
      named forEachPair Lnet/minecraft/util/shape/PairList;forEachPair(Lnet/minecraft/util/shape/PairList$Consumer;)Z
      intermediary method_1065 Lnet/minecraft/class_255;method_1065(Lnet/minecraft/class_255$class_256;)Z
      official a Lexi;a(Lexi$a;)Z
    • iterateSections

      private boolean iterateSections(PairList.Consumer predicate)
      Mappings:
      Namespace Name Mixin selector
      named iterateSections Lnet/minecraft/util/shape/DisjointPairList;iterateSections(Lnet/minecraft/util/shape/PairList$Consumer;)Z
      intermediary method_1067 Lnet/minecraft/class_257;method_1067(Lnet/minecraft/class_255$class_256;)Z
      official b Lexk;b(Lexi$a;)Z
    • getDouble

      public double getDouble(int position)
      Specified by:
      getDouble in interface DoubleList
      Mappings:
      Namespace Name Mixin selector
      named getDouble Lnet/minecraft/util/shape/DisjointPairList;getDouble(I)D
      intermediary getDouble Lnet/minecraft/class_257;getDouble(I)D
      official getDouble Lexk;getDouble(I)D
    • getPairs

      public DoubleList getPairs()
      Specified by:
      getPairs in interface PairList
      Mappings:
      Namespace Name Mixin selector
      named getPairs Lnet/minecraft/util/shape/PairList;getPairs()Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary method_1066 Lnet/minecraft/class_255;method_1066()Lit/unimi/dsi/fastutil/doubles/DoubleList;
      official a Lexi;a()Lit/unimi/dsi/fastutil/doubles/DoubleList;