net.minecraft.world.entity

public class SpawnPlacements

bxc
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(bvr<T> arg0, bxa arg1, edq$a arg2, bxc$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(bvr<?> arg0)
getPlacementType(EntityType<?> arg0)
method_6159(class_1299<?> arg0)
getLocation(EntityType<?> type)
public static boolean
a(bvr<?> arg0, dhl arg1, jh 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(bvr<?> arg0)
getHeightmapType(EntityType<?> arg0)
method_6160(class_1299<?> arg0)
getHeightmapType(EntityType<?> type)
public static <T extends Entity> boolean
a(bvr<T> arg0, dhz arg1, bvq arg2, jh arg3, bam 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)