类 SpawnLocating
- java.lang.Object
-
- net.minecraft.server.network.SpawnLocating
-
public class SpawnLocating extends Object
- Mappings:
Namespace Name official abeintermediary net/minecraft/class_5322named net/minecraft/server/network/SpawnLocating
-
-
构造器概要
构造器 构造器 说明 SpawnLocating()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 protected static @Nullable BlockPosfindOverworldSpawn(ServerWorld world, int x, int z, boolean validSpawnNeeded)static @Nullable BlockPosfindServerSpawnPoint(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded)
-
-
-
方法详细资料
-
findOverworldSpawn
@Nullable protected static @Nullable BlockPos findOverworldSpawn(ServerWorld world, int x, int z, boolean validSpawnNeeded)
- Mappings:
Namespace Name Mixin selector official aLabe;a(Labj;IIZ)Lgb;intermediary method_29194Lnet/minecraft/class_5322;method_29194(Lnet/minecraft/class_3218;IIZ)Lnet/minecraft/class_2338;named findOverworldSpawnLnet/minecraft/server/network/SpawnLocating;findOverworldSpawn(Lnet/minecraft/server/world/ServerWorld;IIZ)Lnet/minecraft/util/math/BlockPos;
-
findServerSpawnPoint
@Nullable public static @Nullable BlockPos findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded)
- Mappings:
Namespace Name Mixin selector official aLabe;a(Labj;Lbuw;Z)Lgb;intermediary method_29196Lnet/minecraft/class_5322;method_29196(Lnet/minecraft/class_3218;Lnet/minecraft/class_1923;Z)Lnet/minecraft/class_2338;named findServerSpawnPointLnet/minecraft/server/network/SpawnLocating;findServerSpawnPoint(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/ChunkPos;Z)Lnet/minecraft/util/math/BlockPos;
-
-