Class LargeEntitySpawnHelper

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

public class LargeEntitySpawnHelper extends Object
Mappings:
Namespace Name
named net/minecraft/entity/LargeEntitySpawnHelper
intermediary net/minecraft/class_7244
official bax
  • 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
      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;
      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;
      official a Lbax;a(Lbvq;Lbvp;Lash;Ljh;IIILbax$a;)Ljava/util/Optional;
    • findSpawnPos

      private static boolean findSpawnPos(ServerWorld world, int verticalRange, BlockPos.Mutable pos, LargeEntitySpawnHelper.Requirements requirements)
      Mappings:
      Namespace Name Mixin selector
      named findSpawnPos Lnet/minecraft/entity/LargeEntitySpawnHelper;findSpawnPos(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/entity/LargeEntitySpawnHelper$Requirements;)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
      official a Lbax;a(Lash;ILjh$a;Lbax$a;)Z