Class LargeEntitySpawnHelper

java.lang.Object
net.minecraft.entity.LargeEntitySpawnHelper

public class LargeEntitySpawnHelper extends Object
Mappings:
Namespace Name
official app
intermediary net/minecraft/class_7244
named net/minecraft/entity/LargeEntitySpawnHelper
  • Constructor Details

    • LargeEntitySpawnHelper

      public LargeEntitySpawnHelper()
  • Method Details

    • trySpawnAt

      public static <T extends MobEntity> Optional<T> trySpawnAt(EntityType<T> entityType, SpawnReason reason, ServerWorld world, BlockPos pos, int tries, int horizontalRange, int verticalRange, LargeEntitySpawnHelper.Requirements requirements)
      Mappings:
      Namespace Name Mixin selector
      official a Lapp;a(Lbfn;Lbgd;Laif;Lgu;IIILapp$a;)Ljava/util/Optional;
      intermediary method_42122 Lnet/minecraft/class_7244;method_42122(Lnet/minecraft/class_1299;Lnet/minecraft/class_3730;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;IIILnet/minecraft/class_7244$class_7502;)Ljava/util/Optional;
      named trySpawnAt Lnet/minecraft/entity/LargeEntitySpawnHelper;trySpawnAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;IIILnet/minecraft/entity/LargeEntitySpawnHelper$Requirements;)Ljava/util/Optional;
    • findSpawnPos

      private static boolean findSpawnPos(ServerWorld world, int verticalRange, BlockPos.Mutable pos, LargeEntitySpawnHelper.Requirements requirements)
      Mappings:
      Namespace Name Mixin selector
      official a Lapp;a(Laif;ILgu$a;Lapp$a;)Z
      intermediary method_42121 Lnet/minecraft/class_7244;method_42121(Lnet/minecraft/class_3218;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_7244$class_7502;)Z
      named findSpawnPos Lnet/minecraft/entity/LargeEntitySpawnHelper;findSpawnPos(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/entity/LargeEntitySpawnHelper$Requirements;)Z