net.minecraft.world.entity

public class SpawnPlacements

ara
net.minecraft.world.entity.SpawnPlacements
net.minecraft.class_1317
net.minecraft.entity.SpawnRestriction
net.minecraft.entity.EntitySpawnPlacementRegistry
net.minecraft.server.v1_16_R2.EntityPositionTypes

Field summary

Modifier and TypeField
private static final Map<EntityType<?>, SpawnPlacements$Data>
a
DATA_BY_TYPE
field_6313
RESTRICTIONS
field_209347_a

Method summary

Modifier and TypeMethod
private static <T extends Mob> void
a(aqb<T> arg0, ara$c arg1, chk$a arg2, ara$b<T> arg3)
register(EntityType<T> arg0, SpawnPlacements$Type arg1, Heightmap$Types arg2, SpawnPlacements$SpawnPredicate<T> arg3)
method_20637(class_1299<T> arg0, class_1317$class_1319 arg1, class_2902$class_2903 arg2, class_1317$class_4306<T> arg3)
register(EntityType<T> type, SpawnRestriction$Location location, Heightmap$Type heightmapType, SpawnRestriction$SpawnPredicate<T> predicate)
func_209343_a(EntityType<T> arg0, EntitySpawnPlacementRegistry$PlacementType arg1, Heightmap$Type arg2, EntitySpawnPlacementRegistry$IPlacementPredicate<T> arg3)
public static SpawnPlacements$Type
a(aqb<?> arg0)
getPlacementType(EntityType<?> arg0)
method_6159(class_1299<?> arg0)
getLocation(EntityType<?> type)
func_209344_a(EntityType<?> arg0)
public static Heightmap$Types
b(aqb<?> arg0)
getHeightmapType(EntityType<?> arg0)
method_6160(class_1299<?> arg0)
getHeightmapType(EntityType<?> type)
func_209342_b(EntityType<?> arg0)
public static <T extends Entity> boolean
a(aqb<T> arg0, bsh arg1, aqm arg2, fx arg3, Random arg4)
checkSpawnRules(EntityType<T> arg0, ServerLevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20638(class_1299<T> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<T> type, ServerWorldAccess arg1, SpawnReason spawnReason, BlockPos pos, Random random)
func_223515_a(EntityType<T> arg0, IServerWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)