Package net.minecraft.world.entity
Class SpawnPlacements
java.lang.Object
net.minecraft.world.entity.SpawnPlacements
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classstatic interfaceSpawnPlacements.SpawnPredicate<T extends Entity>static enum - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Entity>
booleancheckSpawnRules(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_) static voidstatic Heightmap.TypesgetHeightmapType(EntityType<?> p_21766_) static SpawnPlacements.TypegetPlacementType(EntityType<?> p_21753_) static <T extends Mob>
voidregister(EntityType<T> p_21755_, SpawnPlacements.Type p_21756_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_)  
- 
Field Details
- 
DATA_BY_TYPE
 
 - 
 - 
Constructor Details
- 
SpawnPlacements
public SpawnPlacements() 
 - 
 - 
Method Details
- 
register
public static <T extends Mob> void register(@Deprecated EntityType<T> p_21755_, SpawnPlacements.Type p_21756_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_)  - 
getPlacementType
 - 
getHeightmapType
 - 
checkSpawnRules
public static <T extends Entity> boolean checkSpawnRules(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_)  - 
fireSpawnPlacementEvent
public static void fireSpawnPlacementEvent() 
 -