Class SpawnLocating

java.lang.Object
net.minecraft.server.network.SpawnLocating

public class SpawnLocating extends Object
Mappings:
Namespace Name
official ahy
intermediary net/minecraft/class_5322
named net/minecraft/server/network/SpawnLocating
  • Constructor Details

    • SpawnLocating

      public SpawnLocating()
  • Method Details

    • findOverworldSpawn

      @Nullable protected static @Nullable BlockPos findOverworldSpawn(ServerWorld world, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lahy;a(Laid;II)Lgu;
      intermediary method_29194 Lnet/minecraft/class_5322;method_29194(Lnet/minecraft/class_3218;II)Lnet/minecraft/class_2338;
      named findOverworldSpawn Lnet/minecraft/server/network/SpawnLocating;findOverworldSpawn(Lnet/minecraft/server/world/ServerWorld;II)Lnet/minecraft/util/math/BlockPos;
    • findServerSpawnPoint

      @Nullable public static @Nullable BlockPos findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lahy;a(Laid;Lclm;)Lgu;
      intermediary method_29196 Lnet/minecraft/class_5322;method_29196(Lnet/minecraft/class_3218;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2338;
      named findServerSpawnPoint Lnet/minecraft/server/network/SpawnLocating;findServerSpawnPoint(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/util/math/BlockPos;