Rename ServerWorld#shouldCreateNewEntityWithPassenger (#2877)

* Rename ServerWorld#shouldCreateNewEntityWithPassenger

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
apple502j 2021-11-25 05:18:33 +09:00 committed by GitHub
parent 319406c7cc
commit 2b4b1aca9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -209,7 +209,13 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
METHOD method_29204 (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
ARG 1 pos
METHOD method_30630 getSpawnAngle ()F
METHOD method_30736 shouldCreateNewEntityWithPassenger (Lnet/minecraft/class_1297;)Z
METHOD method_30736 spawnNewEntityAndPassengers (Lnet/minecraft/class_1297;)Z
COMMENT Checks whether any of the entity and its passengers already exist
COMMENT in the world, and if not, spawns the entity with its passengers.
COMMENT
COMMENT @return {@code true} if the spawning was successful, otherwise {@code false}
COMMENT
COMMENT @see net.minecraft.world.ServerWorldAccess#spawnEntityAndPassengers
ARG 1 entity
METHOD method_31268 getDebugString ()Ljava/lang/String;
METHOD method_31270 getTopFive (Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;