Class SpawnLocating

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

public class SpawnLocating extends Object
Mappings:
Namespace Name
official abm
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, boolean validSpawnNeeded)
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a(Labr;IIZ)Lgg;
      intermediary method_29194 Lnet/minecraft/class_5322;method_29194(Lnet/minecraft/class_3218;IIZ)Lnet/minecraft/class_2338;
      named findOverworldSpawn Lnet/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 a Labm;a(Labr;Lbvu;Z)Lgg;
      intermediary method_29196 Lnet/minecraft/class_5322;method_29196(Lnet/minecraft/class_3218;Lnet/minecraft/class_1923;Z)Lnet/minecraft/class_2338;
      named findServerSpawnPoint Lnet/minecraft/server/network/SpawnLocating;findServerSpawnPoint(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/ChunkPos;Z)Lnet/minecraft/util/math/BlockPos;