Package net.minecraft.entity
Class LargeEntitySpawnHelper
java.lang.Object
net.minecraft.entity.LargeEntitySpawnHelper
- Mappings:
Namespace Name official amu
intermediary net/minecraft/class_7244
named net/minecraft/entity/LargeEntitySpawnHelper
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
findSpawnPos
(ServerWorld world, int verticalRange, BlockPos.Mutable pos, LargeEntitySpawnHelper.Requirements requirements) trySpawnAt
(EntityType<T> entityType, SpawnReason reason, ServerWorld world, BlockPos pos, int tries, int horizontalRange, int verticalRange, LargeEntitySpawnHelper.Requirements requirements)
-
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
Lamu;a(Lbbr;Lbcg;Lagg;Lgt;IIILamu$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
Lamu;a(Lagg;ILgt$a;Lamu$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
-