Package net.minecraft.util.collection
Class BoundedRegionArray<T>
java.lang.Object
net.minecraft.util.collection.BoundedRegionArray<T>
- Mappings:
Namespace Name named net/minecraft/util/collection/BoundedRegionArray
intermediary net/minecraft/class_9762
official bay
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
BoundedRegionArray
(int minX, int minZ, int maxX, int maxZ, BoundedRegionArray.Getter<T> getter) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BoundedRegionArray
<T> create
(int centerX, int centerZ, int radius, BoundedRegionArray.Getter<T> getter) void
get
(int x, int z) boolean
isWithinBounds
(int x, int z) private int
toIndex
(int x, int z) toString()
-
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
Lbay;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
Lbay;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
Lbay;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
Lbay;d:I
-
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
Lbay;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>
Lbay;<init>(IIIILbay$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
Lbay;a(IIILbay$a;)Lbay;
-
forEach
- 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
Lbay;a(Ljava/util/function/Consumer;)V
-
get
- 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
Lbay;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
Lbay;b(II)Z
-
toString
-
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
Lbay;c(II)I
-