net.minecraft.world.entity

public class SpawnPlacements

bcv
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(bbr<T> arg0, bcv$c arg1, dar$a arg2, bcv$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)
m_21754_(C_513_<T> p_21755_, C_546_ p_21756_, C_2191_ p_21757_, C_545_<T> p_21758_)
public static SpawnPlacements$Type
a(bbr<?> arg0)
getPlacementType(EntityType<?> arg0)
method_6159(class_1299<?> arg0)
getLocation(EntityType<?> type)
m_21752_(C_513_<?> p_21753_)
public static Heightmap$Types
b(bbr<?> 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(bbr<T> arg0, chm arg1, bcg arg2, gt arg3, amn 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_)