Uses of Enum Class
net.minecraft.entity.SpawnRestriction.Location
-
Uses of SpawnRestriction.Location in net.minecraft.entity
Modifier and TypeFieldDescription(package private) SpawnRestriction.Location
SpawnRestriction.Entry.location
Modifier and TypeMethodDescriptionstatic SpawnRestriction.Location
SpawnRestriction.getLocation(EntityType<?> type)
static SpawnRestriction.Location
Returns the enum constant of this class with the specified name.static SpawnRestriction.Location[]
SpawnRestriction.Location.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate static <T extends MobEntity>
voidSpawnRestriction.register(EntityType<T> type, SpawnRestriction.Location location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate)
ModifierConstructorDescriptionEntry(Heightmap.Type heightmapType, SpawnRestriction.Location location, SpawnRestriction.SpawnPredicate<?> predicate)
-
Uses of SpawnRestriction.Location in net.minecraft.world
Modifier and TypeMethodDescriptionstatic boolean
SpawnHelper.canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)