From 2b4b1aca9e118911f734017ab59334087755eb94 Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Thu, 25 Nov 2021 05:18:33 +0900 Subject: [PATCH] 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> --- mappings/net/minecraft/server/world/ServerWorld.mapping | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mappings/net/minecraft/server/world/ServerWorld.mapping b/mappings/net/minecraft/server/world/ServerWorld.mapping index e6cf291520..884f9c3e7e 100644 --- a/mappings/net/minecraft/server/world/ServerWorld.mapping +++ b/mappings/net/minecraft/server/world/ServerWorld.mapping @@ -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;