net.minecraft.world.entity

public class SpawnPlacements

buk
net.minecraft.world.entity.SpawnPlacements
net.minecraft.class_1317
net.minecraft.entity.SpawnRestriction
net.minecraft.src.C_543_
net.minecraft.world.entity.EntityPositionTypes

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends Mob> void
a(bsx<T> arg0, bui arg1, dyy$a arg2, buk$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)
m_21754_(C_513_<T> p_21755_, C_313498_ p_331557_, C_2190_$C_2191_ p_21757_, C_543_$C_545_<T> p_21758_)
public static SpawnPlacementType
a(bsx<?> arg0)
getPlacementType(EntityType<?> arg0)
method_6159(class_1299<?> arg0)
getLocation(EntityType<?> type)
m_21752_(C_513_<?> p_21753_)
public static boolean
a(bsx<?> arg0, dcz arg1, jd 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)
m_323908_(C_513_<?> p_331487_, C_1599_ p_329941_, C_4675_ p_327899_)
public static Heightmap$Types
b(bsx<?> arg0)
getHeightmapType(EntityType<?> arg0)
method_6160(class_1299<?> arg0)
getHeightmapType(EntityType<?> type)
m_21765_(C_513_<?> p_21766_)
public static <T extends Entity> boolean
a(bsx<T> arg0, ddl arg1, btr arg2, jd arg3, ayw arg4)
checkSpawnRules(EntityType<T> arg0, ServerLevelAccessor arg1, MobSpawnType 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)
m_217074_(C_513_<T> p_217075_, C_1618_ p_217076_, C_529_ p_217077_, C_4675_ p_217078_, C_212974_ p_217079_)