类 SpawnLocating


  • public class SpawnLocating
    extends Object
    Mappings:
    Namespace Name
    official abe
    intermediary net/minecraft/class_5322
    named net/minecraft/server/network/SpawnLocating
    • 构造器详细资料

      • SpawnLocating

        public SpawnLocating()
    • 方法详细资料

      • findOverworldSpawn

        @Nullable
        protected static @Nullable BlockPos findOverworldSpawn​(ServerWorld world,
                                                               int x,
                                                               int z,
                                                               boolean validSpawnNeeded)
        Mappings:
        Namespace Name Mixin selector
        official a Labe;a(Labj;IIZ)Lgb;
        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 Labe;a(Labj;Lbuw;Z)Lgb;
        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;