public class EntitySpawnPlacementRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
EntitySpawnPlacementRegistry.Entry |
static interface |
EntitySpawnPlacementRegistry.IPlacementPredicate<T extends Entity> |
static class |
EntitySpawnPlacementRegistry.PlacementType |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<EntityType<?>,EntitySpawnPlacementRegistry.Entry> |
REGISTRY |
Constructor and Description |
---|
EntitySpawnPlacementRegistry() |
Modifier and Type | Method and Description |
---|---|
static Heightmap.Type |
func_209342_b(EntityType<?> entityTypeIn) |
static <T extends Entity> |
func_223515_a(EntityType<T> p_223515_0_,
IWorld p_223515_1_,
SpawnReason reason,
BlockPos p_223515_3_,
java.util.Random p_223515_4_) |
static EntitySpawnPlacementRegistry.PlacementType |
getPlacementType(EntityType<?> entityTypeIn) |
static <T extends MobEntity> |
register(EntityType<T> entityTypeIn,
EntitySpawnPlacementRegistry.PlacementType placementType,
Heightmap.Type heightMapType,
EntitySpawnPlacementRegistry.IPlacementPredicate<T> p_209343_3_) |
private static final java.util.Map<EntityType<?>,EntitySpawnPlacementRegistry.Entry> REGISTRY
public static <T extends MobEntity> void register(EntityType<T> entityTypeIn, EntitySpawnPlacementRegistry.PlacementType placementType, Heightmap.Type heightMapType, EntitySpawnPlacementRegistry.IPlacementPredicate<T> p_209343_3_)
public static EntitySpawnPlacementRegistry.PlacementType getPlacementType(EntityType<?> entityTypeIn)
public static Heightmap.Type func_209342_b(@Nullable EntityType<?> entityTypeIn)
public static <T extends Entity> boolean func_223515_a(EntityType<T> p_223515_0_, IWorld p_223515_1_, SpawnReason reason, BlockPos p_223515_3_, java.util.Random p_223515_4_)