class_5423 -> RegistryWorldView (#2026)

* 5423 -> RegistryWorldView

the collision methods are just overrides to specify from which interfaces
should their default impl be inherited

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

* Another easy method mapped

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-02-07 07:30:58 -06:00 committed by GitHub
parent 9526a4af9f
commit 9c612d4de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View File

@ -1,4 +0,0 @@
CLASS net/minecraft/class_5423
METHOD method_30349 getRegistryManager ()Lnet/minecraft/class_5455;
METHOD method_31081 getBiomeKey (Lnet/minecraft/class_2338;)Ljava/util/Optional;
ARG 1 pos

View File

@ -0,0 +1,8 @@
CLASS net/minecraft/class_5423 net/minecraft/world/RegistryWorldView
COMMENT A world view or {@link World}'s superinterface that exposes access to
COMMENT a registry manager.
COMMENT
COMMENT @see #getRegistryManager()
METHOD method_30349 getRegistryManager ()Lnet/minecraft/class_5455;
METHOD method_31081 getBiomeKey (Lnet/minecraft/class_2338;)Ljava/util/Optional;
ARG 1 pos

View File

@ -14,6 +14,9 @@ CLASS net/minecraft/class_1936 net/minecraft/world/WorldAccess
METHOD method_32889 emitGameEvent (Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
ARG 1 event
ARG 2 pos
METHOD method_33596 emitGameEvent (Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)V
ARG 1 event
ARG 2 emitter
METHOD method_8396 playSound (Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 player
ARG 2 pos