net.minecraft.world.entity

public class SpawnPlacements

bwe
net.minecraft.world.entity.SpawnPlacements
net.minecraft.class_1317
net.minecraft.entity.SpawnRestriction
net.minecraft.world.entity.EntityPositionTypes

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends Mob> void
a(but<T> arg0, bwc arg1, ect$a arg2, bwe$b<T> arg3)
register(EntityType<T> arg0, SpawnPlacementType arg1, Heightmap$Types arg2, SpawnPlacements$SpawnPredicate<T> arg3)
method_20637(class_1299<T> arg0, class_9168 arg1, class_2902$class_2903 arg2, class_1317$class_4306<T> arg3)
register(EntityType<T> type, SpawnLocation location, Heightmap$Type heightmapType, SpawnRestriction$SpawnPredicate<T> predicate)
public static SpawnPlacementType
a(but<?> arg0)
getPlacementType(EntityType<?> arg0)
method_6159(class_1299<?> arg0)
getLocation(EntityType<?> type)
public static boolean
a(but<?> arg0, dgm arg1, ji arg2)
isSpawnPositionOk(EntityType<?> arg0, LevelReader arg1, BlockPos arg2)
method_56558(class_1299<?> arg0, class_4538 arg1, class_2338 arg2)
isSpawnPosAllowed(EntityType<?> type, WorldView world, BlockPos pos)
public static Heightmap$Types
b(but<?> arg0)
getHeightmapType(EntityType<?> arg0)
method_6160(class_1299<?> arg0)
getHeightmapType(EntityType<?> type)
public static <T extends Entity> boolean
a(but<T> arg0, dha arg1, bus arg2, ji arg3, azh arg4)
checkSpawnRules(EntityType<T> arg0, ServerLevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20638(class_1299<T> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)