Class OffsetDoubleList

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

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

    • oldList

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

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

    • OffsetDoubleList

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

    • getDouble

      public double getDouble(int position)
      Mappings:
      Namespace Name Mixin selector
      named getDouble Lnet/minecraft/util/shape/OffsetDoubleList;getDouble(I)D
      intermediary getDouble Lnet/minecraft/class_261;getDouble(I)D
      official getDouble Lewi;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>