Class OffsetDoubleList

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

public class OffsetDoubleList extends AbstractDoubleList
Mappings:
Namespace Name
official dqd
intermediary net/minecraft/class_261
named net/minecraft/util/shape/OffsetDoubleList
  • Field Details

    • oldList

      private final DoubleList oldList
      Mappings:
      Namespace Name Mixin selector
      official a Ldqd;a:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary field_1387 Lnet/minecraft/class_261;field_1387:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      named oldList Lnet/minecraft/util/shape/OffsetDoubleList;oldList:Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • offset

      private final double offset
      Mappings:
      Namespace Name Mixin selector
      official b Ldqd;b:D
      intermediary field_1386 Lnet/minecraft/class_261;field_1386:D
      named offset Lnet/minecraft/util/shape/OffsetDoubleList;offset:D
  • Constructor Details

    • OffsetDoubleList

      public OffsetDoubleList(DoubleList oldList, double offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqd;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;D)V
      intermediary <init> Lnet/minecraft/class_261;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;D)V
      named <init> Lnet/minecraft/util/shape/OffsetDoubleList;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;D)V
  • Method Details

    • getDouble

      public double getDouble(int position)
      Mappings:
      Namespace Name Mixin selector
      official getDouble Ldqd;getDouble(I)D
      intermediary getDouble Lnet/minecraft/class_261;getDouble(I)D
      named getDouble Lnet/minecraft/util/shape/OffsetDoubleList;getDouble(I)D
    • size

      public int size()
      Specified by:
      size in interface Collection<Double>
      Specified by:
      size in interface List<Double>
      Specified by:
      size in class AbstractCollection<Double>