Class FractionalPairList

java.lang.Object
net.minecraft.util.shape.FractionalPairList
All Implemented Interfaces:
PairList

public final class FractionalPairList
extends Object
implements PairList
Mappings:
Namespace Name
official djc
intermediary net/minecraft/class_248
named net/minecraft/util/shape/FractionalPairList
  • Field Details

    • mergedList

      private final FractionalDoubleList mergedList
      Mappings:
      Namespace Name Mixin selector
      official a Ldjc;a:Ldja;
      intermediary field_1367 Lnet/minecraft/class_248;field_1367:Lnet/minecraft/class_246;
      named mergedList Lnet/minecraft/util/shape/FractionalPairList;mergedList:Lnet/minecraft/util/shape/FractionalDoubleList;
    • firstSectionCount

      private final int firstSectionCount
      Mappings:
      Namespace Name Mixin selector
      official b Ldjc;b:I
      intermediary field_1370 Lnet/minecraft/class_248;field_1370:I
      named firstSectionCount Lnet/minecraft/util/shape/FractionalPairList;firstSectionCount:I
    • gcd

      private final int gcd
      Mappings:
      Namespace Name Mixin selector
      official c Ldjc;c:I
      intermediary field_1368 Lnet/minecraft/class_248;field_1368:I
      named gcd Lnet/minecraft/util/shape/FractionalPairList;gcd:I
  • Constructor Details

    • FractionalPairList

      FractionalPairList​(int int2, int int3)
  • Method Details

    • forEachPair

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

      public int size()
      Specified by:
      size in interface PairList
      Mappings:
      Namespace Name Mixin selector
      official size Ldjg;size()I
      intermediary size Lnet/minecraft/class_255;size()I
      named size Lnet/minecraft/util/shape/PairList;size()I
    • getPairs

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