net.minecraft.world.entity

public class SpawnPlacements

aya
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(awx<T> arg0, aya$c arg1, ctc$a arg2, aya$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_543_$C_546_ p_21756_, C_2190_$C_2191_ p_21757_, C_543_$C_545_<T> p_21758_)
public static SpawnPlacements$Type
a(awx<?> arg0)
getPlacementType(EntityType<?> arg0)
method_6159(class_1299<?> arg0)
getLocation(EntityType<?> type)
m_21752_(C_513_<?> p_21753_)
public static Heightmap$Types
b(awx<?> 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(awx<T> arg0, cas arg1, axl arg2, gh 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 world, SpawnReason spawnReason, BlockPos pos, Random random)
m_21759_(C_513_<T> p_21760_, C_1618_ p_21761_, C_529_ p_21762_, C_4675_ p_21763_, Random p_21764_)