BlockBox names and overloads in BlockPos (#1117)

* BlockPos#method_23627(1) -> stream

* BlockPos#stream(1)[0 = ] -> box

* BlockBox#method_22874(0) -> center

* +60 doc in BlockBox#center(0)

* Change name to adhere to conventions
This commit is contained in:
Mitchell Skaggs 2020-02-14 12:53:59 -06:00 committed by GitHub
parent 8580ae24ad
commit b058d2d0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -67,3 +67,5 @@ CLASS net/minecraft/class_3341 net/minecraft/util/math/BlockBox
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_22874 getCenter ()Lnet/minecraft/class_2382;
COMMENT @implNote Biased toward the minimum bound corner of the box.

View File

@ -103,6 +103,8 @@ CLASS net/minecraft/class_2338 net/minecraft/util/math/BlockPos
METHOD method_20437 stream (Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
ARG 0 pos1
ARG 1 pos2
METHOD method_23627 stream (Lnet/minecraft/class_3341;)Ljava/util/stream/Stream;
ARG 0 box
CLASS 1
FIELD field_17676 connector Lnet/minecraft/class_3980;
FIELD field_18231 position Lnet/minecraft/class_2338$class_2339;