EntityContext -> ShapeContext, EntityContextImpl -> EntityShapeContext (#1213)

Fixes #908.

This context is exclusively used by block's 3 shape checking methods.
For its usage outside of blocks, it is used to be eventually passed to call one of the shape checking methods (as in CollisionView#canPlace or RayTraceContext)

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2020-03-24 17:54:23 -05:00 committed by GitHub
parent 0a63e67d08
commit 4bcc8ac47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_3727 net/minecraft/entity/EntityContextImpl
CLASS net/minecraft/class_3727 net/minecraft/block/EntityShapeContext
FIELD field_16450 minY D
FIELD field_16451 descending Z
FIELD field_17593 ABSENT Lnet/minecraft/class_3726;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_3726 net/minecraft/entity/EntityContext
CLASS net/minecraft/class_3726 net/minecraft/block/ShapeContext
METHOD method_16192 isAbove (Lnet/minecraft/class_265;Lnet/minecraft/class_2338;Z)Z
ARG 1 shape
ARG 2 pos