Class BoundedRegionArray<T>

java.lang.Object
net.minecraft.util.collection.BoundedRegionArray<T>

public class BoundedRegionArray<T> extends Object
Mappings:
Namespace Name
named net/minecraft/util/collection/BoundedRegionArray
intermediary net/minecraft/class_9762
official aza
  • Field Details

    • minX

      private final int minX
      Mappings:
      Namespace Name Mixin selector
      named minX Lnet/minecraft/util/collection/BoundedRegionArray;minX:I
      intermediary field_51878 Lnet/minecraft/class_9762;field_51878:I
      official a Laza;a:I
    • minZ

      private final int minZ
      Mappings:
      Namespace Name Mixin selector
      named minZ Lnet/minecraft/util/collection/BoundedRegionArray;minZ:I
      intermediary field_51879 Lnet/minecraft/class_9762;field_51879:I
      official b Laza;b:I
    • maxX

      private final int maxX
      Mappings:
      Namespace Name Mixin selector
      named maxX Lnet/minecraft/util/collection/BoundedRegionArray;maxX:I
      intermediary field_51880 Lnet/minecraft/class_9762;field_51880:I
      official c Laza;c:I
    • maxZ

      private final int maxZ
      Mappings:
      Namespace Name Mixin selector
      named maxZ Lnet/minecraft/util/collection/BoundedRegionArray;maxZ:I
      intermediary field_51881 Lnet/minecraft/class_9762;field_51881:I
      official d Laza;d:I
    • array

      private final Object[] array
      Mappings:
      Namespace Name Mixin selector
      named array Lnet/minecraft/util/collection/BoundedRegionArray;array:[Ljava/lang/Object;
      intermediary field_51882 Lnet/minecraft/class_9762;field_51882:[Ljava/lang/Object;
      official e Laza;e:[Ljava/lang/Object;
  • Constructor Details

    • BoundedRegionArray

      private BoundedRegionArray(int minX, int minZ, int maxX, int maxZ, BoundedRegionArray.Getter<T> getter)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/collection/BoundedRegionArray;<init>(IIIILnet/minecraft/util/collection/BoundedRegionArray$Getter;)V
      intermediary <init> Lnet/minecraft/class_9762;<init>(IIIILnet/minecraft/class_9762$class_9763;)V
      official <init> Laza;<init>(IIIILaza$a;)V
  • Method Details

    • create

      public static <T> BoundedRegionArray<T> create(int centerX, int centerZ, int radius, BoundedRegionArray.Getter<T> getter)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/util/collection/BoundedRegionArray;create(IIILnet/minecraft/util/collection/BoundedRegionArray$Getter;)Lnet/minecraft/util/collection/BoundedRegionArray;
      intermediary method_60483 Lnet/minecraft/class_9762;method_60483(IIILnet/minecraft/class_9762$class_9763;)Lnet/minecraft/class_9762;
      official a Laza;a(IIILaza$a;)Laza;
    • forEach

      public void forEach(Consumer<T> callback)
      Mappings:
      Namespace Name Mixin selector
      named forEach Lnet/minecraft/util/collection/BoundedRegionArray;forEach(Ljava/util/function/Consumer;)V
      intermediary method_60484 Lnet/minecraft/class_9762;method_60484(Ljava/util/function/Consumer;)V
      official a Laza;a(Ljava/util/function/Consumer;)V
    • get

      public T get(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/collection/BoundedRegionArray;get(II)Ljava/lang/Object;
      intermediary method_60482 Lnet/minecraft/class_9762;method_60482(II)Ljava/lang/Object;
      official a Laza;a(II)Ljava/lang/Object;
    • isWithinBounds

      public boolean isWithinBounds(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named isWithinBounds Lnet/minecraft/util/collection/BoundedRegionArray;isWithinBounds(II)Z
      intermediary method_60485 Lnet/minecraft/class_9762;method_60485(II)Z
      official b Laza;b(II)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIndex

      private int toIndex(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named toIndex Lnet/minecraft/util/collection/BoundedRegionArray;toIndex(II)I
      intermediary method_60486 Lnet/minecraft/class_9762;method_60486(II)I
      official c Laza;c(II)I